Extron electronic IPL T S manual Query string, Server Side Include Using a Remote SIS command

Page 60

Communication and Control, cont’d

Server Side Include Using a Remote SIS command

 

 

 

SIS Command

 

 

<!--#echo var=" W 1

* 50 *

3 *

3L RS

 

Hello "-->

 

 

Delimiter

Port

Time to

Time

Length or Command

Delimiter

 

 

Data to be

 

Number

wait for

between

Delimiter

 

passed to

 

 

first character

characters

parameter

 

external device

 

 

of response

in response

 

 

via a serial port

SIS Command

Elements

*Type with no spaces.

Figure 4-2 — Example of an SSI “remote” command

In the example above, a “remote” serial command sends the word “Hello” and waits up to 50 ms for a response (until three characters are received). For more information on this command, see the “Command/response table for Simple Instruction Set (SIS) commands”, earlier in this chapter.

Query string

A query string is the portion of a URL that appears after the question mark. The query string contains parameters or instructions for the Web server to execute.

The basic format for a query string within a link is:

<a href=”index.html?cmd=x”>Input #1</a> Where x is the SIS command to be executed.

When a link is accessed on a Web page, the URL is passed to the Web server to tell it which Web page to return to the browser. The portion of the URL after the question mark is the query string, which contains the SIS command that the IPL T S interface removes and executes.

As with SSI formatted commands, query strings can use any valid SIS command — either “host” or “remote”.

The query string in the figure below turns off DHCP on the IP Link device.

URL with a Query String using a Host SIS command

 

 

 

 

SIS Command

 

 

 

<a href="index.html

?

cmd=

W0DH

">

DHCP off </a>

HTML code

Starts

Tells Web server

SIS command

HTML code

Linked Text

Closes

Query String

for a link

 

 

an SIS command

to be processed

for a link

 

Link

 

 

 

follows

by the IP Link

 

 

 

 

 

 

 

 

 

*Type with no spaces.

Figure 4-3 — Example of a host query string command

URL with a Query String using a Remote SIS command

SIS Command

<a href="index.html ? cmd=

W 2 RS

1!

"> Input #1 </a>

HTML code

for a link

Starts

Tells Web

Delimiter

Port Command

Delimiter Data to

Query String

 

 

server an

 

Number

be passed to

SIS command

external device

follows

via a serial port

 

HTML

Linked

Closes

code

Text

Link

for a link

 

 

*Type with no spaces.

Figure 4-4 — Example of a remote query string command

In the figure above, the data string that follows the pipe () symbol is sent to the attached controlled device on serial port #2. This string instructs an attached Extron switcher to change to input #1.

4-20 IPL T S Series • Communication and Control

Image 60
Contents IPL T S Series IP Link Ethernet Control InterfacesPrecautions Safety Instructions EnglishConsignes de Sécurité Français Sicherheitsanleitungen DeutschIPL T S Series FCC Class a NoticeIi IPL T S Series Quick Start IPL T S Series IPL T S Series Quick Start QS-1QS-2 IPL T S Series Quick Start Table of Contents Table of Contents, cont’d One Introduction About This ManualAbout the IPL T S Series Interface Features IPL T S6Introduction, cont’d Two Installation and Operation Installation OverviewIPL T S Series Installation and Operation Mounting the IPL T S InterfaceMounting options Rack mounting an IPL T S Series interfaceMounting Type Kit PN Installation and Operation, cont’d Furniture or projector mountingRear Panel Features and Cabling Mounting the interfacePower Section A-AEthernet/LAN Serial CommunicationIPL T S Series Installation Pin Function RS-232 RS-422 RS-485Front panel indicators OperationIdentification Resetting the unit 13 IPL T S4 front panelReset Mode Comparison/Summary Mode Activation ResultInstallation and Operation, cont’d Three Connection and Configuration Connecting the HardwareIPL T S Series Connection and Configuration Ethernet connectionSetting the Internet Protocol IP Address IPL T S4Connection and Configuration, cont’d Setting the IP address using Global ConfiguratorSetting the IP address using embedded Web pages Setting the IP address in Global ConfiguratorInternet Protocol TCP/IP Properties dialog box Setting the IP address using the ARP command Example C\arp -s 10.13.197.64 00-05-A6-00-30-5FConfiguration using Global Configurator Click the Download GCSW3XX.exe buttonConfiguration using Embedded Web Pages Global ConfiguratorConnecting via the Web server pages Web server Password dialog boxConfiguration System SettingsSystem Status 12 System Settings screen Port SettingsPasswords Email AlertsFirmware Upgrade File ManagementConfiguration using DataViewer Click the Control Software icon19 Communication Setup dialog box Four Using the command/response table Communication and ControlProgrammer’s Guide for Telnet and Web Browsers IPL T S Series Communication and ControlIPL T S Series Communication and Control Password information Copyright informationError responses Communication Bidirectional serial data portSeries Communication and Control Ascii to Decimal Conversion Table X!* X2%, X2, X2&, X2*CP WX! %2A X2% %2CX2 %2CX2 X2%, X2, X2&, X2  X!*X2CY  X!*X3,X3!CFX5,X5#,X2 X6 TCSeries Communication and Control Ethernet data portX1!  SeriesFirmware version, part number and information requests  X4%, X4, X4&CR WX4%%2CX4%2CX4&CR IprX4%,X4,X4&   X4%CRX4, X4&   X4%SM X4%,X7,X4&SM WX4%%2CX7%2CX4&SM  X1$ ,X1% ,X7# ,X7$ CMIpmX1$ ,X1% ,X7# ,X7$  X1& ,X1% CM WX1$ %2CX1% CM X1@CN X1@ X1#CT X1#X2@   X6$,X1$ EB  WX6$%2CX1$EB Bmd X6$,X1$  X6$ EB  X6$,X1$ Password and security settings  X3# CA X3# CU WX3# CU X5@Remap port designations WMTDirectories ECJ WCJ EDF Stream files via Telnet or RS-232 ZQQQ Customization Custom Web pagesServer Side Includes SSI Server Side Include Using a Remote SIS command Query stringCode examples Example6b Browser view of previous Html source code URL encoding Reserved charactersSerial pass-through redirect mode Advanced Serial Port ControlUnsafe characters Direct port access ports 2001 through IPL T S2Serial Bridging Hardware connectionSerial bridge configuration IPL T S4Troubleshooting Power connectionsData connections IPL T S Series Communication and Control Communication and Control, cont’d Specifications, Part Numbers, Accessories Specifications, Part Numbers, Accessories SpecificationsIPL T S Series Specifications, Part Numbers, Accessories EMI/EMC Part Numbers and Accessories Optional accessoriesIncluded parts Replacement part Number Accessories Part numberAppendix B Glossary GlossaryIPL T S Series Glossary IPL T S Series Glossary Extron’s Warranty Extron USA West
Related manuals
Manual 6 pages 25.01 Kb