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


 
5-240
5.4 Network Dedicated Instruction
5.4.31 ERRRD instruction
ZP_ERRRD
5.4.31 ERRRD instruction
ZP_ERRRD
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction reads the error information stored in the buffer memory of the Ethernet module.
ZP_ERRRD
Executing condition
:
indicates the following instruction.
ZP_ERRRD
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..7]
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
ZP_ERRRD
EN ENO
Un* d
s
ZP_ERRRD
(EN, Un*, s, d);ENO:=
Structured ladder/FBD ST
s
d