stlehmann / pyads

Python wrapper for TwinCAT ADS
MIT License
254 stars 94 forks source link

read_list_by_name generates "ADSError: parameter size not correct (1797)." but write_list works #257

Closed ako-kft closed 3 years ago

ako-kft commented 3 years ago

Stefan, first of all: fantastic work! This little module got me right out of the blocks.

I stumbled upon an issue I am unable to resolve:

image

read_by_name, write_by_name both work just fine. Any ideas what read_list_by_name is complaining about?

My host machine is Ubuntu 20.04, my PLC is a TwinCAT3 machine.

Thank you for your support! Best regards, Adrian

PS: I am obviously too dumb to get code snippets to format properly... (facepalm) I apologize for the picture.

chrisbeardy commented 3 years ago

I think this is the same issue as #232 . Therefore can i polielty ask you to close this issue and we can track it through #232.

ako-kft commented 3 years ago

Agreed. -Adrian