Jump to content

Recommended Posts

Posted

I current have 2 variable: Displacement vs Pressure. I need to draw a real time graph on Comfort Panel. The problem with using just f(x) trend is that the minimum time between updating a point is 0.5 sec and that is for ever in my application as the whole cycle last only 5 sec and I have to plot 500 points in that time.

Is there a way to do real time graph using Historical data without any time delay. If anybody can guide me through any sample program or material would e helpful.

Thanks


Posted

I would use the PLC memory to store your samples since you want a resolution ten times better than the update rate between the panel and PLC.

Use a time delayed interrupt to store your samples.

Posted

Thanks for the reply.

Now storing the sample is not a problem. I can store all the values I get in my auto cycle time inside the PLC. But when it comes to drawing a X vs Y trend on screen there is where the issue is.

I cannot draw in Real time so is there a way I can draw from an Array instead of just a variable.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...