-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read/Write ExtensionObject (data type) between NX102 & PLCnext using OPC UA & REST api. #707
Comments
Were the Node-RedFlow : |
Hmm, it could be that a value is checked on PLC and it will reject value with statuscode out of range. |
Hi, this is how I try to establish read/write communication for a structure variable between an NX102 & PLCnext.
I am using OPC UA protocol to read a data structure from the NX102 as shown below :
My DataType that I want to read/write :
In UaExpert, we can see the following information :
In Node-Red, I can read '' staaMCtest '' and its members from the NX102.
Using the fonction "Map to PLCnext", I can write each member of staaMCtest to the PLCnext structure :
In the PLCnext, we can see that the value are correctly written in ''teststruc'' of type MyStruct :
I set the variable teststruc as a HMI tag, so it can use the REST data interface.
Since the value of staaMCtest (NX102) and teststruc (PLCnext) can be change in both PLC, I want to send the value of teststruc back to staaMCtest (NX102) :
We can see that the content in the msg payload of ''debug 6" is the same as the content in "debug 1" (showed in previous image)
My issue is writing via the function bloc "Omron NX102 Client Write". I got this error :
Any ideas how can we solve this issue?
The text was updated successfully, but these errors were encountered: