Data Sheet
Runtime Queries
Advanced Digital Motor Controller User Manual 257
Description:
On controller models with Spektrum radio support, this query is used to read the raw
values of each of up to 6 receive channels. When signal is received, this query returns the
value 0.
Syntax Serial: ?K [cc]
Argument: Channel
Min: 1 Max: 6
Syntax Scripting: result = getvalue(_K, cc)
result = getvalue(_SPEKTRUM, cc)
Reply:
K=nn Min: 0 Max: 1024
Where:
cc = Radio channel
nn = Raw joystick value, or 0 if transmitter is off or out of range
LK - Read Lock status
Alias: LOCKED HexCode: 1D CANOpen id:
Description:
Returns the status of the lock flag. If the configuration is locked, then it will not be possi-
ble to read any configuration parameters until the lock is removed or until the parameters
are reset to factory default. This feature is useful to protect the controller configuration
from being copied by unauthorized people.
Syntax Serial: ?LK
Argument: None
Syntax Scripting: result = getvalue(_LK, 1)
result = getvalue(_LOCKED, 1)
Reply:
LK=ff Type: Unsigned 8-bit Min: 0 Max: 1
Where:
ff =
0 : unlocked
1 : locked