node-red-contrib-cip-ethernet-ip
node-red-contrib-cip-ethernet-ip copied to clipboard
Write to Omron PLC
I'm trying to write data to an Omnron NX1P2 but I'm getting this error
I managed to connect and read the tag using what is commented in here #10
This is my tag configuration
any help would be appreciate.
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.