EncTemper function
Returns the encoder’s current temperature.
Syntax
EncTemper (Joint number)
Parameter
- Joint number
- Specify the joint number as an integer value of 1 to 9 or an expression.
S axis of the additional axis is 8. For T axis, it is 9.
Description
Returns the encoder’s current temperature [℃].
If a robot or joint number that does not support encoder temperature acquisition is specified, “-1000” is returned.
KEY POINTS
- The sensor used to obtain the temperature with this command has not been calibrated.
- Use it to see relative temperature changes and understand the tendencies.
See Also
EncTemper
EncTemper Function Usage Example
In this example, the encoder temperature of Joint #1 is obtained and displayed.
> Print EncTemper(1)
-1000