SerafinTech / node-red-contrib-cip-st-ethernet-ip

A Node-RED node to interact with Allen Bradley / Rockwell PLCs. SerafinTech Version
GNU General Public License v3.0
2 stars 4 forks source link

Error Communicating with Omron NX1P2-9024DT via EtherNet/IP #15

Open Modole opened 3 months ago

Modole commented 3 months ago

I am encountering an error while trying to access the TM_Status_Connected variable on my Omron NX1P2-9024DT PLC using EtherNet/IP protocol through Node-RED. Below are the details of the error and my setup:

Error Message:

Error communicating with the PLC: {"generalStatusCode":8,"extendedStatus":[],"ext":[{"func":"getControllerTags","instanceID":0,"program":null,"cipReq":{"type":"Buffer","data":[85,3,32,107,37,0,0,0,2,0,1,0,2,0]}}]}

Setup:

PLC Model: Omron NX1P2-9024DT Protocol: EtherNet/IP Node-RED Configuration: Using node-red-contrib-cip-st-ethernet-ip@v2.0.2 node IP Address and Port: Confirmed to be correct and matching the PLC settings Network Configuration: PLC and computer are on the same subnet Steps Taken:

Verified IP address and port settings. Confirmed the TM_Status_Connected variable address in the PLC. Checked network settings, including subnet mask and gateway. Ensured proper permissions for accessing the variable. Screenshots: !PLC Configuration !Node-RED Configuration !Error Message

Question: What could be causing this error, and how can I resolve it? Any insights or suggestions would be greatly appreciated.

image

image

image

image

Modole commented 3 months ago

flow: [ { "id": "89e92006177ce4ab", "type": "eth-ip in", "z": "f6f2187d.f17ca8", "endpoint": "88729d672b7dda43", "mode": "all-split", "variable": "", "program": "", "name": "", "gatherMetrics": false, "includeTimestamp": false, "x": 400, "y": 500, "wires": [ [ "a1491329625e2b83" ] ] }, { "id": "a1491329625e2b83", "type": "debug", "z": "f6f2187d.f17ca8", "name": "debug 3", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 600, "y": 500, "wires": [] }, { "id": "88729d672b7dda43", "type": "eth-ip endpoint", "address": "192.168.10.203", "slot": "0", "cycletime": "3000", "timeout": "10000", "name": "", "connectedMess": true, "vartable": { "": { "TM_Status_Connected": { "type": "BOOL", "mapping": "" } } } } ]