630
7 APPLICATION INSTRUCTIONS
7.7 Debugging and Failure Diagnostic Instructions
Generating a stop error
PABORT
This instruction stops program execution and generates a stop error in the CPU module.
■Execution condition
■Description, range, data type
■Applicable devices
• This instruction stops program execution and generates a stop error (error code: 3070H) in the CPU module. When the
instruction is executed, SM0 turns on and the ERROR LED of the CPU module flashes. SM1 does not turn on.
• Data (16-bit signed binary) specified by (s) is stored in the detailed information 2 of the error code 3070H.
• The PABORT instruction is useful for debugging since a stop 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 3070H.
• If any problem occurs in an external device connected to the standby system, the PABORT instruction
prevents the systems to be switched by generating a stop error in the standby system.
There is no operation error, except the error (error code: 3070H) which occurs by executing the PABORT instruction.
Ladder ST
ENO:=PABORT(EN,s);
FBD/LD
Instruction Execution condition
PABORT
Operand Description Range Data type Data type (label)
(s) Data to be stored in the detailed information 2 of the error
code 3070H 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)