TIA Portal: Counting Seconds

preview_player
Показать описание
A quick trick on how to count seconds using TIA Portal.

Contents:
- Clock Memory
- CTU Counter
- Resetting Counter
- Simulating the Program
If this video helped you, please consider helping me by joining my "GoFundMe" and donating a small amount to my cause. Link here:
Рекомендации по теме
Комментарии
Автор

Two more hints:
1. If you only want to count the seconds in a specific szenario, just put that before the clock memory in the LAD diagram (so as an "AND" combination)
2. As the Clock memory works ASYNCHRONOUSLY it is not going to be 100% precise on each millisecond... the precision should be fine for every frequency <20Hz ... if you need to count faster, there are specific "Fast Counting Modules" but those are a topic on their own.
Thanks for watching!

hegamurl
Автор

This man is a legend, thanks for helping me with all these video :)

legobricksbe
Автор

Congratulations from Brazil. Thank you.

Olavotemrazaodenovo
Автор

Hega, hi, can you help me with something?, I want to display the time it takes in each production cycle to know how many parts I'm doing per hour, any example approaching this?

jdmc
Автор

What is need of making register in CV of counter?

muhammadqabil
Автор

Mine does not work and says "%M0.5 Adress to clock with ambiguous address" in the orange colour...
- Fixed my tags in existing program... works

jask
Автор

how to make a stop watch from counters please explain for example i want to make a stop watch with functions get ready for 5 minutes then start work for 40 minutes the take a break of 15 mins and start again... Thank u

talhaahsan
Автор

hi, how to use 1hz for two functions to count two machine working time

ptecheducation
Автор

how can i only count, I want to leave the PV empty in the counter

amrabdellatif
Автор

How to make timer cound seconds in decrement like 60..59...58 like this if any idea share

tejas
Автор

Would be interesting to develop a run-hour-meter that could be used to, for example, count the number of hours a compressor or generator runs. From that the next service interval can be determined etc.

jacquedreyer
Автор

Can't seem to make it work for some. Did it just as you showed. The Clock Signal does not seem to cross neither a closed switch or open switch

gtag
Автор

If I choose a CPU from a S7-1200 is it possible that the system and clock memory is not available ?

EricBalcon
Автор

Hi,
Please explane how this NO Contact with a bit address is M0.5 is closing every second to activate the counter?
I want to know how to program a running time of a machine.

sadiodiallo
Автор

HAY THERE
THANKS FOR THE VIDEO
I TRIED TO DO THE SAME AS YOU BUT THE MEMORY CLOCK BIT IS NOT COUNTING
WHAT IS MAY BE THE CAUSE?

yakovzargarov
Автор

Have a doubt while adding Counter to View runtime of a Pump

tabindahagha
Автор

Great job. Can I ask you what is the hardware of your computer?
It works very fast and not much loading.

MBMech
Автор

Can I convert sec into milisec in Tia portal

raajpatil
Автор

Hey friend

I have project with counter and I want to show the data on the webpage I want to create it.

the project is project to count how many person go in locale every day, and i want to create HTML page to make chart with those data...

Please who can help me with this.... and how can i make it if I

i work on CPU 1215 DC/DC/Rly

Best regards

myshuker
Автор

Hello @hegamurl, Just had a doubt. Is it possible to work with multiple counters using only one DB? May be like, we could be able to use different structures or datatype blocks in a single DB for different counters???

AmolBhombe