P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 738 of 909
TEMP, TEMP(arg)
Temperature, Motor
APPLICATION:
System
DESCRIPTION:
Read motor temperature
EXECUTION:
Immediate
CONDITIONAL TO:
N/A
LIMITATIONS:
N/A
READ/REPORT:
RTEMP, RTEMP(arg)
WRITE:
Read only
LANGUAGE ACCESS:
N/A
UNITS:
Degrees Celsius
RANGE OF VALUES:
-40 to 100 (approximately)
TYPICAL VALUES:
20 to 60
DEFAULT VALUE:
N/A
FIRMWARE VERSION:
5.x and later
COMBITRONIC:
RTEMP(0):3, t=TEMP(0):3, af[0]=TEMP(0):3
where ":3" is the motor address — use the actual address or a
variable
DETAILED DESCRIPTION:
The TEMP command reads the motor temperature measured on the main drive board close to
the motor. The current temperature of the motor can be determined by assigning TEMP to a
user variable. The units are in degrees Celsius.
Some motors are equipped with thermistors inside the motor windings. These additional
sensors can be read using RTEMP(1), RTEMP(2) and RTEMP(3)
Report
Command
Assignment
to Integer
Assignment
to Float
a
Meaning
RTEMP, or RTEMP(0) t=TEMP or t=TEMP
(0)
af[0]=TEMP or af[0]=TEMP
(0)
Sensor on drive
board
RTEMP(1)
t=TEMP(1)
af[0]=TEMP(1)
Sensor in winding
RTEMP(2)
t=TEMP(2)
af[0]=TEMP(2)
Sensor in winding
RTEMP(3)
t=TEMP(3)
af[0]=TEMP(3)
Sensor in winding
a) When the value is assigned to a floating-point variable, resolution improves to 0.1
degrees C.
EXAMPLE:
t
=
TEMP
Rt
'response 30
(TEMP)
'response 31 - the motor is warming up
Part 2: Commands: TEMP, TEMP(arg)