392
Failure Diagnosis Functions
Section 6-8
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
Example for a Battery Error
Note
Use the same methods as for actual system errors to clear the simulated sys-
tem errors. Refer to the
9-2 Troubleshooting
for details. All system errors sim-
ulated with FAL(006) and FALS(007) can be cleared by cycling the power
supply.
6-8-4
Output OFF Bit
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.
Application Precaution for
DeviceNet
When the CPM1A-DRT21 is used, all slave outputs will be turned OFF, i.e., all
inputs to the master will be OFF.
Name
Address
Operation
FAL/FALS Number
for System Error
Simulation
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
A529
a
MOV
#00F7
D10
FAL
100
D10
Execution condition
Set FAL number 100 in A529.
Set error code for battery error
(#00F7) in D10.
Generate a battery error using FAL
number 100.
Summary of Contents for CP1L - 12-2007
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 428: ...395 Clock Section 6 9...
Page 429: ...396 Clock Section 6 9...
Page 523: ...488 Troubleshooting Unit Errors Section 9 4...
Page 531: ...496 Replacing User serviceable Parts Section 10 2...
Page 563: ...528 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...576 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...604 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...634 Index...
Page 671: ...636 Revision History...