st-one-io / node-red-contrib-cip-ethernet-ip

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

Error communication with plc #22

Closed lohmanndouglas closed 3 years ago

lohmanndouglas commented 3 years ago

bug help debug

I had the message of error commmunication with PLC { generalStatusCode: 8, extendedStatus: [] }. I cannot figure out why I am having this error, any help to debug or improve the log message?

Screenshots

image

Flow

   "id":"3fbba73.e7cf058",
   "type":"eth-ip endpoint",
   "address":"10.36.12.32",
   "slot":"1",
   "cycletime":"1000",
   "name":"",
   "vartable":{
      "":{
         "Unit[10].PrId":{
            "type":"DINT"
         },
         "Unit[10].Progno":{
            "type":"DINT"
         },
         "Unit_Txt_String[10].SequentialNo":{
            "type":"DINT"
         },
         "cnt[2].val":{
            "type":"REAL"
         },
         "Unit[10].Step":{
            "type":"DINT"
         },
         "Unit[10].Phase":{
            "type":"DINT"
         }
      },
      "U10_wort_kettle":{
         "PH311001.val":{
            "type":"REAL"
         },
         "PH311001_TT.val":{
            "type":"REAL"
         },
         "PT311334.val":{
            "type":"REAL"
         },
         "LT311331.val":{
            "type":"REAL"
         },
         "TT311351.val":{
            "type":"REAL"
         },
         "PT311332.val":{
            "type":"REAL"
         },
         "PT311331.val":{
            "type":"REAL"
         },
         "sfm_evap_rate.val":{
            "type":"REAL"
         },
         "DEN311002.val":{
            "type":"REAL"
         }
      }
   }
}```

"dependencies": { "node-red": "^1.0.6", "node-red-contrib-azure-iot-edge-kpm": "^0.4.2", "node-red-contrib-azure-iot-edge-module": "^1.0.2", "node-red-contrib-cip-ethernet-ip": "^1.1.2" }



### Environment
 - **Version** of this node: 1.1.2
 - **Node-RED version**: 1.0.6
 - **PLC Part Number**: ?
 - **OS**: Ubuntu host executing docker on nodered/node-red:latest-12
 - **Browser**: chrome
ChZeman commented 2 years ago

What did you end up finding?