Failure diagnosis instructions, Applicable program areas operands, 2 instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual
Page 423: Generating non-fatal system errors, Operand specifications

2-387
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
F
ailu
re Dia
gn
osis I
n
stru
ctio
ns
2
F
A
L
Failure Diagnosis Instructions
FAL
Applicable Program Areas
Operands
Generating or Clearing User-defined Non-fatal Errors
Note The value of operand N must be different from the content of A529 (the system-generated FAL/FALS number).
Generating Non-fatal System Errors
Note The value of operand N must be the same as the content of A529 (the system-generated FAL/FALS number).
Operand Specifications
Instruction
Mnemonic
Variations
Function
code
Function
FAILURE ALARM
FAL
@FAL
006
Generates or clears user-defined non-fatal errors.
Non-fatal errors do not stop PLC operation.
Symbol
FAL
Generating or Clearing User-defined Non-fatal Errors
Generating Non-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
Clears all non-fatal errors
N
1 to 511 (These FAL numbers are shared with FALS numbers.)
0
S
Word address:
Generates a non-fatal error with the corresponding FAL number.
The 16-character ASCII message contained in S through S+7 will
be displayed on the Programming Device.
#0000 to #FFFF:
Generates a non-fatal error with the corresponding FAL number (no
message).
#FFFF:
Clears all non-fatal errors.
#0001 to #01FF: Clears the non-fatal error with the corresponding
FAL number.
Other:
Clears the most serious non-fatal error.
Generates a non-fatal error
N
1 to 511 (These FAL numbers are shared with FALS numbers.)
S
Error code that will be generated. (See Function below.)
S+1
Error details code that will be generated. (See Function 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
OK
OK
OK
OK
OK
OK
OK
OK
OK
N: FAL number
S: First message word or
constant (0000 to FFFF)
FAL(006)
N
S
N: FAL number (value in A529)
S: First word containing the
error code and error details
FAL(006)
N
S