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

Pycomm3 running on Linux Ubuntu. '\x08\x00\x00\x00Galera 1' #70

Open
abalvaradog opened this issue Mar 15, 2021 · 0 comments
Open

Pycomm3 running on Linux Ubuntu. '\x08\x00\x00\x00Galera 1' #70

abalvaradog opened this issue Mar 15, 2021 · 0 comments

Comments

@abalvaradog
Copy link

Hello thank for share the code.

I am wrote a code to read one array of UDT. That script run fine in Windows 10 Pro but when I try in Linux Ubuntu 18 the return from ControlLogix show a wear value.

#***********************************************************
from pycomm3 import LogixDriver
with LogixDriver('77.171.2.62') as CLXSiloClinker:
filas=CLXSiloClinker.read('Registros[98]')
print(filas)
#*************************************************************

Return in Linux Ubuntu:
Registros[98], {'Conductor': '', 'Destino': '\x08\x00\x00\x00Galera 1', 'Dia': 1, 'Hora': 0, ...}, QP_RegistroCamiones, None

The value in a ControlLogix filas['Destino'] must be 'Galera 1' but I get '\x08\x00\x00\x00Galera 1'
If I run the same Python script on Windows 10 Pro this sript run well

I do not know what I doing wrong

thank you for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant