OMRON
General Commands
Exponential
Description
Mathematical function to calculate a value raised to a power.
Syntax
result = Exp (value, exponent)
Remarks
Argument
result
value
exponent
Typical Example
MSBMask = Exp (2, 15)
In this example, 'MSBMask' is assigned the value 2
PlayOLE
Description
Initiate an OLE verb or 'method' on an OLE 2 object. The verb number is object dependent so refer
to the object's documentation. This function is now largely obsolete as most objects are nowadays
ActiveX objects.
Syntax
returnstate = PlayOLE("objectname",OLEVerbNumber)
Revision 2.0
Type
integer
Point name to receive returned result of value raised to
the power of exponent.
integer
Number to raise.
integer
Power to raise value by.
15
, i.e. 32,768.
CHAPTER 6 – Functions and Methods
Description
Page 49
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?
Questions and answers