Motion Coordinator Technical Reference Manual
Programming 7-11
Parameters
Parameters
Parameters are special purpose variables, used by the system for configuration
and feedback.
Axis Parameters
Each of the axes has its own set of axis parameters which are used to achieve
many of the Motion Coordinator features. The axis parameters may be floating
point or 32 bit integer. The parameters are all set to default values on every
power up. Parameters are read from and written to like variables. The Trio BASIC
assumes the current BASE axis is the required axis unless the AXIS modifier is
used:
>>P_GAIN=2
>>P_GAIN AXIS(8)=0.25
>>? VP_SPEED AXIS(2)
A list of all the axis parameters is given in chapter 8
System Parameters
Trio BASIC holds a list of parameters which are common for the whole controller.
These parameters can be read from and written to like variables. The system
parameters are described in chapter 8. Note that as there is only one system
there is no modifier for system parameters.
Process Parameters
Trio BASIC also holds a small number of parameters which are held separately for
each PROCESS.
These are:
1) TICKS
2) PROCNUMBER
3) PMOVE
4) ERROR_LINE
5) INDEVICE / OUTDEVICE
6) BASE
The process assumed is the current process the command is using, however it is
possible to force the controller to read parameters from a specific process with
the PROC() modifier.
Example:
WAIT UNTIL PMOVE PROC(14)=0