
User Manual
Chapter 8
GFK-1503F
Jan 2020
Elements of an Application Program
87
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.
8.4.5
Relational Functions
eq
Equal
Tests for equality between two numbers.
ne
Not Equal
Tests for non-equality between two numbers.
gt
Greater Than
Tests whether one number is greater than another. Passes power
if the first number is greater than the second.
ge
Greater Than or
Equal To
Tests whether one number is greater than or equal to another
lt
Less Than
Tests whether one number is less than another.
le
Less Than or
Equal To
Test whether one number is greater than or equal to another.
range
Range
Test the input value against a range of two numbers.
8.4.6
Bit Operation Functions
and
Logical AND
Performs Logical AND of two bit strings.
or
Logical OR
Performs Logical OR of two bit strings.
xor
Logical
Exclusive OR
performs Logical Exclusive OR of two bit strings.
not
Logical Invert
Performs a logical inversion of a bit string.
shl
Shift Left
Shifts a bit string left.
shr
Shift Right
Shifts a bit string right.
rol
Rotate Left
Rotates a bit string left.
ror
Rotate Right
Rotates a bit string right.
bittst
Bit Test
Test a bit within a bit string.
bitset
Bit Set
Sets one bit within a string to true.
bitclr
Bit Clear
Sets one bit within a string to false.
bitpos
Bit Position
Locates a bit set to true within a bit string.
mskcmp
Masked
Compare
Performs a masked compare of two arrays.
Содержание PaCSystems VersaMax Series
Страница 1: ...User Manual GFK 1503F Jan 2020 PACSystemsTM VersaMax PLC USER MANUAL ...
Страница 85: ...User Manual Chapter 7 GFK 1503F Jan 2020 CPU Operation 71 7 1 Parts of the CPU Sweep Figure 47 ...
Страница 284: ...User Manual Chapter 14 GFK 1503F Jan 2020 PID Built in Function Block 270 Figure 216 ...