Omron CP1E-N@@D@-@ Computer Hardware User Manual


 
2-393
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Failure Diagnosis Instructions
2
FALS
FA LS
Applicable Program Areas
Operands
Generating User-defined Fatal Errors
Note The value of operand N must be different from the content of A529 (the system-generated FAL/FALS number).
Generating Fatal Errors from the System
The following table shows the function of the operands.
Note The value of operand N must be the same as the content of A529 (the system-generated FAL/FALS number).
Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
SEVERE FAILURE ALARM FALS --- 007
Generates user-defined fatal errors. Fatal errors
stop PLC operation.
Symbol
FALS
Generating User-defined Fatal Errors Generating Fatal System Errors
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
N FAL number Constants only 1
S
First message word or constant / First word containing the error
code and error details
WORD Variable
Generates a non-fatal error
N 1 to 511 (These FALS numbers are shared with FALS numbers.)
S
Specifies the first of eight words containing an ASCII message to be displayed on the Programming Device.
Specify a constant (0000 to FFFF) if a message is not required.
Generates a non-fatal error
N 1 to 511 (These FALS numbers are shared with FAL numbers.)
S Error code that will be generated. (See Description below.)
S+1 Error details code that will be generated. (See Description below.)
Area
Word addresses Indirect DM addresses
Constants CF Pulse bits TR bits
CIO WR HR AR T C DM @DM *DM
N --- --- --- --- --- --- --- --- ---
OK --- --- ---
S OKOKOKOKOKOKOK OK OK
Name Label Operation
Error Flag P_ER ON if N is not within the specified range of 0001 to 01FF (1 to 511 decimal).
ON if a fatal system error is being generated, but the specified error code or error details code is
incorrect.
OFF in all other cases.
N: FAL number
S: First message word or
FALS(007)
N
S
constant (0000 to FFFF)
N: FAL number (value in A529)
S: First word containing the
FALS(007)
N
S
error code and error details