Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1700

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

Advertisement

Precautions
• When data is to be received with the interrupt program, use the Z.BUFRCVS instruction.
• The following table summarizes the processes that take place if another instruction is issued while the Z.BUFRCVS
instruction is active or the Z.BUFRCVS instruction is issued while another instruction is active with the same channel.
Instruction to execute
*2
concurrently
G(P).OUTPUT
G(P).PRR
G.INPUT
G(P).BIDOUT
G(P).BIDIN
ZP.CSET
G(P).PUTE
G(P).GETE
Z.BUFRCVS
G(P).SPBUSY
ZP.UINI
*2 The following instructions are not available with the same channel as for the Z.BUFRCVS instruction because they use a communication
protocol different from the one used by this instruction.
• G(P).ONDEMAND and G(P).CPRTCL instructions
• For the receive data storage device for the Z.BUFRCVS instruction, secure in advance the area larger than the amount of
data that will be received from the external device. If it has not been secured, the data located at the rear of the storage
device will be overwritten.
• The local device and the file register for each program are not available for setting data.
• The read error codes issued during occurrence of a receive error can be read from the data receive result storage area
(address: 258H/268H) of the buffer memory.
Operation error
Error code
Description
(SD0)
 MELSEC iQ-R CPU Module User's Manual (Application)
4000H to 4FFFH
20 SERIAL COMMUNICATION INSTRUCTIONS
1698
20.8 Receiving Data Using an Interrupt Program
Possibility of
Handling for concurrent execution
concurrent execution
The G.INPUT and Z.BUFRCVS instructions cannot be used simultaneously.
Concurrent execution is, however, possible if they use different channels.
Concurrent execution of the G(P).BIDIN and Z.BUFRCVS instructions is not possible.
Concurrent execution is, however, possible if they use different channels.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents