Set_var – Yaskawa FSP Amplifier FlexWorks User Manual
Page 172
Advertising

Command Reference
172
SET_VAR
G
ROUP
Variables
S
YNTAX
SET_VAR <variable> <value>
O
P
. C
ODE
81
M
ODES
Program, Immediate, Sequential.
D
ESCRIPTION
Sets the contents of a writeable user variable.
variable
Set to the ID number of one of
the writeable system variables.
Serial 1 U
S
YNTAX
A
RGUMENTS
value
The value of the user variable.
Serial 4 V
E
XAMPLE
SET_VAR Var_01 329
MATH Profile_velocity = Analog_Speed * Var_01
E
XAMPLE
E
XPLANATION
The value of VAR_1 set to 329. This value is then
used in the calculation of the new value of
Profile_velocity.
S
EE
A
LSO
MATH, WRITE_TO_ARRAY, READ_FROM_ARRAY
Advertising
This manual is related to the following products: