User Manual

Table Of Contents
TCP Communication Commands
Advanced Digital Motor Controller User Manual 359
Where:
cc = octet
nn = octet value
Example:
^SBM 1 255_^SBM 2 255_^SBM 3 254_^SBM 4 0: Set Gateway Address
255.255.254.0.
SDNS - Primary DNS
HexCode: 6E
Description:
Configure this parameter in order to set the address of the secondary DNS server. Sec-
ondary DNS option includes 4 values representing each octet in the IP address v4 format.
Secondary DNS server default address is 0.0.0.0. By setting the secondary DNS server
to 0.0.0.0 then automatically a secondary DNS server address is assigned. Since the sec-
ondary server address is a backup, there is no need to be configured, unless necessary.
Syntax Serial: ^SDNS cc nn
~SDNS
Syntax Scripting: setconfig(_SDNS, cc, nn)
Number of Arguments: 2
Argument 1: IP Octet
Type: Unsigned 8-bit
Min: 1 Max: 4
Argument 2: Primary DNS
Type: Unsigned 8-bit
Min: 0 Max: 255
Default:
Octet Value
1 192
2 168
3 1
4 1
Where:
cc = octet
nn = octet value
Example:
^SDNS 1 192_^SDNS 2 168_^SDNS 3 2_^SDNS 4 1: Set Secondary DNS 192.168.2.1.