Справочник Пользователя для Mitsubishi Electronics MELSEC Q series MELSEC L series

Скачать
Страница из 412
5.4 Network Dedicated Instruction
5.4.33 MRECV instruction
5-247
ZP_MRECV
5
MODULE DEDICA
TED 
INSTRU
CTI
O
N
Z
P
_MRECV
5.4.33  
MRECV instruction
ZP_MRECV
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction reads received e-mail.
ZP_MRECV
Executing condition
:
 indicates the following instruction.
ZP_MRECV
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:
Variable that stores control data
:Array of ANY16 [0..15]
Output argument
ENO:
Execution result
:Bit
d1:
Start number of the host station's device that stores the 
content of the received e-mail (header + attached file)
:ANY16
d2:
Variable that turns ON upon completion of the instruction
d2[1] also turns ON at the time of error completion.
:Array of bit [0..1]
Setting
data 
*1
Internal device
R, ZR
J
\
U
\G
Zn
Constant Others
Bit
Word
Bit
Word
Ether
ZP_MRECV
EN
ENO
Un*
d1
d2
s
ZP_MRECV
(EN, Un*, s, d1, d2);
ENO:=
Structured ladder/FBD
ST
s
d1
d2