INTEGRAL

Integrates a real value.
lrsb_int1
Arguments
RUN
BOOL
Determines the mode:
  • TRUE = integrate
  • FALSE = hold
R1
BOOL
Resets the override
XIN
REAL
Uses any real value
X0
REAL
Defines the initial value
CYCLE
TIME
The sampling period where the value ranges from 0ms to 23h59m59s999ms.
If the CYCLE parameter value is less than the real duration of the cycle time in the virtual machine, the sampling period uses the real duration of the cycle time.
Q
BOOL
(output) Determines if R1 reset the override:
TRUE = R1 is FALSE
FALSE = R1 is TRUE
XOUT
REAL
(output) Results in the integrated output value
Function Block Diagram
lrsb_int2
(* ST Equivalence: INTEGRAL1 instance of INTEGRAL block *)
INTEGRAL1(manual_mode, NOT(manual_mode), sensor_value, init_value, T#100ms); controlled_value := INTEGRAL1.XOUT;
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal