6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL
CH1 side
address
400
H
(B)
401
H
42
(D)
402
H
44
(F)
403
H
46
(1)
404
H
31
(3)
405
H
33
(5)
406
H
35
6.2.3 Sequence program for transmission data
Transmission
instruction
M0
M1
M1
6 - 25
(2) Transmission data arrangement
The following example shows an arrangement of the transmission data to be sent
to the external device when storing it in the transmission area.
(Example) When transmitting "ABCDEFG123" (The transmit area is the default
value.)
Buffer memory
1)
5 or 10
(A)
41
H
H
(C)
43
H
H
2)
(E)
45
H
H
(G)
47
H
H
(2)
32
H
H
(4)
34
H
H
A sequence program for transmission data is explained below.
For details on the OUTPUT instruction used for data transmission, see Chapter 9.
Transmission data count storage area
In accordance with the word/byte units designation
Word units....5
Bytes units....10
Transmission data designation area
Sequentially store the transmission data to low address (L)
address (L)
(H), in the order of transmission.
Create transmission data from D11
Create control data from D0
G.OUTPUT
Un
D0
Processing for normal completion
Processing for abnormal completion
(retransmission, etc.)
MELSEC-Q
(In case of the CH1 side)
D11
M0
(H), next
6 - 25