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

请问各位大佬,No recipient was found waiting for response for key #64

Open
zj555 opened this issue May 10, 2023 · 2 comments
Open

Comments

@zj555
Copy link

zj555 commented May 10, 2023

不定时出现如下异常,这有什么影响吗?该怎么解决呢?
com.serotonin.modbus4j.sero.messaging.WaitingRoomException: No recipient was found waiting for response for key com.serotonin.modbus4j.ip.xa.XaWaitingRoomKeyFactory$XaWaitingRoomKey@864a
at com.serotonin.modbus4j.sero.messaging.WaitingRoom.response(WaitingRoom.java:100)
at com.serotonin.modbus4j.sero.messaging.MessageControl.data(MessageControl.java:198)
at com.serotonin.modbus4j.sero.messaging.InputStreamListener.run(InputStreamListener.java:76)
at java.lang.Thread.run(Thread.java:748)

@kay07
Copy link

kay07 commented Jun 12, 2023

我也出现这个问题了。我的是因为设置ModbusMaster的setTimeout太小了导致的

@moyaoo
Copy link

moyaoo commented Oct 30, 2023

你是不是将slave id 设置为0了

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

3 participants