MC_ReadFlyingSawCharacteristics

MC_ReadFlyingSawCharacteristics 1:

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

Inputs

VAR_INPUT
    Execute  : BOOL;
END_VAR

Execute

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

MC_ReadFlyingSawCharacteristics 2:

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

Outputs

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

Done

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

Busy

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

Error

Becomes TRUE, as soon as an error occurs.

ErrorID

Supplies the error number, see Overview of NC errors (TC2).

Inputs/outputs

VAR_IN_OUT
    Slave          : AXIS_REF;
    CamTableCharac : MC_FlyingSawCharacValues;
END_VAR

Slave

Axis structure of the slave.

CamTableCharac:

Structure containing the characteristic values.