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
Summary of Contents for MELSEC QJ71C24
Page 1: ......
Page 2: ......
Page 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Page 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Page 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Page 441: ......
Page 442: ......