BASIC commands
PROGRAMMING MANUAL 77
Revision 3.0
3.2.103 ENDMOVE
/i
3.2.104 EPROM
/i
3.2.105 ERROR_AXIS
/i
3.2.106 ERROR_LINE
/i
Type Axis parameter
Syntax ENDMOVE
Description The ENDMOVE axis parameter holds the position of the end of the current
move in user units. If the SERVO axis parameter is on, the ENDMOVE
parameter can be written to produce a step change in the demand position
(DPOS).
Note: As the measured position is not changed initially, the Following Error
limit (FE_LIMIT) should be considered. If the change of demanded position is
too big, the limit will be exceeded.
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 EPROM memory. Whether the programs
stored in the flash EPROM memory are copied to RAM at start-up is control-
led by the POWER_UP system parameter.
Note: Trajexia Tools offers this command as a button on the control panel.
Also pop-up screens will prompt to write the program data into flash memory.
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 1 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.
I52E-EN-03.book Seite 77 Freitag, 29. Juni 2007 11:55 11