08-04-2022 08:35 AM
Hi Community,
I have a problem with the object mentioned in the topic.
The struct SchleichHighVoltTestGeneralStruct has a variable named MeasurementTime in the .osd file.
In TwinCAT, however, the variable of the same sturct was called TestStepTime.
This difference leads to DDL errors when using the Sturct as a result for MES because it cannot access the variable on the OPCUa interface.
Can someone help me?
greeting
René
Solved! Go to Solution.
08-04-2022 08:49 AM
Can you provide detailed DDL error information, which is helpful to solve the problem.
08-04-2022 09:32 AM
Hello René, thanks for the hint!
This is indeed a mistake in the OSD file. We will fix this and publish the update with the next monthly release. If you cannot continue your work without the fix, I would suggest you correct the OSD file yourself for the time being.
08-04-2022 11:37 AM
I tried to change the read-only attribute of the OSD file, and then modified the data type of some parameters and tested it. The data type in OES has changed, but it still remains unchanged in TwinCAT3. It seems that it cannot be modified. Is it locked there?
08-04-2022 11:45 AM
OSD files are not exported to the PLC. They just describe the content of the PLC library so OES / Control plus Studio has the information. You need to adapt the OSD file to the library, not the other way round. Unless there is a mistake in the OSD files it doesn't make sense to modify them.