Main routine – Rockwell Automation 25-COMM-D PowerFlex 525 DeviceNet Adapter User Manual
Page 75

Rockwell Automation Publication 520COM-UM002A-EN-E - April 2013
75
Using Multi-Drive Mode
Chapter 7
The following Tags are used for Drive 0:
The same type of Tags are also used for Drive 1 through Drive 4.
Main Routine
The Main Routine tells the scanner to run, reads the network Input Image from
the scanner, calls the various drive control subroutines, and writes the network
Output Image to the scanner. See
Tag Name
Type
Description
Drive_0_Command_Stop
BOOL
Logic Command bit 0 (STOP)
Drive_0_Command_Start
BOOL
Logic Command bit 1 (START)
Drive_0_Command_Jog
BOOL
Logic Command bit 2 (JOG)
Drive_0_Command_Clear_Faults
BOOL
Logic Command bit 3 (CLEAR FAULTS)
Drive_0_Command_Forward
BOOL
Logic Command bit 4 (FORWARD)
Drive_0_Reference
INT
Speed Reference
Drive_0_Status_Ready
BOOL
Logic Status bit 0 (READY)
Drive_0_Status_Active
BOOL
Logic Status bit 1 (ACTIVE)
Drive_0_Status_Forward
BOOL
Logic Status bit 2 (FORWARD)
Drive_0_Status_Faulted
BOOL
Logic Status bit 7 (FAULT)
Drive_0_Status_At_Reference
BOOL
Logic Status bit 8 (AT SPEED)
Drive_0_Feedback
INT
Speed Feedback
Perform_Parameter_Read_0
BOOL
Initiates the parameter read
Parameter_RD_Value_0
INT
Read value of the parameter
Parameter_RD_Message_0
MESSAGE
Get_Attribute_Single (Read)
Perform_Parameter_Write_0
BOOL
Initiates the parameter value
Parameter_WR_Value_0
INT
Write value to the parameter
Parameter_WR_Message_0
MESSAGE
Set_Attritbute_Single (Write)