Omron SYSMAC CP Series Instruction & Reference Manual page 427

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

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)
• 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 reg-
istered, it will be displayed.
• An ASCII message up to 16 characters long can be stored in S through S+7. The leftmost (most sig-
nificant) 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.
Sample program
Generating a Non-fatal Error
When CIO 0.00 is ON in the following example, FAL(006) will generate a non-fatal error with FAL num-
ber 31 and execute the following processes.
1. The FAL Error Flag (A402.15) will be turned ON.
2. The corresponding Executed FAL Number Flag (A361.15) will be turned ON.
3. The corresponding error code (411F) will be written to A400.
4. The error code and the time/date that the error occurred will be written to the Error Log Area (A100
through A199).
5. The ERR Indicator on the CPU Unit will flash.
6. The ASCII message in D100 to D107 will be displayed at the Peripheral Device.
Note If a message is not required, specify a constant for S.
0.00
FAL
31
N
D100
M
Note If two or more errors occur at the same time, the error code of the most serious error (with the highest error
code) will be stored in A400.
CP1E CPU Unit Instructions Reference Manual(W483)
15
0
4C
4F
M: D100
M:
57
20
D101
56
4F
D102
4C
54
D103
41
47
D104
45
00
D105
D106
Disregarded
D107
2 Instructions
MESSAGE
LOW VOLTAGE
2
2-391

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents