Timers And Counters; Math Functions - GE VersaMax PLC User Manual

Table of Contents

Advertisement

OnDelay Stopwatch
ondtr
oftd
tmr
upctr
dnctr
add
sub
mul
div
mod
expt
Trigonometric Sine
sin
cos
tan
asin
acos
atan
deg
Convert to Degrees
rad
Convert to Radians
scale
sqroot
Log
Base 10 Logarithm
Natural Logarithm
ln
exp
108
GFK-1503E
For public disclosure

8.4.3 Timers and Counters

Accumulates time while receiving power. The current value is reset
to zero when the reset input receives power.
Timer
OffDelay Timer
Accumulates time while NOT receiving power.
Accumulates time while receiving power The current value is reset
OnDelay Timer
to zero when there is no power flow.
Up Counter
Increments by 1 each time the function receives transitional power.
Counts down from a preset value every time the function receives
Down Counter
transitional power.

8.4.4 Math Functions

Addition
Adds two numbers.
Subtraction
Subtracts one number from another.
Multiplication
Multiplies two numbers.
Divides one number by another, yielding a quotient.
Division
Divides one number by another, yielding a remainder.
Modulo Division
Raises X to the power specified by IN and places the result in Q.
Power of X
Finds the trigonometric sine of a real number.
Trigonometric
Finds the trigonometric cosine of a real number.
Cosine
Trigonometric
Finds the trigonometric tangent of a real number.
Tangent
Inverse Sine
Finds the inverse sine of a real number.
Inverse Cosine
Finds the inverse cosine of a real number.
Inverse Tangent
Finds the inverse tangent of a real number.
Performs a RAD_TO_DEG conversion on a real radian value.
Performs a DEG_TO_RAD conversion on a real degree value.
Scaling
Scales an input constant or word value.
Square Root
Finds the square root of an integer or real value.
Finds the base 10 logarithm of a real value.
Finds the natural logarithm base of a real number.
Raises the natural logarithm base to the power specified by input.
Power of e
VersaMax PLC User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents