can someone help me on how to set up trend ?
im actually able to see the trend working if im using my laptop as a plc, however once i change the device to the plc i'm using, it show errors like the attached.
can anyone help me on this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've only seen an error like that when I'm simulating on my laptop rather than running a test on a real PLC. I think it's related to an inability to save or store info when I'm simulating the PLC. I also get this on an actual PLC if I mange to delete the trend files that codesys has generated.
So I would access your PLC's internal storage and see if in PlcPrg/Visu wether you have Application.TrendRecording.xml, Application.NAME.sqlite, and Application.NAME.sqlite.metadata
You can access this storage via FTP if your configuration supports that.
If those files aren't being created trying doing a fresh install to your device wiping existing PLC data, clean your program, and try installing and running it again.
If it still doesn't have those files contact your hardware manufacturer's help line. If they have one.
Also of note, your trend will need time to populate with data. If you're trying to view it before it has saved any data your PLC may crash or I dunno maybe display something else.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
can someone help me on how to set up trend ?
im actually able to see the trend working if im using my laptop as a plc, however once i change the device to the plc i'm using, it show errors like the attached.
can anyone help me on this?
O wow, Alex.
How did you manage to get this dynamic timeline stuff working?
Do you dynamically fill an array?
hello alex,
You may wanna check the configuration of Visualization_Trend1. Looks like there was something configured wrong!
Best regards,
Marcel
@tjarcoboerkoel right click on the trace and click "Insert elements for controlling the trend"
See also https://help.codesys.com/webapp/_visu_c ... n=3.5.13.0
Best regards,
Marcel
I've only seen an error like that when I'm simulating on my laptop rather than running a test on a real PLC. I think it's related to an inability to save or store info when I'm simulating the PLC. I also get this on an actual PLC if I mange to delete the trend files that codesys has generated.
So I would access your PLC's internal storage and see if in PlcPrg/Visu wether you have Application.TrendRecording.xml, Application.NAME.sqlite, and Application.NAME.sqlite.metadata
You can access this storage via FTP if your configuration supports that.
If those files aren't being created trying doing a fresh install to your device wiping existing PLC data, clean your program, and try installing and running it again.
If it still doesn't have those files contact your hardware manufacturer's help line. If they have one.
Also of note, your trend will need time to populate with data. If you're trying to view it before it has saved any data your PLC may crash or I dunno maybe display something else.