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

Write to Omron PLC #20

Open
NeltherGP opened this issue Jun 23, 2020 · 1 comment
Open

Write to Omron PLC #20

NeltherGP opened this issue Jun 23, 2020 · 1 comment

Comments

@NeltherGP
Copy link

I'm trying to write data to an Omnron NX1P2 but I'm getting this error
writeError

I managed to connect and read the tag using what is commented in here #10

This is my tag configuration
image

any help would be appreciate.

@FrantaD
Copy link

FrantaD commented Nov 28, 2021

Hi,

I have communication on two Omron PLCs (NX1P2-9B24 and 1040).

I had to make this library modification:

The fix is 2 lines modification:

  • comment the line 125 on this file node_modules/ethernet-ip/src/controller/index.js
  • modify ethernet-ip\src\enip\cip\unconnected-send\index.js search for this const build = (message_request, path, timeout =
    2000) and change the time out from 2000 to 5056

After this restart Node-red and you should be able to connect and read form the PLC.

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