User Manual

Table Of Contents
General Configuration and Safety
Advanced Digital Motor Controller User Manual 307
Argument 1: Enable RS485
Type: Unsigned 8-bit
Min: 0 Max: 1
Default: 0
Where:
nn = Enable RS485
0: Disabled.
1: Enabled.
Example:
^RS485 1: Enable RS485.
RWD - Serial Data Watchdog
HexCode: 08
Description:
This is the Serial Commands watchdog timeout parameter. It is used to detect when the
controller is no longer receiving commands and switch to the next priority level. Any Real-
time Command arriving from RS232, RS485, TCP, USB, CAN or Microbasic Scripting, The
watchdog value is a number in ms (1000 = 1s). The watchdog function can be disabled by
setting this value to 0. The watchdog will only detect the loss of real time commands, as
shown in section 6. All other traffic on the serial port will not refresh the watchdog timer.
As soon as a valid command is received, motor operation will resume.
Syntax Serial: ^RWD nn
~RWD
Syntax Scripting: setconfig(_RWD, nn)
Number of Arguments: 1
Argument 1: Timeout
Type: Unsigneed 16-bit
Min: 0 Max: 65000
Default: 1000 = 1s
Where:
nn = Timeout value in ms
Example:
^RWD 2000 : Set watchdog to 2s
^RWD 0 : Disable watchdog
SCRO - Select Print output port for scripting
HexCode: 5E
Description:
Selects which port the print statement sends data to. When 0, the last port which re-
ceived a valid character will be the one the script outputs to.