Using Aliases - Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual

Script language
Table of Contents

Advertisement

CHAPTER 4 – CX-Supervisor Script Language
In order to dynamically change the element of a Boolean point that a toggle button is linked to follow
these steps.
1, 2, 3...

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
Page 28
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.
Alias definition
'optional comment
OMRON
Revision 2.0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents