PML Customisation
User Guide
PML Expressions
: Units in Real Expressions
Units in Real Expressions
Real expressions evaluate to a real and a resultant dimension (physical quantity or measure). For example:
•
adding two distances together create a distance (or length) quantity
•
multiplying two distances creates a quantity of area
Functions require compatible units, for example trigonometric functions will expect to operate on angles.
If a pure numeric is supplied instead of a physical quantity then it must be a compatible physical quantity (e.g. SIN(!ANGLE) or !DIST +!DIST) then it will be assumed to be of that quantity and in current working units of that quantity. Otherwise it will be simply taken to be a number.
The result of the expression will be returned in current working units of the dimensions (e.g. 1metre + 10cm will return 1100mm when current distance units are mm).
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.