App. - 43 App. - 43
MELSEC-Q
APPENDIXES
(2) Program example
<Receive read request>
<Read of received data count>
<Read of received data>
<Receive error detection>
<When receive error detected: Read of data reception result>
Changes the receive read
request signal into pulses.
Reads the received data count
from the communication area of
the buffer memory to D1.
Received data acquisition
command
Abnormal completion of
REMFR instruction
Reads data as many as the
received data count from the
communication area of the buffer
memory to D1.
Normal reception completion
Abnormal completion of REMFR
instruction
Turns ON the receive read
completion signal.
Abnormal reception completion
Reception result acquisition
command
Reads the data reception result
of the buffer memory to D8000.
Normal completion of REMFR
instruction
Abnormal completion of REMFR
instruction
Turns ON the receive read
completion signal.
Turns OFF the receive read
completion signal.
REMARKS
When data reception is executed by the bidirectional protocol, the area enclosed by
the dotted line shown above must be removed.
Set the intelligent function module switches as indicated below. (Refer to Section
4.5.2.)
Switch No.
Setting value
Switch 1
07C0
H
Switch 2
0007
H
Содержание 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: ......