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 : TIMEOUT during backend server running #52

Open
josephyou7 opened this issue Sep 28, 2023 · 1 comment
Open

Error : TIMEOUT during backend server running #52

josephyou7 opened this issue Sep 28, 2023 · 1 comment

Comments

@josephyou7
Copy link

Current Behavior

I am trying to make backend server with node.
It is running fine with attached program at first time but it has error after short 2 min. long 30 min.
< Error Message >
C:\react-app\prodboard\backend\node_modules\ethernet-ip\src\controller\index.js:654
throw new Error(<SCAN_GROUP>\n ${e.message});
^
Error: <SCAN_GROUP>
TIMEOUT occurred while writing Reading Tag Group.
at C:\react-app\prodboard\backend\node_modules\ethernet-ip\src\controller\index.js:654:31
at async Controller.scan (C:\react-app\prodboard\backend\node_modules\ethernet-ip\src\controller\index.js:647:13)

Your Environment

  • npm v9.8.1
  • NPM ethernet-ip 1.2.5
  • Node Version Node.js v18.17.1
  • Operating System window 10 Pro

plc_server.txt

@SerafinTech
Copy link
Owner

try const PLC = new Controller(false); on line 15 to use unconnected messaging. Windows especially can cause a node process loop to pause for a few seconds which will disconnect you when using connected messaging.

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