
MLC 104 IP Plus Series • Special Applications
137
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 part number of the unit.
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 embedded web
page(s) or in the monitor-
triggered e-mail.
HTML echo
command
NOTE:
Do not use spaces between SIS commands. Do use web encoding.
See page 72 in the SIS section for details about how to
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 following example 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
Summary of Contents for MLC 104 IP Plus Series
Page 6: ......