Тёмный

OPC DA | PYTHON | SERVER | CLIENT 

Rocket Systems
Подписаться 7 тыс.
Просмотров 35 тыс.
50% 1

This video describe how we can access OPC DA using Python's OpenOPC package. Below are the important links:
1) INSTALL PYTHON 32Bit
2) INSTALL PYWIN32 : github.com/mhammond/pywin32/r...
3) DOWNLOAD AND REGISTER THE DLL: www.gray-box.net/download_daaw...
Command: regsvr32 gbda_aut.dll
4) INSTALL OPENOPC: pip3 install OpenOPC-Python3x
OPC UA Series: • OPC UA Ep. 1 | Introdu...
Like us on Facebook for all the updates: / rocketsystems
For any work or business related queries: mailrocketsystems@gmail.com
Enjoy.!

Наука

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 63   
@RocketSystems
@RocketSystems 3 года назад
OPC DA in Python is not officially supported now as mostly industries are now using OPC UA. But if you still have to connect OPC DA server, I would recommend using C# instead of Python, as C# has more support in OPC DA. Watch this video for C# OPC DA ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-vy470g4AeGw.html
@joshuauwuseba531
@joshuauwuseba531 3 года назад
This is very useful. Appreciated 👍
@garimathakur880
@garimathakur880 5 лет назад
Great video, really helpful!
@FatBikeRacer
@FatBikeRacer 4 года назад
Excellent info, thanks!
@moonape1226
@moonape1226 3 года назад
Thanks for the video! Really save my day!
@sakenberik7
@sakenberik7 3 года назад
For instance, I've got a problem in Honeywell Experion getting OPC DA string data from remote OPC DA server (no problems with numeric data types). I'm thinking of getting that data like you demonstrated here, convert it to numeric data type, say int, send it to Experion and then convert it back to string in Experion itself. So, can I do conversion in Python and use it like DA server for Experion? Regards, Saken
@tyunaykamber1872
@tyunaykamber1872 Год назад
Thank you
@burhanhyder26
@burhanhyder26 3 месяца назад
Savior🙏
@23vijju
@23vijju 5 лет назад
How to send realtime OPC Da to ms SQL server using python code
@saulsalcedobalderas7778
@saulsalcedobalderas7778 4 года назад
Hello, can i read de values from 'Simulation Items'? I tried, but i get the following error: ' TypeError: can't pickle time objects'. How can i solve it?
@e328081
@e328081 4 года назад
Thanks for the video. Can you tell or give me the piece of code to connect to OPC server running on a remote machine
@pcarabal1972
@pcarabal1972 3 года назад
Hi Rocket, I am trying on a 64 bits windows 2008 server R2 estandar, must I install python on 32bits? also, could you please add a link to the OpenOPC-Python3x repository, I found several version. Gracias
@hector_matias
@hector_matias 3 года назад
when use opc.write(('variable_name', 12)) the script crash, and windows says that the program stop working right but the script doesnt return nothing, what can i do? thanks
@lamsremiful
@lamsremiful 4 года назад
Thanks for that video educative video. Wondering what is the dll software for? Thanks
@mohamadibrahim5184
@mohamadibrahim5184 4 года назад
How can I transfer/copy a simulated item on OPC da to python ?
@izetassky
@izetassky 4 года назад
why python 32 bit? my pc i 64 bit
@Dharmavarapu_Sairam
@Dharmavarapu_Sairam 3 года назад
hi While installing DLL through cmd prompt error appearing pls guide
@gabormodla6728
@gabormodla6728 4 года назад
Dear Rocket Sytem, I have followed your instructions, but when I run regsvr32 gbda_aut.dll I have got error. Code is 0x80070005. How can I would solve this problem?
@anamikaahmed4887
@anamikaahmed4887 3 года назад
Run as administrator. The error will disappear
@nnaveen646
@nnaveen646 4 года назад
what to do if we have 64 bit ?
@engineers_kitchen
@engineers_kitchen 3 года назад
Open opc python works but this doesn't work for large amount of tags.
@user-zr4dc7fx3j
@user-zr4dc7fx3j 5 лет назад
I have this error message. # Set client name since some OPC servers use it for security How to set the client name in OPC servers ?
@clobbleglobble7501
@clobbleglobble7501 4 года назад
Same question. Bump
@akahn8311
@akahn8311 5 лет назад
Thanx for the upload highly appreciate your time and your effort. Can you please help me with the following issue. How can I read and display values from the Matrikon Server in Python IDLE where you wrote the client code.
@RocketSystems
@RocketSystems 5 лет назад
The issue with the opc da is that you cannot get the values from remote server, which means you will have to run the opc da code in the server itself. This is why I later worked on C# code through which you can connect to any remote opc da server. Check this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-vy470g4AeGw.html
@juliannavas9561
@juliannavas9561 4 года назад
What about opc mirroring or tunneling? Would it work with python?
@lanliu9263
@lanliu9263 4 года назад
hi ,i installed the listed ,but when i run "opc=OpenOPC.client()", threr is an error .The error message is "OpenOPC.OPCError: Dispatch: Invalid class string" , could you tell me how to fix it
@RocketSystems
@RocketSystems 4 года назад
This looks to be import issue. Did you faced any issue installing OpenOPC
@lanliu9263
@lanliu9263 4 года назад
No ,i did not not find the issue when installed the OpenOpc. Do you think if the Python 64 bit cause this ?
@saiprakash569
@saiprakash569 3 года назад
@@RocketSystems same error for me!! no issues while installing OpenOPC
@gabormodla6728
@gabormodla6728 4 года назад
I would like to read tag values for KEPServerEx6. Do you have solution for it?
@juliannavas9561
@juliannavas9561 4 года назад
Look at 9:17 You need to obtain the opc server name and use it in your code
@alexandrossigalas3303
@alexandrossigalas3303 4 года назад
I am having trouble trying to write tag values for KEPServer. Does anybody know how the write or iwrite methods work?
@mayuradawadkar4615
@mayuradawadkar4615 5 лет назад
Great tutorial!! I get error after the command opc=OpenOPC.client() as NameError : name 'pythoncom' is not defined. Can you please help?
@RocketSystems
@RocketSystems 5 лет назад
Looks like you missed few libraries while installing. Try the installation part again.
@alexandrossigalas3303
@alexandrossigalas3303 4 года назад
@@RocketSystems I have the same problem, although I checked all Library dependencies
@danielsuazo2484
@danielsuazo2484 4 года назад
@@alexandrossigalas3303 install pypiwin32, that worked for me
@ericksdalboni
@ericksdalboni 3 года назад
You need to install pywin32
@syunsukesuzuki3096
@syunsukesuzuki3096 3 года назад
I changed the OpenOPC.py code I dont know this is the right way which according to the OpenOPC's policy, but it worked. import os import sys import time import types import string import socket import re import Pyro4.core from multiprocessing import Queue import pythoncom #
@vijaykumargullapalyam9778
@vijaykumargullapalyam9778 5 лет назад
Provide a solution for the follwoing error opc.connect('Vestas.VOBOPCServerDA.3') Traceback (most recent call last): File "", line 1, in opc.connect('Vestas.VOBOPCServerDA.3') File "C:\Python27\lib\site-packages\OpenOPC.py", line 230, in connect raise OPCError, error_msg OPCError: Connect: Class not registered (Class not registered)
@RocketSystems
@RocketSystems 5 лет назад
Are you running the server on the same machine.?
@vijaykumargullapalyam9778
@vijaykumargullapalyam9778 5 лет назад
@@RocketSystems No OPC server and OPC clients are running in different systems.
@RocketSystems
@RocketSystems 5 лет назад
@@vijaykumargullapalyam9778 This works only for local servers. To connect with servers running on other machine, you will have to run service on them and then from client machine connect tk that service. Check out OpenOPC library page for more details.
@vijaykumargullapalyam9778
@vijaykumargullapalyam9778 5 лет назад
@@RocketSystems thanks for your kind reply. could you please provide me a solution that, data transfer from OPC DA client to Microsoft azure SQL server
@vijaykumargullapalyam9778
@vijaykumargullapalyam9778 5 лет назад
import openOPC getting error
@RocketSystems
@RocketSystems 5 лет назад
Did you faced any issue while installing the OpenOPC python package.?
@vijaykumargullapalyam9778
@vijaykumargullapalyam9778 5 лет назад
@@RocketSystems nooooo
@vijaykumargullapalyam9778
@vijaykumargullapalyam9778 5 лет назад
@@RocketSystems NO please hel me
Далее
Это реально работает?!
00:33
Просмотров 2,5 млн
Разоблачение ушные свечи
00:28
Просмотров 644 тыс.
Советы на всё лето 4 @postworkllc
00:23
OPC DA Client using C# | Rocket Systems
15:52
Просмотров 18 тыс.
OPC Expert -  Convert OPC DA to OPC UA
5:15
Просмотров 10 тыс.
OPC UA Ep. 4 | Raspberry Pi OPC Server
5:28
Просмотров 47 тыс.
OPC UA with Visual Studio and C#
50:10
Просмотров 45 тыс.
WINCC OPC DA SERVER Exchange data with 2 PCs
10:21
Просмотров 12 тыс.
OPC Expert - Convert OPC UA to OPC DA
4:45
Просмотров 6 тыс.
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 7 млн
Что стало с Windows Phone?
0:43
Просмотров 290 тыс.
iPhone socket cleaning #Fixit
0:30
Просмотров 18 млн
КАКОЙ SAMSUNG КУПИТЬ В 2024 ГОДУ
14:59