Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5.3 Serial Communication
5.3.8 BUFRCVS instruction
5-85
Z_BUFRCVS
5
MODULE DEDICATED
INSTRUCTION
Z_BUFRCVS
5.3.8 BUFRCVS instruction
Z_BUFRCVS
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction receives data with an interrupt program during communication using the
nonprocedural protocol or bidirectional protocol.
Z_BUFRCVS
indicates the following instruction.
Z_BUFRCVS
Input argument EN:
Executing condition :Bit
Un*:
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/O
number in three digits)
:String
s:
Reception channel number
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
:ANY16
Output argument ENO:
Execution result :Bit
d:
Start number of the device that stores read data
* Receive data are read from the receive area of buffer
memory.
:ANY16
Setting
data
*1
Internal device
R, ZR
J\
U\G
Zn
Constant
K, H
Others
Bit Word Bit Word


Serial
Structured ladder/FBD
ST
Z_BUFRCVS
EN ENO
d
Un*
s
Z_BUFRCVS
(EN, Un*, s, d);ENO:=
s
d