8-60
Functions
ECODRIVE03-FL*-04VRS
DOK-ECODR3-FL*-04VRS**-FK01-EN-P
8.14 Indexed Variables in NC Commands
Two variable fields of the same type have been assigned, to
communicate indexes to variables, even within program loops. Eight
indexed variables are available. The function within the variable field is
assigned and enables a calculation of a variable address using the
formula:
[
] [
] [
]
508
*
509
50
V
V
x
V
number
variable
calculated
+
=
[
] [
] [
]
518
*
519
51
V
V
x
V
number
variable
calculated
+
=
L:
[ ] Contents
L:
[V50x] = Contents of V500 – V507
L:
[V51x] = Contents of V510 – V517
Fig. 8-35: Formula for Calculating Indexed Variables
The contents of variables V509 and V508 (or V519 and V518) are
multiplied and added to the contents of Variable 50x (or V51x). The
resulting value is the variable number that is then processed in the called
function.
Variable
Definition
500
# of Basic Variable 1
501
# of Basic Variable 2
502
# of Basic Variable 3
503
# of Basic Variable 4
504
# of Basic Variable 5
505
# of Basic Variable 6
506
# of Basic Variable 7
507
# of Basic Variable 8
508
Offset Factor 1
509
Variable Index 1
Fig. 8-36: Variable Block 1
Variable
Definition
510
# of Basic Variable 1
511
# of Basic Variable 2
512
# of Basic Variable 3
513
# of Basic Variable 4
514
# of Basic Variable 5
515
# of Basic Variable 6
516
# of Basic Variable 7
517
# of Basic Variable 8
518
Offset Factor 2
519
Variable Index 2
Fig. 8-37: Variable Block 2
Summary of Contents for Rexroth OptiFeed-FS EcoDrive 03 FLP04VRS
Page 18: ...XVI Table of Contents ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P ...
Page 348: ...11 18 Command Communications ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Page 418: ...13 4 Connectors ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Page 470: ...16 4 IDS Accessories ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Page 489: ......