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


 
5-252
5.4 Network Dedicated Instruction
5.4.34 MSEND instruction
ZP_MSEND
5.4.34 MSEND instruction
ZP_MSEND
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction sends an e-mail.
ZP_MSEND
Executing condition
:
indicates the following instruction.
ZP_MSEND
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
s1:
Variable that stores control data :Array of ANY16 [0..15]
s2:
Start number of the host station's device that stores the
content of the sent e-mail (subject + attached file) or (subject +
text)
:ANY16
Output argument ENO:
Execution result :Bit
d:
Variable that turns ON upon completion of the instruction
d[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
EN ENO
Un* d
s1
s2
ZP_MSEND
ZP_MSEND
(EN, Un*, s1, s2, d);ENO:=
Structured ladder/FBD ST
s1
s2
d