Programming examples

Example 1 - Plane defined by reference points

Programing Example

prg_example

Plane defined by reference points

SysPosRotationToPlaneEx1
SysPosRotationToPlaneEx1

The following parameters are used in this example:

#TRAFO ON

L CYCLE [NAME=SysPosRotationToPlane.ecy @P1=1 @P2=50 @P3=140 @P4=0       \

                                        @P5=80 @P6=100 @P7=30 @P8=25     \

                                        @P9=100 @P10=70 @P11=25 @P12=115 \

                                        @P13=70 @P14=50]

(---------------------------------)

(---- Processing the plane  -----)

(---------------------------------)

#CS OFF ; Deactivate the calculated MCS

#TRAFO OFF

Example 2 - Plane defined by rotation angles

Programing Example

prg_example

Plane defined by rotation angles

SysPosRotationToPlaneEx2
SysPosRotationToPlaneEx2

The following parameters are used in this example:

#TRAFO ON

L CYCLE [NAME=SysPosRotationToPlane.ecy @P1=1 @P2=50 @P3=0 @P4=0 @P5=0 \

                                        @P15=-60 @P16=0 @P17=90]

(---------------------------------)

(---- Processing the plane  -----)

(---------------------------------)

#CS OFF ; Deactivate the calculated MCS

#TRAFO OFF

M30