ECODRIVE03-FL*-04VRS Functions 8-61
DOK-ECODR3-FL*-04VRS**-FK01-EN-P
All NC commands using Variables V500-V507 or V510-V517, are
executed in their indexed form.
If access to a variable outside of the range V600 to V999 is made,
(besides system variables), the error message "F- 02 23 – Wrong
variable index" is issued.
If these variables are written via the serial interface, fieldbus or using the
SET command, they are written without an index (directly).
Example 1:
SET V500 = 600 Basic Variable 1 "Length“
SET V501 = 601 Basic Variable 2 "Velocity“
SET V502 = 602 Basic Variable 3 "Acceleration“
SET V503 = 603 Basic Variable 4 "Preset Count“
SET V504 = 604 Basic Variable 5 "Actual Quantity“
SET V508 = 5 Number of variables per product
SET V600 = 15 Product 1 Length
SET V601 = 800 Product 1 Velocity
SET V602 = 750 Product 1 Acceleration
SET V603 = 120 Product 1 Preset Count
SET V605 = 20 Product 2 Length
SET V606 = 700 Product 2 Velocity
SET V607 = 600 Product 2 Acceleration
SET V608 = 150 Product 2 Preset Count
SET V610 = 10 Product 3 Length
SET V611 = 990 Product 3 Velocity
SET V612 = 400 Product 3 Acceleration
SET V613 = 100 Product 3 Preset Count
Index
V509
Length
V500
Velocity
V501
Acceleration
V502
Preset Count
V503
Actual Count
V504
0 V600 V601 V602 V603 V604
1 V605 V606 V607 V608 V609
2 V610 V611 V612 V613 V614
3 V615 V616 V617 V618 V619
Fig. 8-38: Product Table, Example 1
The quantity of product-specific data is limited to 8, and the number of
products is limited by the variable field V600 – V999.
SET V509 = 2 Select Product 3
ACC 1 V502 999 Í ACC 1 V612 999 Í ACC 1 400 999
PSI 1 +V500 V501 Í PSI 1 V610 V611 Í POI 1 +010 990
COU +00000 Q0.01.3 V503 Í COU +00000 Q0.01.3 V613
Í COU +00000 Q0.01.3 100
It follows that:
The value for acceleration is calculated from Variable # 602+2*5 = 612.
The value for length is calculated from Variable # 600+2*5 = 610.
The value for velocity is calculated from Variable # 601+2*5 = 611.
The value for the target quantity is calculated from Variable
# 603+2*5 = 613.
The current actual quantity can be found in Variable # 604+2*5 = 614.