EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 929

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
896
Network Instructions Section 3-24
When CIO 0.00 and A202.06 (the Communications Port Enabled Flag for port
06) are ON, EGATR(721) reads the general status of the DRT2 Slave (I/O Ter-
minal). In this case, the Total ON Time or Number of Contact Operations for
input 3 are read.
Service Code = 0E hex, Class ID = 95 hex, Instance ID = 01 hex, and Attribute
ID = 65 hex.
The general status is returned in 1 byte.
CP1H
Attribute ID
Instance ID
Class ID
Service Code
0E 95 01 65
Explicit message command format
Destination node address
CS1W-DRM21 DeviceNet Unit
(CPU Bus Unit with unit number 2)
Unit address 12 hex (because
the unit number is 2)
Slave (I/O Terminal)
with node address 10
Explicit
message
EGATR(721)
instruction
S: D0 0 0 0 A
S+1: D1 0 0 9 5
S+2: D2 0 0 0 1
S+3: D3 0 0 6 5
C: D200 0 0 0 2
C+1: D201 8 6 1 2
C+2: D202 0 0 0 0
C+3: D203 0 0 0 0
Set 2 words = 0002 hex since there are 2 words in D to D+1.
Byte order = 8 hex (from rightmost 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)
Slave’s node address = 10 = 0A hex
Class ID = 95 hex
Instance ID = 01 hex
Attribute ID = 65 hex
D: D100 0 0 0 1
D+1: D101 0 0 4 8
76543210
D101
01001000
Basic Unit's I/O Power Status Flag
Expansion Unit's I/O Power Status Flag
Low Network Power Voltage Flag
Unit Maintenance Flag
Sensor Disconnected Flag
Sensor Power Shorted Flag
Operation Time Over Flag
Connected Device Maintenance Flag
D contains 0 hex for the 1 byte of data returned to the rightmost byte
of D+1.
The Slave’s general status is returned to bits 00 to 07.
(The data is stored in bits 00 to 07 because the byte order setting in
C+1 bits 12 to 15 was set to 8 hex (from rightmost byte).
General
status

Table of Contents

Related product manuals