500
User-defined Errors
Section 8-4
Level C Errors
!Caution
Expansion instructions (those assigned to function codes 17, 18, 19, 47, 48,
60 to 69, 87, 88, and 89) are not subject to program checks. Program checks
also do not cover DM 3070 to DM 6143 for PCs that do not support this part of
the DM area (e.g., CQM1H-CPU11 and CQM1H-CPU21). Data will not be
written even if these areas are specified and data read from these areas will
always be undefined.
8-4
User-defined Errors
There are four instructions that the user can use to define errors or messages.
These instructions can be used to generate warnings (non-fatal errors where
the ERR/ALM flashes) or errors (fatal errors where the ERR/ALM lights), and
to display messages at the Programming Console.
MESSAGE – MSG(46)
MSG(46) is used to display a message on the Programming Console. The
message, which can be up to 16 characters long, is displayed when the
instruction’s execution condition is ON. Refer to page 381 for details.
FAILURE ALARM –
FAL(06)
FAL(06) is an instruction that causes a non-fatal error. Refer to page 230 for
details. The following will occur when an FAL(06) instruction is executed:
1,2,3...
1.
The ERR/ALM indicator on the CPU Unit will flash. PC operation will con-
tinue.
2.
The instruction’s 2-digit BCD FAL number (01 to 99) will be written to
SR 25300 to SR 25307.
3.
The FAL number will be recorded in the PC’s error log area. The time of
occurrence will also be recorded if a Memory Cassette with a clock (RTC)
is used.
The FAL numbers can be set arbitrarily to indicate particular conditions. The
same number cannot be used as both an FAL number and an FALS number.
To clear an FAL error, correct the cause of the error, execute FAL 00, and then
clear the error using the Programming Console. Refer to page 230 for details.
SEVERE FAILURE ALARM
– FALS(07)
FALS(07) is an instruction that causes a fatal error. Refer to page 230 for
details. The following will occur when an FALS(07) instruction is executed:
1,2,3...
1.
Program execution will be stopped and outputs will be turned OFF.
2.
The ERR/ALM indicator on the CPU Unit will be lit.
3.
The instruction’s 2-digit BCD FALS number (01 to 99) will be written to
SR 25300 to SR 25307.
Message
Meaning and appropriate response
COIL DUPL
The same bit is being controlled (i.e., turned ON and/or OFF) by more
than one instruction (e.g., OUT, OUT NOT, DIFU(13), DIFD(14),
KEEP(11), SFT(10)). Although this is allowed for certain instructions,
check instruction requirements to confirm that the program is correct or
rewrite the program so that each bit is controlled by only one instruc-
tion.
JMP
UNDEFD
JME(05) has been used with no JMP(04) with the same jump number.
Add a JMP(04) with the same number or delete the JME(05) that is not
being used.
SBS
UNDEFD
A subroutine exists that is not called by SBS(91). Program a subrou-
tine call in the proper place, or delete the subroutine if it is not required.