95
Three levels of program checking are available. The desired level must be des-
ignated to indicate the type of errors that are to be detected. The following table
provides the error types, displays, and explanations of all syntax errors. Check
level 0 checks for type A, B, and C errors; check level 1, for type A and B errors;
and check level 2, for type A errors only.
Type
Message
Meaning and appropriate response
A
?????
The program has been damaged, creating a non-existent
function code. Re-enter the program.
CIRCUIT ERR
The number of logic blocks and logic block instructions
does not agree, i.e., either LD or LD NOT has been used
to start a logic block whose execution condition has not
been used by another instruction, or a logic block
instruction has been used that does not have the required
number of logic blocks. Check your program.
OPERAND
ERR
A constant entered for the instruction is not within defined
values. Change the constant so that it lies within the
proper range.
NO END
INSTR
There is no END(001) in the program. Write END(001) at
the final address in the program.
LOCN ERR
An instruction is in the wrong place in the program. Check
instruction requirements and correct the program.
JME UNDEFD
A JME(004) instruction is missing for a JMP(005)
instruction. Correct the jump number or insert the proper
JME(004) instruction.
DUPL
The same jump number or subroutine number has been
used twice. Correct the program so that the same number
is only used once for each.
SBN UNDEFD
The SBS(091) instruction has been programmed for a
subroutine number that does not exist. Correct the
subroutine number or program the required subroutine.
STEP ERR
STEP(008) with a section number and STEP(008) without
a section number have been used incorrectly. Check
STEP(008) programming requirements and correct the
program.
B
IL-ILC ERR
IL(002) and ILC(003) are not used in pairs. Correct the
program so that each IL(002) has a unique ILC(003).
Although this error message will appear if more than one
IL(002) is used with the same ILC(003), the program will
executed as written. Make sure your program is written as
desired before proceeding.
JMP-JME ERR
JMP(004) and JME(005) are not used in pairs. Make sure
your program is written as desired before proceeding.
SBN-RET ERR If the displayed address is that of SBN(092), two different
subroutines have been defined with the same subroutine
number. Change one of the subroutine numbers or delete
one of the subroutines. If the displayed address is that of
RET(093), RET(093) has not been used properly. Check
requirements for RET(093) and correct the program.
C
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 instruction.
JMP UNDEFD
JME(005) has been used with no JMP(004) with the same
jump number. Add a JMP(004) with the same number or
delete the JME(005) that is not being used.
SBS UNDEFD
A subroutine exists that is not called by SBS(091).
Program a subroutine call in the proper place, or delete
the subroutine if it is not required.
Programming Errors
Section 5 -5
Summary of Contents for CPM1A-20CAR-A
Page 3: ...ii...
Page 5: ...iv...
Page 9: ...iv...
Page 29: ...14 System Configuration Section 1 2...
Page 43: ...29 Unit Components Section 2 2...
Page 65: ...51 Wiring and Connections Section 3 4...
Page 123: ...Appendix B Dimensions 2 CPM1 CIF01 90 81 21 30 205 50 56 CPM1 CIF11 90 81 21 30 205 50 61...
Page 124: ...Appendix B Dimensions 3 Dimensions with Peripheral Devices Attached Approx 90 Approx 125...
Page 125: ...Appendix B Dimensions 4...