Rockwell Automation DeviceNet Communications Module User Manual
Page 89

Using Multi-Drive Mode
8-15
Figure 8.12 – Drive 2 Control Routine
0
DriveInputImage[4].0
Drive2StatusReady
1
DriveInputImage[4].1
Drive2StatusActive
2
DriveInputImage[4].3
Drive2StatusForward
3
DriveInputImage[4].7
Drive2StatusFaulted
4
DriveInputImage[4].8
Drive2StatusAtReference
5
Copy File
Source
DriveInputImage[5]
Dest
Drive2Feedback
Length
1
COP
6
Drive2CommandStop
DriveOutputImage[4].0
7
Drive2CommandStart
DriveOutputImage[4].1
8
Drive2CommandJog
DriveOutputImage[4].2
9
Drive2CommandClearFaults
DriveOutputImage[4].3
10
Drive2CommandForward
DriveOutputImage[4].4
11
/
Drive2CommandForward
DriveOutputImage[4].5
12
Copy File
Source
Drive2Reference
Dest
DriveOutputImage[5]
Length
1
COP
This section takes the data from the input image 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
scanner.
Drive 2 Control Subroutine