7 APPLICATION INSTRUCTIONS
7.7 Debugging and Failure Diagnostic Instructions
629
7
Generating a continuation error
PALERT(P)
This instruction generates a continuation error in the CPU module.
■Execution condition
■Description, range, data type
■Applicable devices
• This instruction generates a continuation error (error code: 1810H) in the CPU module. When the instruction is executed,
SM0 turns on and the ERROR LED of the CPU module turns on. SM1 does not turn on.
• Data (16-bit signed binary) specified by (s) is stored in the detailed information 2 of the error code 1810H.
• The PALERT(P) instruction is useful for debugging since a continuation error can be simulated at the start-
up of the system. The instruction execution point can be identified by checking the detailed information 2 of
the error code 1810H.
There is no operation error, except the error (error code: 1810H) which occurs by executing the PALERT(P) instruction.
Ladder ST
ENO:=PALERT(EN,s);
ENO:=PALERTP(EN,s);
FBD/LD
Instruction Execution condition
PALERT
PALERTP
Operand Description Range Data type Data type (label)
(s) Data to be stored in the detailed information 2 of the error
code 1810H or device number where the data is stored
-32768 to 32767 16-bit signed binary ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s)
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)