3.5
Temperature compensation related commands
The build in temperature compensation is controlled with three variables. Once the temperature com-
pensation is started, the temperature is saved and continuously compared to the current temperature.
If the difference ∆
T
exceeds the set variable TCOMP DELTA and the time since the last compensa-
tion movement exceeds TCOMP PERIOD, the focuser will move ∆
T
·
TCOMP FACTOR.
The temperature compensation may also be paused (while still keeping track of the temperature
change).
The sensor used for the compensation can eb set to either one of the two possible sensors or the average
temperature of both.
3.5.1
TCOMP
Enable/Disable the automatic temperature compensation.
GET TCOMP
Get the temperature compensation status (1 == active, 0 == inactive)
$BS GET TCOMP\
r
\n
Example answer:
$BS STATUS TCOMP:0\
r
\n
SET TCOMP
Set the temperature compensation status (1 == active, 0 == inactive)
$BS SET TCOMP:1\
r
\n
Example answer:
$BS OK\
r
\n
3.5.2
TCOMP FACTOR
GET TCOMP FACTOR
Get the temperature compensation factor [
steps
◦
Celsius
].
$BS GET TCOMP_FACTOR\
r
\n
Example answer:
$BS STATUS TCOMP_FACTOR:0.12\
r
\n
SET TCOMP FACTOR
Set the temperature compensation factor (float) [
steps
◦
Celsius
].
$BS SET TCOMP_FACTOR:0.12\
r
\n
Example answer:
$BS OK\
r
\n
3.5.3
TCOMP PERIOD
Do compenation movements only every period.
GET TCOMP PERIOD
Get the temperature compensation period (uint32 t) [
ms
].
$BS GET TCOMP_PERIOD\
r
\n
Example answer:
$BS STATUS TCOMP_FACTOR:30000\
r
\n
21