ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial communication with PLC controller.

Solved!
Go to solution

I'm trying to communicate with a PLC controller via a USB to RS232 adapter.  I don't have access to the controller so I'm trying to send ASCII commands back and forth between to computers.  If anyone has advise on what example programs I can configure/modify for this purpose I would appreciate it.  I've had moderate success with the continuous serial write and read.vi but I don't know how to send and receive only one command.  

 

Download All
0 Kudos
Message 1 of 4
(3,718 Views)
Solution
Accepted by topic author PAI_Engineer

VIWeek 2020/Proper way to communicate over serial



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(3,681 Views)

Thanks,

I watched it and am playing with your vi's now.

0 Kudos
Message 3 of 4
(3,589 Views)
Solution
Accepted by topic author PAI_Engineer

I've got the send message/intermittent instrument vi's working perfectly.  I should be able to build something with these no problem.

 

Thanks again

0 Kudos
Message 4 of 4
(3,568 Views)