07-28-2009 10:43 AM
I have a program with DataSocket and ODBC access.If I made the DataSocket of OPC for Siemens PLC s7-200 inavailable,and gave the variables constant values,the program can write the values to the access,and can read the values from the access ,also.
If the DataSocket of OPC was available,it could read from the plc and gave the values to the variables,but could not write into the access.All the values in the access are 0,but not the values read from the PLC.
is there any conflict between ODBC and OPC for Siemens PLC??
how can I resolve the problem?
wait for answer.
Thank you
07-29-2009 09:38 PM
Hi~
Please refer to the following link:How Do I Connect to an OPC Server Using DataSocket?
http://digital.ni.com/public.nsf/allkb/F92C1F2F7B35105B86256DB200628B24?OpenDocument
07-31-2009 02:04 AM
Thank you for your answer.
I have resolved the problem.Because gave the variable wrong value.