
EA-1 User Manual
35
Ethernet Commands:
These commands are specific to Ophir Ethernet devices and control the Ethernet settings and other related issues.
Device User Name ($DN):
Queries (with no parameter) or sets “Device User Name”.
If present value is undefined, returns “?NOT DEFINED”.
If parameter is “DELETE”, the present value is erased.
Note:
“DELETE” must be written in upper case letters only.
Examples:
“$DN WELDING MACHINE” -> saves the user name “WELDING MACHINE”, and returns “*OK”
“$DN” -> queries the present value, returns “*WELDING MACHINE”
“$DN DELETE” -> erases the present User Name stored in the local EEPROM
MAC Address ($MC):
Queries MAC address of device.
This value is fixed and cannot be changed by the user.
Example:
$MC -> *MAC address: 00:1E:AF:00:12:34
Enable or Disable Echo ($EE):
Queries or changes the echo setting for Telnet connections. Echo is ENABLED by default at power up.
Parameters:
(no parameter) query present echo status, replies “*0 (ECHO OFF)” or “*1 (ECHO ON)”
0 - disables echo
1 - enables echo
Network Static Settings ($NS):
Sets or queries static IP address settings stored in the local EEPROM.
Values are entered and returned in format “172.16.16.49”.
When setting a new value, replies “*SAVED (need reset)”, and saves the value in the local EEPROM to be used after
the next reset.
If the value entered is the same as the original setting, replies “NO CHANGE”.
When querying, returns the present values stored in the local EEPROM, whether or not these values are being used
in practice at present.
Parameters:
1 - static IP address
2 - IP subnet mask
3 - IP default gateway
Examples:
$NS 1 -> “*IP : 172.16.16.42”
$NS 1 172.16.16.49 -> “*SAVED (need reset)”
$NS 1 172.16.16.49 -> “*NO CHANGE”
$NS 2 -> “*Subnet Mask: 255.255.255.0”
$NS 3 -> “*Default Gateway : 172.16.16.1”
Notes:
In all cases, new IP values will be valid only after next reset of device if using static IP address mode.
Network Present Settings ($NP):
Queries IP address settings actually being used now by device.
This command can be used in static or dynamic mode.
The values returned by this command may be different from $NS values.
Parameters:
1 - IP address
2 - subnet mask
3 - default gateway
4 - DNS - Dynamic Name Server