138
10.3.13
Ethernet Card Settings Commands and Companion Queries
Command
Name
Value
SIM {1|0}
SIM?
Set IP Mode
1=Manual, 0=Auto
(DHCP/BOOTP)
SIA <value>
SIA?
Set IP Address
Dotted decimal form. Ex.
192.168.1.50
SGA <value>
SGA?
Set Gateway IP
Address
Dotted decimal form
SSM <value>
SSM?
Set Subnet Mask
Dotted decimal form
SDN <value>
SDN?
Set Device Name
8 character max, must start with
a letter
MAC?
MAC Address Query
Example response:
00:20:4A:8B:B4:30
SBI {4|3|2|1|0}
SBI?
Set Barcode Input
0=Off, 1=Serial# and Product#,
2=Serial# Only, 3=Product#
Only, 4=Run File
SAS {1|0}
SAS?
Set Autostart
1=On, 0=Off
Communication Considerations
•
All of the above commands (excluding the query commands) will respond
with the 06 hex (6 decimal) Acknowledge (ACK) ASCII control code if the
transfer was recognized by the instrument.
•
If there was an error with the command string, the instrument will respond
with 15 hex (21 decimal), the Not Acknowledge (NAK) ASCII control code.
•
However, the presence of this response does not mean that the
instrument (in the case of these commands only) completed the command.
These commands require a restarting of the hardware that controls the
Ethernet Protocols. Because of this, the user must wait before the
Ethernet Card will respond to another command. See the table below for
the approximate wait times necessary after one of the commands in the
table is sent. In addition, the current socket connection between the
user’s terminal and the Ethernet Card is no longer valid, and the user will
need to close their current connection and establish a new one.