gclshortt

MrPLC Member
  • Content count

    347
  • Joined

  • Last visited

Everything posted by gclshortt

  1. Sending Data From Excel to Omron PLC thru CX-Serve

    The above link may help you out. Regards
  2. PLC Training

    Here are a couple of other thoughts: http://accautomation.ca/plc-programming-example-process-mixer/ Factory IO provides a 3D simulation of the process. Testing of the program is important and should be done in a variety of ways. Factory IO provides a straight forward method of seeing your program in action before you wire your application. You can download a 30 day trial. Factory IO Website is at the following URL: https://factoryio.com/ Documentation is well done. Start at the ‘Getting Started’ at the following URL: https://factoryio.com/docs/ Video of Factory IO in action: https://www.youtube.com/watch?v=vJpGJQ8MwCk   Since training is a common subject here is some information for PLC beginners. http://accautomation.ca/programming/plc-beginners-guide/ PLC Beginner’s Guide to PLC Programming There are many different PLC manufacturers with different hardware and software. All of the programmable logic controllers have similar basic features. Here is how I would approach learning about basic PLCs. Here is a list of the basic elements of a PLC system. This is common to all PLC models. The 7 Essential Parts of a PLC System Here’s a Quick Way to Understand PLC Inputs and Outputs How PLC Inputs Work How PLC Outputs Work Understanding the PLC Program Scan Who Else Wants To Know How A PLC Scans? Here’s a Quick Way to Wire NPN and PNP Devices PLC’s can be programmed in several different languages. The most common are Ladder and STL. What Everybody Ought to Know About PLC Programming Languages If you have gone through the above material, you are probably looking to try some of this new knowledge. Here is a series based upon free software and PLC simulator from Automation Direct. Most of this information will apply to a majority of PLC manufacturers. It is all written in ladder logic. Learn PLC Programming – Free – Video Series 1 – Installing the software 2 – Your first PLC program 3 – Program Documentation 4 – Start / Stop / Jog Circuit 5 – Jog Circuit  memory retentive 6 – Understanding decimal and binary numbering 7 – Binary Interpretation 8 – The Secret of Timers 9 – The Secret of Counters Developing the PLC program is a process that can be clearly defined. Here is a series that will show you the five steps along with some practical examples. Five Steps to PLC Program Development PLC Programming Example – Process Mixer PLC Programming Example – Shift Register (Conveyor Reject) PLC Programming Example – Paint Spraying PLC Programming Example – Delay Starting of 7 Motors The next step is to further develop your PLC environment by using an HMI. (Human Machine Interface) Create a PLC with HMI Training and Learning Environment Free Deploying an AdvancedHMI Project What Everybody Ought to Know About IP Addressing What you want to do now is to look at the PLC’s that are being used in your area. What manufacturer is the most common? What are the models that they are using? I would then try to get some hardware and software from the manufacturer that you will be using. Visit their website and contact their office for information.   Hope you can get some information from this. Regards, Garry      
  3. PLC Training

    To teach PLC's without having to spend any money, I would look at the Do-More Designer Software from Automation Direct. This is a free software package that comes with a simulator. The simulator will also allow you to communicate to it via Modbus TCP (Ethernet). You can also use the serial ports on the computer to simulate serial communications. https://www.automationdirect.com/do-more/brx/software/simulator http://support.automationdirect.com/products/domore.html   Team this software up with AdvancedHMI and you will have a good training environment. AdvancedHMI is written in VB.Net and runs in Visual Studio. This is also all free. AdvancedHMI will communicate Modbus TCP to the Do-More Designer Simulator. https://sourceforge.net/projects/advancedhmi/   Here is quick link to show you how to get started. http://accautomation.ca/create-a-plc-with-hmi-training-and-learning-environment-free/ Regards, Garry
  4. I would try two things. Since the cable worked before, just be sure to push the cable all the way into the connector. (My mistake once) Open the CX Programmer software and select PLC | Auto Online... This will try communication out of the ports with different communication parameters.  http://omronkft.hu/nostree/pdfs/plc/cqm1h/w226-e1-7.pdf The above manual will show you the dip switch settings on the CPU. Pin 5 set to on will default the RS232 port to the following parameters.  Serial communications mode: Host Link or peripheral bus; start bits: 1; data length: 7 bits; parity: even; stop bits: 2; baud rate: 9,600 bps Hope this helps you out. Regards, Garry www.accautomation.ca
  5. Wonderware runtime v10;1

    How about learning on AdvancedHMI. It is a free software package that runs on Visual Studio. Drivers have been written for many different manufactures of PLC's.  https://sourceforge.net/projects/advancedhmi/ http://accautomation.ca/create-a-plc-with-hmi-training-and-learning-environment-free/ Just a thought,Regards, Garry www.accautomation.ca  
  6. http://accautomation.ca/plc-programming-example-process-mixer/ Factory IO provides a 3D simulation of the process. Testing of the program is important and should be done in a variety of ways. Factory IO provides a straight forward method of seeing your program in action before you wire your application. The above URL link will take you to our example process mixer. We use Factory IO to simulate the application. Factory IO will communicate Modbus TCP to the PLC. Factory IO Website is at the following URL: https://factoryio.com/ Documentation is well done. Start at the ‘Getting Started’ at the following URL: https://factoryio.com/docs/ You can get a free 30 day trial at the above address. Regards, Garry
  7. http://accautomation.ca/omron-cp1h-advancedhmi-communication/ The above URL will show you the addressing for the CP1H using AdvancedHMI. Regards, Garry
  8. CP1H Series PLC Tutorial

    Here is a series on the Omron CP1H. It has been written for those who want to become familiar with the Omron PLC and its basic functions. At the end of each web page lesson there is a video. Omron CP1H Series System HardwareCX-ProgrammerEstablish Communication Setting, Forcing and Online Editing Numbering System and AddressingCP1H TimersCounters Data Movement Compare Instructions Data Shift Instructions Math InstructionsData Conversion Program Control Instructions Table Data InstructionsData Control InstructionsAdvancedHMI Communication If you have any questions or need further information, please contact me. Thank you, Garry www.accautomation.ca
  9. Horner XL4 Series Tutorial

    Here is a series of tutorials on the Horner XL4 controller. Each part will also have a video associated with it that is located usually at the bottom of the web page. Horner XL4 Series System Hardware Installing the Software CscapeCscape Software SetupEstablishing CommunicationNumbering System and AddressingUser InterfaceTimers and Counters Compare and Move InstructionsMath Instructions Program Control InstructionsRotate and Shift Register Recipe Instruction Report Generator Modbus RTU InstructionsFTP File Transfer Protocol Server HTTP Web Server Modbus TCP AdvancedHMI Communication Firmware Update Data Logging If you have any questions or need further information, please contact me. Thank You, Garry
  10. PLC and Visual Basic

    https://sourceforge.net/projects/advancedhmi/ Advanced HMI runs on visual studio. It has the Omron drivers already built into the software. This is written in VB.net and is open sourced. It is also free. Regards, Garry http://www.accautomation.ca
  11. Simon was a game that I remember well when I was younger. This simple game can teach us how to program sequencers and look for inputs in a correct order. I believe that this can be a great leaning problem for PLC’s and HMI’s. You can learn about bit manipulation and sequencers in the PLC. HMI timing and control is also shown because of the time to play sounds and update to the next random set of lights.   Here is part of the post …   Building a PLC Program That You Can Be Proud Of – Part 5   Simon is a memory game introduced in 1978. It has four coloured buttons, each producing a particular tone when it is pressed or activated by the device. A round in the game consists of the device lighting up one or more buttons in a random order, after which the player must reproduce that order by pressing the buttons. As the game progresses, the number of buttons to be pressed increases. If the wrong button is hit the current game is over. Our game will have a high level score and a current level score.   We will be using AdvancedHMI to communicate Modbus TCP to the Automation Direct Do-More Designer Software Simulator.   YouTube Video of the game being played: https://www.youtube.com/watch?v=QrfnDHCeJjk   Note: The PLC and HMI programs are provided free of charge and are an excellent way to learn PLC / HMI programming.   Here is a quick review of the programming series so far. If you are new to the site, we recommend reviewing the other parts in the series first. In part 1 we looked at writing PLC programs to control a traffic light using discrete bits and then using timed sequencing using indirect addressing. Part 2 used indirect addressing for inputs as well as output to control the sequence of pneumatic (air) cylinders in the program. Part 3 and 4 we returned to the traffic light application and expand our program significantly. We looked at the sequence of operation using Input, output and mask tables.   The first thing that we will do is look at the HMI programming. Please refer to the following post for information on setting up and using AdvancedHMI software. Create a PLC with HMI Training and Learning Environment Free Read the rest of the post…. Happy Holidays,   Garry www.accautomation.ca  
  12. FUNCTION Block - Index Addressing

    http://forums.mrplc.com/index.php?/topic/20988-can-i-use-movr-in-functional-block-without-at-settings/ The above thread should help you out. Regards, Garry http://www.accautomation.ca
  13. The following is a post that was recently done. I thought that I would share... We will program a sequencer controlling seven cylinders that can be taught. The cylinders can be operator programmed from the AdvancedHMI screen. You will be able to select what cylinders to activate at each step and program in 500 steps. Our PLC will be the Do-More from Automation Direct. We will be using AdvancedHMI to communicate Modbus TCP to the Automation Direct Do-More Designer Software Simulator.  The following is the sequence of operation: Watch on YouTube: https://www.youtube.com/watch?v=In_W5SyWWBU The following is the explaination of the code: Watch on YouTube: https://www.youtube.com/watch?v=n63sXqUkjN8 To see the set by set development and the code visit our website. http://accautomation.ca/building-a-plc-program-that-you-can-be-proud-of-part-6/ Let me know what you think. Thank you, Garry http://www.accautomation.ca
  14. Deploying An AdvancedHMI Project Here is our latest post on deploying an AdvancedHMI project on the industrial floor. Here are a few thing we cover: Hardware - Fanless Computer - Monitor - USP - uninterrruptable power supply Software - Turn Off windows update - Security - Set permissions - Limit internet use - AdvancedHMI - remove ControlBox, Miximize Screen Size, Topmost property Here is part of the post... Deploying an AdvancedHMI project on the industrial floor sounds like an easy task, but there are a few things that you should consider. The HMI (Human Machine Interface) user interface will run on a computer. The industrial environment is one in which temperature, dust, electrical noise, etc. are always present. This can also be combined with workers wanting to play with the new computer. We will look briefly at the hardware and software items that will make your install more reliable and user friendly in the field. Read the rest of the post... Let me know what you think. Thank you, Garry www.accautomation.ca
  15. Here is a recent post that I would like to share. Using Visual Basic 2015 we will log three holding registers from the PLC along with time and date into a Microsoft Access Database. We will log every minute into the database with the information that we collect from the PLC via Modbus TCP (Ethernet). All code will be done and shown so you can implement this in your application with different parameters. The information collected in the database can then be distributed or analyzed in the future. Visual Basic 2015 will be used with the EasyModbusTCP client/server library for .net. We will communicate to an Automation Direct – Do-More PLC. Using the free simulation software of the PLC Designer Software, we will retrieve three values of the Modbus Holding Registers using Modbus TCP. Once we have this information out of the programmable logic controller it will be placed in a Microsoft Access (2010) Database. This will be done by using a SQL command to insert the data. Read the rest of the post... Let me know what you think, Thank you Garry http://accautomation.ca/
  16. PLC+HMI cheap solution

    I would look at the Automation Direct - Do More PLC - Free Software complete with simulation. The simulation will also do Modbus TCP. http://www.automationdirect.com/adc/Shopping/Catalog/Programmable_Controllers/Do-more_Series_PLCs_(Micro_Modular_-a-_Stackable) I would then look at AdvancedHMI for the HMI. - Free http://sourceforge.net/projects/advancedhmi/ Here is a link to put it all together: http://accautomation.ca/create-a-plc-with-hmi-training-and-learning-environment-free/ Regards, Garry www.accautomation.ca
  17. Verify program

    http://dl.mitsubishielectric.com/dl/fa/document/manual/school_text/sh081123eng/sh081123enga.pdfhttp://dl.mitsubishielectric.com/dl/fa/document/manual/school_text/sh081123eng/sh081123enga.pdf Look at  section 2.11 Verifying Data in the above link. When you look at the detail of the results, it will show in the bottom left corner the number of parts that do not match. Regards, Garry www.accautomation.ca
  18. I would check out AdvancedHMI. http://www.advancedhmi.com/ http://sourceforge.net/projects/advancedhmi/ http://accautomation.ca/create-a-plc-with-hmi-training-and-learning-environment-free/ Regards, Garry www.accautomation.ca
  19. Here is a recent post that I would like to share... Create a PLC with HMI Training and Learning Environment Free Learn PLC programming and use a powerful HMI (Human Machine Interface) easily and free. We will use the Automation Direct Do-More programming software tied into the Advanced HMI package via Modbus TCP. Our application will show a HMI screen with a panel meter and a reset button. The panel meter value may be changed by clicking it. This will bring up a input screen to put in a number. When the reset button is selected the input value entered will show on the panel meter. Read the rest of the post... Regards, Garry http://www.accautomation.ca
  20. How To Implement Modbus TCP Protocol Using VBA with Excel We will use Visual Basic for Applications (VBA) to communicate to a PLC using Modbus TCP protocol. Reading ten registers in the PLC and displaying a bar graph in Excel. Previously we have used VB6 to communicate Modbus TCP. The following steps will be done:1.Explain Modbus TCP protocol2.Install OstroSoft Winsock Component– Winsock API Calls for communication on network3.Develop the Excel and VBA application (Microsoft Excel 2010)4.Communicate to the PLC and sample code (Do-More Simulator)Read the rest of the post... How To Implement Modbus TCP Protocol Using VBA with Excel Here is a blog post that I thought was good to share. Let me know what you think. Garry http://www.accautomation.ca
  21. Can CX Supervisor 1.33 work on Windows 7 or 8?

    https://www.myomron.com/index.php?action=kb&article=130 The above link will show you the different windows operating systems and versions of CX Supervisor 1.33. Version 1.33 will only support 'Windows XP Professional', 'Windows 2000 SP4 and above' and 'Windows 98 and NT4' Windows 7 is not supported in this version. You need version 3.1 or greater. Regards, Garry http://www.accautomation.ca
  22. Host link control for Omron CP1E using C code/ Fins commands

    http://accautomation.ca/how-to-implement-the-omron-host-link-protocol-part-2-vba/ You can use any language to communicate host link. The above link will show you how to use VBA in Excel to get data. Hope this helps, Garry www.accautomation.ca
  23. Connect CP1E-N14DR-A Omron With SCADA software

    http://www.automation-talk.info/2010/11/how-to-configure-modbus-in-omron-plc.html The above link will show you the steps to set up the CP1E PLC. It will also show you the pinouts for the communication cable. Here is a video for the Elipse Software. https://www.youtube.com/watch?v=6vI-6C0JzRo Regards, Garry http://www.accautomation.ca
  24. Didn't realize how hard this was!

    http://accautomation.ca/heres-is-a-quick-way-to-send-email-text-messages-from-the-plc/ The above link uses restricted Gmail SMTP server so no authentication will be required. I know this is not exactly what you need but it may be something to look at. I would look at the Do-More PLC for a low cost option. Regards, Garry http://www.accautomation.ca
  25. Possible to access data in C-More over ethernet?

    Just saw this thread and thought that this may help connect the click to a network using Modbus TCP. https://forum.automationdirect.com/showthread.php?t=5883 Modbus RTU/ASCII to Modbus TCP gateways Regards, Garry http://www.accautomation.ca