CarlosCalderon Posted March 25, 2009 Report Share Posted March 25, 2009 LOGO! PLC driver based on LabVIEW I'm happy because these past 2 weeks I have been working to decode and interpret the communication between the LOGO! PLC and a PC. Well ... I finished this work and achieved the following: - Ask the status of communication between PC – LOGO! PLC - Ask the status of the PLC (The PLC responds RUN/STOP status) - Forcing the status of the PLC to RUN mode. - Forcing the status of the PLC to STOP mode. - Ask the current values (in real-time) of all channels of the PLC: o 24 digital inputs o 16 digital outputs o 8 analog inputs o 2 analog outputs o 24 digital marks o 6 analog marks o 4 cursors The application developed in LabVIEW performs the main function of communicate the Desktop / Laptop with PLC LOGO! (That is to say link National Instruments with Siemens ... ja ja). The software performs the following functions: - Monitors and displays all channels of the LOGO! - Choose the communication port. - The user can save in a file all the data, each configurable period. I have made many tests with different logic modules, and it has not given any problems. In the image attached, I show you some of the topologies that can be implemented knowing this protocol of communication. I ask you to spread this to engineers/technicians who design and implement these MICRO-AUTOMATION systems, in order to offer this Software applicable to supervisory system or data-logger device. I'm ready to be able to help. Quote Link to comment
TG Posted March 25, 2009 Report Share Posted March 25, 2009 QUOTE (CarlosCalderon @ Mar 24 2009, 03:19 PM) LOGO! PLC driver based on LabVIEW I'm happy because these past 2 weeks I have been working to decode and interpret the communication between the LOGO! PLC and a PC. Well ... I finished this work I'm ready to be able to help. http://lavag.org/old_files/monthly_03_2009/post-8339-1237904029.png' target="_blank"> Im curious, what cable attaches LOGO PLC to the PC. Is it a serial cable? Quote Link to comment
CarlosCalderon Posted March 25, 2009 Author Report Share Posted March 25, 2009 QUOTE (TG @ Mar 24 2009, 09:26 AM) Im curious, what cable attaches LOGO PLC to the PC. Is it a serial cable? PLC side is proprietary protocol. PC side: RS232/USB To get the cable you have 2 options: Buy it at the following link: https://support.automation.siemens.com/WW/l...amp;caller=view Create with the help of the following link (very good): http://www.technick.net/public/code/cp_for...&noupstat=1 Quote Link to comment
Yair Posted March 25, 2009 Report Share Posted March 25, 2009 Since you work for a university, you should probably not have a problem with uploading the code, right? You could also submit it to NI's site. Quote Link to comment
Bobillier Posted March 27, 2009 Report Share Posted March 27, 2009 Hi me i have create something similar for millenium3 of crouzet to communicate via program cable like serial communication. if there is somebody interesting ... Quote Link to comment
RalcoBe Posted March 31, 2009 Report Share Posted March 31, 2009 Nice to have such a direct way. We do the same, connect a PC to an Omron PLC with usb, but with a workaround. OPC server works as the dataserver, both Labview and PLC are clients for datasharing, using global variables. . Quote Link to comment
CarlosCalderon Posted March 31, 2009 Author Report Share Posted March 31, 2009 After repairing a few bugs in the code... After improving the user interface ... This is the final product: Quote Link to comment
prasetyo Posted August 6, 2014 Report Share Posted August 6, 2014 to CarlosCalderon, can you send me your file project LOGO!view.please help me. I hope this is for learning and to finish my final project. I'm a basic user of LabVIEW and i need your help.send me by email prasetyo.dte007@gmail.com Thanks a lot Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.