Figure 7.9, Using multi-drive mode 7-15 – Rockwell Automation 22-COMM-D DeviceNet Adapter User Manual
Page 87

Using Multi-Drive Mode
7-15
Figure 7.9 Drive 2 Control Routine
Drive 2 Control Subroutine
0
DriveInputImage[4].0
Drive2StatusReady
Drive 2 Control Subroutine
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.