SET_VAR
Table explanation
Group
Syntax
Op. Code
Modes
Description
Syntax
Arguments
Example
Example
Explanation
See Also
XtraWare User Manual
Variables
SET_VAR <variable> <value>
81
Program, Immediate, Sequential.
Sets the contents of a writeable user variable.
variable
Set to the ID number of one of the writeable
system variables.
In driver ver 2.91, only the following variables
can be set: Exact_mode, Motion_end_window,
Clock, Speed_reference.
Serial
value
The value of the user variable.
Serial
SET_VAR Var_01 329
MATH Profile_velocity = Analog_Speed * Var_01
The value of VAR_1 set to 329. This value is then used in the
calculation of the new value of Profile_velocity.
MATH, WRITE_TO_ARRAY, READ_FROM_ARRAY
1
U
4
V
Command Reference
151