OMRON
CHAPTER 1 - Introduction
Revision 2.0
Page 1
CHAPTER 1
Introduction
This reference manual describes the script language syntax as a supplement to the CX-Supervisor
User Manual. It provides detailed definition of the syntax of CX-Supervisor scripts that drive project,
page, object actions and CX-Supervisor expressions as used by objects and scripts.
Typographic conventions used in the examples in this reference manual are as follows:
♦
Script commands and reserved words are shown in the preferred case, which may be either
lower-, upper- or mixed-case.
♦
Points are shown in lower-case. Objects are shown in upper-case.
The following terms are used in this reference manual:
♦
Application. A set of files, containing an executable file, that carry out certain tasks. This
reference manual refers to the Microsoft Excel and Microsoft Word for Windows applications.
♦
Constant. A point or object within a script that takes only one specific value.
♦
Executable. A file that contains programs or commands, and has an ‘*.EXE’ extension.
♦
Nesting. To incorporate one or more IF THEN ELSE/ELSEIF ENDIF statements inside a
structure of the same kind.
♦
Operands. Constants or point variables.
♦
Operators. Relational, arithmetic, and logical statements, for instance ‘+’, ‘<=’ or ‘AND’.
♦
Or (‘|’). The ‘|’ symbol is used to represent ‘or’, where there are two or more forms of the same
syntax.
♦
Point Types. Either Boolean, Integer, Real or Text.
♦
Point Variable. A point or object within a script that may take different values.
♦
Strings. Data in the form of text delimited by quotation marks (“ ”), which can be assigned to a
point.
♦
The ‘{’ and ‘}’ braces. Must be inserted around the argument command or an error is reported.
An error is reported if there are spaces between braces.
♦
‘TRUE’ and ‘FALSE’. Refer exclusively to Boolean states, where Boolean state 0 is ‘FALSE’
and Boolean state 1 is ‘TRUE’.
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...