We are moving! We are currently migrating our community to the new Bosch Connected Industry Online Portal. The community will be available latest in the new year again, until then it will be in read-only mode. Click here for more information.
05-12-2023 07:57 AM - edited 05-15-2023 04:00 AM
Hello,
I would like to ask some implementation questions about PLC side, when use setup control of MES.
1.Should I configure the OpconXml in the DataSetManager ?
2.If select OpconXml, the DDL events will be sent by DataSetManagerAddon automatically during executing load data command or I need to create DDL events based on the xml file exported by Cpstudio?
3.if it is sent automatically, where can I find the structure 'DataAccessHead' and assign specific value, for example: type number
another question about public interface:
is it possible to use the xml and OPC UA at the same time? I mean telegram use xml, DatsSetManger use public interface
thank you~
05-15-2023 03:49 PM
Hi,
You need to create seperate DDL events (dataDownloadRequired, etc.) for the XML communication.
DataSetManager is only for accessing and handling the datafiles (TypeData, StationData, etc.) on the PLC, and also for OPC-UA communication. With XML, you need to manually assign the variables to the telegram items and then call the execution of the event.
For the 2nd question, I think you can only use one adapter per station (either XML or OPC-UA).
05-16-2023 04:24 AM
thank you for the response^^
05-16-2023 06:42 AM - edited 05-16-2023 06:46 AM
05-16-2023 10:01 AM - edited 05-18-2023 02:53 AM
Thank you so much~ ^^
Acutually my request is that the DataSetManager can be switched quickly with minimal project changes, when the MES is online/offline.
1.About additional question, I mean that like partProcessed telegram use the OpconXml, but DataSetManager use public interface OPC UA/local service, I see comment if I set the target service to OpconDataSetTargetService.PAR_IMM, it can be switched between local and OPC UA, but I am not sure if the two communication methods can be worked at the same time between MES and PLC. and if can, I do not know how is it working, after setting, for example: if executing the command Data_load, MES will transfer data of the type data shadow structure to PLC directly during the Data_load process?
2.as you mentioned, if I use the OpconXml for DataSetManager, after Data_load command, PLC will get data via dataDownload telegram from MES, then check the plausibility of shadow data, next if the apply set to true, the shadow data will be transfer to the active stucture? if the local .dat file will be also created during this procedure? , is there any creating new local file command?