FC_UserRefGeneratorStart - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Enabling the IEC 61131 reference value generator.

Interface

Input

Data type

Description

i_stAxisId

ST_LogicalAddress

Logical address of the axis.

i_ifGenerator

ICmpEventCallback

Function block to implement the interface ICmpEventCallback.

i_diMode

DINT

0: Acceleration is automatically calculated by the axis.

1 = Acceleration must be calculated by the function block inside the method ICmpEventCallback.

i_diJobId

DINT

ID number of the executing job to be used as reference FC_PosTerminate.

Return Value

Data type

Description

DINT

0: OK

1: Job buffer is full.

-1: Logical address of the axis is invalid.

-2: The mode is not supported.

-3: The generator interface is undefined.