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

Error in ip_cliente.py #39

Open
daniguille99 opened this issue Nov 14, 2022 · 2 comments
Open

Error in ip_cliente.py #39

daniguille99 opened this issue Nov 14, 2022 · 2 comments
Assignees

Comments

@daniguille99
Copy link

daniguille99 commented Nov 14, 2022

Hello!
I'm having an issue when I run ip_cliente.py with my meter. It seems to work well, but at some point, it appears the next error:

Captura de pantalla 2022-11-14 100456

Does anyone now what that error exactly means and how can I solve it?

Thank you in advance!

@tinogis
Copy link
Member

tinogis commented Nov 14, 2022

A Bad ASDU is received. The length field of the ASDU is not correct. Is possible that a non iec870ree paquet is received?

@tinogis tinogis self-assigned this Nov 14, 2022
@daniguille99
Copy link
Author

daniguille99 commented Nov 14, 2022

I don't think so, because the protocol used by the meter is iec870ree. What I did was running the ip_client.py in vscode only changing the information of the meter and while at first seems to work at this point the error appears:
image
I also tried to change the datetime but the error keeps appearing.
Maybe I misread the meter values, which i interpreted in that way:
der: "Dirección de enlace"
dir_pm: "Punto de Medida"
pwd: "Password"

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

2 participants