We are still working on migrating to the new Bosch Connected Industry Online Portal. Stay tuned! Click here for the latest updates.
08-25-2022 10:22 AM
For our parts we measure some values during assembly cycle. Result of this measurement are 3 arrays [1..1200] of REAL values (eg. current, voltage, resistance). Our customer wants to save this data for every part that means 3600 values for every assebmly cycle.
My question is how and were to store these data?
I tried to add these arrays to PartProcessed > SendBody > Array and send it to MES. I only had to change send buffer size and library constant in TwinCAT and it works and all 3600 values are send.
Then I was talking with colleague from MES team what is next step and he told me this.
Is there any other solution how to deal with that request?
Solved! Go to Solution.
08-26-2022 11:52 AM
Hi,
A solution for your case would be save the result into “.dat” files then transmitting them to MES.
I’ve never tried by myself but it surely works an it is widely used at Bosch Business Unit PS.
On Control Plus Studio, you can set up a DataSetAccess for writing the desired data (in your case the result data) into “.dat” files.
After all basic configuration is done, in TwinCat basically you write your result data to the "shadow data" (eg. ResultDataNew), then with the command "DATA_SAVE" the data will be applied to the active data set (eg.ResultData).
The DataSetManager documentation has some reference code for that, please have a look.
Once the results are saved into “.dat” files, there is a service that can be installed and configured on PLC that transfers “.dat” files to MES (As I don’t remember service name, I will not write here to avoid confusion. Please check with your MES colleague).
08-26-2022 12:06 PM - edited 08-26-2022 12:07 PM
I don't think it's a problem to save the data as .dat or .csv files.
The problem is always how to get the data from the local hard disk to a server and archive it there for a long time...
In the past there was a Cyclic Update service that could automatically move files from a station to a server path...
08-26-2022 12:20 PM
Thorsten you are absolutely right. Saving to files is something I do not want at all. I do not want to care about file trasfer, storage size and I also think this is not good for CFast card in our PLCs even though it is industrial with lot of write cycles.
I am looking for some clean "network" solution. I do not understand why it cannot be processed in MES. I am able to succesfuly send XML to MES and I do not know, why they are not able to process it somehow.
Do you know someone from MES, who is able to help us with this request?
08-29-2022 03:50 AM
Like you said, MES should be able to handle this. I suspect you haven't talked with the right MES engineer yet. Although maybe it really is the case that only the Result structs are convenient for them to handle but raw REAL arrays are not.
In MES there is also a "curve data" feature or something like that which is meant exactly for this use-case: Just transmit a lot of plain data without much semantics or structure. But I have never seen it used anywhere, so maybe it was rather an idea only to have this feature and it never really matured.
Good luck finding some support.