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,