Omron CX-Supervisor Reference Manual page 36

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Using Aliases
Note:
@SecondsPerMinute
Aliases may also be used to create a complicated expression such as
@HYPOTENUSEsqrt(Opposite
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.
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.
SECTION 4 CX-Supervisor Script Language
= 60
' sets duration
*
Opposite
+
Adjacent
*
35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents