Counter reset

mattyBplic

Member
Join Date
Feb 2024
Location
Saint John
Posts
3
Hi y'all

Just a quick question for using Rslogix 5000

I'm using a counter up bit with an analog signal (0-10V). When 10V is measured, counter will go up and when the counter hits 10, it starts a motor starter.

I want to counter to reset while the motor starter is still energized. Anyone have any suggestions on what I can use.

Thank you in advance!
 
As a condition to your count up, have NOT motor starter. Then a separate ladder of XIC motor starter, RES counter. The first part is somewhat redundant if the RES is held high, depending on where in logic you are counting and the logic between the counter and reset. You could expand it with a one-shot on the RES, which would cut down execution times, and then you would definitely need the NOT motor starter to prevent the counter from counting.
 
I assume you have something like this:

GEQ AI_zero_to_ten_volts 10 CTU the_counter 10 0​

to which you could add something like this:

XIC the_counter.DN CLR the_counter.ACC​

It might even be possible to add it to the same rung.

Clearing the accumulator value to 0, in effect, resets the counter; it also leaves the counter .EN bit value at 1*, which prevents a false count on the next scan cycle.

* The RESet instruction would reset the .EN bit value to 0
 

Similar Topics

Hi Guys, I have a 1769-L24-QBFCB1 that has the OK light flashing on the embedded counter module. The manual states it is a resettable fault, but...
Replies
0
Views
104
Hello guys, I have created a program where I count the high speed inputs of a flowmeter and create pulses per second to check the flowrate. Next I...
Replies
5
Views
1,786
Hello I have a AB Compact logic 1769-L32E controller. I'm wanting to reset a counter at the end of each month. Since the months have different...
Replies
34
Views
9,506
Working on delaying running a program in Fanuc robots by a distance (encoder counter). I can delay the program using the encoder counter but there...
Replies
3
Views
1,244
Hello everyone‚ Fairly new to PLC prog I seek your advise concerning what is said in my thread title; I program using workbench components; I...
Replies
1
Views
1,255
Back
Top Bottom