mikakaraila / node-red-contrib-opcua

A Node-RED node to communicate OPC UA. Uses node-opcua library.
Other
215 stars 197 forks source link

Missing extended values of extended events #558

Open simon0168 opened 1 year ago

simon0168 commented 1 year ago

Hello @MarekS4P & @Koseng, I created a new issue.

Hi guys, I can confirm that the new feature works. Now it is possible to define an own Event Type direct in Node-RED and no opcua-basics.js file modifications are needed. image

Received event: image

But in my payload I just have the message "New cycle" without CurrentLotName, CushionVolume etc., here is my payload: { "payload": { "EventId": "0xb20be6cc6a7e364c9401d8345bc413b0", "_EventId": { "dataType": "ByteString", "arrayType": "Scalar", "value": [178,11,230,204,106,126,54,76,148,1,216,52,91,196,19,176] }, "EventType": "ns=4;i=7116", "SourceNode": "ns=4;s=38621799", "SourceName": "IMM_KRAUSSMAFFEI_38621799", "Time": "2023-05-10T08:47:04.910Z", "ReceiveTime": "2023-05-10T08:47:05.176Z", "Message": { "locale": null, "text": "New Cycle" }, "Severity": 100 }, "topic": "ns=4;i=7116", "_msgid": "754864e6784a9102" }

In UaExpert if I want to retreve all "cyclic" informations I have to manually tick "SimpleEvents" in Event View and then Apply. Then With every NewCycle Event comes all informations I need (CushionVolume, CushionStroke, etc..).

Is there a way in nodeRED to "tick" SimpleEvent..?

Originally posted by @simon0168 in https://github.com/mikakaraila/node-red-contrib-opcua/issues/410#issuecomment-1541603001

MarekS4P commented 1 year ago

Hello @simon0168, this manual "tick" is in Node-RED case the configured Event Type property. Please check if you are using the same connection credentials, Source Node and Event Type as in UA Experts. You can also do a check with some free OPC UA Server (standalone or online), or contact the OPC UA Server vendor for more information.