![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681113.webp)
1074
Network Instructions
Section 3-25
When CIO 000000 and A20206 (the Communications Port Enabled Flag for
port 06) are ON, EXPLT(720) reads the Total ON Time (s) or Number of Con-
tact Operations from a DRT2 Slave (I/O Terminal). In this case, the Total ON
Time or Number of Contact Operations for input 3 are read.
Service Code = 0E hex, Class ID = 09 hex, Instance ID = 03 hex, and Attribute
ID = 66 hex.
For example, a value of 2,752,039 s is returned as the response for the Total
ON Time.
0E
09
03
66
Attribute ID
Instance ID
Class ID
Service Code
Explicit message command format
Destination node address
CS1W-DRM21 DeviceNet Unit
(CPU Bus Unit with unit number 2)
EXPLT(720)
instruction
CPU
Unit
Unit address 12 hex (because
the unit number is 2)
Explicit
message
DRM2-OD16 Slave
with node address 45
S:
D00000
0
0
0
A
S+1:
D00001
0
0
2
D
S+2:
D00002
0
0
0
E
S+3:
D00003
0
0
0
9
S+4:
D00004
0
0
0
3
S+5:
D00005
0
0
6
6
D:
D00100
0
0
0
8
D+1:
D00101
0
0
2
D
D+2:
D00102
0
0
8
E
D+3:
D00103
2
7
F
E
D+4:
D00104
2
9
0
0
C:
D00200
0
0
0
4
C+1:
D00201
0
6
1
2
C+2:
D00202
0
0
0
0
C+3:
D00203
0
0
0
0
Number of bytes of data: S+1 to S+5 = 5 words = 10 bytes = 0A hex
Slave’s node address = 45 = 2D hex
Service Code = 0E hex
Class ID = 09 hex
Instance ID = 03 hex (Input 3)
Attribute ID = 66 hex
Contains 08 hex for 8 bytes of received data in response frame.
Returns Slave’s node address = 45 = 2D hex.
Service Code = 8E hex (normal completion)
Service Data = 0029FE27 hex (2,752,039 s decimal)
Set 5 words = 0005 hex since there are 5 words in D to D+5.
Byte order = 0 hex (from leftmost byte), communications port = 6 hex
(port 6), and the DeviceNet Unit’s unit address = 12 hex
Response monitoring time = 0000 hex (2 s)
Explicit format type = 0000 hex (DeviceNet format)
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...