LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

establishing communication between labview and the controllers

Solved!
Go to solution

Hello experts

Please experts, I have a serious problem; This problem consists of establishing communication between LabVIEW and each automaton below:
1-OMRON(CP1H; CQM1)
2-MUTSIBISHI
3-GE FANUC 90-30;
4-allen bradley;
5-Siemens(S7-200;S7-300)
Most of these controllers communicate with my PC via SERIAL communication (com port). the concern here is to know:
1-how to read and write the addresses of these automatons through labview which is installed on my PC.

2- given that there is no Ethernet port on these PLCs but serial; Is there an NI (for example NI VISA) for communication with these machines.

 

thanks for understanding

0 Kudos
Message 1 of 10
(1,079 Views)

Yes, NI VISA is what you generally use for Serial Communication.   I strongly recommend that you view this video by Tim Robinson, a LabVIEW Champion and frequent contributor to this Forum who explains Serial Communication in LabVIEW very clearly.

 

Bob Schor

0 Kudos
Message 2 of 10
(1,041 Views)

I'm fairly certain people have done this, I'm just unaware of any examples.  It would be time to dig out some manuals to figure out the protocol for each controller and then we can put something together.  That is just the nature of communications in general.


GCentral
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 3 of 10
(1,030 Views)

Found this for Siemens S7 - https://www.ni.com/en-us/shop/product/sp7-toolkit-for-labview.html

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 10
(1,018 Views)

you will probably need to dig for communication's protocol on each one of these devices. 

 

A good starting point is  JKI VI Package Manager Download - NI search for the devices you 're looking for. 

 

 

0 Kudos
Message 5 of 10
(1,015 Views)

Good morning

yes I usually use NI VISA for serial communication; and currently I would like to know if it is possible to communicate Cx-programmer (Omron automaton programming software) with LabVIEW (NI VISA) on the same PC through the same COM port (9600; 7;2;E) with Host Link as a communication protocol.
if it works I would buy the CP1H automaton to connect to labview.

 

thanks for understanding

0 Kudos
Message 6 of 10
(953 Views)