Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

[BUG] TcoCognexVision.TcoInsight_v_5_x_x does not write userdata back to the hardware #752

@KrisztianOlah

Description

@KrisztianOlah

Describe the bug
When using SetUserDataAsString(string,uint) or SetUserDataAsByte(byte,uint) the data will show correct values on the hmi, but not on the hardware, thus no data is sent to camera.

To Reproduce
Map camera, plug in correct hw structure to component.
Call either of the above methods.
Check data on ethercat I/O structure

Expected behavior
Expected would be that the component updates the physical outputs without further action.

Current workaround:
FOR i :=0 TO 63 DO GVL_Profinet.Cam_30.UserData.UserData[i] := Components.Insight._userData.UserData[i]; END_FOR

Additional context
Using latest published version of TcOpen (0.11.0-alpha.79).

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions