Chapter 8 Communication Functions
8-69
8.4.3 Instructions
1) No protocol receive(DRCV)
Available Device Flag
Instruction
M P K L F T C S D
#
D Integer
No. of
step
Error
(F110)
Zero
(F111)
Carry
(F112)
Ch
○
Cw
○ ○ ○ ○ ○ ○ ○
○ ○ ○
D
○ ○ ○ ○
○ ○
○ ○
SS
○ ○ ○ ○
○ ○
○ ○
9
○
Ch
Designated communication channel
CW
Designated format of receiving frame
D Device address which is stored communication data
Error
(F110)
Error flag turns on, when designating area is over.
SS
Device address which is displayed communication
status
■ DRCV Ch Cw D SS
(1) Function
• When the execution condition is on, the communication starts with No protocol.
• Received data is stored in device ‘D’
• If received data is not match to the designated format by ‘Cw’, data is not saved to ‘D’
• The communication status is saved in ‘SS’ .
(2) Example program
• When the execution condition M0000 is on, the communication starts with channel 1
• When ‘EXT(h’03)’ is received, Received frames are saved to D0100
• When NDR is on, the length of received frames is saved to M010 by byte.
Length of received data error bit Done
Flag Designation
DRCV
No protocol receive