Ewon Technical Forum

Full Version: OPC UA IO Server read array tag | unknown value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to retrieve OPC UA data with a Flexy 205 from a robot controller (OPC UA server).
I have setup the I/O server in the Flexy. Connection is OK.
Tag configuration is also working for NONE array types.

My problem is with the array tags. Configuration seems OK: ns=1;pos=7;s=R1:X1[32..63]
Updating my tag gives a 'unknown' error.

Removing the pos=7; will remove the error and result in Value = 1. 
Why is my array index, pos=7 not working?
The tag I am configuring consists of a boolean array[32].

Another tag I testen, a integer array[500], gives the same 'unknown' result.
Removing the pos=..; is also removing the error. Value = 500 is the result.
Here without the array index the result seems to be the array dimension.

In the attachment I have some pictures configuring the tag and a screenshot of UaExpert.

Please help.

Best regards,
Rik
Hi Rik,

Indeed, Array may not work... I do not remember that we have already tried that (at least in the support team)
I see in UAexpert that you are polling the whole array and not array element.
Can you poll an array element separately ?

Can I have more details about the controller (brand / model)?

Simon
(15-03-2021, 07:31 PM)simon Wrote: [ -> ]Hi Rik,

Indeed, Array may not work...  I do not remember that we have already tried that (at least in the support team)
I see in UAexpert that you are polling the whole array and not array element.
Can you poll an array element separately ?

Can I have more details about the controller (brand / model)?

Simon

Hello Simon,

Robot brand is OTC Daihen, model of controller is FD-19.
We cannot poll for seperate array element.

You mention 'Array may not work' but I can choose the Array Element Index: 'pos=..'
Is it possible that the development of the support of arrays is started, but not finished/ tested yet?

Maybe I can solve the issue by using Java. Is OPC UA functionality supported in java 1.4?

Best regards,
Rik

Best regards,
Rik
Hello Simon,

Did you already try the array functionality? Functionality is certainly in Flexy, but not working correctly.

We tried to solve it in Java, but OPC UA is newer than de java version in the Flexy.

Is this issue handled by the next firmware of the Flexy?

Best regards,
Rik Schuijt
(11-05-2021, 09:39 AM)Hello rik,Did you solve your problem in Java with new firmware of flexy ?Because i'm realy interested about your java program because today i have the same issue and i want to resolve with Flexy intead of change complety my hardware architectureThank in advanceJonathan Wrote: [ -> ]Hello Simon,

Did you already try the array functionality? Functionality is certainly in Flexy, but not working correctly.

We tried to solve it in Java, but OPC UA is newer than de java version in the Flexy.

Is this issue handled by the next firmware of the Flexy?

Best regards,
Rik Schuijt