MicroLogix Counter Question

Timk5000

Member
Join Date
Aug 2015
Location
Poplar Bluff MO
Posts
7
I am having an issue with a little Micrologix program.

Counter 1 increments each time item passes sensor on input 0
When Counter 1 increments to 5
Timer 1 starts
When Timer 1 is Done
Output 0 Turns on
Index belt advances until input 1 senses position change
Timer is Reset and everything starts over.

Problem is when the Timer 1 is reset it seems to start with a count of 1
I am not sure what I am doing wrong. In my sometimes confused mind it should work.

See Attached
 
Do you mean "counter 1" instead of "Timer 1"?

That will happen if the rung controlling the counter is still true. Try using a clear instruction with the address of the counter or a "MOV" instruction moving a value of 0 to the counters .ACC ( C5:0.ACC)
 

Similar Topics

trying to do division on the hsc:1 value which is on a Long (32bit) word. If I do a divide by 100 and try to put the result in an integer or even...
Replies
9
Views
2,403
I'm tring to move the data in F8:30 to st10:60. Anyone have a suggestion?
Replies
14
Views
3,565
hello Sir, I am trying to program for the speed(1000 rpm) with a sensor input and for this i used micrologix1400 BXB plc. I am not able to use...
Replies
1
Views
2,530
What is the best practice for letting a counter roll over? Do I need to set the preset or use a compare to make it go back to 0 or will it do it...
Replies
5
Views
2,207
Back
Top Bottom