
Section 8. Real-Time Monitoring and Control Software
8.1.5.3 Predefined Constants
Constant Description
e 2.718282
PI 3.141593
True -1
False 0
NOPLOT NAN
NAN NAN
INF INF
8.1.5.4 Predefined Time Constants
These predefined time constants can be useful as a parameter for the Functions
with State, where the interval parameter must be specified in nanoseconds.
Constant Description
nsecPerUSec Number of nanoseconds in a microsecond
nsecPerMSec Number of nanoseconds in a millisecond
nsecPerSec Number of nanoseconds in a second
nsecPerMin Number of nanoseconds in a minute
nsecPerHour Number of nanoseconds in an hour
nsecPerDay Number of nanoseconds in a day
nsecPerWeek Number of nanoseconds in a week
8.1.5.5 Functions
The following functions show the use and placement of the numbers the
function operates on. The parentheses are not required unless there are two or
more parameter values. (e.g., ATN2(y,x))
Function Description
ABS(x) Returns the absolute value of a number.
ACOS(x) Returns the arc cosine of a number.
ASIN(x) Returns the arc sine of a number.
ATN(x) Returns the arc tangent of a number.
8-13
Kommentare zu diesen Handbüchern