Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 967

Table of Contents

Advertisement

EGATR
Instruction
EXPLICIT GET ATTRIBUTE
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
First word of send message
D
First word of received message
C
First control word
S: First word of send message
15
12
11
S
0
0
15
12
11
S+1
0
0
15
12
11
S+2
0
0
15
12
11
S+3
0
0
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
EGATR
@EGATR
EXPLT(720)
EGATR(721)
Block program areas
Step program areas
OK
OK
Description
0
8
7
Destination Node Address
00 to max. node address (hex)
(00 to 3F hex (0 to 63) for DeviceNet)
8
7
0
Class ID (hex)
8
7
0
Instance ID (hex)
8
7
0
Attribute ID (hex) *
* If the Attribute ID is not used, set it
to FFFF hex. (The Attribute ID
cannot be set to 0000 hex.)
Function
code
Sends an information/status read command in an
721
explicit message (Get Attribute Single, Service
Code: 0E hex).
EGATR
S: First word of send message
S: First word of send message
S
S
D: First word of received message
D: First word of received message
D
D
C
C
C: First control word
C: First control word
Subroutines
OK
Data type
ULINT
WORD
LWORD
D: First word of received message
15
D
Contains the number of bytes of received service data from
words D+1 on. Does not include the 2 bytes in word D itself.
Includes only the number of bytes of Service Data starting at
D+1. (If the first or last word contains just one byte of data, the
empty byte in that word is not counted.)
15
D+1
Service Data
to
D+267
Contains the response's service data (data
following the service code). The byte-order of
this data is specified in bits 12 to 15 of C+1.
Can contain up to 534 bytes (267 words) of
data.
3. Instructions
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
4
Variable
4
0
0
3
929

Advertisement

Table of Contents
loading

Table of Contents