MC_ReadFlyingSawCharacteristics
The function block MC_ReadFlyingSawCharacteristics allows the characteristic values for the synchronization phase of the Universal Flying Saw to be read.
Inputs
VAR_INPUT
Execute : BOOL;
END_VAR
Name | Type | Description |
---|---|---|
Execute | BOOL | A rising edge initiates reading the characteristic values from the TwinCAT NC. |
![]() | The data calculated is not available until the Universal Flying Saw starts. |
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. |
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. |