Control a timer (or any variable) with a dial/pot?

jonb452

Member
Join Date
Feb 2008
Location
Orlando
Posts
9
Hello all,

I am writing a logic file and I have a need to allow an operator to change the length of a timer. I am using a micrologix processor with 2 analog inputs. Is it possible to use an analog input to grab a value from a dial or pot adjuster? What is the simplest way to accomplish this task?

Thanks in advance
 
Dependant on your Micrologix you are using, some models (ML1500 & ML1200) have an inbuilt user adjustable pot that you can assign to whatever you want.
They are under one of the covers/flaps on the front of the unit. (called trimpots)
If it is an 1100 then you can use the LCD to do what you want.

Re-read the post and from the description of 2 analog inputs it is an 1100. Search the AB website for the manual on the LCD for this model.

Regards Alan Case
 
Last edited:
Yes you can use a dial or a pot but it is a bit ugly and imprecise. The analogue input sees a voltage, often between 0 and 10 volts and converts that voltage into a number, the range of number depends on the PLC and analogue units you are using. You probably won't have a 10V supply available so you will have to use a resistor in series with the pot to drop 14V of the 24V that you will have available. The ugly and imprecise bit comes in because if you set say 5 on the pot you won't always get exactly the same voltage output so it depends on the accuracy you need. As Alaric shows a much better soltion would be a small HMI, you set 5 on the HMI and the PLC will always see 5. Only problem is that $129 is $129 and can your job stand that cost.

Bryan
 
Whatever method you end up using, I'd advise you do not go directly to the timer .PRE (Preset) value.

Go to an intermediate register, and then make sure it's within limits before passing it on to the timer's .PRE word.

Using an analog input for example, you might actually get a negative number. Negative presets will generally fault out the processor, not good, so clamp the desired preset to some predefined min/max limits.
 
Put clamping statements on the intermediate register. If less than zero, move zero and so forth.
You will probably have to use a linear pot
 
Is there a reason to stick with a trimpot or potent at all? Why not an up/down PB and one shot an add/sub to the preset of the timer? Just a thought.
 
How about a thumbwheel and BCD? Ops can thumb in a time 0-9 per register and the decimal equivalent can be moved to the timer preset. I don't know what resolution you are needing, but I think it would be difficult to get a settling value from a variable pot.
 

Similar Topics

I found a list of activex controls in view studio for which I simply cannot find any information on online. I don't know what they do. For example...
Replies
1
Views
972
Hi everyone. i am needing to add a 7-day on/off control using a c-more ea9 hmi and the productivity 3000 controller. Need to be able to set an on...
Replies
13
Views
3,496
Hello Everyone, I am currently tasked with designing an HMI integrated with an Allen Bradley micrologix 1000 that will test lights. These lights...
Replies
6
Views
1,617
Hey there, I have been doing all these exercises until this one where you have to control the pedestrians aswell. So my question here is, how do...
Replies
2
Views
3,430
Hello and thank you for taking the time to read my question. I'm a fairly new engineer so I'm sorry if my logic isn't as advanced as some of you...
Replies
3
Views
1,819
Back
Top Bottom