967
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Network Instructions
3
ESATR
ESATR
Applicable Program Areas
Operands
S: First word of send message C: First control word
Instruction Mnemonic Variations
Function
code
Function
EXPLICIT SET ATTRIBUTE ESATR @ESATR 722
Sends an information write command in an explicit
message (Set Attribute Single, Service Code: 10
hex).
Symbol
ESATR
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
S First word of send message WORD Variable
C First control word WORD 3
S: First word of send message
C: First control word
ESATR(722)
S
C
C
8
111215
07
C+1
15
0
C+2
15
0
Response monitoring time
Explicit message format
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 → Right → Left → Right ...)
8 hex: Stored from rightmost byte (Right → Left → Right → Left ...)
0001 to FFFF hex (0.1 to 6553.5 s)
0000 hex: 2 s (default setting)
0000 hex: DeviceNet (same as using the 2801
FINS command)
S
0
15
S+1 0 0
8
111215
07
S+2 0 0
8
111215
07
S+3 0 0
8
111215
07
S+4 0 0
8
111215
0
S+5
S+271
15
0
7
...
Service Data
Class ID (hex)
Instance ID (hex)
Attribute ID (hex)
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.)
to
Destination Node Address
00 to max. node address (hex)
(00 to 3F hex (0 to 63) for
DeviceNet)
If the Attribute ID is not used, set it
to FFFF hex. (The Attribute ID
cannot be set to 0000 hex.)
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.