Table of Contents
String Comparisons................................................................................................. 29
Modules .................................................................................................................. 29
Language Elements ..........................................................................................31
Assignments............................................................................................................ 31
Variables........................................................................................................................ 31
Output channels ............................................................................................................ 31
Conditionals ............................................................................................................ 32
IF...ELSE ........................................................................................................................ 32
SELECT...ACTIVE........................................................................................................... 32
SWITCH...CASE ............................................................................................................. 33
Loops ...................................................................................................................... 34
WHILE statements ......................................................................................................... 34
MEDIUM_WHILE statements ......................................................................................... 34
LONG_WHILE statements ............................................................................................. 35
FOR loop structure ........................................................................................................ 35
Waits....................................................................................................................... 36
Naming Waits ................................................................................................................ 36
Types of Waits............................................................................................................... 36
Nesting Waits ................................................................................................................ 37
Canceling Waits............................................................................................................. 38
Comments............................................................................................................... 39
Operators ............................................................................................................... 39
Arithmetic operators ..................................................................................................... 39
Relational operators ...................................................................................................... 39
Logical operators .......................................................................................................... 40
Bitwise operators .......................................................................................................... 40
Assignment operators ................................................................................................... 40
Operator precedence .................................................................................................... 41
Identifiers................................................................................................................ 41
Devices .......................................................................................................................... 41
Device arrays ................................................................................................................. 42
Device array examples .................................................................................................. 43
Device-level arrays ........................................................................................................ 44
ii
NetLinx Programming Language Reference Guide
Need help?
Do you have a question about the NETLINX PROGRAMMING LANGUAGE and is the answer not in the manual?
Questions and answers