Extron electronic IPL T CR48 manual Programmer’s Guide for the Telnet and Web Browser

Models: IPL T CR48

1 66
Download 66 pages 29.57 Kb
Page 40
Image 40
Programmer’s Guide for the Telnet and Web Browser

Communication and Control, cont’d

Programmer’s Guide for the Telnet and Web Browser

Using the command/response table

The following are either Telnet (port 23) or Web browser (port 80) commands. There are some minor differences when implementing these commands via Telnet or via URL encoding using a Web browser. All commands listed below will work using either connection method, but due to some limitations of the Web browser, the encapsulation characters are modified to make sure that the Web browser will properly handle them. All examples in the command/response table show the proper implementation in a Telnet or Web browser session.

NFor Web browsers: all non-alphanumeric characters must be represented as their hex equivalent such as %xx where xx equals the two character representation of the hex byte that needs to be sent

(e.g., a comma would be represented as %2C).

Telnet

Web Browser

Escape (Hex 1B)

W [must not be encoded]

Carriage Return (Hex 0D)

Pipe Character ( )

 

[must not be encoded]

When using these commands through a Web browser, the URL reference is used below to shorten the examples. This would, in practice, be the full URL of the control interface and Web page reference including all path information

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

To send any of the commands using a Web browser you need to prefix them with the full URL followed by ?cmd= (See URL Encoding later in this chapter).

NWith 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 {Data} = Data will be directed to a specified port and must be encoded if non-alphanumeric.

The table on pages 4-15 through 4-19 lists the commands that the IPL T interface recognizes as valid, the responses that are returned to the host, a description of the command’s function, or the results of executing the command.

4-10 IPL T CR48 • Communication and Control

Page 40
Image 40
Extron electronic IPL T CR48 manual Programmer’s Guide for the Telnet and Web Browser, Communication and Control, cont’d