Quantcast
Viewing all 1794 articles
Browse latest View live

show all accessible OPC variables present in the network - by: support

From: B.; Sent: Thursday, November 17, 2016 9:17 AM; ...; Subject: question

L.S.,

Is there an example project that will show all accessible OPC variables
present in the network (some kind of “scanning” program)

Best regards,

R.

odd issue upgrading to opc 5.4 - by: giles

I've upgraded my project (iis app) from .35 to .4) it all works on development system

however on target system when I make a new easydaclient I get

"The type initializer for 'OpcLabs.EasyOpc.DataAccess.EasyDAClient' threw an exception."

{"Could not load file or assembly 'App_Web_OpcLabs.EasyOpcClassicRaw.amd64.DLL' or one of its dependencies. The specified module could not be found.\r\n+ It is possible that Microsoft Visual C++ Redistributable Package is not installed.":"App_Web_OpcLabs.EasyOpcClassicRaw.amd64.DLL"

the versions of the dlls are all .4

Python code (error 'invalid class string') - by: support

From: OPC Labs Contact Form - L.
Sent: Tuesday, November 29, 2016 1:52 PM
...
hi,

I run your example in python and get an error 'invalid class string'.

please can you explain what i need to do to connect to the OPC server as in your python example.

Thanks

Live Binding step by step - by: support

From: b.
Sent: Tuesday, November 29, 2016 10:35 AM
...

Thank you very much it works. Each times i need to insert my remote opc server in dialog box for each items. It possible to have opc.tcp://localhost:49320 as default? It possible to add timeout when search items in opc ua? I have slow vpn so go always in timeout.
I m testing opc ua live binding
Br A.

On Nov 25, 2016 5:56 PM, "Zbynek Zahradnik" ... wrote:
Hello.

Basic step by step instructions are in the Getting Started document, www.opclabs.com/files/documents/QuickOpc/Latest/Getting%20Started-QuickOPC.pdf .
Additional information is in the Live Binding section in the Concepts document, www.opclabs.com/files/documents/QuickOpc/Latest/Concepts-QuickOPC.pdf .
Both documents are also installed with the product.

Best regards
Zbynek Zahradnik

From: b.
Sent: Friday, November 25, 2016 10:02 AM
...
Ok now i test in vs 2012 ultimate. I want use livebinding but seem that missing some components can you explain me step by step how use livebinding?
Br A.

problem - by: alr1976

Hi!

I m testing opc labs and i need some help:

1) When connect each textbox with livebinding i have default opc ua server dialog where i choose my tags. For each textbox i need to insert node opc.tcp://. It possible to have own opc server point dialog where i can choose which host and node to use? like opcua.demo-this.com

2) I have 2 Windows Form Application whith same tag connected with live binding but with different opc ua server. When i complete 1 application it possible change only opc ua server node in second application or i must relink all tags with opc ua server?
for example in Delphi i complete 1 application and after i search node to change for example :
find opc.tcp//192.168.1.1:9000 and replace with opc.tcp//192.168.1.2:9000

3) It possible to have some condition in livebinding for example when value = 50 hide my textbox

4) I have boolean tag and i need to connect with livebinding with Tbutton. If value is true and press button i need to change value to false and write tag to false and viceversa.

Thank you Alessandro

UA Alarms&Conditions in FreePascal (Lazarus) - by: support

From: OPC Labs Download Follow-up Form [...]
Sent: Thursday, July 14, 2016 4:26 PM
To: Zbynek Zahradnik <...>
Subject: OPC Labs Download Follow-up Form

...

Hello,
I have played around with the EasyOpcUA typelib with FreePascal (Lazarus). I have to establish a connection with an OPC.UA Server. This runs so far, but I can not access the Alarm-Event via Filter.
Is it planed to implement this feature?

J.

Getting the item's type - by: support

From: M.
Sent: Friday, December 09, 2016 8:28 PM
...
Hi Zbynek,

I have a question: is it possible to obtain the item's type (Integer, String, Boolean,….)?



Thank you.

Regards,

Can't even connect! - by: ItGre

Hello,

I'm new to QuickOPC, and I'm a bit frustrated. QuickOPC does not seem to be so simple as stated on the Homepage.
I'm working with Delphi Berlin and tried this really very simple code (a simple modification of the supplied demo):



