Help - Search - Members - Calendar
Full Version: counter bcd unit?
Forums.MrPLC.com > PLCs and Supporting Devices > Omron > CX-Programmer
jaxrpc
hi, i am trying to learn plc myself and i am now studying into counters.

But still can't get an idea of how counter works. i have created a small program hoping that everything the contact close the counter will move by 1 step. but it doesnt seems to be working.

Can someone enlighten me here? thanks
IO_Rack
QUOTE(jaxrpc @ Jan 25 2009, 08:14 AM) [snapback]78025[/snapback]
hi, i am trying to learn plc myself and i am now studying into counters.

But still can't get an idea of how counter works. i have created a small program hoping that everything the contact close the counter will move by 1 step. but it doesnt seems to be working.

Can someone enlighten me here? thanks


What problem exactly are you experiencing?


BobB
Do you have the reset bit turned on?
jaxrpc
hi, sorry for not explaining the problem.

i do not have the reset bit turned on. I am assuming that 511 will be my counter number and #5 will be value the counter will count to. am i right?
GixRamones
Hi.
#5 is set value. After five time that the 1.06 change logical value off to on. the cnt511 go in on.
Warning the timer and the counter use the same data area. If you have a timet "Tim511" must be use CNT not with same number (511).
CNT510=Ok, CNT511=Ko,CNT512=Ok
Marco8037
QUOTE(jaxrpc @ Jan 25 2009, 08:14 AM) [snapback]78025[/snapback]

hi, i am trying to learn plc myself and i am now studying into counters.

But still can't get an idea of how counter works. i have created a small program hoping that everything the contact close the counter will move by 1 step. but it doesnt seems to be working.

Can someone enlighten me here? thanks


try to use bit 1.06 on diferentiate up , like this: ---|arrow up|----
I'm sure it will run properly
BobB
The counter will count down to 0. Reset will reset the PV to 5. Which PLC are you using? The older ones have a combined timer/counter area and the timer/counter number can only be used once. The newer PLCs have separate timer/counter areas. A diff on the input should not make any difference as the counter works on an internal diff anyway. By the way, timers/counters in the older PLCs are 0 to 511. 512 is an invalid number.
jaxrpc
QUOTE(BobB @ Jan 26 2009, 06:46 PM) [snapback]78055[/snapback]

The counter will count down to 0. Reset will reset the PV to 5. Which PLC are you using? The older ones have a combined timer/counter area and the timer/counter number can only be used once. The newer PLCs have separate timer/counter areas. A diff on the input should not make any difference as the counter works on an internal diff anyway. By the way, timers/counters in the older PLCs are 0 to 511. 512 is an invalid number.


Hi thanks for all the help. I am using CQM1 an old plc given to me for free.
plcbent
QUOTE(jaxrpc @ Jan 31 2009, 12:40 AM) [snapback]78271[/snapback]

QUOTE(BobB @ Jan 26 2009, 06:46 PM) [snapback]78055[/snapback]

The counter will count down to 0. Reset will reset the PV to 5. Which PLC are you using? The older ones have a combined timer/counter area and the timer/counter number can only be used once. The newer PLCs have separate timer/counter areas. A diff on the input should not make any difference as the counter works on an internal diff anyway. By the way, timers/counters in the older PLCs are 0 to 511. 512 is an invalid number.


Hi thanks for all the help. I am using CQM1 an old plc given to me for free.


im also in the learning stage have you found some sites on the net or some traning course
im programming a cqm1 cpu45 and a NT31c touch screen i also have cpm2a and a cqm1 cpu 21
mabye we could exchange ideas and programs
pfort
QUOTE(plcbent @ Feb 2 2009, 10:06 AM) [snapback]78333[/snapback]

QUOTE(jaxrpc @ Jan 31 2009, 12:40 AM) [snapback]78271[/snapback]

QUOTE(BobB @ Jan 26 2009, 06:46 PM) [snapback]78055[/snapback]

The counter will count down to 0. Reset will reset the PV to 5. Which PLC are you using? The older ones have a combined timer/counter area and the timer/counter number can only be used once. The newer PLCs have separate timer/counter areas. A diff on the input should not make any difference as the counter works on an internal diff anyway. By the way, timers/counters in the older PLCs are 0 to 511. 512 is an invalid number.


Hi thanks for all the help. I am using CQM1 an old plc given to me for free.


im also in the learning stage have you found some sites on the net or some traning course
im programming a cqm1 cpu45 and a NT31c touch screen i also have cpm2a and a cqm1 cpu 21
mabye we could exchange ideas and programs


Did you search here on this site?

http://www.mrplc.com/kb/index.php?category=3

QUOTE(pfort @ Feb 2 2009, 12:06 PM) [snapback]78335[/snapback]

QUOTE(plcbent @ Feb 2 2009, 10:06 AM) [snapback]78333[/snapback]

QUOTE(jaxrpc @ Jan 31 2009, 12:40 AM) [snapback]78271[/snapback]

QUOTE(BobB @ Jan 26 2009, 06:46 PM) [snapback]78055[/snapback]

The counter will count down to 0. Reset will reset the PV to 5. Which PLC are you using? The older ones have a combined timer/counter area and the timer/counter number can only be used once. The newer PLCs have separate timer/counter areas. A diff on the input should not make any difference as the counter works on an internal diff anyway. By the way, timers/counters in the older PLCs are 0 to 511. 512 is an invalid number.


Hi thanks for all the help. I am using CQM1 an old plc given to me for free.


im also in the learning stage have you found some sites on the net or some traning course
im programming a cqm1 cpu45 and a NT31c touch screen i also have cpm2a and a cqm1 cpu 21
mabye we could exchange ideas and programs


Did you search here on this site?

http://www.mrplc.com/kb/index.php?category=3


Oops that was not really the good URL i wanted to give you oops.gif

http://forums.mrplc.com/index.php?dlcategory=9
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.