EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Egatr

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...
890
Network Instructions Section 3-24
3-24-7 EXPLICIT GET ATTRIBUTE: EGATR(721)
Purpose Sends an information/status read command in an explicit message (Get
Attribute Single, ServiceCode: 0E hex).
This instruction can be used in the CP1H CPU Units only. It cannot be used in
the CP1L CPU Units. If EGATR(721) is used in a CP1L CPU Unit, Error Flag
(ER) will be turned ON.
Ladder Symbol
0E 09 03 66
CP1H
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
Unit address 12 hex (because
the unit number is 2)
Explicit
message
DRM2-OD16 Slave
with node address 45
S: D0 0 0 0 A
S+1: D1 0 0 2 D
S+2: D2 0 0 0 E
S+3: D3 0 0 0 9
S+4: D4 0 0 0 3
S+5: D5 0 0 6 6
D: D100 0 0 0 8
D+1: D101 0 0 2 D
D+2: D102 0 0 8 E
D+3: D103 2 7 F E
D+4: D104 2 9 0 0
C: D200 0 0 0 5
C+1: D201 0 6 1 2
C+2: D202 0 0 0 0
C+3: D203 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)
EGATR(721)
S
D
C
S: First word of send message
D: First word of received message
C: First control word

Table of Contents

Related product manuals