Function Block functions

Use Function Block Diagram (FBD) functions to carry out mathematical, comparison, and logical operations.
Functions in the
Function Block Diagram Editor
are similar to instructions, but do not require backing tags, require less memory than instructions, sometimes execute more quickly, and use less space in a function block diagram.
TIP:
FBD functions are available only on CompactLogix 5380, CompactLogix 5480, ControlLogix 5580, Compact GuardLogix 5380, and GuardLogix 5580 controllers.
This table lists the FBD functions that are available in the
Instruction Toolbox
:
Toolbar category
Function
Symbol
Advanced Math
LN (Natural Log)
LNfunction_v33
LOG (Log Base 10)
LOGfunction_v33
EXPT (X to the power of Y)
XPYfunction_v33
Compute / Math
ADD
ADDFunctionIcon_v32
SUB
SUBFunctionIcon_v32
MUL
MULFunctionIcon_v32
DIV
DIVFunctionIcon_v32
MOD (Modulo)
MODFunctionIcon_v32
SQRT (Square Root)
SQRFunctionIcon_v32
NEG (Negate)
NEGFunctionIcon_v32
ABS (Absolute Value)
ABSFunctionIcon_v32
Compare
EQ (Equal To)
EQUFunctionIcon_v32
GE (Greater Than or Equal To)
GEQFunctionIcon_v32
GT (Greater Than)
GRTFunctionIcon_v32
LE (Less Than or Equal To)
LEQFunctionIcon_v32
LT (Less Than)
LESFunctionIcon_v32
LIMIT (Limit)
LIMFunctionIcon_v32
MEQ (Mask Equal To)
MEQFunctionIcon_v32
NE (Not Equal To)
NEQFunctionIcon_v32
Math Conversions
DEG (Radians to Degrees)
DEGfunction_v33
RAD (Degrees to Radians)
RADfunction_v33
TRUNC (Truncate)
Move / Boolean Logical
AND (Bitwise And)
ANDfunction_v33
BAND (Boolean AND)
BANDFunctionIcon_v32
BXOR (Boolean Exclusive OR)
BXORFunctionIcon_v32
BNOT (Boolean NOT)
BNOTFunctionIcon_v32
BOR (Boolean OR)
BORFunctionIcon_v32
NOT (Bitwise Not)
NOTfunction_v33
OR (Bitwise Inclusive Or)
ORfunction_v33
XOR (Bitwise Exclusive Or)
XORfunction_v33
Trigonometry
ACOS (Arc Cosine)
ACSfunction_v33
ASIN (Arc Sine)
ASNfunction_v33
ATAN (Arc Tangent)
ATNfunction_v33
COS (Cosine)
COSfunction_v33
SIN (Sine)
SINfunction_v33
TAN (Tangent)
TANfunction_v33
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.