OPC UA Tango Device Server
|
|
---|---|
Hello, We will start working on a Tango device server to control a new pulsed magnet "control unit". This "control unit" will have, as a communication interface, Siemens PLC with OPC UA protocol and a classical TCP socket connection. I am trying to find if someone inside Tango community had developed a device server (or something similar…) to communicate with Siemens PLC via OPC UA using something like Python FreeOPC UA library or C++ FreeOPC UA library. Thank you in advance. Kind regards Emilio Morales |
|
|
---|---|
Hi Emilio, Did you look at the OPC UA related existing Tango Classes which are listed in the Tango Classes Catalog? —> https://www.tango-controls.org/developers/dsc/search/?search=opc Cheers, Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
Hi Reynald! Thank you! Next time I will check here in advance. I will try with these Tango Classes and in case of problems I will contact related developers. Thank you again. Kind regards Emilio Morales |
|
|
---|---|
Reynald I would not bother, Emilio. The devices there are unmaintained. If you are considering PyTango, the perhaps you should get in touch with the LOFAR2.0 people. When I worked there, we created an attribute wrapper that maps OPC UA attributes to Tango Controls attributes. –> https://git.astron.nl/lofar2.0/tango There this might be of interest to you: https://git.astron.nl/lofar2.0/tango/-/blob/master/tangostationcontrol/tangostationcontrol/clients/opcua_client.py |
|
|
---|---|
Hello Thomas! Thank you for the information! I will check it! Kind regards Emilio Morales |
|
|
---|---|
Hi Emilio, in general I would still look for device classes in the catalog because even if a certain number are not actively maintained (many of them are) they can give you a good starting point. Concerning OPC-UA I am aware of a few developments from the past. I remember that s2innovation was the last to have a working OPC-UA device class. Maybe they can give you some input. Of course the one from LOFAR if it is actively used is also a good option. It would be interesting to know which one you decide to use in the end. Cheers Andy |
|
|
---|---|
Hi Andy,Andy I totally agree with you. In the future I will search first on class catalog as Reynald suggested too. The idea of this post is not to duplicate effort on things that TANGO community has already developed. Andy Thank you for your help. I will check it. If I am not wrong, in the last TANGO community meeting SOLEIL show us a OPC-UA based communication, one using a OPC-UA server embedded on PLC and other solution based on PANORAMA OPC-UA server. AndyYes, of course! We will let you know our final decision. Kind regards Emilio Morales |
|
|
---|---|
Hi Emilio, At SOLEIL there is an ongoing development of an OPCUA device server based on Eclipse Milo. The colleagues in charge of this development are currently off. We can exchange when they will be back. Regards, YM |