Table of Contents
3
Notice ................................................................................................1
Trademarks and copyrights..................................................................................................................1
Copyright..............................................................................................................................................1
SECTION 1
Introduction ....................................................................................11
SECTION 2
Expressions....................................................................................13
SECTION 3
Scripts.............................................................................................17
3-1 Object.................................................................................................................................................17
3-2 Page...................................................................................................................................................17
3-3 Project................................................................................................................................................17
SECTION 4
CX-Supervisor Script Language...................................................19
4-1 Points .................................................................................................................................................20
4-1-1 Basic Point Assignment ........................................................................................................20
4-1-2 Further Point Assignment .....................................................................................................20
4-2 Logic and Arithmetic...........................................................................................................................21
4-2-1 Arithmetic Operators.............................................................................................................21
4-2-2 Bitwise Operators..................................................................................................................22
4-2-3 Logical Operators ................................................................................................................22
4-2-4 Relational Operators.............................................................................................................23
4-3 Control Statements ............................................................................................................................24
4-3-1 Simple Conditional Statements.............................................................................................24
4-3-2 Nested Conditional Statements ............................................................................................25
4-3-3 Case Select ..........................................................................................................................27
4-3-4 FOR... NEXT Loop................................................................................................................28
4-3-5 DO WHILE/UNTIL Loop........................................................................................................29
4-4 Subroutines........................................................................................................................................29
4-4-1 Call........................................................................................................................................29
4-4-2 Return ..................................................................................................................................30
4-5 Punctuation .......................................................................................................................................30
4-5-1 Command String Delimiters..................................................................................................30
4-5-2 Indentation ............................................................................................................................30
4-5-3 Multiple Commands ..............................................................................................................31
4-5-4 Parenthesis...........................................................................................................................31
4-5-5 Quotation Marks....................................................................................................................31
4-5-6 Remarks................................................................................................................................31
4-6 Indirection within Script Commands and Expressions .......................................................................32
4-7 Point Arrays within Script Commands and Expressions ....................................................................33