Failure Diagnosis Instructions - Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Failure Diagnosis Instructions

FAL
Instruction
FAILURE ALARM
Generating or Clearing User-defined Non-fatal Errors
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
N
FAL number
First message word or constant / First word containing the error
S
code and error details
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).
N
1 to 511 (These FAL numbers are shared with FALS numbers.)
Word address:
Generates a non-fatal error with the corresponding FAL number.
The 16-character ASCII message contained in S through S+7 will
S
be displayed on the Programming Device.
#0000 to #FFFF:
Generates a non-fatal error with the corresponding FAL number (no
message).
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).
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.)
Operand Specifications
Word addresses
Area
CIO
WR
HR
N
---
---
---
S
OK
OK
OK
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
FAL
@FAL
FAL(006)
N: FAL number
N
S: First message word or
S
constant (0000 to FFFF)
Block program areas
Step program areas
OK
OK
Description
Generates a non-fatal error
Generates a non-fatal error
AR
T
C
DM
EM
---
---
---
---
---
OK
OK
OK
OK
OK
Function
code
Generates or clears user-defined non-fatal errors.
006
Non-fatal errors do not stop PLC operation.
FAL
Generating Non-fatal System Errors
Subroutines
OK
Data type
Constants only
WORD
0
#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.
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
---
OK
OK
3. Instructions
Function
FAL(006)
N: FAL number (value in A529)
N
S: First word containing the
S
error code and error details
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
1
Variable
Clears all non-fatal errors
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
---
---
---
OK
3
TR
bits
---
---
971

Advertisement

Table of Contents
loading

Table of Contents