Operand Specifications; Area - Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Failure Diagnosis Instructions
Note

Operand Specifications

Description
1,2,3...
N
1 to 511
#0000 to #FFFF
(These FAL num-
bers are shared
Word address
with FALS num-
bers.)
*Other settings would be constants #0200 through #FFFE or a word address.
Generating Non-fatal System Errors
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 FAL numbers are shared with FALS 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
The operation of FAL(006) depends on the value of N. Set N to 0000 to clear
an error and set N to 0001 to 01FF to generate an error. A system error will be
generated if the value of N equals the content of A529.
Generating Non-fatal User-defined Errors
When FAL(006) is executed with N set to an FAL number (&1 to &511) that is
not equal to the content of A529 (the system-generated FAL/FALS number), a
non-fatal error will be generated with that FAL number and the following pro-
cessing will be performed:
1. The FAL Error Flag (A402.15) will be turned ON. (PLC operation will con-
tinue.)
S
Generates a non-fatal error with the corre-
sponding FAL number (no message).
Generates a non-fatal error with the corre-
sponding FAL number.
The 16-character ASCII message contained in
S through S+7 will be displayed on the CX-
Programmer.
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
0 to 511
#0000 to #FFFF (binary)
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to
+2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Section 3-28
Function
S
937

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents