Operating instructions
SIS
™
Programming and Control, cont’d
MLC 104 Plus Series • SIS Programming and Control
4-28
PRELIMINARY
Command/response table for SIS commands (continued)
Command ASCII (Telnet)
(host to MLC)
URL Encoded (Web)
(host to MLC)
Response
(MLC to host)
Additional description
Event control
Start all events.
Start events
27
E
1AE
}
W 1AE
|
Ego
]
Stop running all events.
Stop events
27
E
0AE
}
W 0AE
|
Est
]
Query quantity of events running
E
AE
}
W AE
|
#####
]
or Enm #####
]
The response is the quantity of currently
running events, and it includes leading
zeros. For example, if two events are
running, the response is 00002
]
.
Set the event number (
X3%
) to hook to front panel button presses (hardware-script interactions)
24
If desired, use this command to designate an
event script (
X3%
.evt) to be used to track and
react to hardware happenings and MLC/
IRCM/SCP button presses.
X3%
= event number (0 - 99). The default
value of
X3%
after a system reset is 255.
X21&
= firmware’s event status polling
period from 0 to 255 in 20 ms increments.
X21&
is optional: if it is not set, it defaults
to 100 (2 seconds) and is not shown in the
command’s response. If
X21&
is set to 0,
the firmware does not poll for event status.
E
X3%
*
X21&
EN
}
W
X3%
%2A
X21&
EN
|
Ehk
X3%]
or Ehk
X3%
*
X21&]
N
“Hooking” an event involves associating the event with a specific button so that event will be automatically executed
when the designated button is pressed.
N
The MLC's firmware checks (polls) the status of event scripts on a regular basis. Variable
X21&
represents the length of
time between event status checks.
N
This command is optional. You do not have to use this command to set up the MLC. By default, during configuration, the configuration software associates the main event
script file (0.EVT) with hardware events and button presses. Once that event file has been compiled, it is capable of receiving information from the MLC’s register that tracks
hardware actions and button presses. In response to a detected button press or other hardware happening, the event script can then tell the MLC to change relays, issue
commands, or make some other change. You would use this command only to associate a different event script file with tracking and responding to hardware/button actions.
Read the number of the event that is hooked to hardware/front panel changes
E
EN
}
W EN
| X3%]
or
X3%
*
X21&]
Read the event number/event script (
X3%
).