212
5 MODULE DEDICATED INSTRUCTION
5.4 Network Dedicated Instruction
ZP_ERRRD
The following instruction can go in the dotted squares.
ZP_ERRRD
■
Executing condition
■
Argument
*1 Local devices and file registers per program cannot be used as setting data.
Processing details
This instruction reads the error information stored in the buffer memory of the Ethernet module.
Setting data
Instruction
Executing condition
ZP_ERRRD
Input/output
argument
Name
Description
Data type
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
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
(s)
(d)
Device
Item
Setting data
Setting
range
Setting
side
(s)[0]
System area
(s)[1]
Completion status
The instruction completion status is stored.
0: Normal completion
Other than 0 : Error completion (error code)
System
(s)[2]
Read information
specification
Specify the error information to be read.
0: Initial error code
1 to 16: Open error code of the corresponding connection
0,
1 to 16
User
(s)[3]
Read target
information
specification
Specify the target error information to be read.
0000H: Latest error information
0000H
User
Ether
ZP_ERRRD
EN
ENO
Un*
d
s
ZP_ERRRD
(EN, Un*, s, d);
ENO:=
Structured ladder/FBD
ST
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......