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.
01-10-2024 10:03 PM
Hi all,
I try to develop a new object which should utilize the DataTagAccess as an "InternalElement". Building the object was no problem, but while testing TwinCat always gives me an exeption when using the read and write commands of the DataTagAccess.
I followed the "Press with 2 cylinders" example from the training and double checked everything. The exeption is thrown in the Extension OnCall method of the DataTagAccess object. I guess that some internal methods are not called correctly. Also the OutHmi struct of the Extension is not filled.
I used the code from an already testet subtree which works just fine. Just converting it to an object gives me problems.
Has anyone tried to build an object using internal elements and maybe got the same problem?
Thanks for any help.
Regards
Fabian
Solved! Go to Solution.
01-11-2024 08:54 AM
Hard to tell what's wrong without looking at your implementation. Maybe it's easiest if you contact the Helpdesk in this case so we can contact you directly.
01-11-2024 09:30 AM
01-11-2024 12:36 PM
Which version of the DataTagAccess object is used?
The actual version is 1.2.12.0 with a bugfix in
V1.2.10.0 assigned address to OutCmd.pData to prevent 0-pointer exeption in case of read-/write-timeout
01-11-2024 12:42 PM
I use the version 1.2.12.0.