Ptp

Ptp 1:

Core function is not supported by inverter axes

This core function is not supported by inverter axes. Any use will report DEVICE_NOTINIT and trigger an error message.

Ptp 2:

This core function is used to perform multi-segment movements with the possibility to switch to torque or constant output clamping at the end.

Syntax:

FUNCTION_BLOCK FB_Ptp EXTENDS FB_CorefunctionFeedback

Ptp 3: Properties

Name

Type

Access

Description

ActiveSegment

INT

Get

The number of the point that is currently being approached.

IsClamping

BOOL

Get

TRUE if the core function has switched the axis to clamping.

MovingNegative

BOOL

Get

TRUE if the axis is actively moving in the negative direction.

MovingPositive

BOOL

Get

TRUE if the axis is actively moving in the positive direction.

NumberOfPoints

INT

Get

The number of points that the core function can store.

Ptp 4: Methods

Name

Description

CheckPoint()

The specified segment is compared with the axis parameters.

DoMove()

The execution is triggered.

GetClampPoint()

A segment of the clamping table is read back.

GetPoint()

A segment of the lookup table is read back.

GetUpdatedPoint()

A segment of the lookup table is read back.

InvalidateClampPoint()

All segments in the clamping table are marked as invalid.

InvalidateTable()

All segments in the lookup table are marked as invalid.

SetClampPoint()

A segment of the clamping table is defined.

SetPoint()

A segment of the lookup table is defined.

UpdatePosition()

The target position of the segment is changed after it is defined.

Ptp 5: Interfaces

Type

Description

I_Ptp

Standard interface on FB_Ptp.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher