28
6 APPENDICES
6.1 Error Messages of PLC Compiler
The error messages of the PLC compiler and the codes are interpreted as follows.
In the case of a flawless compilation of the PLC program, the PLC compiler returns the
message "PASSED" (flawless compilation).
If the PLC compiler detects a syntactic error in any phase of the compilation, the process of
compilation is interrupted and a message (with a numeric identifier) is return. In the case of
an error the cursor is pointing at the erratic instruction.
Error messages of PASS1 are:
ERROR 1
- module number over :200 in the PLC program
ERROR 2
- the ASCII source program is larger than the space reserved for it
ERROR 3
- the generated ASSEMBLY program is larger than the space reserved for it
ERROR 4
- too many CALL or JUMP instructions are in the PLC program
ERROR 5
- no :000 module in the PLC program
ERROR 6
- no :001 module in the PLC program
ERROR 8
- no module label found in the PLC program
ERROR 9
- a parameter other than a decimal or octal number encountered in the instruction
concerned
ERROR 10
- a parameter other than a hexadecimal number encountered in the instruction
concerned
ERROR 11
- no ending bracket ")" is found - the opened conditional test group is not
terminated
ERROR 12
- single quotation mark (") - the opened spring-print instruction is not
terminated
ERROR 13
- "N" followed by illegal character (Nxnnn)
ERROR 14
- "NL" followed by illegal character (NLxnn)
ERROR 15
- "NS" followed by illegal character (NSxnn)
ERROR 16
- non-decimal number or subscript in the instruction concerned
ERROR 17
- not terminated conditional test, no Z found
ERROR 18
- no conditional test following a bracket, illegal character within brackets
ERROR 19
- no logic relation within brackets - [A or X or O]
ERROR 20
- illegal instruction within brackets
ERROR 21
- blank string, no meaningful character within the quotation marks
ERROR 22
- illegal instruction "SRPnnn" - writing the parameter memory is illegal
ERROR 23
- illegal character behind instruction "SRxnnn" or "LRxnnn"
ERROR 24
- more than 15 steps in leftward shift
ERROR 25
- more than 15 steps in rightward shift
ERROR 26
- "B" followed by illegal character (BIN, BCD)
ERROR 27
- "BI" followed by illegal character (BIN)
ERROR 28
- "BC" followed by illegal character (BCD)
ERROR 29
- CLx followed by illegal character (other than "S")
ERROR 30
- "S" is followed by illegal character in the STORE instruction
ERROR 31
- relation symbol "<" is followed by an illegal character (other than L, S or a