beautypg.com

Commands and responses, Using the command/response tables, Preliminar y – Extron Electronics MPX 423 A User Manual

Page 32: Programming and control, cont’d

background image

SIS

Programming and Control, cont’d

MPX 423 A • SIS Programming and Control

4-4

PRELIMINAR

Y

Commands and Responses

Using the command/response tables

The MPX 423 A can be controlled via a Telnet connection (port 23) or a Web browser

connection (port 80). The ASCII and URL commands listed in the tables starting on

page 4-9 perform the same functions, but are encoded differently to accommodate

the requirements of each port (Telnet or Web browser).
This ASCII to hexadecimal (HEX) conversion table is for use with the command/

response tables.

ASCII to HEX Conversion Table

Figure 4-1 ASCII to Hex conversion table

The command/response tables list ASCII command codes (for Telnet or RS-232),

the corresponding URL encoded command codes (for Web browsers), the unit’s

responses, and a description of the command’s function or results.
The following rules apply for commands and responses:
• Upper and lower case characters may be used in the command field unless

otherwise specified.

• Commands may be sent back-to-back without spaces (for example, 2!65V1Z).
• Numbers can be entered in 1, 2, or 3 digits, e.g., 8V = 08V = 008V.
• Telnet control versus Web browser control differences include:

• For a Web browser, “URL” is used to shorten the examples. “URL” refers

to the full URL of the control interface and Web page, including all path

information (e.g., http://192.168.100.10/myform.htm).

• To send a Web browser command, prefix it with the URL and ?cmd=.
• For Web browser, all non-alphanumeric characters must be coded with

the hexadecimal equivalent, %xx, where xx is the two-character hex byte.

For example, a comma (,) is coded as %2C. Characters such as %, +, and

space ( ) must be coded with hex bytes to be interpreted correctly.

• Some characters differ depending on the method used.

Telnet

Web browser

Escape = W or (hex 1B)

Escape = W [must not be hex encoded]

CR = Pipe (

|

) or (hex OD)

CR = Pipe (

|

) [must not be hex encoded]

In either method, {Data} = data that will be directed to a specified port

and must be hex encoded if non-alphanumeric.

N

If you make adjustments (changes to volume, etc.), via the front panel, RS-232
or IP, it takes 100 seconds for the new data to be saved to flash memory.