01-26-2015 05:48 PM
Boa noite,
Estou a utilizar o labview 8.6.1 para a comunicar com um plc da rockwell através do opc da rockwell. a aplicação que estou a desenvolver, pretende a troca e registo de dados em base da dados entre o plc e o labview. O sistema está construido da seguinte maneira, o plc ativa as variaveis com os valores pretendidos, o labview ao verificar que os valores das variáveis são diferentes de um valor default, por comparação, vai efectuar o registo dos dados e reeescreve o valor de default nessa variavel. O que está a acontecer é que exporádicamente, algumas variáveis possuem um determinado valor no PLC e um outro no labview, levando com que a aplicação vá crashando. As variáveis são lincadas por data binding, shared variable engine (NI-PSP).
Obrigado
01-26-2015 07:22 PM
Can ex plain it in English please ?
01-27-2015 02:27 AM
Hello
I'm using labview 8.6.1 to communicate with a plc rockwell through the opc Rockwell. I'm developing one application to exchange and recording of a data base between the plc and the labview. The system was constructed as follows, the plc active the variables with the desired values, the labview find that values of and compare with a default values. If this two values are different, will register the data and reeescreve the default value in this variable. Sometimes, some variables have a certain value in the PLC and another in labview, leading the application to crash. Variables are Linked by data binding and shared variable engine (NI-PSP).
01-28-2015 03:28 AM
Hello Pedroantao,
Could you give more information about the crash ?
What is the error message ?
Eloise
NI France
01-28-2015 04:04 AM
Hi,
The communication with the plc stay too slow, and the update the status of the variables too . Once I saw that the variables in the variable manager possessed the value of the PLC, but the application was not reading the correct value. This does not happen always in the same variables.