User manual

VP-553 - The VP-553 RS-232 Communication Protocol
63
63
Command NET-MASK
Command Type Communication
Command Name
Permission
Transparency
Set:
NET-MASK
Administrator
-
Get:
NET-MASK?
End User
-
Description
Syntax
Set:
Set device subnet mask
#NET-MASK net_mask
Get :
Get device subnet mask
#NET-MASK?
Response
Set: ~nn @NET-MASK P1 OK␍␊
Get: ~nn@NET-MASK net_mask ␍␊
Parameters
P1 (valid IP address)=xxx.xxx.xxx.xxx
Response triggers
The subnet mask limits the Ethernet connection within the local network.
For proper settings consult your network administrator.
Command NET-DHCP
Command Type Communication
Command Name
Permission
Transparency
Set:
NET-DHCP
Administrator
-
Get:
NET-DHCP?
End User
-
Description
Syntax
Set:
Set DHCP mode
#NET-DHCP P1
Get :
Get DHCP mode
#NET-DHCP?
Response
Set: ~nn @ NET-DHCP P1 OK␍␊
Get: ~nn@ NET-DHCP mode ␍␊
Parameters
P1 (Off/On) 0=off; 1=on
0 Do not use DHCP. Use the IP set by the factory or using the IP set command.
1 Try to use DHCP. If unavailable, use IP as above.
Notes
Connecting Ethernet to devices with DHCP may take more time in some networks.
To connect with a randomly assigned IP by DHCP, specify the device DNS name (if available) using the
command “NAME”. You can also get an assigned IP by direct connection to USB or RS-232 protocol port
if available.
For proper settings consult your network administrator.