60
Zektor Switch Serial Protocol, Version 0.16, 5/13/16
Advanced Control
The response string of the ‘IPG’ command is not the current gateway address of the Zektor Switch, but
the gateway address that will be used the next time the ‘IPSET 0’ command is issued. To retrieve the
current IP address of the Zektor Switch, use the read only command ‘IPGX’
(See: “‘IPGX’ Retrieve
the current IP gateway address in use” on page 60.)
‘IPAX’ Retrieve the current IP address in use
This command is read only and will return the IP address being used by the Zektor Switch. If DHCP is
being used, this will return the address given to the Zektor Switch by the router. If static mode is being
used, this will return the static address currently in use by the Zektor Switch.
The command format is:
^IPAX ?$
Read the current IP address
Response String:
^=IPAX
xxx
,
xxx
,
xxx
,
xxx
$
Where:
xxx,xxx,xxx,xxx
= IP address in standard form (Ex: 192,168,001,200)
‘IPMX’ Retrieve the current IP mask in use
This command is read only and will return the IP mask being used by the Zektor Switch. If DHCP is
being used, this will return the mask given to the Zektor Switch by the router. If static mode is being
used, this will return the static mask currently in use by the Zektor Switch.
The command format is:
^IPMX ?$
Read the current IP mask
Response String:
^=IPMX
xxx
,
xxx
,
xxx
,
xxx
$
Where:
xxx,xxx,xxx,xxx
= IP mask in standard form (Ex: 255,255,255,000)
‘IPGX’ Retrieve the current IP gateway address in use
This command is read only and will the gateway address being used by the Zektor Switch. If DHCP is
being used, this will return the address given to the Zektor Switch by the router. If static mode is being
used, this will return the static address currently in use by the Zektor Switch.
The command format is:
^IPGX ?$
Read the current TCP/IP router address
Response String:
^=IPGX
xxx
,
xxx
,
xxx
,
xxx
$
Where:
xxx,xxx,xxx,xxx
= Gateway address in standard form (Ex: 192,168,001,001)