06-21-2010 08:54 PM
Buenas noches:
Estoy realizando una aplicación en la que necesito comunicar eficientemente un PLC S7-200 cpu 224. Para esto estoy utilizando el NI OPC server con el driver para la interfaz PPI y conecto labview (versión 8.6) al OPC mediante I/O y libreria de variables compartidas. el problema que tengo es que el intentar leer y/o escriber en una variable desde el VI esto se realiza de una manera muy lenta tardando de hasta 10 segundos en actualizar un valor e incluse a veces se desengancha el servidor del programa y se detiene la ejecución. Sin embargo si intento forzar la variable desde el system distruted manager si logro que las variables se actualize a la velocidad deseada. la escritura de la variable se raliza asignando un contro a la variable compartida desde un whilw loop. Les agradezco su ayuda para solucionar este problema, muchas gracias.
Andrés Mauricio.
06-23-2010 03:41 AM
Translation :-
I'm making an application you need to communicate effectively a PLC S7-200 CPU 224. To this I am using the NI OPC server with the driver for the PPI interface and connect Labview (version 8.6) by the OPC I / O library and shared variables. The problem I have is that trying to read and / or writes to a variable from the VI this is done in a very slow afternoon up to 10 seconds to update a value and sometimes the server is released and stops the program implementation. But if I try to force the variable from the system manager if I distruted the variables are updated at the desired speed. writing of the variable should be performed by assigning a contrast to the shared variable from a loop whilw. Thank you for your assistance in solving this problem, thank you very much.
07-05-2013 01:07 PM
Tenes el vi para ver si te puedo ayudar
Saludos,
Martin