EasyManuals Logo

Omron CX-Supervisor Reference Manual

Omron CX-Supervisor
164 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #36 background imageLoading...
Page #36 background image
Using Aliases SECTION 4 CX-Supervisor Script Language
35
@SecondsPerMinute = 60 ' sets duration
Aliases may also be used to create a complicated expression such as
@HYPOTENUSEsqrt(Opposite * Opposite + Adjacent *
Adjacent) 'Calculates length of Hypotenuse
This can be used in a script in the following way:
Opposite = 8.45
Adjacent = 9.756
length = @HYPOTENUSE
where Opposite, Adjacent and length are all REAL points.
Note: Changing an alias definition after it has been used in an expression or script
will not automatically change the result in the script. The appropriate script or
expression where that alias is used must be accessed and recompiled by
pressing the OK button in order to apply the changes.

Table of Contents

Other manuals for Omron CX-Supervisor

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-Supervisor and is the answer not in the manual?

Omron CX-Supervisor Specifications

General IconGeneral
BrandOmron
ModelCX-Supervisor
CategorySoftware
LanguageEnglish

Related product manuals