Fals - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

FALS

Instruction
SEVERE FAILURE ALARM
Generating User-defined Fatal Errors
Symbol
Applicable Program Areas
Area
Usage
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
S
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
S
S+1
Operand Specifications
Area
CIO
WR
N
---
---
S
OK
OK
Flags
Name
Error Flag
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
FALS
---
FALS(007)
N: FAL number
N
S: First message word or
S
constant (0000 to FFFF)
Step program areas
OK
Description
1 to 511 (These FALS numbers are shared with FALS numbers.)
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.
1 to 511 (These FALS numbers are shared with FAL numbers.)
Error code that will be generated. (See Description below.)
Error details code that will be generated. (See Description below.)
Word addresses
HR
AR
T
C
---
---
---
---
OK
OK
OK
OK
Label
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.
Function
code
Generates user-defined fatal errors. Fatal errors
007
stop PLC operation.
FALS
Generating Fatal System Errors
Subroutines
OK
Data type
Constants only
WORD
Generates a non-fatal error
Generates a non-fatal error
Indirect DM addresses
Constants
DM
@DM
*DM
---
---
---
OK
OK
OK
Operation
2 Instructions
Function
FALS(007)
N: FAL number (value in A529)
N
S: First word containing the
S
error code and error details
Interrupt tasks
OK
Size
1
Variable
CF
Pulse bits
OK
---
---
2
TR bits
---
2-393

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents