Hi Umair,
In CODESYS Trend Recorder, you can set min and max limits for multiple Y-Axis. In this case, I have used a Global Variable to set the y-axis maximum for temperature. (Also consider using a Persistent Variable, if you would like this to be retained on a power cycle)
You could then assign and Input Configuration to edit this variable from the HMI. In this case I have used “Write Variable”, and allow the user to edit this value with limits between 0…100.
One more useful feature, is to use the pre-built element for trend controlling. If you write click on the trend, you can add elements that will change the timescale, hide variables, and enable zooming or panning.
Hope this helps!


