PLC Trends are used for seeing extremely fast scan times. We need them at the PLC level because the HMI is polling at around 500mS. Those trends don't let us see coding issues. Its a different use case compared to an HMI or Scada Trend. On the PLC you can see the data every 10mS. You can see a bit turn on and off in a single scan. Think of it like your own personal Oscilloscope for bits. Do not think of it as an HMI trend.
Use studio 5000 trends for debugging, and creating timing diagrams for bits/logic. They are typically super high resolution but don't cache data for any substantial length of time. Its a debug tool, not a heavy data collection tool.
I've used trends at the airport going to a site with an issue. I created 4 or 5 troubleshooting trends, and exported them. I showed up to site, I imported my trends quickly and found the issue very quickly because I had played compiler waiting on the plane to take me to the plant.
I've set trends up on a super slow polling speed over 30 min. I went and hit every estop in the plant (the polling speed was 1 bit of data every 2 seconds).
You can run multiple trends at once. I've had 7 or 8 going at a time. (I ran out of room on the screen to start and stop them all)
You can export the data from a trend to a CSV file and manipulate the data in a less clunky environment like excel.
There is a way to leave your PC on and store the data to your PC, I never fooled too much with it.. Correction, I couldn't get it to work. (yes you must be online to trend. Its in studio 5000 on your pc. Its not inside the PLC)
There is a way to make your trend start and stop based on a bit. Again this is a troubleshooting application.
Here is a guide on using trends.
https://www.solisplc.com/tutorials/...g-trends-in-allen-bradley-rslogix-studio-5000
IMO the easiest way to get permanent trend data is to use ignition. I would set up ignition, Attach a database, then I would use a transaction group. Full tutorials are here.
https://www.inductiveuniversity.com/courses/ignition/transaction-groups-in-ignition/8.1 it could cost around a grand or 2 just for the database drivers, AB drivers and the transaction group stuff. Their system is modular so you can buy it in pieces. If you bought everything including the MES 3rd party stuff, the whole thing is around 30k
If you enjoy troubleshooting, scripting and the plant can't afford anything, a rasberry Pi and the pylogix library will get plc data pulled into python for you. then you would have to poke around to get your own trends made.
https://github.com/dmroeder/pylogix (dmroeder is on this forum and the reddit forums)
I've also seen HMI scripts for recording data to an SD card. Here is a link if you are using Factorytalk.
I've also seen people max out a PLCs memory creating arrays and their own homebrew data collection.... don't do that by choice. I can't recommend it.