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

ReadCoil (0,1) falling into internal infinity loop #86

Open
Sergio558 opened this issue Aug 27, 2022 · 0 comments
Open

ReadCoil (0,1) falling into internal infinity loop #86

Sergio558 opened this issue Aug 27, 2022 · 0 comments

Comments

@Sergio558
Copy link

Sergio558 commented Aug 27, 2022

Other combinations of Adr and Quantity giving adequate responses.
When calling 27.08.2022 10:37:14.99 FC1 (Read Coils from Master device), StartingAddress: 0, Quantity: 1 - getting no return/exceptions to my program, while both catches TimeoutException and CRCCheckFailedException was set.
Looks like it doesn't throw such exceptions at all , while StartingAddressInvalidException was catch OK.
Debug log:
27.08.2022 10:37:06.76 FC1 (Read Coils from Master device), StartingAddress: 0, Quantity: 7
27.08.2022 10:37:06.77 Send Serial-Data: 01-01-00-00-00-07-7D-C8
27.08.2022 10:37:07.77 StartingAddressInvalidException Throwed
27.08.2022 10:37:08.82 Received Serial-Data: 01-81-02-C1-91-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
27.08.2022 10:37:14.99 FC1 (Read Coils from Master device), StartingAddress: 0, Quantity: 1
27.08.2022 10:37:15.00 Send Serial-Data: 01-01-00-00-00-01-FD-CA
27.08.2022 10:37:16.00 TimeoutException Throwed
27.08.2022 10:37:16.00 FC1 (Read Coils from Master device), StartingAddress: 0, Quantity: 1
27.08.2022 10:37:16.00 Send Serial-Data: 01-01-00-00-00-01-FD-CA
27.08.2022 10:37:16.05 Received Serial-Data: 00-00-00-00-01-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
27.08.2022 10:37:17.00 CRCCheckFailedException Throwed
27.08.2022 10:37:17.00 FC1 (Read Coils from Master device), StartingAddress: 0, Quantity: 1
27.08.2022 10:37:17.01 Send Serial-Data: 01-01-00-00-00-01-FD-CA
27.08.2022 10:37:18.01 TimeoutException Throwed
27.08.2022 10:37:18.01 FC1 (Read Coils from Master device), StartingAddress: 0, Quantity: 1
27.08.2022 10:37:18.01 Send Serial-Data: 01-01-00-00-00-01-FD-CA
27.08.2022 10:37:18.06 Received Serial-Data: 00-00-00-00-01-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
27.08.2022 10:37:19.01 CRCCheckFailedException Throwed
27.08.2022 10:37:19.01 FC1 (Read Coils from Master device), StartingAddress: 0, Quantity: 1
27.08.2022 10:37:19.01 Send Serial-Data: 01-01-00-00-00-01-FD-CA
27.08.2022 10:37:20.01 TimeoutException Throwed
27.08.2022 10:37:20.01 FC1 (Read Coils from Master device), StartingAddress: 0, Quantity: 1
27.08.2022 10:37:20.02 Send Serial-Data: 01-01-00-00-00-01-FD-CA
27.08.2022 10:37:20.06 Received Serial-Data: 00-00-00-00-01-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
27.08.2022 10:37:21.02 CRCCheckFailedException Throwed
27.08.2022 10:37:21.02 FC1 (Read Coils from Master device), StartingAddress: 0, Quantity: 1
27.08.2022 10:37:21.02 Send Serial-Data: 01-01-00-00-00-01-FD-CA
27.08.2022 10:37:22.02 TimeoutException Throwed
<INFINITIVE LOOP after 27.08.2022 10:37:14.99 call :(> ...

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