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) | |
LOG (Log Base 10) | ||
EXPT (X to the power of Y) | ||
Compute / Math | ADD | |
SUB | ||
MUL | ||
DIV | ||
MOD (Modulo) | ||
SQRT (Square Root) | ||
NEG (Negate) | ||
ABS (Absolute Value) | ||
Compare | EQ (Equal To) | |
GE (Greater Than or Equal To) | ||
GT (Greater Than) | ||
LE (Less Than or Equal To) | ||
LT (Less Than) | ||
LIMIT (Limit) | ||
MEQ (Mask Equal To) | ||
NE (Not Equal To) | ||
Math Conversions | DEG (Radians to Degrees) | |
RAD (Degrees to Radians) | ||
TRUNC (Truncate) | ||
Move / Boolean Logical | AND (Bitwise And) | |
BAND (Boolean AND) | ||
BXOR (Boolean Exclusive OR) | ||
BNOT (Boolean NOT) | ||
BOR (Boolean OR) | ||
NOT (Bitwise Not) | ||
OR (Bitwise Inclusive Or) | ||
XOR (Bitwise Exclusive Or) | ||
Trigonometry | ACOS (Arc Cosine) | |
ASIN (Arc Sine) | ||
ATAN (Arc Tangent) | ||
COS (Cosine) | ||
SIN (Sine) | ||
TAN (Tangent) |
Provide Feedback