Omron SYSMAC CS Series Instruction & Reference Manual page 982

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
 Disabling Error Log Entries of User-defined Errors
Normally when FAL(006) generates a user-defined error, the error code and the time that the error
occurred are written to the Error Log Area (A100 through A199). It is possible to set the PLC Setup so
that user-defined errors generated by FAL(006) are not recorded in the Error Log.
Note Even though the error will not be recorded in the Error Log, the FAL Error Flag (402.15) will be turned ON,
the corresponding flag in the Executed FAL Number Flags (A360.01 to A391.15) will be turned ON, and the
error code will be written to A400.
Disable Error Log entries for user-defined FAL(006) errors when you want to record only the system-
generated errors. For example, this function is useful during debugging if the FAL(006) instructions are
used in several applications and the Error Log is becoming full of user-defined FAL(006) errors.
• The following screen capture shows the PLC Setup setting from the CX-Programmer.
• The following table shows the PLC Setup setting from the Programming Console.
Programming Console setting address
Name
Settings
Default setting
Times that PLC Setup setting is read
Note Even if PLC Setup word 129 bit 15 is set to 1 (Do not record FAL Errors in Error Log.), the following errors
will be recorded:
• Fatal errors generated by FALS(007)
• Non-fatal errors from the system
• Fatal errors from the system
• Non-fatal errors from the system generated intentionally with FAL(006) or FPD(269)
• Fatal errors from the system generated intentionally with FALS(007)
 Displaying Messages with Non-fatal User-defined Errors
• If S is a word address and an ASCII message has been stored at S, that message will be displayed at
the Peripheral Device when FAL(006) is executed. (If a message is not required, set S to a constant.)
• The message beginning at S will be registered when FAL(006) is executed. Once the message is
registered, it will be displayed when a Programming Console is connected.
• An ASCII message up to 16 characters long can be stored in S through S+7. The leftmost (most
significant) byte in each word is displayed first.
• The end code for the message is the null character (00 hexadecimal).
• All 16 characters in words S to S+7 will be displayed if the null character is omitted.
• If the contents of the words containing the message are changed after FAL(006) is executed, the
message will change accordingly.
948
Word
129
Bit
15
FAL Error Log Registration
0: Record FAL Errors in Error Log.
1: Do not record FAL Errors in Error Log.
0: Record FAL Errors in Error Log.
Every cycle (when an FAL Error occurs)
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents