![Allen-Bradley PowerFlex 20-COMM-D User Manual Download Page 53](http://html1.mh-extra.com/html/allen-bradley/powerflex-20-comm-d/powerflex-20-comm-d_user-manual_2899643053.webp)
Using I/O Messaging
5-7
Figure 5.3 Tags for the Example Program
Figure 5.4 Example ControlLogix Ladder Logic Program
ControlLogix Example
Tag Name
Type
Tag Name
Type
Local:1:I
DINT[]
DriveFeedback
INT
Local:1:O
DINT[]
DriveInputImage
INT[2]
DriveCommandClearFault
BOOL
DriveOutputImage
INT[2]
DriveCommandJog
BOOL
DriveReference
INT
DriveCommandStart
BOOL
DriveStatusFaulted
BOOL
DriveCommandStop
BOOL
DriveStatusRunning
BOOL
0
Local:1:O.CommandRegister.Run
1
Copy File
Source Local:1:I.Data[0]
Dest DriveInputImage[0]
Length
2
COP
2
DriveInputImage[0].1
DriveStatusRunning
3
DriveInputImage[0].7
DriveStatusFaulted
4
Copy File
Source DriveInputImage[1]
Dest
DriveFeedback
Length
1
COP
5
DriveCommandStart
DriveOutputImage[0].1
6
DriveCommandStop
DriveOutputImage[0].0
7
DriveCommandJog
DriveOutputImage[0].2
This rung enables the DeviceNet scanner.
This rung copies the 32-bit DeviceNet scanner input image into
an array of two 16-bit words. The length in this instruction is two
because two 16-bit array elements of the destination are used.
These rungs read the Running and Faulted status bits from the
input image of the drive and place the data in respective tags.
This rung reads the drive’s Feedback word and places it in
the Feedback tag.
These rungs move the inputs of the operator from the
operator station to the drive’s output image.
Summary of Contents for PowerFlex 20-COMM-D
Page 1: ...DeviceNet Adapter 20 COMM D FRN 1 xxx User Manual...
Page 6: ...iv Table of Contents Notes...
Page 72: ...6 14 Using Explicit Messaging Notes...
Page 90: ...B 8 Adapter Parameters Notes...
Page 122: ...C 32 DeviceNet Objects Notes...
Page 132: ...E 8 Master Slave I O Configuration Notes...
Page 148: ......