Example of V.E. structures
This example explains by means of a V.E. List how to handle V.E. structures.
Task:
A position curve is given a name and contains a defined number of positions.
Each of these positions consists of X, Y, Z and a validity flag.
5 different curves are possible and each of these curves has a maximum of 12 points
Curve structure:
- Position
- Name
Position structure
- X
- Y
- Z
- Validity flag
![]() | The entry of structures and variables is case-sensitive. If the type with string is specified for the data type instead of STRING, the error P-ERR-21441 is output. |
The applicable data types are listed in the parameter P-EXTV-00003.
![]() | On the structures used are checked for correct syntax. The check is executed at controller start-up. |
(assignment of a point from the NC program
%Setpoint.nc
N020 V.E.curve[0].point[2].X=11
N030 V.E.curve[0].point[2].Y=22
N040 V.E.curve[0].point[2].Z=33
N080 M30