Omron trajexia CJ1W-MCH72 Operation Manual page 251

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-214 RUN_ERROR
240
/i
Type
Task parameter (read-only)
Syntax
RUN_ERROR
Description
The RUN_ERROR parameter contains the number of the last BASIC
run-time error that occurred on the specified task.
Each task has its own RUN_ERROR parameter. Use the PROC modi-
fier to access the parameter for a certain task. Without PROC the cur-
rent task will be assumed.
The table below gives an overview of error numbers and the associated
error messages.
/i
Number
Message
1
Command not recognized
3
Error programming Flash
5
Assignment expected
7
Stack overflow
9
Divide by zero
11
] expected in PRINT
13
THEN expected in IF/ELSEIF
15
Start of expression expected
17
, expected
19
Parameter out of range
21
Value is read only
23
Remote axis is in use
25
Command is runtime only
27
Program not found
29
Program is locked
31
Program is stopped
33
No program selected
35
Out of memory
37
Command out of context
39
Structure nesting error
41
WEND
without
WHILE
43
Variable expected
45
Too may nested FOR/NEXT
47
UNTIL/IDLE
WAIT
49
Too many nested GOSUB
Number
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
previous
42
44
46
expected
after
48
50
Section 4-2
Message
Invalid transfer type
Operand expected
QUOTES expected
Too many variables
Extra characters at end of line
Cannot modify a special pro-
gram
Error erasing Flash
) expected
Command line broken by
ESC
No process available
Modifier not allowed
Command is command line
only
LABEL expected
Duplicate label
Program(s) running
Cannot select program
No more programs available
No code available to run
Too many nested structures
ELSE/ELSEIF/ENDIF
out previous IF
UNTIL
without
previous
REPEAT
TO expected after FOR
NEXT without FOR
GOTO/GOSUB expected
RETURN without GOSUB
with-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents