beautypg.com

Rockwell Automation DeviceNet Communications Module User Manual

Page 91

background image

Using Multi-Drive Mode

8-17

Figure 8.14 – Drive 3 Control Routine

0

DriveInputImage[6].0

Drive3StatusReady

1

DriveInputImage[6].1

Drive3StatusActive

2

DriveInputImage[6].3

Drive3StatusForward

3

DriveInputImage[6].7

Drive3StatusFaulted

4

DriveInputImage[6].8

Drive3StatusAtReference

5

Copy File
Source

DriveInputImage[7]

Dest

Drive3Feedback

Length

1

COP

6

Drive3CommandStop

DriveOutputImage[6].0

7

Drive3CommandStart

DriveOutputImage[6].1

8

Drive3CommandJog

DriveOutputImage[6].2

9

Drive3CommandClearFaults

DriveOutputImage[6].3

10

Drive3CommandForward

DriveOutputImage[6].4

11

/

Drive3CommandForward

DriveOutputImage[6].5

12

Copy File
Source

Drive3Reference

Dest

DriveOutputImage[7]

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 3 Control Subroutine