Previous PageNext Page

COILS & CONTACTS

UNLATCH COIL

The UNLATCH coil acts like a direct coil, except when the coil is energized, it will cause its LATCHed coil counterpart to unlatch and de-energize.

  1. We will now use the UNLATCH coil in a ladder diagram. We will build upon the previous LATCH coil example.
  2. Place EZ LADDER® in the Edit mode (if in the Monitor mode).
  3. Using the Insert Function drop down menu on the tool bar, select UNLATCH..
  4. Place the cursor on Rung 2 near the right hand power rail and left-click to place the object. The Coil Properties dialog box will appear.
  5. From the drop down box, select GPO0 and click OK to complete the object placement.
  6. Select the DIRECT CONTACT button from the tool bar.
  7. Place the cursor on Rung 2 near the left power rail and left-click to place the contact. The Contact properties dialog box will appear. Using the drop down menu in the dialog box, selct GPI1 and click OK. This finishes the placement of the contact that is tied directly to hardware input GPI1 (also named GPI1).
  8. Select the HORIZONTAL LINK tool.
  9. Draw a link from the right side of the GPI1 contact to the left side of UNLATCH GPO0.
  10. Save the ladder diagram from the File menu and selecting SAVE. It is a good idea to periodically save your ladder diagram when developing it.
  11. Compile the target using the COMPILE button from the tool bar. Ensure that the compile is successful and there are no errors. If there are errors they must be corrected. Your ladder diagram should look similar to this:


  12. We are now ready to run the program on the target. Switch to the Monitor mode by clicking the MON button from the tool bar.
  13. Connect to the target, by selecting the CONNECT button from the tool bar. If a different program is running, just click OK.
  14. Download the ladder diagram to the target by selecting the DOWNLOAD button from the tool bar. If successful, the ladder diagram is now operating on the target. It should look similar to:


  15. Notice that GPO0 is false because GPI0 is false.
  16. Close the switch connected to Input 0. GPI0 is true causing power flow. This will cause the latch output GPO0 to be true.
  17. Open the switch to Input 0. GPI0 is false indicating no power flow; however the latch output GPO0 remains true (because it is latched).
  18. Close the switch connected to Input 1. GPI1 is true causing power flow. This will cause the latch output GPO0 to unlatch and be false..

You have completed the UNLATCH coil exercise.

  Previous PageNext Page