IOWR-Instruction
Section 4-3
77
4-3
IOWR-Instruction
C Control Code.
The IOWR-instruction enables you to send messages to the Counter Unit. The
high-byte (=CC1) and the low-byte (=CC2) of the Control Code specify the type
of message that is to be send.
S First Source Word.
The PLC memory address of the first word to be transferred.
D Destination Machine Number (D) and number of words (D+1) to be transferred.
IOWR(223)
@IOWR(223)
C
C
S
S
D
D
C:
CC2 (=Control Code 2)
CC1 (=Control Code 1)
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
D:
Machine Number to which data
is to be transferred:
Set between 0-95 (0000
H
- 005F
H
)
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
D+1:
Number of words to be
written:
Set between 1-128 (0001
H
- 0080
H
)
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0