Omron SYSMAC CS Series Instruction & Reference Manual page 985

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

FALS
Instruction
SEVERE FAILURE ALARM
Generating or Clearing User-defined 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 User-defined 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 FALS numbers are shared with FALS numbers.)
Specifies the first of eight words containing an ASCII message to
S
be displayed on the Programming Device.
Specify a constant (0000 to FFFF) if a message is not required.
 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).
N
1 to 511 (These FALS numbers are shared with FAL numbers.)
S
Error code that will be generated. (See Description below.)
Error details code that will be generated. (See Description
S+1
below.)
 Operand Specifications
Word addresses
Area
CIO
WR
HR
N
---
---
---
S
OK
OK
OK
Flags
Name
Error Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
FALS
---
FALS(007)
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
Label
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.
Function
code
Generates user-defined fatal errors. Fatal errors
007
stop PLC operation.
FALS
Generating Fatal Errors from the System
Subroutines
OK
Data type
Constants only
WORD
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
---
OK
OK
Operation
3. Instructions
Function
FALS(007)
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
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
---
---
---
OK
3
TR
bits
---
---
951

Advertisement

Table of Contents
loading

Table of Contents