3. Instructions
974
CS/CJ/NSJ Series Instructions Reference Manual (W474)
ECHWR
Applicable Program Areas
Operands
S: First Source Word in Local CPU Unit
Specifies the leading word address in the local CPU Unit containing the write data.
D: First Destination Word in Remote CPU Unit
Specifies the leading word address of the write destination in the remote CPU Unit.
C: First Control Word
Instruction Mnemonic Variations
Function
code
Function
EXPLICIT WORD WRITE ECHWR @ECHWR 724
Writes data from the local CPU Unit to another
CPU Unit in the network. (The remote CPU Unit
must support explicit messages.)
Symbol
ECHWR
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 source word in local CPU Unit UINT 1
D First destination word in remote CPU Unit UINT 1
C First control word WORD 5
ECHWR(724)
S
D
C
C: First control word
D: First destination word in remote CPU Unit
S: First source word in local CPU Unit
C+2 0
8
111215
07
C0 0
8
111215
07
C+1 0 0
8
111215
07
C+3
15
0
C+4
15
0
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)
Source node address (remote CPU Unit)
(00 to maximum node address (hex))
Example: DeviceNet: 00 to 3F hex (0 to 63)
Write data size (words):
01 to 64 hex (1 to 100 words)
Response monitoring time
0001 to FFFF hex (0.1 to 6553.5 s)
0000 hex: 2 s (default setting)
Explicit message format 0000 hex:
DeviceNet (same as using the 2801 FINS command)