Programming examples

Example 1 - Plane defined by reference points

Programming Example

Plane defined by reference points

Programming examples 1:
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

Programming Example

Plane defined by rotation angles

Programming examples 2:
SysPosRotationToPlaneEx2

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                      \
        @P15 = 60                       \
        @P16 = 0                        \
        @P17 = 90                       \
        ]
(---------------------------------)
(---- Processing the plane  -----)
(---------------------------------)
 
#CS OFF ; Deactivate the calculated MCS
 
#TRAFO OFF
 
M30