FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
04-11-2023 11:57 AM
Hello,
for my application I need to save different data of the cycle done in csv file.
How can I save this data in a csv file that is located in the ctrlX CORE?
Solved! Go to Solution.
04-11-2023 04:18 PM
Hi AGME,
there is a topic where someone is explaining what you want to do.
Solved: Re: Data Logging with CtrlX (boschrexroth.com)
Regards
04-12-2023 10:19 AM
Hello,
thanks for your reply, I have managed to create the csv file but now I have some questions about how to adapt it to my application.
I need to save data every cycle, so I need to save in the same csv file in each row the data of the cycle. How can I do this?
In the example you sent me you write a single buffer but I need that buffer to change every cycle.
04-12-2023 10:33 AM
Hi AGME,
I think writing each PLC cycle in a csv file, which is on the flash, is not a good idea, as this will destroy your flash quickly.
So you should maybe collect your data in the plc, an array or so, and just write it from time to time.
You can also open the file in a different mode which allows you to append data to an existing file.