8-94 Trio BASIC Commands
System Parameters and Commands
Trio Motion Technology
Example:
>>PRINT DLINK(10,0,29)
>>62128.0000
Returns EEPROM parameter 29, the Flux Angle
EDPROG
Type:
System Command
Alternate Format:
&
Description:
This is a special command that may be used to manipulate the programs on the con-
troller. It is not normally used except by Motion Perfect.
It has several forms:
Axis
The axis to be associated with this drive/SLM.
Parameter
EEPROM parameter number. (see drive documentation)
&C Print the name of the currently selected program
&<line>D Delete line <line> from the currently selected program
&<line>I,<string> Insert the text <string> in the currently selected pro-
gram at the line <line>.
Note - you should NOT enclose the string in quotes
unless they need to be inserted into the program.
&K Print the checksum of the system software
&<start>,<end>L Print the lines of the currently selected program
between <start> and <end>
&N Print the number of lines in the currently selected pro-
gram
&<line>R,<string> Replace the line <line> in the currently selected pro-
gram with the text <string>.
Note - you should NOT enclose the string in quotes
unless they need to be inserted into the program.
&Z,<progname> Print the CRC checksum of the specified program.
This uses the standard CCITT 16 bit generator polyno-
mial