MC_ReadActualTorque (FB)ΒΆ
FUNCTION_BLOCK MC_ReadActualTorque
As long as Enable remains TRUE, the function block will return the value of the current torque or force.
Valid will be set to TRUE, as soon as data output Torque becomes valid. If Enable is reset, the data will loose its validity and
Valid will also be reset regardless of new data available.
- InOut:
Scope
Name
Type
Initial
Comment
Inout
AxisReference to axis
Input
EnableBOOLFALSE
While
TRUE, the parameter values are read out continuously.Output
ValidBOOLFALSE
TRUE: Valid outputs are available.BusyBOOLFALSE
TRUE: Execution of function block has not been finished yet.ErrorBOOLFALSE
TRUE: Error has occurred within the function block.ErrorIDSMC_ERROR0
Error identification
TorqueLREAL0
Value of current torque (in Nm) or force