
Rockwell Automation Publication 520COM-UM001B-EN-E - March 2013 105
Using Multi-Drive Mode Chapter 7
Drive 3 Control Routine
0
5
(End)
Copy File
Source
Dest
Length
Drive_Input_Image[9]
Drive_3_Feedback
1
COP
12
Copy File
Source
Dest
Length
Drive_3_Reference
Drive_Output_Image[7]
1
COP
15
Return from Subroutine
RET
Drive_Input_Image[8].0 Drive_3_Status_Ready
This section takes the data from the input area and moves it to specic tags (Logic Status bits and Feedback) for use
elsewhere in the ladder program.
This section takes the data from specic tags (Logic Command bits and Reference) and moves them to the output
image area for transmission to the scanner.
Drive 3 parameters are accessed by adding 19456 decimal (4C00 hex) to the desired parameter number. For example,
to access parameter P109 an Instance of 19565 (19456 + 109) is used.
1
Drive_Input_Image[8].1 Drive_3_Status_Active
2
Drive_Input_Image[8].3 Drive_3_Status_Forward
3
Drive_Input_Image[8].7 Drive_3_Status_Faulted
4
Drive_Input_Image[8].8 Drive_3_Status_At_Reference
6
Drive_3_Command_Stop Drive_Output_Image[6].0
7
Drive_3_Command_Start Drive_Output_Image[6].1
8
Drive_3_Command_Jog Drive_Output_Image[6].2
9
Drive_3_Command_Clear_Faults Drive_Output_Image[6].3
10
Drive_3_Command_Forward Drive_Output_Image[6].4
13
Perform_Parameter_Read_3
EN
DN
ER
11
Drive_3_Command_Forward Drive_Output_Image[6].5
Message
Message Control Parameter_RD_Message_3
MSG
14
Perform_Parameter_Write_3
EN
DN
ER
Message
Message Control Parameter_WR_Message_3
MSG
Explicit Messaging Example
Drive 3 Control Subroutine
Comentários a estes Manuais