Simulating System Errors; Output Off Bit - Omron CP1L-EL20DR-D Operation Manual

Sysmac cp series cp1l-el/em cpu unit
Table of Contents

Advertisement

Failure Diagnosis Functions
8-8-3

Simulating System Errors

1,2,3...
8-8-4

Output OFF Bit

454
FAL(006) and FALS(007) can be used to intentionally create fatal and non-
fatal system errors. This can be used in system debugging to test display
messages on Programmable Terminals (PTs) or other operator interfaces.
Use the following procedure.
1. Set the FAL or FALS number to use for simulation in A529. A529 is used
when simulating errors for both FAL(006) and FALS(007).
2. Set the FAL or FALS number to use for simulation as the first operand of
FAL(006) or FALS(007).
3. Set the error code and error to be simulated as the second operand (two
words) of FAL(006) or FALS(007). Indicate a nonfatal error for FAL(006)
and a fatal error for FALS(007).
To simulate more than one system error, use more than one FAL(006) or
FALS(007) instruction with the same value in A529 and different values for the
second operand.
Auxiliary Area Flags and Words
Name
FAL/FALS Number
for System Error
Simulation
Example for a Battery Error
Execution condition
a
Note Use the same methods as for actual system errors to clear the simulated sys-
tem errors. Refer to the 12-2 Troubleshooting for details. All system errors
simulated with FAL(006) and FALS(007) can be cleared by cycling the power
supply.
As an emergency measure when an error occurs, all outputs from Output
Units can be turned OFF by turning ON the Output OFF Bit (A500.15). The
operating mode will remain in RUN or MONITOR mode, but all outputs will be
turned OFF.
Note Normally (when IOM Hold Bit = OFF), all outputs from Output Units are turned
OFF when the operating mode is changed from RUN/MONITOR mode to
PROGRAM mode. The Output OFF Bit can be used to turn OFF all outputs
without switching to PROGRAM mode.
Address
A529
Set a dummy FAL/FALS number to use to simu-
late a system error.
0001 to 01FF hex: FAL/FALS numbers 1 to 511
0000 or 0200 to FFFF hex: No FAL/FALS number
for system error simulation.
MOV
&100
Set FAL number 100 in A529.
A529
MOV
Set error code for battery error
#00F7
(#00F7) in D10.
D10
FAL
Generate a battery error using FAL
100
number 100.
D10
Section 8-8
Operation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents