Mitsubishi Electric MELSEC iQ-R Series User Manual page 66

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

Advertisement

• Received data can also be read using interrupt programs. (Page 219 RECEIVING DATA WITH AN
INTERRUPT PROGRAM)
Note that if the reading of data received from the same interface is performed, it is not possible to combine
the reading of data received by the main program and reading of data received by the interrupt program.
Accordingly, use either of the above program to read the data received.
• The SPBUSY instruction is used to read the execution status when using a dedicated instruction. (Page
520 Dedicated Instructions)
• More than one INPUT instruction cannot be executed simultaneously on the same interface.
Execute the next INPUT instruction only after the execution of the first INPUT instruction is completed.
• When the send/receive data quantity is set in word units and the receive data quantity is an odd byte when
requesting the reading of received data to the CPU module, the receive data quantity is processed as
follows:
Receive data quantity = Receive data byte count/2・・・Round up after the decimal point.
Also, 00H is stored in the higher byte of the last data storage position in the receive area where received
data is stored.
3 DATA COMMUNICATION USING NONPROCEDURAL PROTOCOL
64
3.1 Receiving Data from Target Device

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents