
6. LW2 Programmer's Reference
UMX-TPS-TX100 series – User's Manual
93
Applied firmware packages: (UMX-TPS): v1.5.0b4 | (WP-UMX-TPS): v1.4.0b8 | (FP-UMX-TPS): v1.4.0b8 | LDC software: v2.5.6b2
6.5. Network Configuration
6.5.1. Query the Current IP Status
The IP address settings can be queried as follows.
#dhcp #ipaddress
#network
Command and Response
ȩ
{IP_STAT=?}
Ȩ
(IP_STAT=
<type>
;
<ip_address>
;
<subnet_mask>
;
<gateway_addr>
)CrLf
Parameters
Parameter
Parameter description
Value
Value description
<type>
Assignment of the IP address
0
static
1
dynamic (DHCP)
<ip_addr>
IP address
(four decimal octets separated by dots)
<subnet_mask>
Subnet mask
(four decimal octets separated by dots)
<gateway_addr>
Gateway address
(four decimal octets separated by dots)
Example
ȩ
{ip_stat=?}
Ȩ
(IP_STAT=0;192.168.0.100;255.255.255.0;192.168.0.1)
The device has a static (fix) IP address: 192.168.0.100; the subnet mask is 255.255.255.0, the gateway
address is 192.168.0.1.
6.5.2.
Set the IP Address
IP address can be set as follows.
Command and Response
ȩ
{IP_ADDRESS=
<type>
;
<ip_address>
}
Ȩ
(IP_ADDRESS=
<type>
;
<ip_address>
)CrLf
Parameters
See the previous section.
Example
ȩ
{ip_address=0;192.168.0.110}
Ȩ
(IP_ADDRESS=0;192.168.0.110)
INFO:
The IP address can be queried by typing the {ip_address=?} command. The response contains the
fix IP address that is stored in the device even if DHCP is enabled; in this case, this IP address is not valid.
6.5.3.
Set the Subnet Mask
Subnet mask can be set as follows.
Command and Response
ȩ
{IP_NETMASK=
<subnet_mask>
}
Ȩ
(IP_NETMASK=
<subnet_mask>
)CrLf
Parameters
See the
section.
Example
ȩ
{ip_netmask=255.255.255.0}
Ȩ
(IP_NETMASK=255.255.255.0)
INFO:
The subnet mask can be queried by typing the {ip_address=?} command. The response contains
the fix IP subnet mask that is stored in the device even if DHCP is enabled; in this case, this IP subnet
mask is not valid.
6.5.4.
Set the Gateway Address
Gateway address can be set as follows.
Command and Response
ȩ
{IP_GATEWAY=
<gateway_addr>
}
Ȩ
(IP_GATEWAY=
<gateway_addr>
)CrLf
Parameters
See the
section.
Example
ȩ
{ip_gateway=192.168.0.50}
Ȩ
(IP_GATEWAY=192.168.0.50)
INFO:
The gateway address can be queried by typing the {ip_gateway=?} command. The response contains
the static IP gateway address that is stored in the device even if DHCP is enabled. In that case, the latest
valid gateway address (for static IP) is stored.
6.5.5.
Apply Network Settings
Apply the network settings and restart the network interface.
Command and Response
ȩ
{ip_apply}
Ȩ
(IP_APPLY)CrLf
Example
ȩ
{ip_apply}
Ȩ
(IP_APPLY)