Program For Data Reception - Mitsubishi Electric MELSEC iQ-R Series User Manual

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Program for data reception

Program example for data reception
The following shows the program for data reception using the nonprocedural protocol and its example.
For details on the INPUT instruction, refer to the dedicated instructions.(Page 520 Dedicated Instructions)
*1
Read request
X3
M0
Abnormal
X4
detection
M0
M1
M1
*1 When the completion device is OFF, execute the INPUT instruction.
When INPUT instruction is executed when the completion device is ON, data may not be received properly.
Create control data from D0
G.INPUT
Un
D0
D10
Processing for normal completion
(received data is stored)
Processing for abnormal completion
(Reading and discarding received data,
retransmission request, etc.)
3 DATA COMMUNICATION USING NONPROCEDURAL PROTOCOL
(CH1)
M0
3.1 Receiving Data from Target Device
3
61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents