beautypg.com

Multi-drive mode acyclic messaging, Drive 4 control routine, Drive 4 control subroutine – Rockwell Automation 25-COMM-P PowerFlex PROFIBUS DPV1 Adapter User Manual

Page 67

background image

Rockwell Automation Publication 520COM-UM004A-EN-E - November 2013

67

Using Multi-Drive Mode

Chapter 7

Drive 4 Control Routine

Multi-Drive Mode Acyclic
Messaging

Acyclic messaging in Multi-drive mode is similar to Single-drive mode but the
slot numbers will change depending on which drive you are messaging to. See

PROFIBUS Slot and Index for Drive and Adapter Parameters on page 48

to

determine the correct slot values to set up your message.

0

5

(End)

Copy File
Source
Dest
Length

Drive_Input_Image[9]

Drive_4_Feedback

1

COP

12

Copy File
Source
Dest
Length

Drive_4_Reference

Drive_Output_Image[9]

1

COP

13

Return from Subroutine

RET

Drive_Input_Image[8].0

Drive_4_Status_Ready

This section takes the data from the input area and moves it to specific tags (Logic Status bits and Feedback) for use
elsewhere in the ladder program.

This section takes the data from specific tags (Logic Command bits and Reference) and moves them to the output
image area for transmission to the master.

1

Drive_Input_Image[8].1

Drive_4_Status_Active

2

Drive_Input_Image[8].3

Drive_4_Status_Forward

3

Drive_Input_Image[8].7

Drive_4_Status_Faulted

4

Drive_Input_Image[8].8

Drive_4_Status_At_Reference

6

Drive_4_Command_Stop

Drive_Output_Image[8].0

7

Drive_4_Command_Start

Drive_Output_Image[8].1

8

Drive_4_Command_Jog

Drive_Output_Image[8].2

9

Drive_4_Command_Clear_Faults

Drive_Output_Image[8].3

10

Drive_4_Command_Forward

Drive_Output_Image[8].4

11

Drive_4_Command_Forward

Drive_Output_Image[8].5

Drive 4 Control Subroutine