Crestron SIMPL+
SIMPL+
Introduction
Programming Guide – DOC. 5789A
What is SIMPL+?
SIMPL+ is a language extension to SIMPL Windows
but instead it enhances it. With SIMPL+ it is now possible to use a procedural "C-
like" language to code elements of the program that were difficult, or impossible
with SIMPL alone.
A SIMPL+ program is a module that directly interacts with the control system. In
order to interact with the control system, a module must contain a few essential
elements. The first element is a starting point. A starting point is needed for two
reasons. First, it serves as a convenient place to initialize any global variables that
are declared within the module. Second, any functionality that the module needs to
perform on its own (instead of being triggered though an event), can be instantiated
here. Another element is event processing. In order for a SIMPL+ module and a
control system to interact, they must be able to send and receive signals to and from
one another. Input and output (I/O) signals are declared within the module and are
then tied directly to the control system. Input signals are sent from the control
system and are received within the SIMPL+ module. Output signals are sent from
the SIMPL+ module to the control system. Events are functions that are triggered
through input signals from the control system. I/O signals can be either digital,
analog or serial and are declared within the SIMPL+ module. Events tell the
SIMPL+ module that something has changed within the control system and allows
the module to perform any action accordingly.
For Whom is this Guide Intended?
This manual assumes the reader has at least a working knowledge of the SIMPL™
Windows programming environment. This includes the ability to configure a new
program (define the hardware), and interconnect user-interfaces (e.g., a touchpanel)
and system outputs (e.g., a relay). Knowledge of the SIMPL logic symbols is not
required, but is helpful in understanding some of the examples presented herein.
This guide is intended to be the complete SIMPL+ programming guide, appropriate
for the beginning SIMPL+ programmer, or the expert programmer looking for a
refresher course. This guide, along with The SIMPL+ Reference Manual should
provide all the information needed for any SIMPL+ programmer.
Software
. It does not replace SIMPL,
SIMPL+
• 1
Need help?
Do you have a question about the SIMPL+ and is the answer not in the manual?
Questions and answers