Extron electronic IPL T S manual Code examples, Example

Page 61

Code examples

This section shows practical uses for both SSIs and query strings.

Example 1

In the figure below, both host SSI and remote SSI commands are used within the same Web page. You will notice six SSIs: three host commands and three remote commands.

<html>

 

<head><title>Example 1</title></head>

 

<h2 b>HTML Example #1</h2 b>

 

<body>

 

The following lines demonstrate how to read status from the IPLink Product:

<p>

 

IPLink Product Name: <b><!--#echovar="1I"--></b>

"host" SSI

<br>

commands

IPLink Product Description: <b><!--#echovar="2I"--></b>

 

<br>

 

IPLink Product Part Number: <b><!--#echovar="N"--></b>

 

<br><hr>

 

<p>

 

This example requires an Extron Crosspoint 84HVA connected to IPL T S2

serial port #1.

 

<p>

"remote" SSI

Part Number: <b><!--#echo var="W01RSN"--></b>

commands

<br>

 

Connection Info: <b><!--#echo var="W01RSI"--></b>

 

<br>

 

Firmware Version: <b><!--#echo var="W01RSQ"--></b>

 

</body>

 

</html>

 

Figure 4-5 — Web page HTML source code document showing Server Side Includes

The host SSI commands in the figure above request the product name, product description, and product part number of an IPL T S interface. The remote SSI commands request the part number, connection information and firmware version of an attached serial device.

<html>

<head><title>Example 1</title></head> <h2 b>HTML Example #1</h2 b> <body>

The following lines demonstrate how to read status from the IPLink Product: <p>

IPLink Product Name: <b>IPL T S2</b> <br>

IPLink Product Description: <b>Two Bi-Directional Serial Ports [RS232/422/485]</b>

<br>

IPLink Product Part Number: <b>60-544-81</b> <br><hr>

<p>

This example requires an Extron Crosspoint 84HVA connected to IPL T S2 serial port #1.

<p>

Part Number: <b>N60-337-01%0D%0A</b> <br>

Connection Info: <b>V08X04 A08X04 Exe0%0D%0A</b> <br>

Firmware Version: <b>Ver2.02%0D%0A</b> </body>

</html>

Figure 4-6a — Resulting HTML source code served by an IP Link Web server

In figure 4-6a, the commands executed by the IPL T S2 in response to SSI references have been replied to, and were implemented when the Web page was served to the browser.

IPL T S Series • Communication and Control 4-21

Image 61
Contents IP Link Ethernet Control Interfaces IPL T S SeriesSafety Instructions English PrecautionsConsignes de Sécurité Français Sicherheitsanleitungen DeutschFCC Class a Notice IPL T S SeriesIi IPL T S Series IPL T S Series Quick Start QS-1 Quick Start IPL T S SeriesQS-2 IPL T S Series Quick Start Table of Contents Table of Contents, cont’d One About This Manual IntroductionAbout the IPL T S Series Interface IPL T S6 FeaturesIntroduction, cont’d Two Installation Overview Installation and OperationIPL T S Series Installation and Operation Mounting the IPL T S InterfaceRack mounting an IPL T S Series interface Mounting optionsMounting Type Kit PN Furniture or projector mounting Installation and Operation, cont’dMounting the interface Rear Panel Features and CablingSection A-A PowerSerial Communication Ethernet/LANPin Function RS-232 RS-422 RS-485 IPL T S Series InstallationOperation Front panel indicatorsIdentification 13 IPL T S4 front panel Resetting the unitMode Activation Result Reset Mode Comparison/SummaryInstallation and Operation, cont’d Three Connecting the Hardware Connection and ConfigurationIPL T S Series Connection and Configuration Ethernet connectionIPL T S4 Setting the Internet Protocol IP AddressSetting the IP address using Global Configurator Connection and Configuration, cont’dSetting the IP address in Global Configurator Setting the IP address using embedded Web pagesInternet Protocol TCP/IP Properties dialog box Example C\arp -s 10.13.197.64 00-05-A6-00-30-5F Setting the IP address using the ARP commandClick the Download GCSW3XX.exe button Configuration using Global ConfiguratorGlobal Configurator Configuration using Embedded Web PagesWeb server Password dialog box Connecting via the Web server pagesSystem Settings ConfigurationSystem Status Port Settings 12 System Settings screenEmail Alerts PasswordsFile Management Firmware UpgradeClick the Control Software icon Configuration using DataViewer19 Communication Setup dialog box Four Communication and Control Using the command/response tableProgrammer’s Guide for Telnet and Web Browsers IPL T S Series Communication and ControlIPL T S Series Communication and Control Copyright information Password informationError responses Bidirectional serial data port CommunicationSeries Communication and Control Ascii to Decimal Conversion TableX2%, X2, X2&, X2   X!* X2%, X2, X2&, X2*CP WX! %2A X2% %2CX2 %2CX2 X!*X2CY  X!*X3,X3!CFX6 TC X5,X5#,X2Series Communication and Control Ethernet data portSeries X1! Firmware version, part number and information requests  X4%CR  X4%, X4, X4&CR WX4%%2CX4%2CX4&CR IprX4%,X4,X4& X4, X4&   X4%SM X1$ ,X1% ,X7# ,X7$ CM  X4%,X7,X4&SM WX4%%2CX7%2CX4&SMIpmX1$ ,X1% ,X7# ,X7$  X1& ,X1% CM WX1$ %2CX1% CMX1@  X1@CN X1#CT X1# X6$,X1$ EB  WX6$%2CX1$EB Bmd X6$,X1$  X2@  X6$ EB  X6$,X1$  X3# CA Password and security settings X3# CU WX3# CU X5@WMT Remap port designationsECJ WCJ DirectoriesStream files via Telnet or RS-232 EDF  ZQQQ Custom Web pages CustomizationServer Side Includes SSI Query string Server Side Include Using a Remote SIS commandExample Code examples6b Browser view of previous Html source code Reserved characters URL encodingAdvanced Serial Port Control Serial pass-through redirect modeUnsafe characters IPL T S2 Direct port access ports 2001 throughHardware connection Serial BridgingIPL T S4 Serial bridge configurationPower connections TroubleshootingData connections IPL T S Series Communication and Control Communication and Control, cont’d Specifications, Part Numbers, Accessories Specifications Specifications, Part Numbers, AccessoriesIPL T S Series Specifications, Part Numbers, Accessories EMI/EMC Optional accessories Part Numbers and 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