BASIC commands
PROGRAMMING MANUAL
39
Revi
si
on 3.0
3.1.11 System parameters
/i
CLEAR_PARAMS
Clears all parameter sand variables stored in flash EPROM 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 frequency inverter.
INVERTER_READ
Reads parameter, alarm, speed and torque reference of the fre-
quency inverter.
INVERTER_WRITE
Writes to parameter, speed and torque reference of the fre-
quency 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.
READ_BIT
Returns the value of the specified bit in the specified VR varia-
ble.
RESET
Resets all local variables on a task.
Name
Description
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
AIN
Holds the value of the analog channel.
AOUT
Holds the value of the analog channel.
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.
D_ZONE_MAX
Controls the DAC output in conjunction with the Following Error
value.
Name
Description
I52E-EN-03.book Seite 39 Freitag, 29. Juni 2007 11:55 11