Table Of Contents - Crestron SIMPL+ Programming Manual

Crestron simpl+ software: software guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Crestron SIMPL+
Contents
Introduction ............................................................................................................................... 1
Quick Start................................................................................................................................. 2
The Structure of a SIMPL+ Program......................................................................................... 5
Working with Data (Variables)................................................................................................ 13
Operators, Expressions, and Statements .................................................................................. 22
Controlling Program Flow: Branching .................................................................................... 24
Controlling Program Flow: Loops ........................................................................................... 27
Using System Functions .......................................................................................................... 30
User Defined Functions ........................................................................................................... 31
Compact Flash Functions......................................................................................................... 39
Working with Time.................................................................................................................. 42
Programming Guide - DOC. 5789A
What is SIMPL+? ........................................................................................................ 1
For Whom is this Guide Intended?.............................................................................. 1
Using SIMPL vs. SIMPL+.......................................................................................... 2
What is Needed to Use SIMPL+?................................................................................ 2
Where Can I Get More Information?........................................................................... 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
while and do-until Loops........................................................................................... 29
Exiting from Loops Early.......................................................................................... 30
Function Definitions.................................................................................................. 32
Defining Local Variables In Functions...................................................................... 34
Passing Variables to Functions as Arguments........................................................... 35
Functions That Return Values ................................................................................... 36
Function Libraries ..................................................................................................... 38
CheckForDisk and WaitForNewDisk........................................................................ 39
Reading and Writing Data......................................................................................... 40
Delay ......................................................................................................................... 42
Pulse .......................................................................................................................... 43
Software
1
Contents • i

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIMPL+ and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF