![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212041.webp)
CHAPTER 4 – CX-Supervisor Script Language
OMRON
Page 28
Revision 2.0
In order to dynamically change the element of a Boolean point that a toggle button is linked to follow
these steps.
1, 2, 3…
1.
Link the toggle button to an array point. e.g. ‘motor[index]’.
2.
Change the value of the ‘index’ to determine which element of the Boolean
point to control. e.g. via the Edit Point Value (Analogue) animation.
Using Aliases
This facility is used to declare an alias - that is, to define a text string that can be used in place of
another text string or a number within any script or expression. The Alias Definitions dialog is
displayed by selecting the “Alias Definition...” option from the Project menu. It can also be
displayed if “Aliases...” is selected from the script editor. The dialog displays either the User
defined aliases or the preset System aliases and is toggled between these two displays by pressing the
User/System Alias button.
The following illustration shows the Alias Definitions dialog displaying a number of User defined
aliases. The System aliases are pre-defined and can not be edited or added to.
Syntax:
@AliasName
Alias definition
'optional comment
Summary of Contents for CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Page 2: ...CX Supervisor Script Language Software Revision 2 0...
Page 3: ......
Page 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Page 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Page 13: ......
Page 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Page 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Page 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Page 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...