Subtraction

Subtracts two integer or real variables (first - second).
lrso_sb1
Arguments
IN1
DINT - REAL
can be integer or real format
IN2
DINT - REAL
(IN1 and IN2 must have the same format)
Q
DINT - REAL
subtraction (first - second)
Example
(* FBD example with Subtraction Operators *)
lrso_sb2
(* ST equivalence: *)
ao10 := ai101 - ai102;
ao5 := (ai51 - 1) - ai53;
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal