LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

conflict between ODBC and OPC for Siemens PLC??

 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

0 Kudos
Message 1 of 3
(3,508 Views)

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 

0 Kudos
Message 2 of 3
(3,484 Views)

Thank you for your answer.

I have resolved the problem.Because  gave the variable wrong value.

0 Kudos
Message 3 of 3
(3,464 Views)