Specifications

BASIC commands
PROGRAMMING MANUAL 82
Revision 5.0
3.2.106 EPROM
/i
/i
3.2.107 ERROR_AXIS
/i
3.2.108 ERROR_LINE
/i
3.2.109 ERRORMASK
/i
Arguments N/A
Example No example.
See also AXIS, DPOS, FE_LIMIT, UNITS.
Type Program command
Syntax EPROM
Description The EPROM command stores the BASIC programs in the TJ1-MC__ battery
backed up RAM memory in the Flash-ROM memory. Whether the programs
stored in the Flash-ROM 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.
Caution
To prevent program corruption due to an empty battery or due to
noise, it is strongly advised to store the programs in Flash-ROM
instead of RAM.
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.
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 modifier to
access the parameter for a certain task. Without PROC, the current task will
be assumed.
Arguments N/A
Example >> PRINT ERROR_LINE PROC(4)
23.0000
See also BASICERROR, PROC, RUN_ERROR.
Type Axis parameter
Syntax ERRORMASK