![background image](http://html1.mh-extra.com/html/omron/ej1-07-2008/ej1-07-2008_operation-manual_743567137.webp)
118
Example of Sending Explicit Messages
Section 6-4
6-4
Example of Sending Explicit Messages
The following example shows when an explicit message is sent to the
DeviceNet Communications Unit from a CS1W-DRM21 Master Unit to read
general status information for the DeviceNet Communications Unit.
Operation
• Reads the Unit status of the DeviceNet Communications Unit.
• Status information is read using the EXPLICIT MESSAGE SEND com-
mand (28 01).
• The information for the read results is as follows:
Temperature Controller Power Voltage Status Flag (bit 00) = 1 (Power
M OV(021)
# 0013
D1120
M OV(021)
# 0011
D1121
M OV(021)
# 0000
D1122
M OV(021)
# 3FFE
D1123
M OV(021)
# 0000
D1124
M OV(021)
# 0064
D1125
A20011
A20200
1511 00
CMND(490 )
D1 020
D1 220
00 0100
D1120
ASL( 025)
0001
A20200
A219 00
MOV( 021)
A2 03
D 1126
0 00101
AS R(026)
0001
EN D(001)
0 00029
EN D
First Scan
Flag ON
Execution
condition
Network
Enabled
Flag
Online Flag
(Word n+11,
bit 00)
Execution
condition
Network
Enabled
Flag
Network
Execution
Error Flag
Sets 0013 in D1120.
(No. of command data bytes = 19)
Sets 0011 in D1121.
(No. of response data bytes = 17)
Sets 0000 in D1122.
(Destination network address = 00)
Sets 3FFE in D1123.
(Destination node address = 3F,
destination Unit address = FE)
Sets 0000 in D1124.
(Response required,
communications port No. = 0,
No. of retries = 0)
Sets 0064 in D1125.
(Response monitoring time = 10.0 s)
Sends 19 bytes of command data
from D1020 to the destination node
address 00, and stores 17 bytes of
response data in D1220 of the local
node. (D1120 or Controller)
Shifts the contents of CIO 0001 one bit to
the left. (Turns ON CIO 000101.)
Stores A203 (network communications
response code) in D1126.
Shifts the contents of CIO 0001 one
bit to the right, and retries in next
cycle. (CIO 000100 ON).
PLC
DeviceNet Master Unit
(unit number 0, node address 04)
Using
CMND(490)
instruction
Explicit message
General Status Read
DeviceNet Communications Unit
(node address 09)
Содержание EJ1 - 07-2008
Страница 1: ...DeviceNet Communications Unit for EJ1 Temperature Controllers Cat No H155 E1 02 OPERATION MANUAL...
Страница 2: ...DeviceNet Communications Unit for EJ1 Temperature Controllers Operation Manual Revised July 2008...
Страница 3: ...iv...
Страница 19: ...xx...
Страница 33: ...14 Initial Temperature Controller Settings Section 1 4...
Страница 53: ...34 Wiring the Temperature Controllers Section 3 4...
Страница 101: ...82 Ladder Programming Examples Section 4 6...
Страница 143: ...124 Sending Explicit Messages Section 6 5...
Страница 155: ...136 Message Communications Characteristics Section 7 2...
Страница 163: ...144 Maintenance Section 8 2...
Страница 189: ...170 Allocation Numbers for Configurators Manufactured by Other Companies Appendix B...
Страница 197: ...178 Index...