Thursday, August 4, 2016

How to Programming Counter and Timer using Omron CPM1A PLC




A. Omron PLC Counter and Timer

A.1. Counter ( C)

plc counter symbol


Explanation :
  • CNT = Counter / PLC Counter
  • N = Number of counting
  • SV = Set Value #
  • CP = Pulse Input Signal
  • R = Reset Signal / PLC Counter Reset
CNT is used to count down from SV when the execution condition on the count pulse, CP, goes from OFF to ON. The present value (PV) will be decremented by one whenever CNT is executed with an ON execution condition for CP and the execution condition  was OFF for the last execution. If the execution condition has not changed or has changed from ON to OFF, the PV of CNT will not be changed. The completion flag for a counter is turned ON when PV reaches zero and will remain ON until the counter is reset input (R), the PV is reset to SV . Counter number run from 000 through 127 in the CPM1A PLC.

plc counter function



A.2. Timer – TIM

plc timer symbol


Explanation :
  • TIM = Timer / PLC Timer
  • N = Number of time counting
  • SV = Set Value #
A timer is activated when its execution goes ON and reset (to SV) when the execution condition goes OFF. Once activated, TIM measures in units of 0.1 second from the SV.
SV is between 000.0 and 999.9 (The decimal point is not entered), Timer number run from 000 through 127 in the CPM1A PLC.

plc timer function



B. How to Programming Counter in Omron CPM1A PLC

Step 1 : Click Icon or press I and click on work sheet

new plc instruction


Step 2 : In ladder edit : Input CNT<space>001<space>#20 and then press OK button

plc counter instructions

plc counters examples

Explanation :
  • CNT = Counter / PLC Counter
  • CNT001 = Counter Contact Number
  • #20 = Setting Value (number of counting)
  • 0.00 = Input Pulse Signal
  • 0.01 = Reset Signal / PLC Counter Reset
  • 1.01 = Output PLC Contact



C. How to Programming Timer in Omron CPM1A PLC

Step 1 : Click Icon or press F10 and click on work sheet

new plc instruction


Step 2 : In ladder edit : Input TIM<space>000<space>#100 and then press OK button

plc timer on delay function

plc timer programming examples

Explanation :
  • TIM = Timer Delay ON / PLC Timer ON Delay Function
  • TIM000 = Timer Contact Number
  • #100 = Setting Value 10 sec (Time of ON delay)
  • 0.00 = Switch ON-OFF Timer, If OFF then PLC Timer Reset
  • 1.01 = Output PLC Contact


Labels:




Newer Post Older Post Home

You may also like these ebook:

Get Free PLC eBook directly sent to your email,
and email subscription to program-plc.blogspot.com




We hate SPAM. Your information is never sold or shared with anyone.

Your Email Will Be 100% Secured !

Your email is stored safely on Google FeedBurner