Extron electronic IPL T PCS4 manual Custom Web Pages, Server Side Includes SSIs, Query Strings

Page 41

Custom Web Pages

On the PCS4, custom web pages are supported. You can determine the layout and appearance of the pages displayed on your screen. Server side includes (SSIs) enable you to obtain information from the unit and display the information on web pages. Query strings allow you to send information and commands to the unit to change its configuration or provide you with feedback. (See “Query Strings,” on the next page.)

Server Side Includes (SSIs)

Server sides includes are a type of HTML comment that directs the web server to dynamically generate data for a web page whenever it is requested. SSIs typically use SIS commands to communicate with the products or attached control devices. Using SSIs, you can design and display custom pages, with PCS4 information provided by the SIS commands.

The basic format for an Extron SSI is:

<!—#echo var=”x”—>

where x is the SIS command to be executed.

When a web page is requested, the web server removes the SSI and replaces it with the answer to the SIS command within quotes.

Server Side Include Using the Host SIS command

SIS Command

<!--#echo var="

N

"-->

*type with no spaces

SIS command

to be processed

by the IP Link

Figure 24. Example of SSI Command

In the figure above, the N command is used to request the PCS4 part number.

Query Strings

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”>Receptacle 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 PCS4 will remove and execute.

Like SSI formatted commands, query strings can use any valid SIS command.

IPL T PCS4 • HTML Configuration and Control 35

Image 41
Contents IPL T PCS4i IPL T PCS4Safety Instructions English FCC Class a Notice Notifications Software CommandsConventions Used in this Guide Contents IPL T PCS4 Contents Introduction FeaturesAbout this Guide About the IPL T PCS4IPL T PCS4 Application DiagramsConnection Diagram for IPL T PCS4i Installation Overview Installation Rear PanelsIPL T PCS4i Rear Panel 220 VAC Rear PanelsConnecting the Devices Setting Up the LAN PortConfiguring the LAN Port LAN Port CablingIPL T PCS4 Installation and Rear Panel Front Panel Features Front Panel Features OperationSetting Power Level Reference Thresholds Setting Up the System Using the Front PanelSetting Up Power Control Setting the Full power threshold Standby If the receptacle Is set to Power level Receptacle FullNone and Not Set thresholds LED lit Group Red power LED lit Group Front panel Security Lockout Executive ModeGrouping Receptacles Clearing thresholdsMode Resetting the UnitActivation ResultHold the Reset button in until the Power LED blinks once Setting Up the Computer Using ARP Configuration ControlConfiguring the Hardware ARP-S Command Screen Screen Showing the Ping Command Setting Up the Computer Using a Web BrowserSetting up the computer for IP communication Subnet mask Default gateway Blank or Example of a Default System Settings Configuring the IPL T PCS4 using a web browserPassword Prompt Window Using the Embedded Web PagesSystem Status Web Viewing the System StatusIP settings ConfigurationSpecifying system settings Date and time settings Removing passwords Assigning passwordsTo assign passwords Mail Alerts Screen Upper Portion Entering e-mail addresses for alertsManaging receptacles Upgrading firmwareGrouping receptacles Switching power to receptacles on and offMonitoring Settings section Monitoring the receptacles and setting the alarmAlarm Relay Settings section Scheduling an individual receptacle Scheduling power to receptaclesAll receptacles on and off Scheduling receptacles by day of the weekFile Management One receptacle, power on or offOther file management functions Uploading files to the webAdding a directory Query Strings Custom Web PagesServer Side Includes SSIs Code example Example of a Query String CommandBrowser View of Previous Html Source Code URL EncodingCharacters Hex Dec Reserved charactersUnsafe characters Custom Web Pages Device Power ControlAccessing and Using Telnet Port Power Connections TroubleshootingNetwork Connections Successful Ping Command ResponseDownloading Global Configurator Software Messages Initiated by the IPL T PCS4 SIS Programming ControlHost-to-Interface Communication Error Response References Password InformationError Responses Telnet Web Browser Using the Command and Response TableExample Symbol DefinitionsX5@ X71 Power Receptacle Monitoring and Alarm Functions Command and Response Table for SIS CommandsWeb Browser-specific Commands Set GMT offset24 View GMT offset Password and Security SettingsDirectory Commands Below Telnet text responses Reference Material SpecificationsEthernet control interface AC control interfaceGeneral Alarm relay controlMounting the IPL T PCS4 Interface Part Numbers and AccessoriesMounting the IPL T PCS4 on a Rack Shelf Rack mounting procedureMounting the IPL T PCS4 under Furniture Under-desk Mounting10/100Base-T GlossaryDriver Power level reference threshold Subnet Europe, Africa, and the Middle China East USA, Canada, South America Japan Central AmericaAsia Middle East Europe
Related manuals
Manual 2 pages 35.37 Kb