PlanarPartInfo

The oid and state of a planar part, including planar state, active position index, and active position.

Syntax

Definition:

TYPE PlanarPartInfo :
STRUCT
    partOID             : OTCID;
    planarState         : MC_PLANAR_STATE;
    activePositionIndex : UINT;
    coordinateSystemId  : UDINT;
    x                   : LREAL;
    y                   : LREAL;
    disabledForced      : BOOL;
END_STRUCT
END_TYPE

Parameters

Name

Type

Description

partOID

OTCID

Object Id of the part (or transfer area) object, controlled by the environment.

planarState

MC_PLANAR_STATE

State of the planar part, e.g. disabled.

activePositionIndex

UINT

Index of the current active part position.

coordinateSystemId

UDINT

OID of the coordinate the part is in.

x

LREAL

x position of the part in the given coordinate system.

y

LREAL

y position of the part in the given coordinate system.

disabledForced

BOOL

True if the part is forced to disabled state.