Analog values

Hello, I have a question regarding analog value acquisition and storage. It is rather a general question… What is the easiest way to read in a minimum and a maximum analog value and save it. Is there a special function block in FBD that facilitates this? Thanks a lot PLCNext Starter

cmake error.jpg

If you mean how to record the maximum and minimum values from a real-time analog input sample, then something like this should work: [attachment]2021-06-15_16-58-02.jpg[/attachment] Initialise the MinimumValue to a value larger than the maximum range of the analog input. A similar principle can be used to record the maximum value. This will be made simpler when EN/ENO on the MOVE function block is re-introduced in the future. .

2021-06-15_16-58-02.jpg

Thank you for your help!