User's Manual

Table Of Contents
Kramer Electronics Ltd.
PA-120Z, PA-240Z Protocol 3000
45
NET-DHCP
Functions
Permission
Transparency
Set:
NET-DHCP
Administrator
Public
Get:
NET-DHCP?
End User
Public
Description
Syntax
Set:
Set DHCP mode
#NET-DHCPSPmodeCR
Get:
Get DHCP mode
#NET-DHCP?CR
Response
~nn@NET-DHCPSPmodeCR LF
Parameters
mode 0 (do not use DHCP. Use the IP address set by the factory or the NET-IP command), 1 (try to
use DHCP. If unavailable, use the IP address set by the factory or the NET-IP command)
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
NAME command. You can also get an assigned IP by direct connection to USB or RS-232 protocol port if
available. Consult your network administrator for correct settings.
K-Config Example
Enable DHCP mode, if available:
“#NET-DHCP 1”,0x0D
NET-GATE
Functions
Permission
Transparency
Set:
NET-GATE
Administrator
Public
Get:
NET-GATE?
End User
Public
Description
Syntax
Set:
Set gateway IP
#NET-GATESPip_addressCR
Get:
Get gateway IP
#NET-GATE?CR
Response
~nn@NET-GATESPip_addressCR LF
Parameters
ip_address gateway IP address, in the following format: xxx.xxx.xxx.xxx
Notes
A network gateway connects the device via another network, possibly over the Internet. Be careful of
security problems. Consult your network administrator for correct settings.
K-Config Example
Set the gateway IP address to 192.168.0.1:
“#NET-GATE 192.168.000.001”,0x0D