381
Failure Diagnosis Functions
Section 6-7
6-7
Failure Diagnosis Functions
This section introduces the following functions.
• Failure Alarm Instructions: FAL(006) and FALS(007)
• Failure Point Detection: FPD(269)
• Output OFF Bit
6-7-1
Failure Alarm Instructions: FAL(006) and FALS(007)
The FAL(006) and FALS(007) instructions generate user-defined errors.
FAL(006) generates a non-fatal error that allows program execution to con-
tinue and FALS(007) generates a fatal error that stops program execution.
When the user-defined error conditions (i.e., the execution conditions for
FAL(006) or FAL(007)) are met, the instruction will be executed and the follow-
ing processing will be performed.
1,2,3...
1.
The FAL Error Flag (A402.15) or FALS Error Flag (A401.06) is turned ON.
2.
The corresponding error code is written to A400.
3.
The error code and time of occurrence are stored in the Error Log.
4.
The error indicator on the front of the CPU Unit will flash or light.
5.
If FAL(006) has been executed, the CPU Unit will continue operating.
If FALS(007) has been executed, the CPU Unit will stop operating. (Pro-
gram execution will stop.)
Operation of FAL(006)
When execution condition A goes ON, an error with FAL number 002 is gener-
ated, A402.15 (FAL Error Flag) is turned ON, and A360.02 (FAL Number 002
Flag) is turned ON. Program execution continues.
Errors generated by FAL(006) can be cleared by executing FAL(006) with FAL
number 00 or performing the error read/clear operation from the CX-Program-
mer.
Operation of FALS(007)
When execution condition B goes ON, an error with FALS number 003 is gen-
erated, and A401.06 (FALS Error Flag) is turned ON. Program execution is
stopped.
Errors generated by FAL(006) can be cleared by eliminating the cause of the
error and performing the error read/clear operation from the CX-Programmer.
A
FAL
002
#0000
B
FALS
003
#0000
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...