Page
38
RS-232
Control Command
Command Code Function Description Example Feedback Default
Network Setting
r mac addr!
Get network MAC
address
r mac addr!
Mac address:
00:1C:91:03:80:01
s ip mode z!
Set network IP mode
to static IP or DHCP,
z=0~1 (z=0 Static, z=1
DHCP)
s ip mode 0!
Set IP mode:Static.
(Please use "s net reboot!"
command to apply new
config!)
r ip mode! Get network IP mode r ip mode! IP mode: Static
s ip addr xxx.
xxx.xxx.xxx!
Set network IP
address
s ip addr
192.168.0.100!
Set IP address:192.168.0.100
(Please use "s net reboot!"
command to apply new
config!)
DHCP on, Device can't
config static address, set
DHCP off first.
r ip addr!
Get network IP
address
r ip addr! IP address:192.168.0.100
s subnet xxx.
xxx.xxx.xxx!
Set network subnet
mask
s subnet
255.255.255.0!
Set subnet
mask:255.255.255.0
(Please use "s net reboot!"
command to apply new
config!)
DHCP on, Device can't
config subnet mask, set
DHCP off first.
r subnet!
Get network subnet
mask
r subnet! Subnet Mask:255.255.255.0
s gateway xxx.
xxx.xxx.xxx!
Set network gateway
s gateway
192.168.0.1!
Set gateway:192.168.0.1
(Please use "s net reboot!"
command to apply new
config!)
DHCP on, Device can't
config gateway, set DHCP
off first.
r gateway! Get network gateway r gateway! Gateway:192.168.0.1
s tcp/ip port x!
Set network TCP/IP
port (x=1~65535)
s tcp/ip port
8000!
Set TCP/IP port:8000