Omron trajexia CJ1W-MCH72 Operation Manual page 162

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

Advertisement

All BASIC commands
4-2-95 EPROM
4-2-96 ERROR_AXIS
4-2-97 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.
/i
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.
/i
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.
Section 4-2
151

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents