LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PLC RS232 Communication without OPC

Hi my friend.
Thanks a lor for replying.

Where can I configure "tag updare rate" oí n Labview and un OPC?? I would like to probe that solution! Maybe this is the solution. Could you say wherw can I configure them?
Thanks again!
0 Kudos
Message 11 of 16
(1,295 Views)

Hi friend! Did you see my last post? I can not find the update rate in Labview 😞

 

I thought as well with DataSocket pallete... You think I can achieve with that?

 

Thanks a lot!

0 Kudos
Message 12 of 16
(1,272 Views)

I have worked hard this weekend in this and I think that the problem can be that i am loosing data in the comunication.

 

Because the PLC variable is from 0 to 500 (a timer) so 1,2,3,4,5....500.

But Labview sees maybe 1,3,5,6,9,12,20,21,30,31,32,33,38,42..... So for that reason I am doing osmething wrong...

 

Can anybody help me?

0 Kudos
Message 13 of 16
(1,240 Views)

Hello to al.

First of all thanks a lot for reading this post and being able to help.

 

I am communicating a PLC with Labview via NI OPC Server.

I have a variable which is a timer in PLC. from 0 to 500 ms (1,2,3,4,5,6,7,8..........500)

 

I communicate good PLC and Labview but the problem is that I loose data on the way... because Labview does not see 1,2,3,4,5,6,7,8,9,10...500 because maybe it sees 1,3,7,8,9,12,15,20,25,28,30,35,42.....

So for that reason my app works wrong...

 

I have tried to use datasocket and put UpdateRate tag in 5 or 10 ms... but it works more or less in the same way.

 

Any idea for improving that or help??

 

Thanks a lot!!!!

0 Kudos
Message 14 of 16
(1,249 Views)

Hi A.,

 

please don't create double posts for the very same question. Keep discussion in one place!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 16
(1,231 Views)

Ok, if you can help me...

 

Regards.

0 Kudos
Message 16 of 16
(1,222 Views)