FC_PosTerminate - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

End the positioning job.

Description

The positioning job of the axis i_stAxisId is ended in the next real-time cycle (Sercos CycleTime) if its job ID = i_diJobId.

If not, nothing happens and 1 is returned.

Interface

Input

Data type

Description

i_stAxisId

ST_LogicalAddress

Logical address of the axis

i_diJobId

DINT

Job number

Return Value

Data type

Description

DINT

1: Current positioning job does not have i_diJobId

0: OK

-1: Logical address of the axis (i_stAxisId) is invalid