7-2
Section
Using Message Communications
94
Specify IOWR in the C200HX/HG/HE PC’s ladder program as shown below.
Ladder Symbols
C: Control code
S: 1
st
source word
D: Destination information
Operands
IOWR
C
S
D
@IOWR
C
S
D
...
...
Local node
Destination node
Execution
CPU Unit
1st response word
Response
monitoring time
No. of command bytes
Command
data
Response
data
Local
Master Unit
Remote
Master Unit
Execution
CPU Unit
1: For commands addressed to Master Unit
2: For commands addressed to CPU Unit
Response
Response
Command
...
S
S+1
S+2
S+3
S+4
L
Interpretation
1
Interpretation
2
Description
IOWR transfers n words of data beginning at S (beginning with command code
28 01 Hex) through the local node’s Master Unit to the Master Unit or CPU Unit at
the specified destination node. The control code (C) specified parameters for
the instruction as shown in the following illustration.
Response Setting
ON: No
response.
OFF: Response returned.
Destination node address:
$00 to $3E indicate nodes 0 to 63
Destination unit address (see following table)
C:
Destination Unit Address
Unit
Setting
CPU Unit
00
Communications Unit
FE
Special I/O Unit
$10 to $1F: Unit No. + 10
C200HX/HG/HE PCs