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?
Solved! Go to Solution.
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.
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?
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.