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

TIMEOUT occurred while reading Controller Props #10

Closed
dirkzp opened this issue Aug 20, 2019 · 10 comments
Closed

TIMEOUT occurred while reading Controller Props #10

dirkzp opened this issue Aug 20, 2019 · 10 comments

Comments

@dirkzp
Copy link

dirkzp commented Aug 20, 2019

Hi,
I'm trying to connect to an OMRON NJ101 PLC. I get the error message: "Error connecting to PLC: Error: TIMEOUT occurred while reading Controller Props.". Any idea whats wrong? IP Address is correct :-)

Thanks.
Dirk

@gfcittolin
Copy link
Member

Hi,
Never tried to connect to an Omron PLC. But from the error message, I'd say it could at least connect to the PLC, so that's good news.
The underlying library we use tries to read the controller properties just after connection (we can't control that for now), and it looks like the Omron PLC is not undestanding this request.

Unfortunately I don't have an Omron PLC here. Could you then please do a test? Please comment the Line 125 on node_modules/ethernet-ip/src/controller/index.js and let me know if it works. If yes, then we can try talking fixing it upstream and have this properly fixed.

@dirkzp
Copy link
Author

dirkzp commented Aug 22, 2019

Hi,

thanks for your feedback. I've done your proposed solution. Now the connection is established. But now I'm getting the error: "Error communicating with the PLC: Error: <SCAN_GROUP>
TIMEOUT occurred while writing Reading Tag Group." But maybe it could be a configuration issue?
Thanks.

@dirkzp
Copy link
Author

dirkzp commented Oct 8, 2019

You suggested changes in the index.js is working on Line 125.
Now I configured the OMRON PLC with all tags. See attached file. Now I'm trying to read the data via Ethernet / IP with the error: Error communicating with the PLC: Error: <SCAN_GROUP>
TIMEOUT occurred while writing Reading Tag Group."

Any suggestions how to find out the problem? Thanks. Dirk

1
2
3
4

@antoniobonora
Copy link

Hi,
You must modify ethernet-ip\src\enip\cip\unconnected-send\index.js
search const build = (message_request, path, timeout = 2000) => {
and correct to
const build = (message_request, path, timeout = 5056) => {

Bye!
Tony

@dirkzp
Copy link
Author

dirkzp commented Apr 23, 2020

Hey Tony,

sorry for the late reply. I've tried your solution and it is working!
Thanks for your help!

BR,
Dirk

@dirkzp dirkzp closed this as completed Apr 23, 2020
@NeltherGP
Copy link

Hey Tony,

sorry for the late reply. I've tried your solution and it is working!
Thanks for your help!

BR,
Dirk

Hi, I see on the screenshot that you have tags configured as Outputs on Sysmac, I also have a variable configured as an output but I get this message when trying to read from node red
"Error communicating with the PLC: {"generalStatusCode":30,"extendedStatus":[]}"
did you keep that configuration or you change something?

@antoniobonora
Copy link

antoniobonora commented Jun 24, 2020 via email

@Hehos12
Copy link

Hehos12 commented Sep 14, 2020

Hi,
You must modify ethernet-ip\src\enip\cip\unconnected-send\index.js
search const build = (message_request, path, timeout = 2000) => {
and correct to
const build = (message_request, path, timeout = 5056) => {

Bye!
Tony

Hi,

I am trying your solution without succes on a Omron NX1P2. I am getting this error after modifying index.js

"Error communicating with the PLC: {"generalStatusCode":30,"extendedStatus":[]}"

@Ballupp
Copy link

Ballupp commented Nov 24, 2021

Hey Tony,
sorry for the late reply. I've tried your solution and it is working!
Thanks for your help!
BR,
Dirk

Hi, I see on the screenshot that you have tags configured as Outputs on Sysmac, I also have a variable configured as an output but I get this message when trying to read from node red "Error communicating with the PLC: {"generalStatusCode":30,"extendedStatus":[]}" did you keep that configuration or you change something?

Hello, I have the same issue as you after trying all the fixes above. Have you managed to solve them? Thank you!

@VanOrteppi
Copy link

"Error communicating with the PLC: {"generalStatusCode":30,"extendedStatus":[]}"

Struggling with the same problem. Using Omron NX1P PLC
I am able to read the data from the PLC, thanks for the good tips. However, sending Boolean does not work. I don't know of any other data types, have not tested them yet.

image

I have tried to check everything. Tried to change the variables in the PLC (input/output/publish) but the error still takes place.
The tags works fine when reading them, but writing them seems to be impossible.

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

7 participants