Serial Communication, cont’d
DVS 304 • Serial Communication
3-18
Command ASCII (Telnet
(host to processor
URL Encoded (Web
(host to processor
Response
(processor to host
Additional description
Web browser specic
Read response from last URL
cmd
E UB } WUB|
Response from
command
]
IP setup commands
Set unit name
24
E X1@ CN } WX1@ CN| Ipn•X1@]
Change the processor’s name to one of your
choosing
(
X1@). The name consists of up to 24 alphanu
meric
characters (and the minus The first character
must be a letter, the last character cannot be a
minus
sign (hyphen). Case does not matter.
Set unit name to factory
default
24
E•CN} W%20CN| Ipn•X4( ] X4( is the name the processor was shipped
with:
DVS304-##-##-##, a combination of the model
name
and the last 3 pairs of the hex numbers in the
processor’s
MAC address (e.g., DVS304-00-02-3d).
Read unit name
E CN } WCN| X1@ ] X1@ is the processor’s current unit name.
Set time/date
24
E X1#CT } W X1# CT| Ipt•X1# ] X1# is local date and time format. The set
format is MM/DD/YY-HH:MM:SS.
Example: 11/18/03-10:54:00
Read time/date
E CT } WCT| X1# ]
The Read format is day of week DD month year
HH:MM:SS.
Example: Tue, 18 Nov 2008 18:19:33
Command/response table for IP control port commands (continued
N
X1@ = Name is a text string of up to 24 characters drawn from the alphabet (A-Z), digits (0-9), and the minus sign/hyphen (-). The first character must be an alpha character.
The last character must not be a minus. No blank or space characters are permitted, and no distinction is made between upper and lowercase.
X1# = Local date and time format Set format (MM/DD/YY-HH:MM:SS); e.g., 06/21/02-10:54:00 Read format (day of week, date month year (HH:MM:SS),
e.g., Thu, 20 Feb 2003 18:19:33
X4( = Default name: a combination of the model name and the last 3 character pairs of the unit’s MAC address (e.g., DVS-304-00-023D)