beautypg.com

Rockwell Automation DeviceNet Communications Module User Manual

Page 93

background image

Using Multi-Drive Mode

8-19

Figure 8.16 – Drive 4 Control Routine

0

DriveInputImage[8].0

Drive4StatusReady

1

DriveInputImage[8].1

Drive4StatusActive

2

DriveInputImage[8].3

Drive4StatusForward

3

DriveInputImage[8].7

Drive4StatusFaulted

4

DriveInputImage[8].8

Drive4StatusAtReference

5

Copy File
Source

DriveInputImage[9]

Dest

Drive4Feedback

Length

1

COP

6

Drive4CommandStop

DriveOutputImage[8].0

7

Drive4CommandStart

DriveOutputImage[8].1

8

Drive4CommandJog

DriveOutputImage[8].2

9

Drive4CommandClearFaults

DriveOutputImage[8].3

10

Drive4CommandForward

DriveOutputImage[8].4

11

/

Drive4CommandForward

DriveOutputImage[8].5

12

Copy File
Source

Drive4Reference

Dest

DriveOutputImage[9]

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 the specific tags (Logic Command bits and
Reference) and moves them to the output image area for transmission to the
scanner.

Drive 4 Control Subroutine