04-01-2024 04:10 AM
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
Solved! Go to Solution.
04-01-2024 07:17 AM
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
04-01-2024 08:09 AM
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.
04-01-2024 08:44 AM
Found this for Siemens S7 - https://www.ni.com/en-us/shop/product/sp7-toolkit-for-labview.html
04-01-2024 08:49 AM
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.
04-05-2024 02:47 PM
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