
207
Programming Errors
Section 9-4
9-4
Programming Errors
These errors in program syntax will be detected when the program is checked
using the Program Check operation.
Three levels of program checking are available. The desired level must be
designated 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 LD instructions (LD or LD NOT) does not
match the number of logic block instructions (OR LD or
AND LD).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(01) in the program. Write END(01) at the
end of 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(05) instruction is missing for a JMP(04) instruction.
Correct the jump number or insert the proper JME(05)
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
An SBN(92) has not been programmed with the same sub-
routine number as an SBS(91) instruction in the program.
Correct the program.
STEP ERR
STEP(08) with a section number and STEP(08) without a
section number have been used incorrectly. Check
STEP(08) programming requirements and correct the pro-
gram.
B
IL-ILC ERR
IL(02) and ILC(03) are not used in pairs. Correct the pro-
gram so that each IL(02) has a unique ILC(03). Although
this error message will appear if more than one IL(02) is
used with the same ILC(03), the program will executed as
written. Make sure your program is written as desired
before proceeding.
JMP-JME ERR
JMP(04) and JME(05) are not used in pairs. Make sure
your program is written as desired before proceeding.
SBN-RET ERR
RET(93) has not been used properly or the relationship
between SBN(92) and RET(93) is not correct. 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 require-
ments 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 subroutine call in the proper place, or delete the subrou-
tine if it is not required.
Summary of Contents for CPM2C-S100C
Page 2: ......
Page 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 14: ...xiv ...
Page 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Page 222: ...200 Programming Example Section 8 3 ...
Page 250: ......
Page 256: ......
Page 258: ......
Page 260: ...238 Support Software Appendix C ...
Page 268: ......