![background image](http://html1.mh-extra.com/html/omron/sysmac-cj-series/sysmac-cj-series_operation-manual_743585251.webp)
All BASIC commands
Section 4-2
239
4-2-210 RUN_ERROR
/i
/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.
Number
Message
Number
Message
1
Command not recognized
2
Invalid transfer type
3
Error programming Flash
4
Operand expected
5
Assignment expected
6
QUOTES expected
7
Stack overflow
8
Too many variables
9
Divide by zero
10
Extra characters at end of line
11
] expected in
12
Cannot modify a special pro-
gram
13
THEN
expected in
IF
/
ELSEIF
14
Error erasing Flash
15
Start of expression expected
16
) expected
17
,
expected
18
Command line broken by
ESC
19
Parameter out of range
20
No process available
21
Value is read only
22
Modifier not allowed
23
Remote axis is in use
24
Command is command line
only
25
Command is runtime only
26
LABEL expected
27
Program not found
28
Duplicate label
29
Program is locked
30
Program(s) running
31
Program is stopped
32
Cannot select program
33
No program selected
34
No more programs available
35
Out of memory
36
No code available to run
37
Command out of context
38
Too many nested structures
39
Structure nesting error
40
ELSE
/
ELSEIF
/
ENDIF
with-
out previous
IF
41
WEND
without previous
WHILE
42
UNTIL
without previous
REPEAT
43
Variable expected
44
TO
expected after
FOR
45
Too may nested
FOR
/
NEXT
46
NEXT
without
FOR
47
UNTIL
/
IDLE
expected after
WAIT
48
GOTO
/
GOSUB
expected
49
Too many nested
GOSUB
50
RETURN
without
GOSUB
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...