![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h-asc02/sysmac-c200h-asc02_operation-manual_742429144.webp)
141
Appendix F
Troubleshooting
Error Message Format
When an error occurs during BASIC program execution, the error messages shown in the following tables are
output to the screen of the terminal. If a device other than a terminal is connected to port 1, the program
stops, and the messages are reserved until the terminal is attached and CTRL+X is keyed in.
Example of a displayed message:
SYNTAX ERROR IN xxxx
xxxx is displayed when a command is executed with a number specified.
Errors
Error Message
Error code
Explanation
BAD DATA IN PORT ERROR
58
Format of data read from port is wrong.
BAD I/O MODE ERROR
51
Wrong port or peripheral device has been specified.
BAD PORT DESCRIPTOR ERROR
55
Descriptor is incorrect.
BAD PORT NUMBER ERROR
50
Port number is incorrect.
BAD SUBSCRIPT ERROR
9
Subscript outside predetermined range is used.
Assign subscript of maximum value with the DIM
command.
CAN’T CONTINUE ERROR
17
Program execution cannot be resumed. Execute program
with RUN command.
DEVICE I/O ERROR
53
Error has occurred during communication with a peripheral
device.
DEVICE UNAVAILABLE ERROR
60
Wrong device name has been specified.
DIVISION BY ZERO ERROR
11
Attempt is made to divide data by 0.
DIRECT STATEMENT IN PORT ERROR
56
Unnumbered line has been read while program is being
loaded.
DUPLICATE DEFINITION ERROR
10
Array, or user function, is defined in duplicate.
FORMAT ERROR
67
Incorrect format or memory area designator, number of
words to be transferred or base address has not been
specified.
FOR WITHOUT NEXT ERROR
23
FOR and NEXT statements are not correctly used in pairs.
ILLEGAL DIRECT ERROR
12
Attempt is made to execute statements that cannot be
executed in direct mode. INPUT and LINE INPUT can be
executed in BASIC program only.
ILLEGAL FUNCTION CALL ERROR
5
Statement or function is called incorrectly.
INPUT PAST END ERROR
54
All data in port has been read.
MISSING OPERAND ERROR
22
Necessary parameter is missing.
NEXT WITHOUT FOR ERROR
1
NEXT and FOR statements are not used in pairs.
NO RESUME ERROR
19
RESUME statement is missing in error processing routine.
NO SUPPORT ERROR
64
That operation is not supported.
OUT OF DATA ERROR
4
No data exists to be read by READ statement. Check
number of variables in READ statements and number of
constants in DATA statements.
OUT OF MEMORY ERROR
7
Memory capacity is full. Expand BASIC program area by
CLEAR and MSET commands.
Summary of Contents for SYSMAC C200H-ASC02
Page 1: ...Cat No W165 E1 04 ASCII Unit SYSMAC C200H ASC02 ...
Page 2: ...C200H ASC02 ASCII Unit Operation Manual Revised September 2002 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 7: ...TABLE OF CONTENTS viii Glossary 159 Index 163 Revision History 165 ...
Page 122: ...Appendix B Specifications 115 130 35 100 5 ...
Page 168: ...Cat No W165 E1 04 C200H ASC02 ASCII Unit OPERATION MANUAL ...