6
DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL
6.2 Sending Data to the External Device
6.2.1 Transmission methods
Programmable controller CPU
Transmission data
STX
A
B
C
D
(02
) (41
)
(42
)
(43
)
(44
)
H
H
H
H
H
Contents
Transmission instruction
OUTPUT instruction
completion device
OUTPUT instruction
6 - 24
This section explains data transmission from the programmable controller CPU to the
external device.
The following shows how to send data in any format using the non procedure protocol.
E
F
G
H
ETX
(45
)
(46
)
(47
)
(48
)
(03
)
H
H
H
H
H
1) 2)
OUTPUT instruction
CH1/CH2
1) Transmission data is stored in the device designated with the OUTPUT instruction.
2) Control data is stored in the device designated with the OUTPUT instruction.
3) When the OUTPUT instruction is executed, the Q series C24 sends the amount of
data designated by the transmission data count from the transmission data area to
the external device in ascending order of the transmission data area addresses.
Q series C24
Transmission area
(buffer memory)
Transmission
10
data count
(00
)
(0A
H
H
A
STX
(41
)
(02
Transmission
H
H
data
C
B
(43
)
(42
H
H
E
D
(45
)
(44
H
H
G
F
(47
)
(46
H
H
ETX
H
(03
)
(48
H
H
External device
Control timing
OUTPUT
)
)
)
3)
)
Transmission data
)
ETX
H
(03
)
(48
)
H
H
)
MELSEC-Q
A
STX
(41
)
(03
)
H
H
6 - 24