Hello,
I have a PLC (CX9020 Beckhoff) running OPCUA Server. I can connect and read/write all the tags with UaExpert and qith the Sample Client app from beckhoff.
I think all the configuration is correct.
For some reason, I don´t understand, cannot connect to the OPCUA Server with Node-red.
Either with "node-red-contrib-opcua" or "node-red-contrib-iiot-opcua" the connection doesn´t work.
I begin to think that I need some configuration to access the OPCUA with Node-red!!
If someone can help, I aprreciate.
Thanks,
The flow is pretty simple:
[{"id":"783d8b27d9de61df","type":"inject","z":"4aa27a60c7d95f33","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payloadType":"date","x":270,"y":940,"wires":[["2c9bd2e60387b110"]]},{"id":"2c9bd2e60387b110","type":"OpcUa-Item","z":"4aa27a60c7d95f33","item":"ns=4;s=GVL_opcUA..diContador","datatype":"Int32","value":"","name":"Nome programa","x":470,"y":940,"wires":[["20c715d8fc4c055e"]]},{"id":"20c715d8fc4c055e","type":"OpcUa-Client","z":"4aa27a60c7d95f33","endpoint":"58ec7b54dcd62ffd","action":"read","deadbandtype":"a","deadbandvalue":1,"time":10,"timeUnit":"s","certificate":"n","localfile":"","localkeyfile":"","securitymode":"None","securitypolicy":"None","name":"","x":720,"y":940,"wires":[["6bc2bb52b79e3a69","bb65eacb5a45e4ad"]]},{"id":"6bc2bb52b79e3a69","type":"debug","z":"4aa27a60c7d95f33","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":970,"y":940,"wires":[]},{"id":"bb65eacb5a45e4ad","type":"ui_text","z":"4aa27a60c7d95f33","group":"3a73a2cf.0f91ae","order":3,"width":0,"height":0,"name":"Contador","label":"OPCUA_C:","format":"{{msg.payload}}","layout":"row-spread","x":980,"y":980,"wires":[]},{"id":"58ec7b54dcd62ffd","type":"OpcUa-Endpoint","endpoint":"opc.tcp://192.168.1.174:4840","secpol":"None","secmode":"None","login":false},{"id":"3a73a2cf.0f91ae","type":"ui_group","name":"Produção / Resumo","tab":"5e2e41aa.9826b","order":1,"disp":true,"width":"6","collapse":false},{"id":"5e2e41aa.9826b","type":"ui_tab","name":"Produção","icon":"dashboard","order":1,"disabled":false,"hidden":false}]