12.1.3
MC_ReadFlyingSawCharacteristics
Execute BOOL
↔
Slave Reference To AXIS_REF
↔
CamTableCharac Reference To MC_FlyingSawCharacValues
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.
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
CamTableCharac:
TS5055
MC_ReadFlyingSawCharacteristics
Axis structure of the slave.
Structure containing the characteristic values [} 42].
Version: 1.3
PLC API
BOOL Done
BOOL Busy
BOOL Error
UDINT ErrorID
39