FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
02-15-2023 05:54 PM - edited 02-15-2023 05:55 PM
A customer needs a solution to read data from PROFINET devices approx. each 10ms and has to send it to a database on the ctrlX CORE (he don't want to send it to an other server, just store it on the CORE itself for example with InfluxDB database).
It will be approx. 500 Byte data per 10ms (-> that's 50kByte per sesond, -> 180 MByte per hour). (Customer has to take care himself to make a ring memory...) Usage: Customer wants to store data of devices to check in case of a machine crash etc.)
I can think of the following solutions:
1) CORE X3 Plus as PROFINET-Device (as Profinet-Hardware, advantage: data are directly in datalayer) with APPs InfluxDB and Telegraf
2) CORE X3 (Standard) with Codeysys Addon as PROFINET-device softstack and APPs InfluxDB and Telegraf and of course PLC App for the PROFINET-softstack.
3) Solution 1 but with additional PLC-App to buffer data in arrays if sending data to InfluxDB would be too slow !?? The same with solution 2 with additional PLC code for buffering data if needed.
4) or write with PLC-App in a file like mentioned here: https://developer.community.boschrexroth.com/t5/ctrlX-PLC/Data-Logging-with-CtrlX/m-p/62675 )
We would be happy for your suggestions !!
The most important question:
How fast can be the data transmission coming from PROFINET into the datalayer and then write to InfluxDB ? for solution 1) and 2)
(The ctrlX CORE will be used just for this function. So no other processes then mentioned above will run.)
Are the values coming via PROFINET into the datalayer are equidistant in time ?🤔
Regards
Stefan Svoboda
Solved! Go to Solution.
02-17-2023 08:55 AM - edited 02-17-2023 08:57 AM
One remark: As the data layer is a broker it does not hold any data but knows the location and publishing/distribute them. So if a app is providing data they are there instantaneously as the app itself is providing them.
02-17-2023 12:08 PM
Thank you for the informations !
Oh, yes, I was wrong, I thought to collect data from different devices. You are right, the ctrlX has to be the controller.
Or the S7 has to be the Profinet controller and the CORE the device. We check with customer.