Yaskawa FSP Amplifier FlexWorks User Manual
Page 42

Operating the FSP Amplifier Using FlexWorks
42
18 SET_VAR Var_01 100000
19 SET_VAR Var_02 50000
20 SET_VAR Var_03 1000
21 SET_VAR Var_04 400
22 SET_VAR Var_05 -1
23 RETURN
Subroutine 4
24 LABEL 4
25 SET_VAR Var_01 200000
26 SET_VAR Var_02 80000
27 SET_VAR Var_03 1300
28 SET_VAR Var_04 700
29 SET_VAR Var_05 600
30 RETURN
The chart below graphs the target speed against time for each of
the two cases specified in lines 4 and 6, which call the variable
settings specified in subroutines 3 and 4 respectively. For example,
note how the initial peak in target speed for Case 2 exceeds that
for Case 1. This is because line 9 sets the profile velocity equal to
the value of Var_03. Case 1 specifies Var_03 as 1000 user speed
units, while Case 2 specifies Var_03 as 1300 user speed units.
Therefore, the initial peak in speed for Case 2 exceeded that of
Case 1.
Figure 20: Graph Illustrating Effect of Variable Argument Settings