PLC Programming Tips


One of the tips how to do the PLC programming is making and use a “one shot”. A one shot is a coil which goes true each time the enabling rung ahead of it is true, and it stays true for one scan only, no matter how long the enabling rung is true. The one shot is useful when you have some condition that goes on and off and you want to have the PLC take action on that true state for only one scan each time the enabling rung goes from true to false.

For instant you want to count the number of times some event that lasts longer than one scan happens, but the total count will exceed the capacity of PLC built in counter. One way to deal with this problem, if your PLC has floating point registers available, is to add one to a floating point register each time the rung goes true.

A few PLC brands do not have the useful one shot feature. In this case you can make your own one shot with a few rungs of logic:
PLC programming
This is one of few cases in common PLC programming where the order in which you place the rungs is important. From the picture above when you start out, the input I: 3/0, the memory bit B3:0/2, and the one shot output bit B3:0/1 are all false. When the input goes true, the memory bit is still false, so the 2nd rung is true, and both memory bit and the one shot output bit are set by 2nd rung.

Hopefully this article can add your insights.
Please follow me:

ShareTo
Share on Facebook Tweet this Share to Google Plus Stumble this article
CLOSE

Enter Your Email Address




All Labels

  1. ABB PLC
  2. Allen Bradley PLC
  3. Analog Input
  4. Android
  5. Android and PLC
  6. Android Bluetooth
  7. Audio and PLC
  8. Automatic Gates using PLC
  9. Baldor PLC
  10. Battery Level Indicator using PLC Analog
  11. BMS
  12. Building Management System
  13. Car Ticketing Machine using PLC
  14. CIMON PLC
  15. Click Series PLC
  16. Computer Vision
  17. Computer Vision and PLC
  18. Control Seven Segment Display with PLC
  19. Conveyor Control Using PLC
  20. CPU PLC
  21. CV and PLC
  22. CX-One
  23. DCS
  24. DDC
  25. DELMIA V5
  26. DeltaV
  27. Digital Input
  28. DirectLogic PLC
  29. DirectSOFT PLC
  30. Eaton PLC
  31. Elevator with PLC Program
  32. EPICS PLC
  33. Fatek PLC
  34. Festo PLC
  35. Fieldbus
  36. Forex Trading and PLC
  37. FPGA PLC
  38. GE Fanuc PLC
  39. GP proface
  40. GX Developer
  41. Heater Controller with PLC
  42. Hitachi PLC
  43. HMI
  44. Home Automation
  45. Honeywell PLC
  46. IDEC PLC
  47. Keyence PLC
  48. Koyo PLC
  49. LED Display
  50. LG PLC
  51. Lock Unlock Door Using PLC
  52. Logixpro PLC
  53. Maple OIT
  54. Matsushita PLC
  55. MELSEC A
  56. MELSEC Q
  57. Memory PLC
  58. Micro PLC
  59. MicroSmart PLC
  60. Mitsubishi PLC
  61. Mobile Application
  62. Modbus
  63. Modicon PLC
  64. Momentum PLC
  65. Motion Control
  66. National Instruments PLC
  67. Omron PLC
  68. OPC
  69. PAC
  70. Panasonic PLC
  71. Parking Information using PLC
  72. Password Using PLC
  73. PLC
  74. PLC Analog Input Module
  75. PLC and Arduino
  76. PLC and CNC
  77. PLC and Computer
  78. PLC and Facebook
  79. PLC and PC
  80. PLC and Servo
  81. PLC and Visual Basic
  82. PLC Battery
  83. PLC Beginner Guide
  84. PLC Book
  85. PLC Cable
  86. PLC Codesys
  87. PLC Companies List
  88. PLC Computers
  89. PLC Design
  90. PLC for 3 Movement
  91. PLC for Assembly Line
  92. PLC for Automatic Welding
  93. PLC for Binding Machine
  94. PLC for Cutting Machine
  95. PLC for Filling Machine
  96. PLC for Fountain Application
  97. PLC for Injection Molding
  98. PLC for Marking
  99. PLC for Packing
  100. PLC for Rotary Bottle Washing
  101. PLC for Snack Vending Machine
  102. PLC for Sorter Machine
  103. PLC for Water Treatment
  104. PLC Hardware
  105. PLC Hybrid
  106. PLC Information
  107. PLC Knowledge
  108. PLC Language
  109. PLC Link Model
  110. PLC Mitsubishi Download
  111. PLC Model
  112. PLC Modules
  113. PLC Simulator
  114. PLC Software
  115. PLC Supplier
  116. PLC Types
  117. PLC Wiring
  118. PLC WorkShop
  119. PLC-ANALYZER
  120. PLCSIM
  121. Power Supply for PLC
  122. Profibus
  123. ProSafe PLC
  124. Push ON Push OFF with PLC
  125. Quickpanel Operator Interfaces
  126. Raspberry Pi
  127. Raspberry Pi and PLC
  128. RTU
  129. RTU and PLC
  130. SAS
  131. SCADA
  132. Schneider PLC
  133. SHARP PLC
  134. Siemens PLC
  135. SINUMERIK CNC
  136. Small Modular PLC
  137. Standard Sequence Programming for PLC
  138. Substation Automation System
  139. Teco PLC
  140. Telemetry
  141. TEP PLC
  142. Texas Instruments PLC
  143. Timer Countdown with PLC
  144. Toshiba PLC
  145. Touch Screen PLC
  146. Traffic Light with PLC
  147. TWIDO PLC
  148. Types of PLC
  149. Unitary PLC
  150. Unitronics PLC
  151. VIPA PLC
  152. Vision PLC
  153. Weighing Machine Using PLC
  154. Yokogawa PLC
  155. Zelio PLC

Search This Blog

Loading...
Copyright © 2009- All Rights Reserved