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
04-05-2024 03:10 PM
I'm looking but I can't see
04-06-2024 10:37 AM
I typed "cx programmer" into Google and got directed to Omron Europe and the "CX Programmer Introduction Guide". Guess what? This looks just like a LabVIEW Project, complete with Project view, Tab Controls, and other familiar LabVIEW Front Panel Controls. This doesn't directly address the questions that @Wanji raised, except to say that the Omron product looks like several man-years of skilled LabVIEW development. But if Omron used "what appears to be LabVIEW" to run things, then probably LabVIEW will work with your controllers.
I'm attaching an image of the cover page.
Bob Schor
04-06-2024 03:08 PM
@Bob_Schor wrote:
I typed "cx programmer" into Google and got directed to Omron Europe and the "CX Programmer Introduction Guide". Guess what? This looks just like a LabVIEW Project, complete with Project view, Tab Controls, and other familiar LabVIEW Front Panel Controls. This doesn't directly address the questions that @Wanji raised, except to say that the Omron product looks like several man-years of skilled LabVIEW development. But if Omron used "what appears to be LabVIEW" to run things, then probably LabVIEW will work with your controllers.
I'm attaching an image of the cover page.
Considering the look of the tabs and some other layout details I'm highly doubting that this was programmed with LabVIEW.
Omron typically supports HostLink over RS-485/232, and FINS over Ethernet and NT Link, which is proprietary. However I'm not aware of fully implemented LabVIEW driver libraries for any of them. HostLink is fairly simple to do yourself on VISA based on documentation from Omron. FINS I never looked at but this seems to be a possible implementation: https://github.com/jmor2000/LV-OMRON-FINS
04-06-2024 05:13 PM
I don't know Omron Sw but I doubut that would work with labview.
You can probably develop your own sw to program the PLC through ViSA but you need to know the protocol of commands to send/read to /from the PLC.
Check this link about OPC and LABVIEW
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0MPCAY&l=en-CA