Diferència entre revisions de la pàgina «OPC-UA»

De things.cat
Salta a: navegació, cerca
m
m
Línia 1: Línia 1:
= Servidor mínim OPC-UA en Python i client ProSys OPC =
 
 
 
= Eines =
 
= Eines =
 
== Programes multiplataforma ==
 
== Programes multiplataforma ==
Línia 17: Línia 15:
 
Per a baixar-vos el [https://github.com/FreeOpcUa/python-opcua Projecte Python OPC-UA al GitHub]:
 
Per a baixar-vos el [https://github.com/FreeOpcUa/python-opcua Projecte Python OPC-UA al GitHub]:
 
  git clone https://github.com/FreeOpcUa/python-opcua.git
 
  git clone https://github.com/FreeOpcUa/python-opcua.git
 +
 +
= Exemples d'ús =
 +
== Servidor mínim OPC-UA en Python i client ProSys OPC ==
 +
Per a poder replicar aquest exemple us cal tenir el [https://prosysopc.com/products/opc-ua-browser/ Navegador OPC-UA de PROSYS OPC] i haver baixat el [https://github.com/FreeOpcUa/python-opcua Projecte Python OPC-UA al GitHub].
 +
 +
Aquesta és l'execució des del terminal:
 +
jordi@ecat-debian:~/opc-ua/python/python-opcua/examples$ '''python3 server-minimal.py'''
 +
Endpoints other than open requested but private key and certificate are not set.
 +
Listening on 0.0.0.0:4840

Revisió del 12:33, 28 juny 2020

Eines

Programes multiplataforma

Navegador OPC-UA de PROSYS OPC és un client multiplataforma i gratuït (en el moment d'escriure aquesta wiki) que permet navegar i visualitzar dades de servidors OPC-UA.

Servidor OPC-UA de PROSYS OPC és un servidor multiplataforma que permet verificar connexions i clients OPC-UA.

Eines de programació

Python OPC-UA

Implementació en Python (2, 3 i pypy) de la part client i servidora de l'OPC-UA / IEC 62541

Projecte Python OPC-UA al GitHub

Documentació Python OPC-UA

Per a baixar-vos el Projecte Python OPC-UA al GitHub:

git clone https://github.com/FreeOpcUa/python-opcua.git

Exemples d'ús

Servidor mínim OPC-UA en Python i client ProSys OPC

Per a poder replicar aquest exemple us cal tenir el Navegador OPC-UA de PROSYS OPC i haver baixat el Projecte Python OPC-UA al GitHub.

Aquesta és l'execució des del terminal:

jordi@ecat-debian:~/opc-ua/python/python-opcua/examples$ python3 server-minimal.py 
Endpoints other than open requested but private key and certificate are not set.
Listening on 0.0.0.0:4840