Crestron SIMPL+
Contents
Introduction ............................................................................................................................... 1
Quick Start................................................................................................................................. 2
Using System Functions .......................................................................................................... 30
User Defined Functions ........................................................................................................... 31
Compact Flash Functions......................................................................................................... 39
Working with Time.................................................................................................................. 42
Programming Guide - DOC. 5789A
What is SIMPL+? ........................................................................................................ 1
Using SIMPL vs. SIMPL+.......................................................................................... 2
Making it Work ........................................................................................................... 4
Compiler Directives..................................................................................................... 5
Include Libraries.......................................................................................................... 7
Variable Declarations .................................................................................................. 8
User-Defined Functions............................................................................................. 10
Event Functions......................................................................................................... 10
Function Main ........................................................................................................... 12
Input/Output Types.................................................................................................... 13
All About Variables................................................................................................... 16
Arrays ........................................................................................................................ 20
Operators ................................................................................................................... 22
Expressions................................................................................................................ 23
Statements ................................................................................................................. 24
if-else ........................................................................................................................ 24
switch-case................................................................................................................ 26
for Loops ................................................................................................................... 27
Function Definitions.................................................................................................. 32
Function Libraries ..................................................................................................... 38
Delay ......................................................................................................................... 42
Pulse .......................................................................................................................... 43
Software
1
Contents • i
Need help?
Do you have a question about the SIMPL+ and is the answer not in the manual?
Questions and answers