INTEGRAL
Integration of a real value.

Arguments | ||
---|---|---|
RUN | BOOL | Mode: TRUE=integrate / FALSE=hold |
R1 | BOOL | Overriding reset |
XIN | REAL | Input: any real value |
X0 | REAL | Initial value |
CYCLE | TIME | Sampling period. Possible values range from 0ms to 23h59m59s999ms. |
Q | BOOL | Not R1 |
XOUT | REAL | Integrated output |
If the "CYCLE" parameter value is less than the cycle timing of the execution of the controller in the target, the sampling period is forced to this cycle timing.
Example
(* FBD Program using "INTEGRAL" Block: *)

(* 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