EasyManua.ls Logo

YASKAWA XTRAWARE - V3.0 - Set_Var

YASKAWA XTRAWARE - V3.0
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents