过程控制中的Python? [英] Python in Process Control?

查看:98
本文介绍了过程控制中的Python?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我使用Google的专有技术是不够的还是......


....真的没有人使用Python进行工业控制应用吗?


至少我没有找到任何可公开获得的模块作为OPC /现场总线这样的物品沟通等...


TIA,


最好的问候,


Wolfgang Keller

Hello,

is it that my know-how to use Google is insufficient or...

....does really noone use Python for industrial control applications?

At least I didn''t manage to find any publicly available modules for such
things as OPC/fieldbus communication etc...

TIA,

best regards,

Wolfgang Keller

推荐答案

2004-09-30,Wolfgang Keller< wo ******************* *@gmx.de>写道:
On 2004-09-30, Wolfgang Keller <wo********************@gmx.de> wrote:
是不是我使用谷歌的专业知识还不够......

...确实没有人使用Python进行工业控制应用?


我做 - 我用Python做DeviceNet的东西。

至少我没有设法找到任何公开的
模块用于OPC /现场总线通信等...
is it that my know-how to use Google is insufficient or...

...does really noone use Python for industrial control applications?
I do -- I use Python to do DeviceNet stuff.
At least I didn''t manage to find any publicly available
modules for such things as OPC/fieldbus communication etc...




我找不到任何公开可用的DeviceNet模块

_any_ language 。这并不意味着没有人在编写与DeviceNet相关的程序

。 ;)


-

格兰特爱德华兹格兰特哇!我希望

atEurythmics练习出生

visi.com控制......



I couldn''t find any publically available DeviceNet modules for
_any_ language. That doesn''t mean nobody is writing programs
that talk DeviceNet. ;)

--
Grant Edwards grante Yow! I hope the
at "Eurythmics" practice birth
visi.com control...


Wolfgang Keller写道:
Wolfgang Keller wrote:
你好,

是否我使用谷歌的专业知识还不够......

...真的没有人将Python用于工业控制应用吗?

至少我没有找到任何可公开获得的OPC /现场总线通信等项目的模块......
Hello,

is it that my know-how to use Google is insufficient or...

...does really noone use Python for industrial control applications?

At least I didn''t manage to find any publicly available modules for such
things as OPC/fieldbus communication etc...




我去了OPC一次。我有一个工作简单的OPC客户端我认为

(无法让服务器正常工作)。

基本上OPC都是COM所以它应该对win32com来说太难了方法


David



I had a go at OPC once. I had a working simple OPC client I think
(couldn''t get the server working).
Basically OPC is all COM so it should be too hard with the win32com methods

David


>>>>> "沃尔夫冈" == Wolfgang Keller< wo ******************** @ gmx.de>写道:


沃尔夫冈> ...确实没有人使用Python进行工业控制

Wolfgang>应用程序?


人们都知道这样做。


Wolfgang>至少我没有找到任何公开的

Wolfgang> OPC /现场总线通信等模块

Wolfgang>等...


这些东西不一定会浮入开源。我的冒险经历/ b $ b OPC涉及Python和C ++代码 - 我目前对

Python的了解可能会有更少的C ++代码:-)。 OPC只是DCOM,它应该直接使用Python + pywin32扩展名

(以前称为win32all,这可能有助于你的google搜索)。获取

Mark Hammond在Win32上编写Python编程的书:

http://www.oreilly.com/catalog/pythonwin32/

或者,您可以购买/找到一个C库,使OPC简单

(即不需要处理w / COM),并用Python包装。


和BTW,OPC很糟糕。这些工业决策者在他们提出使用DCOM作为

集成商面向界面的想法时,必须已经吸了大量的破解。

直截了当。


-

Ville Vainio http://tinyurl.com/2prnb
>>>>> "Wolfgang" == Wolfgang Keller <wo********************@gmx.de> writes:

Wolfgang> ...does really noone use Python for industrial control
Wolfgang> applications?

People are known to do this.

Wolfgang> At least I didn''t manage to find any publicly available
Wolfgang> modules for such things as OPC/fieldbus communication
Wolfgang> etc...

Such things don''t necessarily float into open source. My adventures w/
OPC involved both Python and C++ code - with my current knowledge of
Python there would probably have been much less C++ code :-). OPC is
just DCOM, which should work directly w/ Python+pywin32 extensions
(used to be called win32all, which might help your googlings). Get
Mark Hammond''s book Python Programming on Win32:

http://www.oreilly.com/catalog/pythonwin32/

Alternatively, you could buy/find a C library that makes OPC simple
(i.e. no need to deal w/ COM), and wrap it up in Python.

And BTW, OPC sucks. Those industrial decision makers must have smoked
lots of crack when they came up w/ the idea of using DCOM as the
integrator-facing interface that is supposed to be easy and
straightforward.

--
Ville Vainio http://tinyurl.com/2prnb


这篇关于过程控制中的Python?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