7. LW3 Programmers' Reference
7.9.5. Query the Subnet Mask
Command format:
GET●/MANAGEMENT/NETWORK.NetworkMask
Response format:
pr●/MANAGEMENT/NETWORK.NetworkMask=<netmask>
Example:
˃
GET /MANAGEMENT/NETWORK.NetworkMask
˂
pr /MANAGEMENT/NETWORK.NetworkMask=255.255.255.0
7.9.6. Change the Subnet Mask (Static)
Command format:
SET●/MANAGEMENT/NETWORK.StaticNetworkMask=<netmask>
Response format:
pw●/MANAGEMENT/NETWORK.StaticNetworkMask=<netmask>
Example:
˃
SET /MANAGEMENT/NETWORK.StaticNetworkMask=255.255.255.0
˂
pw /MANAGEMENT/NETWORK.StaticNetworkMask=255.255.255.0
7.9.7. Query the Gateway Address
Command format:
GET●/MANAGEMENT/NETWORK.GatewayAddress
Response format:
pr●/MANAGEMENT/NETWORK.GatewayAddress=<gw_address>
Example:
˃
GET /MANAGEMENT/NETWORK.GatewayAddress
˂
pr /MANAGEMENT/NETWORK.GatewayAddress=192.168.0.1
7.9.8. Change the Gateway Address (Static)
Command format:
SET●/MANAGEMENT/NETWORK.StaticGatewayAddress=<gw_address>
Response format:
pw●/MANAGEMENT/NETWORK.StaticGatewayAddress=<gw_address>
Example:
˃
SET /MANAGEMENT/NETWORK.StaticGatewayAddress=192.168.0.5
˂
pw /MANAGEMENT/NETWORK.StaticGatewayAddress=192.168.0.5
7.9.9. Apply Network Settings
Command format:
CALL●/MANAGEMENT/NETWORK:ApplySettings()
Response format:
m0●/MANAGEMENT/NETWORK:ApplySettings
Example:
˃
CALL /MANAGEMENT/NETWORK:ApplySettings()
˂
m0 /MANAGEMENT/NETWORK:ApplySettings
Explanation: all network settings which are changed have been applied and network interface restarts.
MMX4x2 series – User's Manual
7.10. RS-232 Port Configuration
INFO: Serial (local and link) port numbering can be found in the
INFO: Only MMX4x2-HT200 model has TPS serial link.
7.10.1. Protocol Setting
Command format:
SET●/MEDIA/UART/<P
Response format:
pw●/MEDIA/UART/<P
Parameters:
.ControlProtocol
RS-232 protocol mode
Example:
˃
SET /MEDIA/UART/P1.ControlProtocol=1
˂
pw /MEDIA/UART/P1.ControlProtocol=1
7.10.2. BAUD Rate Setting
Command format:
SET●/MEDIA/UART/<P
Response format:
pw●/MEDIA/UART/<P
Parameters:
.Baudrate
BAUD rate value
4800
Example:
˃
SET /MEDIA/UART/P1.Baudrate=2
˂
pw /MEDIA/UART/P1.Baudrate=2
7.10.3. Databit Setting
Command format:
SET●/MEDIA/UART/<P
Response format:
pw●/MEDIA/UART/<P
Example:
˃
SET /MEDIA/UART/P1.DataBits=8
˂
pw /MEDIA/UART/P1.DataBits=8
Input/Output Port Numbering
>.ControlProtocol=0|1
n
>.ControlProtocol=0|1
n
0
1
LW2
LW3
>.Baudrate=0|1|2|3|4|5|6|7
n
>.Baudrate=0|1|2|3|4|5|6|7
n
0
1
2
3
4
7200
9600
14400
19200
38400
>.DataBits=8|9
n
>.DataBits=8|9
n
70
section.
5
6
7
57600
115200
Need help?
Do you have a question about the MMX4x2-HT200 and is the answer not in the manual?