MGP Pro Series • Remote Configuration and Control
44
Telnet and Web Communications
The MGP Pro can also be controlled via an IP connection using either Telnet (port 23) or a
web browser (port 80). The ASCII and URL commands listed in the tables in this section
perform the same functions but are encoded differently to accommodate the requirements
of each port (Telnet or browser).
The ASCII to hexadecimal (hex) character conversion table below is for use with the
command and response table (see
Command and Response Table for MGP Pro SIS
Commands
, beginning
on page 50, and
Command and Response Table for IP SIS
Commands
, beginning on page 65)
.
ASCII to Hex Conversion Table
•
Space
Figure 25.
ASCII to Hexadecimal Character Conversion Table
The command and response tables list valid ASCII (for Telnet) command codes, the
corresponding URL encoded (for web browsers) command codes, the responses of the
processor to the host, and a description of the command function or results from executing
the command.
•
Upper- and lowercase letters may be used interchangeably in the command field unless
otherwise specified.
•
Commands may be sent back-to-back without spaces; for example, 2*2!2*0B.
•
Numbers can be entered as 1 digit, or as 2 or 3 digits with leading zeros; for example,
8V
=
08V
=
008V
.
•
There are a few differences in how to enter the commands depending on whether you
are using Telnet or a web browser.
•
For control via a web browser, all non-alphanumeric characters must be
represented as the hexadecimal equivalent,
%
xx
, where
xx
represents the
two-character hex byte. For example, a comma (,) would be represented as
%2C
.
•
When using these commands through a web browser, the URL reference
is used to shorten the examples. “URL” refers to the full URL of the control
interface and web page reference, including all path information; for example,
http://192.168.100.10/myform.htm
.
•
Some characters differ depending on what method you use to send the
commands:
Telnet
Web Browser
Escape key (hex
1B
)
W
[must not be encoded]
Carriage return (hex
0D
)
Pipe character (
|
) [must not be encoded]
NOTE:
With Telnet you can use either the Escape commands or the
W
commands, and the carriage return or the pipe character. With the web
browser, you are required to use the
W
commands and the pipe character.
In either method, the data string (shown in braces as {data} in the command and response
table is directed to the specified port, and must be encoded if it is non-alphanumeric.