07-12-2016 02:57 AM
Hi to all.
First of all thanks a lot for reading this post and being able to help me.
I am communicating labview with a PLC via RS232.
I have an encoder from 0 to 200 ms.
In that time I have acquire 4 boolean shots. From example in 10, 40, 80, 130.
but the communication is too slow and I loose data in a while... because some iterations I just acquire 2 shots, another iteration just one...
How I am doing the communication is with OPC server and taking the encoder adress from PLC.
Is there any way to improve this communication or RS232 is a slow communication?
Thanks a lot.
07-12-2016 03:44 AM
Hi A.,
asking for a way to improve a VI without showing this VI is kind of senseless…
General notes:
- Yes, RS232 is rather slow.
- You can set different baud rates for your RS232 connection - as long as both communication partners support them.
07-12-2016 06:11 AM
Lots of information is missing here. What is the baud rate being used? What is the serial string protocol? Where is your code?
07-13-2016 05:13 AM
I am using OPC server and the baud rato is 9600.
Maybe I can set more baud rate.
Anyway, is there any way to communicate PLC with Labview via VISA? Maybe like this is faster...
But I can not find information about how can I get data from a PLC variable which is in a specific addres.
Any help?
thanks a lot
07-13-2016 05:14 AM
Thanks a lot for replying!!!
See my last post.
Any help will be appreciate it.
Thanks again