SMC_TriggerPosition_Plane (STRUCT)ΒΆ

TYPE SMC_TriggerPosition_Plane : STRUCT

Defines a plane. The plane is defined as the set of all vectors v with

<v, NormalVector> = Distance,

where <,> is the standard scalar product.

InOut:

Name

Type

Comment

NormalVector

SMC_VECTOR3D

The normal vector of the plane, must be a unit vector.

Distance

LREAL

The distance of the plane to the origin. Must be non- negative.

CoordSystem

SMC_COORD_SYSTEM

The coordinate system in which the normal vector is defined. Must be a cartesian coordinate system. The TCS (tool coordinate system) is not supported.

If the movement is defined in a dynamic coordinate system, then this coordinate system must be identical to the coordinate system of the start and target position of the movement.

Note that the coordinate system is evaluated when the movement of this trigger is commanded. For example, say PCS_1 is changed between the call of SMC_GroupPrepareTrigger and the call of the movement function block. Then the trigger plane is evaluated in the changed coordinate system.