Data Sheet

Commands Reference
280 Advanced Digital Motor Controller User Manual V1.8, August 28, 2017
BEE - User Storage in Battery Backed RAM
HexCode: 64
Description:
Store and retrieve user data in battery backed RAM. Storage is quasi permanent, limited
only by the on-board battery (usually several years) . Unlike storage in Flash using the EE
configuration commands, there are no limits in the amount or frequency of read and write
cycles with BEE. This feature is only available on selected models, see product data-
sheet. Battery must be installed in the controller for storage to be possible.
Syntax Serial: ^BEE aa dd
~BEE aa
Syntax Scripting: setconfig(_BEE, aa, dd)
Number of Arguments: 2
Argument 1: Address
Min: 1 Max: Total Number of BEE
Argument 2: Value
Type: Signed 16-bit
Min: -32768 Max: 32767
Default: 0
Where:
aa = Address
dd = Data
Example:
^BEE 1 555 : Store value 555 in Battery Backed RAM location 1
~BEE 1: Read data from RAM location 1
BRUN - MicroBasic Auto Start
HexCode: 48
Description:
This parameter is used to enable or disable the automatic MicroBasic script execution
when the controller powers up. When enabled, the controller checks that a valid script
is present in Flash and will start its execution 2 seconds after the controller has become
active. The 2 seconds wait time can be circumvented by putting 2 in the command argu-
ment. However, this must be done only on scripts that are known to be bug-free. A crash-
ing script will cause the controller to continuously reboot with little means to recover.
Syntax Serial: ^BRUN nn
~BRUN