Command Reference
SET_VAR
Table explanation
Group
Variables
Syntax
SET_VAR <variable> <value>
Op. Code
81
Modes
Program, Immediate, Sequential.
Description
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
1 U
Syntax
Arguments
value
The value of the user variable.
Serial
4 V
Example
SET_VAR Var_01 329
MATH Profile_velocity = Analog_Speed * Var_01
Example
Explanation
The value of VAR_1 set to 329. This value is then used in the
calculation of the new value of Profile_velocity.
See Also
MATH, WRITE_TO_ARRAY, READ_FROM_ARRAY
XtraWare User Manual
151
Summary of Contents for XTRAWARE - V3.0
Page 2: ......
Page 4: ......
Page 12: ......
Page 79: ...Operating the XtraDrive Using XtraWare Table 14 Sample ECAM Table XtraWare User Manual 69 ...
Page 202: ......
Page 220: ......
Page 258: ...List of Operation Codes 248 XtraWare User Manual versions use STOP_EX ...