7 - 11 7 - 11
MELSEC-Q
7 DATA COMMUNICATION USING THE BIDIRECTIONAL PROTOCOL
(Program example)
When Q series C24 I/O signals are from X/Y00 to X/Y1F:
Clear the receive data count storage device
to 0.
Designate the allowable receive data count.
•
The reading of received data is performed
by the programmable controller CPU.
Designate the receive channel.
•
After the BIDIN instruction is executed,
the user designated read completion
signal (M0) comes on for 1 scan.
With the normal completion, the receive
data within the allowable receive data count
(user designated) is read from the receive
data storage area in the buffer memory.
Interface number
Reception result
Receive data count
Allowable receive data count
Receive data
Receive data
D 0
D 1
D 2
D 3
D10
D m
When the received data count is larger than the
allowable received data count, only the data up to
the allowable received data count will be stored
and the excess data will be discarded.
Buffer memory
Data reception result
Receive data count
Receive data
Address
258
H
600
H
601
H
7FF
H
For normal completion
(1)
(0)
(n)
(10)
Q series C24
to
to
to
Содержание MELSEC QJ71C24
Страница 1: ......
Страница 2: ......
Страница 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Страница 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Страница 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Страница 441: ......
Страница 442: ......