Page 20
6.4
Comms commands
(a)
Ethernet IP address – ‘eip’
This command changes the IP address used to communicate over TCP/IP comms. The
parameter should be entered as a standard 4 octet IP address. e.g.
192.168.1.180
. The
max octet value is obviously 255. If a greater value is entered, that value will be capped to
255. Once the CCD has responded to the command, it will display the following and auto-
restart the system.
UNIT SHOULD AUTO RESTART
¿
IF NOT, RESTART TO APPLY CHANGES
¿
This is necessary to re-initialise the internal TCP socket with the newly set IP address.
To retrieve the current IP address, use the query ‘eip?’. The returned data is:
IP ADDRESS:
<xxx>
.
<xxx>
.
<xxx>
.
<xxx>
…where <xxx> is always a three digit octet.
(b)
Ethernet subnet mask – ‘esm’
This command changes the Subnet mask used as part of the TCP/IP communication. As
with the IP address, the parameter should be entered as a standard 4 octet mask. e.g.
255.255.255.0.
Each octet value is again capped if a value greater than 255 is entered.
The CCD will respond and the display the following before auto-restarting the system (as
with the IP address).
UNIT SHOULD AUTO RESTART
¿
IF NOT, RESTART TO APPLY CHANGES
¿
The current subnet mask can be retrieved using the query ‘esm?’. The returned data is:
SUBNET MASK:
<xxx>
.
<xxx>
.
<xxx>
.
<xxx>
…where <xxx> is always a three digit octet.