
UMX4x4-Pro
User’s Manual
Section
7
.
Programmers
reference
Page 87 / 129
7.6. Communication setup commands
7.6.1. Query IP settings
Description
: IP settings can be retrieved from the router with this command.
Format
Example
Command {IP_CONFIG=?}
→ {ip_config=?}
Response (IP_CONFIG=<id>
●
<ip_address>
●
<port>
●
<mask>
●
<gateway>)CrLf
←
(IP_CONFIG=0 192.168.2.106 10001
255.255.000.000 192.168.002.001)
CrLf
Legend:
Identifier
Description
Default value
<id>
0: fix IP
2: DHCP
0
<ip_address>
IP address
192.168.254.254
<port>
TCP/IP port
10001
<mask>
subnet mask
255.255.0.0
<gateway>
gateway address
0.0.0.0
Explanation:
The router has a fix IP address 192.168.2.106 on the 255.255.0.0 subnet
with a gateway on 192.168.2.1 and communicates over TCP port 10001.
7.6.2. Reload factory default IP settings
Description
: This command sets the router to the factory default IP setup.
Format
Example
Command {IP_CONFIG=!}
→ {ip_config=!}
Response (Changing
●
IP
●
configuration…)CrLf ← (Changing IP configuration…)CrLf
(DONE!)CrLf or (FAILED!)CrLf
← (DONE!)CrLf
Parameters after successful command execution:
Parameter
Value
IP address
192.168.254.254
port number
10001
Subnet mask
255.255.0.0
Gateway
0.0.0.0
Info:
This command can be used on all control interfaces (LAN, RS-232 and USB) but the
‘(DONE!)’ response cannot be seen on LAN because the connection is dropped just after
the ‘(Changing IP configuration…)’ response.
Info:
Factory default setting can be reloaded by the front panel buttons or on the front panel LCD
menu as well.
7.6.3. Enable DHCP IP setting
Description
: After sending this command the router will inquire IP address with DHCP.
Format
Example
Command {IP_CONFIG=D}
→ {ip_config=d}
Response (Changing
●
IP
●
configuration…)CrLf ← (Changing IP configuration…)CrLf
(DONE!)CrLf or (FAILED!)CrLf
← (DONE!)CrLf