User Manual

Table Of Contents
Commands Reference
2 74 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
RS485 - Enable RS485
HexCode: D0
Description:
Configure this parameter in order to enable the RS485 communication. This feature is
applicable only on motor controllers, where RS485 pins are shared with other features. In
these controllers the default value is Disabled. In any other controller that support RS485
with dedicated pins the default value is Enabled.
Syntax Serial: ^RS485 nn
~ RS485
Syntax Scripting: setconfig(_RS485, nn)
Number of Arguments: 1
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