Using multi-drive mode 7-19 – Rockwell Automation 22-COMM-D DeviceNet Adapter User Manual

Page 91

Advertising
background image

Using Multi-Drive Mode

7-19

Figure 7.11 Drive 4 Control Routine

Drive 4 Control Subroutine

0

DriveInputImage[8].0

Drive4StatusReady

Drive 4 Control Subroutine

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.

Advertising