beautypg.com

Rslogix 5000 ladder logic program – Rockwell Automation RECOMM-CNET ControlNet Communications Module User Manual

Page 85

background image

ControlLogix Applications

7-17

7.3

RSLogix 5000 Ladder Logic Program

Figure 7.21 – I/O Messaging

This rung determines whether the drive is running, and sets the DriveStatusRunning tag appropriately.

DriveInputImage.Data[2].1

DriveStatusRunning

This rung determines whether the drive is running, and sets the DriveStatusRunning tag appropriately.

This rung determines whether the drive is faulted, and sets the DriveStatusFaulted tag appropriately.

DriveInputImage.Data[2].7

DriveStatusFaulted

This rung determines whether the drive is faulted, and sets the DriveStatusFaulted tag appropriately.

This rung moves the drive's frequency feedback to the DriveFeedback tag.

Copy File
Source

DriveInputImage.Data[3]

Dest

DriveFeedback

Length

1

COP

This rung moves the drive's frequency feedback to the DriveFeedback tag.

When the DriveCommandStart tag is true, this rung sends a start command to the drive.

DriveCommandStart

DriveOutputImage.Data[0].1

When the DriveCommandStart tag is true, this rung sends a start command to the drive.

When the DriveCommandNotStop tag is false, this rung sends a stop command to the drive. This rung uses an
XIO input instruction because Stop pushbuttons are usually normally closed so that the equipment stops if a wire
breaks.

/

DriveCommandNotStop

DriveOutputImage.Data[0].0

When the DriveCommandNotStop tag is false, this rung sends a stop command to the drive. This rung uses an
XIO input instruction because Stop pushbuttons are usually normally closed so that the equipment stops if a wire
breaks.

When the DriveCommandJog tag is true, this rung sends a jog command to the drive.

DriveCommandJog

DriveOutputImage.Data[0].2

When the DriveCommandJog tag is true, this rung sends a jog command to the drive.

When the DriveCommandClearFault tag is true, this rung sends a clear fault command to the drive.

DriveCommandClearFault

DriveOutputImage.Data[0].3

When the DriveCommandClearFault tag is true, this rung sends a clear fault command to the drive.