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

Modbus TCP blocking forever #16

Open
Konstantin-B87 opened this issue Nov 6, 2020 · 1 comment
Open

Modbus TCP blocking forever #16

Konstantin-B87 opened this issue Nov 6, 2020 · 1 comment

Comments

@Konstantin-B87
Copy link

In modbus.py file, class ModbusTCP initialized with "self.socket.setblocking(True)".
I ran into an issue where the interact function hung inside the interact function and I believe it is because it is waiting for one of the socket.recv() calls to come back.
As there is also a lock which prevents from getting into the wrapper upstream, additional calls will not be able to get through causing all communications with the chamber to stop.

@PaulNongL
Copy link
Member

This is due to the limitation of the (old) F4Ts/Firmware. On F4Ts with older firmware, locking and blocking should be a normal behavior. Newer F4Ts with new firmware, multiple TCP communications are possible, up to 4 TCP connections at a time.

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