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 |
Axis |
Reference to axis |
||
Input |
Enable |
BOOL |
FALSE |
While TRUE, the parameter values are read out continuously. |
Output |
Valid |
BOOL |
FALSE |
TRUE: Valid outputs are available. |
Busy |
BOOL |
FALSE |
TRUE: Execution of function block has not been finished yet. |
|
Error |
BOOL |
FALSE |
TRUE: Error has occurred within the function block. |
|
ErrorID |
SMC_ERROR |
0 |
Error identification |
|
Torque |
LREAL |
0 |
Value of current torque or force (in technical units) |