beautypg.com

Rockwell Automation DeviceNet Communications Module User Manual

Page 87

background image

Using Multi-Drive Mode

8-13

Figure 8.10 – Drive 1 Control Routine

0

DriveInputImage[2].0

Drive1StatusReady

1

DriveInputImage[2].1

Drive1StatusActive

2

DriveInputImage[2].3

Drive1StatusForward

3

DriveInputImage[2].7

Drive1StatusFaulted

4

DriveInputImage[2].8

Drive1StatusAtReference

5

Copy File
Source

DriveInputImage[3]

Dest

Drive1Feedback

Length

1

COP

6

Drive1CommandStop

DriveOutputImage[2].0

7

Drive1CommandStart

DriveOutputImage[2].1

8

Drive1CommandJog

DriveOutputImage[2].2

9

Drive1CommandClearFaults

DriveOutputImage[2].3

10

Drive1CommandForward

DriveOutputImage[2].4

11

/

Drive1CommandForward

DriveOutputImage[2].5

12

Copy File
Source

Drive1Reference

Dest

DriveOutputImage[3]

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