8.4.3 Timers and Counters
ondtr
OnDelay Stopwatch
Timer
Accumulates time while receiving power. The current value is reset
to zero when the reset input receives power.
oftd
OffDelay Timer Accumulates time while NOT receiving power.
tmr
OnDelay Timer
Accumulates time while receiving power The current value is reset
to zero when there is no power flow.
upctr Up Counter Increments by 1 each time the function receives transitional power.
dnctr Down Counter
Counts down from a preset value every time the function receives
transitional power.
8.4.4 Math Functions
add Addition Adds two numbers.
sub Subtraction Subtracts one number from another.
mul
Multiplication Multiplies two numbers.
div Division
Divides one number by another, yielding a quotient.
mod Modulo Division
Divides one number by another, yielding a remainder.
expt
Power of X
Raises X to the power specified by IN and places the result in Q.
sin
Trigonometric Sine Finds the trigonometric sine of a real number.
cos
Trigonometric
Finds the trigonometric cosine of a real number.
Cosine
tan
Trigonometric
Tangent
Finds the trigonometric tangent of a real number.
asin Inverse Sine Finds the inverse sine of a real number.
acos
Inverse Cosine Finds the inverse cosine of a real number.
atan
Inverse Tangent Finds the inverse tangent of a real number.
deg Convert to Degrees Performs a RAD_TO_DEG conversion on a real radian value.
rad Convert to Radians
Performs a DEG_TO_RAD conversion on a real degree value.
scale
Scaling Scales an input constant or word value.
sqroot Square Root Finds the square root of an integer or real value.
Log Base 10 Logarithm Finds the base 10 logarithm of a real value.
ln
Natural Logarithm Finds the natural logarithm base of a real number.
exp
Power of e
Raises the natural logarithm base to the power specified by input.
108 GFK-1503E VersaMax PLC User Manual
For public disclosure