timer/counter

P

Thread Starter

pratik

Hello,
I am student.
I want to know if i want count 9000hr and after 9000hr my ouput is ON.
then I will be use timer or counter.

thanks,

pratik
 
Think about the coarsest increment of time that your PLC model can be programmed with, and then think about the maximum value that the accumulator of your timer can hold. Therein lies the answer to your question.
 
hi,

I want to do programming for lamp hour.

my lamp is connected with ballast.

and lamp has one relay contact that one connect with my plc

digital input.now i want to do program for plc count 9000hr then

after my plc output will be ON.after 9000hr I want to reset my lamp

hour.so I want to know I will be use timer or counter instruction.

i am student.so i have no any experience with plc.

thanks

pratik
 
1. Go to your lab.
2. Write a program that you think will do what you want.
3. Try it out.
4. Figure out what works.
5. Keep that.
6. Figure out what doesn't work.
7. Modify that.
8. Go back to step 3.

After diligent application of these steps, if you find you still have questions, post your best efforts here, and we'll try to help you out.
 
greetings, pratik,

are you a student in a PLC class? ... is this an assignment as part of your studies? ... or do you need this program for your employer? ... 9000 hours is a long time ...
 
a more direct answer...

Pratik,

Here's the direct answer: a timer. Counters don't count minutes and hours (unless programmed to do that) ;) .

Depending upon the PLC you're using, there may be an hour timer built in. I'm currently using a PLC from the TSX Modicon line.

Here's a function block of the SYSCLOCK function block.

Just assign a variable to the TIMER output, compare the value of that variable to 9000 hrs. If TIMER is >=9000 then close the output that corresponds to your light.

Viola!

sysclock.jpg
 

Similar Topics

Hi all, I have a few hours reading the manual and searching here and I am stuck, would appreciate a bit of guidance. For troubleshooting of a...
10
Replies
2,078
Views
We have a program that mixes product before we put it through a series of machines. However, once we turn on the downstream machines and call for...
4
Replies
879
Views
I don't have much experience in programming. I can do simple configuration. it is like this. i want to add something to the existing ladder...
39
Replies
10,817
Views
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...
1
Replies
2,202
Views
Hello all Logiix designer 5K Been looking around ( not in the right places ) haven't been able to locate an AOI or other instruction for a...
24
Replies
7,773
Views
Top