Specifications
BASIC commands
PROGRAMMING MANUAL 21
Revision 5.0
3.1.11 System parameters
/i
CLEAR Clears all global variables and the local variables on the current
task.
CLEAR_BIT Clears the specified bit of the specified VR variable.
CLEAR_PARAMS Clears all parameter sand variables stored in Flash-ROM to
their default values.
CONSTANT Declares a constant for use in BASIC program.
DATE$ Prints the current date as a string.
DAY$ Prints the current day as a string
DEVICENET Configures the TJ1-DRT (DeviceNet Slave Unit) for data
exchange, or returns the data exchange status of the TJ1-DRT.
ETHERNET Reads and sets various parameters of TJ1-MC__ Ethernet port.
EX Resets the controller.
FLAG Sets and reads a bank of 32 bits.
FLAGS Read and sets FLAGS as a block.
FREE Returns the amount of available memory.
GLOBAL Declares a reference to one of VR variables.
HALT Stops execution of all programs currently running.
INITIALISE Sets all axes and parameters to their default values.
INVERT_IN Inverts input channels 0 - 31 in the software.
INVERTER_COMMAND Reads I/O and clears alarm of the Inverter.
INVERTER_READ Reads parameter, alarm, speed and torque reference of the
Inverter.
INVERTER_WRITE Writes to parameter, speed and torque reference of the Inverter.
LIST_GLOBAL Shows all GLOBAL and CONSTANT variables.
LOCK Prevents the programs from being viewed or modified.
PROFIBUS Configures the TJ1-PRT (PROFIBUS-DP Slave Unit) to
exchange I/O data with the master and returns the status of the
TJ1-PRT.
Name Description
READ_BIT Returns the value of the specified bit in the specified VR varia-
ble.
RESET Resets all local variables on a task.
SCOPE Programs the system to automatically store up to 4 parameters
every sample period to the TABLE variable array.
SET_BIT Sets the specified bit in the specified VR variable to one.
TABLE Writes and reads data to and from the TABLE variable array.
TABLEVALUES Returns list of values from the TABLE memory.
TIME$ Prints the current time as a string.
TRIGGER Starts a previously set SCOPE command.
VR Writes and reads data to and from the global (VR) variables.
VRSTRING Combines VR memory values so they can be printed as a string.
WA Holds program execution for the number of milliseconds speci-
fied.
WAIT IDLE Suspends program execution until the base axis has finished
executing its current move and any buffered move.
WAIT LOADED Suspends program execution until the base axis has no moves
buffered ahead other than the currently executing move.
WAIT UNTIL Repeatedly evaluates the condition until it is TRUE.
Name Description
BATTERY_LOW Returns the current status of the battery condition.
CHECKSUM Contains the checksum for the programs in RAM.
COMMSERROR Contains all the communications errors that have occurred since
the last time that it was initialised.
CONTROL Contains the type of TJ1-MC__ in the system.
Name Description