Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 978

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Failure Diagnosis Instructions
Operand Specifications
Description
1,2,3...
Note The value of operand N must be different from the content of A529
(the system-generated FAL/FALS number).
Operand
N
1 to 511 (These FALS numbers are shared with FAL numbers.)
S
Specifies the first of eight words containing an ASCII message to be
displayed on the CX-Programmer.
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).
Operand
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
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
FALS(007) generates a fatal error. FALS(007) can also be used to generate
fatal system errors as well as fatal user-defined errors. (A system error will be
generated if the value of N equals the content of A529.)
Generating Fatal User-defined Errors
When FALS(007) is executed with N set to an FALS number (1 to 511) that is
not equal to the content of A529 (the system-generated FAL/FALS number), a
fatal error will be generated with that FALS number and the following process-
ing will be performed:
1. The FALS Error Flag (A401.06) will be turned ON. (PLC operation will
stop.)
Function
Function
N
---
CIO 0 to CIO 6143
---
W0 to W511
---
H0 to H511
---
A0 to A959
---
T0000 to T4095
---
C0000 to C4095
---
D0 to D32767
---
@ D0 to @ D32767
---
*D0 to *D32767
Specified val-
#0000 to #FFFF (binary)
ues only
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047
,IR15
DR0 to DR15, IR0 to IR15
,IR+(++)0 to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Section 3-28
S
945

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents