10-19-2009 09:42 AM
Hi!
I configured one OPC server in my computer to read and write values with siemens PLC.
Then I inserted variables on the proyect and I can read them perfectly. The problem appears when I want to write values. If I connect a boolean swicth directly to the variable and I start the application appears one error (FALLO1).jpg.
If I connect the swicth to the variable and execute it ONE TIME it works perfectly. It appears like I cannot connect directly the switch.It happens the same with analog values.
I need something in Labview to send data ONLY when the switch or variable change, like the VARIABLE MANAGER software. There If I change the value it works perfectly...
I hope I have explained...
Thanks a lot.
Bye.
10-20-2009 03:31 AM
Hi Allende,
Maybe you are having a timing problem. If you check this thread...
http://forums.ni.com/ni/board/message?board.id=170&message.id=267124&requireLogin=False
it is written that sometimes this problem is solved just using Wait functions.
Regards,