Ssi command types and syntax, Host vs. remote commands, Command syntax – Extron Electronics MLC 104 Plus Series User Manual

Page 138: Example: ssi use in notification e‑mails, Ssi command types and syntax -34, Preliminar y, Special applications, cont’d

Advertising
background image

Special Applications, cont’d

MLC 104 Plus Series • Special Applications

5-34

PRELIMINAR

Y

SSI command types and syntax

Host vs. remote commands

SIS commands for MLCs and other IP Link-enabled devices fall into two categories:

host or remote.
Host commands instruct the MLC, itself, to act or respond.
Remote commands send data to an external control port on the MLC.

Command syntax

Basic syntax for server side includes is as follows:

<!--#directive parameter=x parameter=x --> where

• “directive” is an instruction to the server such as

include file (to include/

insert the content of one document into another file) or

echo var (to display

a particular HTTP variable)

• the variable (

x) is one or more SIS commands enclosed in quotation marks

(“x“)

For IP Link-enabled devices including the MLC, see the following examples of the

basic SSI command format.

Server Side Include (SSI) Syntax for a Host SIS Command

<!--#echo var=" "-->

<!--#echo var="N"-->

<!--#echo var="1Z0P"-->

<!--#echo var="6S"-->

<!--#echo var="W CT

|"-->

SIS command to be

executed by the MLC

(must be typed without spaces)

Request unit’s part number.

Turn audio mute on (1Z),

turn display power off (0P).

View lamp hour status.

View date

and time.

W is the Web-encoded
substitute for the

E

key.

Examples:

Quotation marks are delimiters.

The results of the echo
command are displayed in
the MLC’s Web page(s) or
in the monitor-triggered
e-mail.

HTML echo

command

N

Do not use spaces between SIS commands. Do use Web encoding. See chapter 4

for details about how to encode SIS commands for Web use.

Example: SSI use in notification e-mails

One simple way to use host SSI commands is to customize e-mail messages that

the MLC sends in response to a monitored condition. In the example shown below,

the disconnection e-mail uses SSIs to insert the unit name, IP address, and time into

an e-mail that is sent when the MLC detects that a device attached to it has been

disconnected. For more information on commands, see the Command/response

table for Simple Instruction Set (SIS) commands in chapter 4.

Advertising
This manual is related to the following products: