13.8 ERR (Self-Diagnostic Error Code Set)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
i ●
■
List of operands
Operand Description
n Specify a self-diagnostic error code.
■
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
n ● ●
■
Outline of operation
● This instruction sets an error code with the user program.
● A self-diagnostic error code specified by [n] is stored in the self-diagnostic abnormality code
register (SD0), and the self-diagnosis error occurrence flag (SR0) is set.
● It is also possible to describe multiple ERR instructions that set the same error code.
■
Setting of a self-diagnostic error code [n]
● n (self-diagnostic error code) can be set within the range from U1000 to U2999.
[n] Operation when an error occurs
U 1000 to 1999 Operation stops
U 2000 to 2999 Operation continues
● When the ERR instruction is executed with n (self-diagnostic error code) set to U0, self-
diagnostic errors that have an error code 80 or higher can be cleared.
13.8 ERR (Self-Diagnostic Error Code Set)
WUME-FP7CPUPGR-12 13-13