How to listen serial data without interruption Ignition. Please enter a title. Hope you’re able to resolve it quickly! Is there any way to force it to continue to read to get a current bad value? If you restart the OPC Server after enabling the debug and you are able to replicate the issue, posting a excerpt of the logs here or to our Tech Support team should be enough info to better understand the issue. I put the code in a button’s actionPerformed event.
|Date Added:||14 September 2011|
|File Size:||44.54 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
I am trying to do the same thing in Ignition where I test the serial port until CR characters then read the Serial port till the CR character. Please type your message and try again. I think it is time to get your device online. krpware
How to Integrage Weigh Scale with OPC server via xMII
I’m not using Instrument InterfaceI think pturmel have given a perfact way to continuously monitor the serial port data. Is this normal functionality or should the tag continue to update and read “bad”?
Hope you’re kepward to resolve it quickly! If you would still consider putting those serial devices on the network, grab a Raspberry Pi and run ser2sock https: Please let us know tag configuration on the interface i. My solution would be to configure a UCON driver in Kepware and create a transaction block representative of the data you are trying to receive.
It appears that if ucln tag is “bad” in Kepware it continues to read but if the Kepware tag is “Bad Out of Service ” it stops reading.
I put the code in a button’s actionPerformed event. I have resolved the problem in a indirected way. This content has been marked as final. When channels are reinitialized, you will make a new connection and therefore the behavior will be different. I’m using ignition 7. I put scripts on a timerbut datas always losed,and after some kepwage, there is an error “could not creat any more thread”. It appears that when Kepware returns “Bad Out of Kepwsre ” the tags stop updating the bad value.
You can also ekpware out the Instrument Interface module from Sepasoft https: We used it to capture data from 3 serial devices where the data trigger was independent from Ignition unsolicited data.
Go to original post. You can not post a blank message. How are you using the Instrument Interface to continuously monitor the Serial Port?
How to Integrage Weigh Scale with OPC server via xMII 12.0
Thanks for getting back to us! I ucoj the same question Show 0 Likes 0. I discovered it was a Kepware channel issue. I might also just experiment with Polled request at super fast rate? I am using serial module to get data from a rs device, and the device is could only send its data to serial port ,but could not accept any request.
Yes, most likely you would have seen the same behavior restarting the OPC Server. Please enter a title. This is actually a rather challenging task, requiring a background thread constantly listening to the serial port. We are using the Ucon driver and for whatever reason it stops reading and goes from Bad to Bad out of service which stops any new timestamps.