procedure TForm1.FormCreate(Sender: TObject);
var
EasyUAClient: TEasyUAClient;
begin

EasyUAClient := TEasyUAClient.create(NIL);

Edit1.Text := EasyUAClient.ReadValue('opc.tcp://PLACEHOLDER:4870',
'25_SPS->CC.behaelter_a.level.level_act');

end;


Starting this little program, it throws the following exception:

"Unexpected signature algorithm:."

The same OPC-Server responds absolute correctly when I use the UAExpert Client (OPC Foundation)
Any Idea?

Regards,
Martin

Writing Value, timestamp, quality for OPC DA 2.05A - by: michiel_tukker

Hi,

I'm using QuickOPC to send data to an opc da 2.05A server. My application is in C# and is using Quick OPC 5.40.
I wanted to use: OperationResult[] WriteMultipleItems(DAItemVtqArguments[] argumentsArray) because it allows me to set the timestamp (not that important) and quality (this one is important). However, when running the application I get an exception:
An OPC operation failure with error code -1073442808 (0xC0049008) occurred, originating from 'OpcLabs.EasyOpcRaw.DataAccess.RawEasyDAClient'. The inner exception contains details about the problem.
No read item or write item function available. The OPC server does not contain a function that can satisfy the combination of requirements (execution method and data source). For example, there is no way to read asynchronously from the OPC Cache if the server only supports OPC-DA 2.0. Also, you cannot write a value-quality-timestamp triple using OPC-DA 1.0 or 2.0.

I found another post on this forum where it was mentioned that WriteMultipleItemValues should be used for OPC DA 2.0, because WriteMultipleItems is only supported for OPC DA 3.0 specification.

Is it possible to write value and data quality for OPC DA 2.05A and how can I do this using QuickOPC?

Quick OPC UA bugs in new version for COM - by: jgyenese

The latest version of QuickOPC (2016.2) seems to have introduced some major bugs when using UA with COM. Almost any call to read or browse data crashes. The VB60 example program "UAReadAndDisplayValue" crashes with the attached error.jpg message. The DA versions of the example programs seem to work fine.

Opc Ua ExtensionObject - by: hcvoort

Dear Sir/Madam,

I am using your quick opc for .NET library (I bought a license), and it works very well for me. In the PLC code I have some structure types which I want to monitor/read/write. When I monitor for a change, and get the Value it tells me that I received a Byte[44], so 44 bytes. How can I decode this? See my code below:

_client.SubscribeDataChange(endpoint, struct_Test, 1000, (object sender, EasyUADataChangeNotificationEventArgs eventArgs) =>
{
if (eventArgs.Exception == null)
if (eventArgs.AttributeData.HasValue)
Console.WriteLine(eventArgs.AttributeData.Value.ToString());
}, "");

Beste regards,

Carsten Voort

Maximum number of nodes in multiple read/write functions - by: RH

Hello,

I use the multiple read function on an OPC UA server to read variables. For about 20 variables, this is no problem at all. But now, I want to read around 190 variables at once, using the multiple read function, but I always get an exception saying "BadTooManyOperations". Do I need to set a parameter to get this fixed?

Best regards

License issue - by: olab

Hi,
I have v5.4 installed on my computer.

When trying to insert a OPCServer Browser control in a VB form I get a licence error when starting runtime
[File Attachment: License.jpg]
. Can someone help me?

error code -2147024891 (0x80070005) - by: support

From: p.
Sent: Thursday, December 22, 2016 1:47 PM
To: [...]
Subject: RE: QuickOPC Download Form - [...]

Dear Sir,

I am currently evaluating QuickOPC. [...]

I am having problems connecting with quickopc to an OPC-DA server in our local network, and I don’t seem to find out how to solve it.

Using 2 other tools (OPC Quick client from KEPWare, and kassl dOPC explorer) I can successfully connect to our network OPC server and read/write items.
However when I try to connect using QuickOPC controls in C#, I am getting an exception.

The code I am using is:


When running this code, I get this exception:


Shortly after I get this error, my visual studio 2015 also crashes. Is there way to find out exactly what is causing this behavior, and how to solve it ?
Do I need to setup dcomcnfg or windows firewall specifically for quickopc controls ?

Best regards,
P.

What's the different between QuickOPC and OPCDataClient? - by: Li

I'm beginner of QickOPC. In opclabs.com, I find a link to www.softwaretoolbox.com/ and "OPCDataClient". It seems same with QuickOPC.

I want to know what's different? And make a choice which is suitable for us.

Thanks.

OpcEnum - by: Pelagatta

Hello,
After installation, OpcEnum missing in the DCOM configuration.
opcenum.exe file missing in the folder.

how can I get it?

Thanks,

Andrea

An OPC operation failure with error code -1073430509 (0xC004C013) occurred - by: Jukka

Hello

This kind of problem come with ABB.AfwOpcDaSurrogate.1 - server.
Any ideas how to solve it ?

ErrorTxt:
2017-01-12 10:57:29 OpcLabs.EasyOpc.OperationModel.OpcException: An OPC operation failure with error code -1073430509 (0xC004C013) occurred, originating from 'OpcLabs.EasyOpcRaw.DataAccess.RawEasyDAClient'. The inner exception contains details about the problem. ---> System.Runtime.InteropServices.COMException: Read not completed. This error indicates that it could not be verified that the requested read operation was completed during the timeout period. It is possible that the read operation will actually succeed or fail, but later. Increase the timeout period if you want to obtain positive or negative indication of the operation outcome. Other reason for this error may be that under heavy loads, topic request or response queue is overflowing. Check the event log for queue overflow errors (if event logging is supported by the product and enabled).
--- End of inner exception stack trace ---
at OpcLabs.EasyOpc.EasyUtilities.CheckSuccess(OperationResult operationResult)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.ReadItem(IEasyDAClient client, ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor, DAReadParameters readParameters)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.ReadItem(IEasyDAClient client, ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.ReadItem(IEasyDAClient client, String machineName, String serverClass, String itemId, VarType dataType)
at OpcLabs.EasyOpc.DataAccess.IEasyDAClientExtension.ReadItem(IEasyDAClient client, String machineName, String serverClass, String itemId)
at EasyOpcNetDemo.MainForm.AloitaMallinnus_Click(Object sender, EventArgs e) in c:\Omat\Tyotw\Sin3PyrometriMallinnus\OPCToMysql_3\MainForm.cs:line 181

T: Jukka Kuikka

Delphi - by: alr1976

Hi!

1)It possible to show opc ua dialog in Delphi? How? it possible to have an example?
2)I have 2 subscribe item .... it possible to have 2 OnDataChangeNotification ?
for example :
i got:
Client.SubscribeDataChange(
'opcua.demo-this.com:51211/UA/SampleServer',
'nsu=http://test.org/UA/Data/;i=10853',
1000);
Client.SubscribeDataChange(
'opcua.demo-this.com:51211/UA/SampleServer',
'nsu=http://test.org/UA/Data/;i=10900',
500);

It possible to have 2 ondatachangeNotification or i must filter it by Handle?(In Delphi)

Variable Array Element Live Mapping in OpcUA - by: bmts

Hello,
I crated data model in .NET accoding example (UaConsoleLiveMapping).
But In my data model is variable that is array of structures (see picture in attachment).

I want to map 1 array elememnt from this variable. So above the property is define BrowseParht ".8" (see attachment)
When I call method AddToMapping it throw exception:

{"OPC-UA browse path format error: A namespace delimiter was expected.\nThe string to be parsed: \".ArrUDT_Counters.8\".\nSymbolic code: NamespaceDelimiterExpected."}

Can you tell me how to resolve this issue.

Thanks for response

Error code -2147023174 - by: MrASmidth

The following error is shown on our Environment reading an OPC Item

16.01.2017 11:35:03 Read Fehler OPC :10.250.80.200-INAT TcpIpH1 OPC Server-Klebe_366.Min_Hoehe_Dorn:An OPC operation failure with error code -2147023174 (0x800706BA) occurred, originating from 'OpcLabs.EasyOpcRaw.DataAccess.RawEasyDAClient'. The inner exception contains details about the problem.
16.01.2017 11:35:03 Inner Exception:Der RPC-Server ist nicht verfügbar.

With another OPC Client i can read the items (see attachment).

What can i do?


Thanks for your help
Alex



[File Attachment: Testclient.png]
Viewing all 1794 articles
Browse latest View live