Plc-5 controller examples, Plc-5 controller examples -19 – Rockwell Automation 20-COMM-D DeviceNet Adapter Series B FRN 2.xxx User Manual
Page 147

Using Explicit Messaging
6-19
20-COMM-D DeviceNet Adapter User Manual
Publication 20COMM-UM002G-EN-P
PLC-5 Controller Examples
To perform explicit messaging on a DeviceNet network with a PLC-5
controller, a combination of a block transfer read and a block transfer write
must be used (
).
Figure 6.20 PLC-5 Example Ladder Logic Program for All Explicit Messaging
PLC-5 Controller Example to Read a Single Parameter
A read message is used to read a single parameter. This read message
example reads the value of parameter 003 - [Output Current] in a PowerFlex
7-Class drive.
Table 6.H Example Single Read Request Data
Address
Value
Description
Hex.
(1)
(1)
In RSLogix 5 software, leading zeros are not displayed in data file addresses. For example, ‘0008’ in address
N30:1 is shown as ‘8’.
Dec.
N30:0
0101
257
TXID = 01, Command = 01 (execute)
N30:1
0008
8
Port = 00, Size = 08 bytes
N30:2
0E01
3585
Service = 0E (Get_Attribute_Single), Address = 01 (Node)
N30:3
0093
147
Class = 93 (DPI Parameter Object)
N30:4
0003
3
Instance = Parameter 3
N30:5
0009
9
Attribute = 9 (Parameter Value)