I make an application with a Visualization with a trace. It shows the temperature over time 10-20 min.
I want by pushing a button reset the trace so it start a 0 again. How can I accomplish that?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your reply Morberis. I didn't even know Trend existed, as I'm stuck on 3.5.12 (waiting for Festo to update their PLC support to a newer stack).
Ok sorry I haven't use Trace before. Looking though I find what looks like a helpful reset command. I don't know if this will make it start at 0 again, it looks like it resets the record trigger.
It might be worth it for you to peruse the help file for more info on Trace. I apologize if you already have. Link 1 Link 2
Also if you do want the Trend make sure that Festo know that this is functionality you want. I'm sure there are reasons why it's not there, maybe if customers give them feedback they can look at that again and find it's worth the effort. If it's not a hard hardware limitation.
For fun you can try importing your Festo Devices and libraries into vanilla codesys, if you have to use a Festo provided Codesys IDE. I found that after doing that Eaton PLC's had some options back. Like rotating visualization elements other than the polygon. But I'm not sure I would do that with a product for a customer.
Last edit: Morberis 2020-12-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I make an application with a Visualization with a trace. It shows the temperature over time 10-20 min.
I want by pushing a button reset the trace so it start a 0 again. How can I accomplish that?
Did you ever get this to work? I have the same request.
If this was a Trend what you could do is have a button that
1) deletes the trend file that is produced
2) produces a new file with the correct name
The Library that would let you do this is CAA FILE
You might be able to do something similar with a Trace.
Thanks for your reply Morberis. I didn't even know Trend existed, as I'm stuck on 3.5.12 (waiting for Festo to update their PLC support to a newer stack).
I had a play with https://forge.codesys.com/prj/codesys-example/trend-example/home/Home/ in 3.5.15 and it looks more suitable for what I want. Just adding the option of absolute timestamps is better than Trace.
You should have access to the Trend in 3.5.12. However that doesn't mean Festo's Codesys IDE/Target Devices support it.
Try adding a Trend though. Here is a link on how to add it etc.
Unfortunately Trend is not supported by my PLC. If I change PLC type then it appears in Codesys.
Ah I was afraid of that.
Ok sorry I haven't use Trace before. Looking though I find what looks like a helpful reset command. I don't know if this will make it start at 0 again, it looks like it resets the record trigger.
It might be worth it for you to peruse the help file for more info on Trace. I apologize if you already have.
Link 1
Link 2
Also if you do want the Trend make sure that Festo know that this is functionality you want. I'm sure there are reasons why it's not there, maybe if customers give them feedback they can look at that again and find it's worth the effort. If it's not a hard hardware limitation.
For fun you can try importing your Festo Devices and libraries into vanilla codesys, if you have to use a Festo provided Codesys IDE. I found that after doing that Eaton PLC's had some options back. Like rotating visualization elements other than the polygon. But I'm not sure I would do that with a product for a customer.
Last edit: Morberis 2020-12-15