Home > Net >  With opc communication problems, I want to visit db block part of the PLC data.
With opc communication problems, I want to visit db block part of the PLC data.

Time:01-19

M in the PLC through the OPCAutomation has access to part of the data, PC configuration group=M, itemid=S7: [S7_Connection_1] MX202.2,
. If you want to visit DB1010 DBX8.3 part data, should be how to configure the group and the itemid? Very urgent, please help

CodePudding user response:

With the inside of the interface OPCGroup. OPCItems. AddItem (itemName, client Handle++) this method, add the M part data no problem, add the DB pieces of data can be a problem,

CodePudding user response:

Look at your code seems to be a Siemens PLC, then directly use S7, OPC copyrighted at that time,

CodePudding user response:

Loved
refer to the second floor response:
look at your code seems to be a Siemens PLC, then directly use S7, OPC has copyright, then

Yes but can't access PLCdb blocks of data, to perform in the additem will throw exceptions when

CodePudding user response:

Loved
refer to the second floor response:
look at your code seems to be a Siemens PLC, then directly use S7, OPC has copyright, then

I've tried to group configuration into DB itemid configuration into [S7_Connection_1] [DB1010] DBX8.3 failed
[S7_Connection_1] DB1010. DBX8.3 failed
Group with DB1010 no success

CodePudding user response:

If I download resources in S7, you go to download a, Siemens which module can access, useful, the key is very stable,
  •  Tags:  
  • C#
  • Related