Closed henjoe closed 3 years ago
Hi Mika,
I found the variable Counter and I am successfully setting the value to 25. It's under the Vendor Name (it's kinda weird) but anyways the command works.
However, of course I want to add some "MyOwnVariables". What command should I use? So far I tried to use the "addEquipment" command.
There were NO errors, but nothing happens on the server.
Thank you Mika.
With kind regards, Henjoe
I expect there should be example how to use server node. There are "commands" that you can inject:
Hi Mika,
Thanks for the reply. On the information tab only 4 commands are there, never knew about -addVariable -addfolders And etc commands.
By the wat, do you have some example on how to use these commands? (Add variable,add folder) because it's not in the information tab.
Again, thank you Mika.
With kind regards, Henjoe
Ack, I will update help.
Here is quick help:
Added to v0.2.92
Hi Mika,
Highly appreciated all your efforts!
Cheers!
With kind regards, Henjoe
Hi Mika, Just one more question before we close this issue.
Will it be possible to set the "sourceTimestamp"? when setting a value of a variable?
for example: msg = { payload: { messageType: "Variable", variableName: "Counter", variableValue: 25, timeStamp: unixTimestamp or any other format of timestamp } }
I hope this is possible on the OPC technology.
Thank you.
With kind regards, Henjoe
OPC UA supports serverTimestamp and sourceTimestamp. I can add those at some point as optional property not mandatory.
Thanks Mika!
Highly Appreciated!
With kind regards, Henjoe
Hi Mika,
Happy New year to you. I just wanna ask if how can I achieve this using the OPCUAServer node.
I want to have an OPC Server with variable "Counter" that has value of 25. Upon reading the documentation, I just need to pass this JSON message to OPCUA server node.
and here is my flow:
and this is the function node:
When I press the Inject, I am hoping that there will be a "Counter" variable on the OPC UA server with value equal to 25. Unfortunately nothing is in the server, the nodered has NO error too.
Hoping for your kind help.
THank you.
With kind regards, Henjoe