LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Communication between LabWindows/CVI and PLC

Hi.
 
 I have working knowledge on Labwindows/CVI since 2003. I have used different data aquisition board  and weighing indicator with CVI. Now I want to develop a PC based software which should communicate the PLC (B&R, model no. PP21) through RS232 communication interface.  I want to establish a connection between PC and PLC via RS232.The CVI program must be able to send and receive the data to and from the PLC. How do I write the CVI program to communicate the PLC. Please give me the solution or small program for this problem.
 
Sunil.S
0 Kudos
Message 1 of 2
(3,426 Views)
I would suggest looking at any and all of the below functions
 that will provide you the needed capability to use built-in
RS-232 function of CVI

Open COM and Configure     OpenComConfig
Close COM                            CloseCom
Open COM-Current State      OpenCom
Read Buffer                            ComRd
Read Terminated Buffer           ComRdTerm
Read Byte                                 ComRdByte
Write Buffer                             ComWrt
Write Byte                             ComWrtByte
Get Input Queue Length           GetInQLen
Install COM Callback             InstallComCallback

Message Edited by scomack on 12-19-2007 08:58 AM
0 Kudos
Message 2 of 2
(3,415 Views)