Motion Coordinator Technical Reference Manual
Trio BASIC Commands 8-79
System Parameters and Commands
AXISVALUES
Type:
System Command
Syntax:
AXISVALUES(axis,bank)
Description:
Used by Motion Perfect to read axis parameters. Reads banks of axis parameters.
There are 2 banks of parameters for each axis, bank 0 displays the data that is only
changed by the Trio BASIC, bank 1 displays the data that is changed by the motion
generator.
Parameters
The data is given in the format:
<Parameter><type>=<value>
CAN
Type:
System Function
Syntax:
CAN(channel,function#,{parameters})
Description:
This function allows the CAN communication channels to be controlled from the Trio
BASIC programming system. All Motion Coordinator’s have a single built-in CAN
channel which is normally used for digital and analog I/O using Trio’s I/O modules.
With up to 4 CAN daughter boards plus the built-in CAN channel the units can con-
trol a maximum of 5 CAN channels:
<Parameter>
is the name of the parameter
<type>
is the type of the value.
i
integer
f
float
c
float that when changed means that the bank 0 data must be
updated
s
string
c
string of upper and lower case letters, where upper case letters
mean an error
<value>
an integer, a float or a string depending on the type