MC_ReadFlyingSawCharacteristics

MC_ReadFlyingSawCharacteristics 1:

The function block MC_ReadFlyingSawCharacteristics allows the characteristic values for the synchronization phase of the Universal Flying Saw to be read.

MC_ReadFlyingSawCharacteristics 2: Inputs

VAR_INPUT
    Execute : BOOL;
END_VAR

Name

Type

Description

Execute

BOOL

A rising edge initiates reading the characteristic values from the TwinCAT NC.

MC_ReadFlyingSawCharacteristics 3:

The data calculated is not available until the Universal Flying Saw starts.

MC_ReadFlyingSawCharacteristics 4: Inputs/outputs

The axis data structure of type AXIS_REF addresses an axis unambiguously within the system. Among other parameters it contains the current axis status, including position, velocity or error state.

VAR_IN_OUT
    Slave          : AXIS_REF;
    CamTableCharac : MC_FlyingSawCharacValues;
END_VAR

Name

Type

Description

Slave

AXIS_REF

Axis data structure of the slave

CamTableCharac

MC_FlyingSawCharacValues

Structure containing the characteristic values.

MC_ReadFlyingSawCharacteristics 5: Outputs

VAR_OUTPUT
    Done    : BOOL;
    Busy    : BOOL;
    Error   : BOOL;
    ErrorID : UDINT;
END_VAR

Name

Type

Description

Done

BOOL

Is set to TRUE when the data set has been successfully read.

Busy

BOOL

The Busy output becomes TRUE when the command is started with Execute and remains TRUE as long as the command is processed. If Busy becomes FALSE again, the function block is ready for a new order. At the same time one of the outputs, Done or Error, is set.

Error

BOOL

Becomes TRUE, as soon as an error occurs.

ErrorID

UDINT

If the error output is set, this parameter supplies the error number.