All BASIC commands
Section 4-2
150
4-2-93 EPROM
/i
4-2-94 ERROR_AXIS
/i
4-2-95 ERROR_LINE
/i
Type
Program command
Syntax
EPROM
Description
The
EPROM
command stores the BASIC programs in the CJ1W-
MCH72 battery backed up RAM memory in the flash EPROM memory.
Whether the programs stored in the flash EPROM memory are copied
to RAM at start-up is controlled by the POWER_UP system parameter.
Note: Trajexia Studio offers this command as a command on the
Online
menu.
Arguments
N/A
Example
No example.
See also
POWER_UP
,
RUNTYPE
.
Type
System parameter (read-only)
Syntax
ERROR_AXIS
Description
The
ERROR_AXIS
axis parameter contains the number of the axis
which has caused the motion error.
A motion error occurs when the
AXISSTATUS
state for one of the axes
matches the
ERRORMASK
setting. In this case the enable switch
(
WDOG
) will be turned off, the
MOTION_ERROR
parameter will have
value different than 0 and the
ERROR_AXIS
parameter will contain the
number of the first axis to have the error.
Note: The value of
ERROR_AXIS
is not cleared when the error condi-
tion is fixed. It is only changed when a new error occurs.
Arguments
N/A
Example
No example.
See also
AXISSTATUS
,
ERRORMASK
,
MOTION_ERROR
,
WDOG
.
Type
Task parameter (read-only)
Syntax
ERROR_LINE
Description
The
ERROR_LINE
parameter contains the number of the line which
caused the last BASIC run-time error in the program task. This value is
only valid when the
BASICERROR
parameter is
TRUE
.
Each task has its own
ERROR_LINE
parameter. Use the
PROC
modi-
fier to access the parameter for a certain task. Without
PROC
, the cur-
rent task will be assumed.
Arguments
N/A
Example
>> PRINT ERROR_LINE PROC(4)
23.0000
See also
BASICERROR
,
PROC
,
RUN_ERROR
.
Содержание 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...