- Posts: 41
- Thank you received: 1
OPC client
3 days 5 hours ago #189
by jds
OPC client was created by jds
Hello,
I was trying out the OPC client setup but somehow I'm getting some error messages where I can't firgure out what's going on.
I followed the setup guide from man_dg. The only part where I'm not shure about the correct setup if the fact if I need to setup the external volume also in the pwr directory (externvolumeconfig). I tried both but the same error remains.
I can see some of the test opc server both can't access the items, also the navigator is acting very strange when I try to open an item.
errors in the console:
view from the navigator:
The OPC XML DA server (in my case Xgate because I need to go from opc da to xml da) supports item browsing, I've checke dbecause this was one of the prerequisites
I've played with OPC in the past, but all the info was on the old unfortunatly lost forum. I can't remember if I had it going back than.
I was trying out the OPC client setup but somehow I'm getting some error messages where I can't firgure out what's going on.
I followed the setup guide from man_dg. The only part where I'm not shure about the correct setup if the fact if I need to setup the external volume also in the pwr directory (externvolumeconfig). I tried both but the same error remains.
I can see some of the test opc server both can't access the items, also the navigator is acting very strange when I try to open an item.
errors in the console:
view from the navigator:
The OPC XML DA server (in my case Xgate because I need to go from opc da to xml da) supports item browsing, I've checke dbecause this was one of the prerequisites
I've played with OPC in the past, but all the info was on the old unfortunatly lost forum. I can't remember if I had it going back than.
Please Log in or Create an account to join the conversation.
2 days 12 hours ago #192
by claes
Replied by claes on topic OPC client
Hi jds,
One error seems to be that the Opc class volume is not loaded. Create a dummy object of for example Opc_Boolean to load the classes, or create a ClassVolumeLoad named Opc below the NodeConfig object.
Another problem is that external volumes are presented as ProviewR objects and ProviewR objects doesn't allow '#' and '@' in the name. I guess that's why you get all sorts of error messages.
/Claes
One error seems to be that the Opc class volume is not loaded. Create a dummy object of for example Opc_Boolean to load the classes, or create a ClassVolumeLoad named Opc below the NodeConfig object.
Another problem is that external volumes are presented as ProviewR objects and ProviewR objects doesn't allow '#' and '@' in the name. I guess that's why you get all sorts of error messages.
/Claes
Please Log in or Create an account to join the conversation.
2 days 8 hours ago #193
by jds
Replied by jds on topic OPC client
Claes,
adding the dummy did already part of the magic.
Since the 3 values containing an @ or # couldn't be removed from the testserver, I searched for another testserver and got a bit further, but not completely.
I can fullt browse the (simulated) values so the hierachy gets fully populated correctly, but can't get the real value due the following error:
(the line containing the dutch text translated: "EDOMParseError : a name contains a invalid sign.")
I don't know if this is a message created by proviewr or the OPC server? I can view all my values with an OPC XML windows client.
adding the dummy did already part of the magic.
Since the 3 values containing an @ or # couldn't be removed from the testserver, I searched for another testserver and got a bit further, but not completely.
I can fullt browse the (simulated) values so the hierachy gets fully populated correctly, but can't get the real value due the following error:
(the line containing the dutch text translated: "EDOMParseError : a name contains a invalid sign.")
I don't know if this is a message created by proviewr or the OPC server? I can view all my values with an OPC XML windows client.
Please Log in or Create an account to join the conversation.
2 days 7 hours ago #194
by jds
Replied by jds on topic OPC client
Please Log in or Create an account to join the conversation.
2 days 6 hours ago #195
by jds
Replied by jds on topic OPC client
Claes,
I think I see what's going on. I can write the values but can't read them back. That's the reason it looks like it was working on the writable value and not on the write protected random values.
Is it possible that there's a mismatch in the code sending the wrong commands towards the server causing a mis interpretion?
I think I see what's going on. I can write the values but can't read them back. That's the reason it looks like it was working on the writable value and not on the write protected random values.
Is it possible that there's a mismatch in the code sending the wrong commands towards the server causing a mis interpretion?
Please Log in or Create an account to join the conversation.
Time to create page: 0.714 seconds