Two questions about python OpenOPC library

Description of problems and environment

The OpenOPC library is friendly and easy to use, the api is also simple, but I discovered two problems while developing a tool for writing real-time OPC element data.

  • Development Environment: Window 8.1, Python 2.7.6, wxpython 2.8 unicode
  • In the test environment: Windows XP SP3, Python 2.7.6, wxpython 2.8 unicode, Softwell Rockwell as an OPC server Test environment snapshot0Test environment snapshot1
  • In a deployment environment: Window XP SP3 connected to a Real-time Real-time PLC installed by RSLogix 5000 and RSLinx Classic Gateway

Questions

  • The opc.list function does not list the entire element indicating node in both the test environment and the workstaion environment. The question is, how do I list 't' from the opc server?
    • int 'dint100' dint 't' RS logix 5000 soft_1 Add dint tag 't' with RS logix 5000
    • OPC Rockwell 't' Rockwell's default opc test tool could display 't'
    • OpenOPC , 't', opc.read('[soft_1] t') . Try to list tag 't' with OpenOPC with pythonwin but failed
    • "t" , - . Personal opc monitor tool snapshot
  • opc.servers OPCError , "RSLinx OPC-" . opc.servers - DLL ? opc.servers function failed on deploy environments

    ! !

+3
1

, ( "opc.list" ) . RSLinx OPC. - / , .

+1

All Articles