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

Problems when I change something on the MQTT side #36

Open
famalicom0 opened this issue Jan 31, 2025 · 4 comments
Open

Problems when I change something on the MQTT side #36

famalicom0 opened this issue Jan 31, 2025 · 4 comments

Comments

@famalicom0
Copy link

Hi All,

I'm trying to use this library to communicate with MQTT. Every time I change something in the MQTT program, on the PLC side, I need to force reboot in the update, otherwise I run the risk of sending the PLC into the shutdown state.
Is this a problem with the library?

@priesf
Copy link
Collaborator

priesf commented Feb 3, 2025

Hello,
I do not have information about an issue when updating. Maybe you can share a quick example which causes the problem?

Maybe you can add the deactivation of the functionblocks to your program and check if the issues still exists.
The screenshot is taken from the examples shared with the library if you want to take a closer look.

Image

@famalicom0
Copy link
Author

Hello,

I was trying to use the TCP example with some changes according to my needs, I tried to put the Repeat code as you have in the example and it seems to work a bit better.

Image

Now the PLC goes to service after some time

Image

@priesf
Copy link
Collaborator

priesf commented Feb 4, 2025

Hello,
the error in the logbook 6403 indicates that there might be an issue within the user application.
Check https://help.br-automation.com/#/en/4/diagnostics_support/sys_error/files/syserror_br2000_6403.htm
The modules marked by the logger are usually not causing the error but are affected by it.
Please check your implementations (foremost all pointer usage)
I'm unsure if I can help you without a closer look to the project.

@famalicom0
Copy link
Author

Hello,

This only happens when we update the PLC and it has changes on the MQTT package.
After rebooting the PLC, it works as expected.

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