Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 958

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

ESATR
Instruction
EXPLICIT SET ATTRIBUTE
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
First word of send message
C
First control word
S: First word of send message
15
S
Set the number of bytes of source data from words S+1 on. For
example, set S to 0008 hex if there are 4 words of data (S+1 to
S+4). Do not include the 2 bytes in word S itself.
Include the leftmost bytes of S+1 to S+4, which contain 00.
Also, include the number of bytes of Service Data starting at
S+5. (If the first or last word contains just one byte of data, do
not count the empty byte in that word.)
15
12
11
8
7
S+1
0
0
15
12
11
8
7
S+2
0
0
15
12
11
8
7
S+3
0
0
15
12
11
8
7
S+4
0
0
If the Attribute ID is not used, set it
to FFFF hex. (The Attribute ID
cannot be set to 0000 hex.)
15
Service Data
S+5
to
S+271
When there is Service Data (data other than the Attribute
ID), the byte-order of this data is specified in bits 12 to 15
of C+1. Up to 534 bytes (267 words) can be set.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
ESATR
@ESATR
Block program areas
Step program areas
OK
OK
Description
0
0
Destination Node Address
00 to max. node address (hex)
(00 to 3F hex (0 to 63) for
DeviceNet)
0
Class ID (hex)
0
Instance ID (hex)
0
Attribute ID (hex)
0
Function
code
Sends an information write command in an explicit
722
message (Set Attribute Single, Service Code: 10
hex).
ESATR
ESATR(722)
S: First word of send message
S
C: First control word
C
Subroutines
OK
Data type
WORD
WORD
C: First control word
15
12
11
8
7
C
FINS unit address of relaying Communications Unit.
CPU Bus Unit: 10 to 1F hex (unit number + 10 hex)
Special I/O Unit: 20 to 7F hex (unit number + 20 hex)
Port number of the communications port (logical port) for the
network instruction: 0 to 7 hex (F hex: Automatic allocation)
Byte order of service data (frame data) stored in areas beginning at S+5
0 hex: Stored from leftmost byte (Left
8 hex: Stored from rightmost byte (Right
15
C+1
Response monitoring time
0001 to FFFF hex (0.1 to 6553.5 s)
0000 hex: 2 s (default setting)
15
C+2
Explicit message format
0000 hex: DeviceNet (same as using the 2801
FINS command)
3. Instructions
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
Variable
3
0
Right
Left
Right ...)
Left
Right
Left ...)
0
0
3
921

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents