
10–31
Communicating with an SLC 5/03 Processor on a DeviceNet Network using Explicit Messaging
Publication 2755-6.8
Explicit Messaging Ladder Logic Program
Note: The following ladder logic program is for reference only.
Application specific interlocks may be necessary.
Copy File
Destination
Source
Length
#M0:1.224
#N20:0
32
COP
B3
0
]
[
Enable Rung B3 to initiate the writing of an APM command to the AdaptaScan.
The APM command that resides in N20:0. The DeviceNet address being written
to, in this example is, 10 or 0AH.
Destination
Source
Length
#N25:0
#M1:1.224
32
COP
I:1
15
]
[
If bit 15 is enabled, read the response data from the above command into file
N25:0.
Example Data Tables
Refer to p. 10–27 for information regarding each byte.
Address
Data = Hex Code (matchcode download of 0300 data)
N20:0
0101
000C
100A
00CE
0001
0003
0004
3330
3030
Address
Response File (good
response)
N25:0
0101
900C
Address
Data = Hex Code (turn on LED1)
N20:0
0101
0008
100A
00C9
0002
0003
0001
Note: You need to send a reset command for every explicit
command that is executed in order to receive a good response.