![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681183.webp)
1144
Failure Diagnosis Instructions
Section 3-30
Displaying Messages with Non-fatal User-defined Errors
If S is a word address and an ASCII message has been stored at S, that mes-
sage 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.
Generating Non-fatal System Errors (CS1-H, CJ1-H, CJ1M, or CS1D Only)
When FAL(006) is executed with N set to an FAL number (&1 to &511) that is
equal to the content of A529 (the system-generated FAL/FALS number), a
non-fatal error will be generated with the error code and error details code
specified in S and S+1. The following processing will be performed at the
same time:
1,2,3...
1.
The specified error code will be written to A400.
2.
The error code and the time that the error occurred will be written to the
Error Log Area (A100 through A199).
3.
The appropriate Auxiliary Area Flags are set based on the error code and
error details.
4.
The ERR Indicator on the CPU Unit will flash and PLC operation will con-
tinue.
5.
The non-fatal error message for the specified system error will be dis-
played on the Programming Console.
Note
1.
FAL(006) can be used to generate non-fatal errors from the system when
debugging the program. For example, a system error can be generated in-
tentionally to check whether or not error messages are being displayed
properly at an interface such as a Programmable Terminal (PT).
2.
The value of A529 (the system-generated FAL/FALS number) is a dummy
FAL number (FAL, FALS, and FPD numbers are shared.) used when a
non-fatal error is generated intentionally by the system. This number is a
dummy FAL number, so it does not change the status of the Executed FAL
Number Flags (A36001 to A39115) or the error code.
When it is necessary to generate two or more system errors (fatal and/or
non-fatal errors), different errors can be generated by executing the FAL/
FAL
N
S
N
A529CH
S
S+1
Execution of FAL(006)
generates a non-fatal
system error with the
error code/details
specified in S and
S+1.
Error code
Error details
Error code written to A400
Error code and time written to Error Log Area
The corresponding Auxiliary Area Flags are set
based on the error code and error details.
ERR Indicator flashes.
Message displayed on
Programming Console.
Matching
values
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...