MC_ReadMotionFunctionPoint

MC_ReadMotionFunctionPoint 1:

The function block MC_ReadMotionFunctionPoint can be used to read the data of a motion function interpolation point.

Inputs

 
VAR_INPUT
    Execute         : BOOL;
    CamTableID : MC_CAM_ID;
    PointID         : MC_MotionFunctionPoint_ID;
END_VAR

Execute

The command is executed with rising edge.

CamTableID

ID of the loaded table.

PointID

Point ID of the first point of the motion function to be read.

Outputs


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

Done

Becomes TRUE, if the data were read successfully.

Busy

The Busy output becomes TRUE when the command is started with Execute and remains TRUE as long as 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

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

Inputs/outputs


VAR_IN_OUT
    Point : MC_MotionFunctionPoint;
END_VAR

Point

Data structure containing the data of a motion function interpolation point