Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KrisztianOlah opened this issue Oct 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@KrisztianOlah
Copy link
Collaborator

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).

@KrisztianOlah KrisztianOlah added bug Something isn't working question Further information is requested labels Oct 16, 2024
@AdamPitak
Copy link

also there need to be a communication with camera by "ExtendedUserDataSet" and "ExtendedUserDataSetAcknowledge"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants