Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12044 > unrolled thread

OPC Client with VO

Started byGerhard Bunzel <g.bunzel@domonet.de>
First post2018-10-11 11:01 +0200
Last post2018-10-14 12:04 +0200
Articles 5 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  OPC Client with VO Gerhard Bunzel <g.bunzel@domonet.de> - 2018-10-11 11:01 +0200
    Re: OPC Client with VO koelndatasoftware@gmail.com - 2018-10-12 02:19 -0700
      Re: OPC Client with VO Gerhard Bunzel <g.bunzel@domonet.de> - 2018-10-12 13:03 +0200
    Re: OPC Client with VO "Wolfgang Riedmann" <wriedmann@gmail.com> - 2018-10-12 12:21 +0200
      Re: OPC Client with VO Gerhard Bunzel <g.bunzel@domonet.de> - 2018-10-14 12:04 +0200

#12044 — OPC Client with VO

FromGerhard Bunzel <g.bunzel@domonet.de>
Date2018-10-11 11:01 +0200
SubjectOPC Client with VO
Message-ID<ppn3go$qpm$1@news-1.m-online.net>
Hi all,

I have to do a communication with a OPC Server to a small VO application 
to read some items.
There are several development kits available - but all are for .NET - 
several have COM.
At the moment I have no experience with C# or X#.
Does anyone have a tip to do that communication or will be able to do 
that with C# or X# to read some OPC Server Items and send them to a VO 
application?
Your work will be paid.

Many thanks in advance.

Best regards

Gerhard Bunzel

[toc] | [next] | [standalone]


#12053

Fromkoelndatasoftware@gmail.com
Date2018-10-12 02:19 -0700
Message-ID<3d4cfa84-84aa-43e9-aa68-9e0555f8cf6c@googlegroups.com>
In reply to#12044
Hi Gerhard,

Some years ago I have done this.
A C# app does the communication to OPC server. The VO app and C# app are communicating over UDP with each other.
VO sends command (READ or WRITE) and the variable name. C# app responses with return value, ok (when WRITE) or error message.

If that's what you need give me your contact data.

Regards,
Stefan

[toc] | [prev] | [next] | [standalone]


#12055

FromGerhard Bunzel <g.bunzel@domonet.de>
Date2018-10-12 13:03 +0200
Message-ID<pppv19$lj2$1@news-1.m-online.net>
In reply to#12053
Hi Stefan,

that's what i'm looking for. I have to read some items from a OPC-Server 
to print labels and write items back with machine setting.
I would be very appreciated, to get such a sample from you.

Thanks in advance.

Best regards

Gerhard Bunzel



Am 12.10.2018 um 11:19 schrieb koelndatasoftware@gmail.com:
> Hi Gerhard,
> 
> Some years ago I have done this.
> A C# app does the communication to OPC server. The VO app and C# app are communicating over UDP with each other.
> VO sends command (READ or WRITE) and the variable name. C# app responses with return value, ok (when WRITE) or error message.
> 
> If that's what you need give me your contact data.
> 
> Regards,
> Stefan
> 

[toc] | [prev] | [next] | [standalone]


#12054

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2018-10-12 12:21 +0200
Message-ID<g2batjFflj3U1@mid.individual.net>
In reply to#12044
Hi Gerhard,

currently X# is C# with VO syntax, so it should be possible to master
that. And there is also a VO compatible runtime available.

You yould write a piece in X# and enable it for COM, so you can use it
directly from you VO application. I'm doing this, and you can find
samples how to do it here:

https://docs.xsharp.it/doku.php?id=com_module_sample

If you encounter problems, ask on the X# forum.

Wolfgang


Gerhard Bunzel wrote:

> Hi all,
> 
> I have to do a communication with a OPC Server to a small VO
> application to read some items.  There are several development kits
> available - but all are for .NET - several have COM.  At the moment I
> have no experience with C# or X#.  Does anyone have a tip to do that
> communication or will be able to do that with C# or X# to read some
> OPC Server Items and send them to a VO application?  Your work will
> be paid.
> 
> Many thanks in advance.
> 
> Best regards
> 
> Gerhard Bunzel



-- 

[toc] | [prev] | [next] | [standalone]


#12057

FromGerhard Bunzel <g.bunzel@domonet.de>
Date2018-10-14 12:04 +0200
Message-ID<ppv4b1$5ob$1@news-1.m-online.net>
In reply to#12054
Hi Wolfgang,

thanks for your answer.
I hade a look at some C# samples - with the hope, it's a working sample 
to transfer that to X#. But I get not one sample, that is workin with C# 
and Visual Stuido 2017. Errors by the transfer from an older Visual 
Studio Version - or missing assemblys/resources - or something else.
With VO that would no problem - but with .NET I dont have the experience 
to get it to work. With a working C# sample, I would to the changes to 
get a COM-Object - based on your description.

Best regards

Gerhard


Am 12.10.2018 um 12:21 schrieb Wolfgang Riedmann:
> Hi Gerhard,
> 
> currently X# is C# with VO syntax, so it should be possible to master
> that. And there is also a VO compatible runtime available.
> 
> You yould write a piece in X# and enable it for COM, so you can use it
> directly from you VO application. I'm doing this, and you can find
> samples how to do it here:
> 
> https://docs.xsharp.it/doku.php?id=com_module_sample
> 
> If you encounter problems, ask on the X# forum.
> 
> Wolfgang
> 
> 
> Gerhard Bunzel wrote:
> 
>> Hi all,
>>
>> I have to do a communication with a OPC Server to a small VO
>> application to read some items.  There are several development kits
>> available - but all are for .NET - several have COM.  At the moment I
>> have no experience with C# or X#.  Does anyone have a tip to do that
>> communication or will be able to do that with C# or X# to read some
>> OPC Server Items and send them to a VO application?  Your work will
>> be paid.
>>
>> Many thanks in advance.
>>
>> Best regards
>>
>> Gerhard Bunzel
> 
> 
> 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web