PositionXY

Position in the 2D Cartesian space.

Do not call the main FB directly. Only use the available methods.

PositionXY 1: Methods

Name

Description

SetZero

Set the coordinates of this position to '0.0'.

SetValues

Set the coordinates of this position.

SetValuesXY

Set the xy-coordinates of this position.

SetValuesRP

Set the components of this position in polar coordinates.

SetValuesXYReferenceId

Set the xy-coordinates of this position and the reference id.

GetRadius

Get the distance from the origin.

GetPhi

Get the polar angle scaled in degrees [°].

Invert

Invert this position.

ConcatenateWith

Concatenate with a 2nd position.

ShiftByXY

Displace the components of this position.

System Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT V3.1.4024.12

Advanced Motion Pack V3.1.10.11

PC or CX (x64)

Tc3_Physics