Тёмный

TIA Portal: Counting Seconds 

Hegamurl
Подписаться 80 тыс.
Просмотров 60 тыс.
50% 1

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:
www.gofundme.com/f/let039s-fi...

Наука

Опубликовано:

 

19 авг 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 44   
@hegamurl7434
@hegamurl7434 5 лет назад
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
@legobricksbe
@legobricksbe 2 месяца назад
This man is a legend, thanks for helping me with all these video :)
@alancordeiro3491
@alancordeiro3491 3 года назад
Danke schön! Very well explained
@Olavotemrazaodenovo
@Olavotemrazaodenovo 5 лет назад
Congratulations from Brazil. Thank you.
@hegamurl7434
@hegamurl7434 5 лет назад
Greetings back to Brazil from Germany!
@tungtrinhuc5742
@tungtrinhuc5742 4 года назад
thank you Hegamurl ... i'm from Viet Nam. Your video is very useful !
@jacquedreyer5479
@jacquedreyer5479 3 месяца назад
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.
@aarooonxd7840
@aarooonxd7840 3 года назад
Muchas gracias, fue un gran video. 👌🏼
@mojtababayest9491
@mojtababayest9491 4 года назад
Great job. Can I ask you what is the hardware of your computer? It works very fast and not much loading.
@jdmc1077
@jdmc1077 3 года назад
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?
@AmolBhombe
@AmolBhombe Год назад
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???
@borisatanasov8562
@borisatanasov8562 4 года назад
Hello , Can you give me advice on how to count MS / milliseconds? Best regards, Boris
@talhaahsan7480
@talhaahsan7480 Год назад
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
@tabindahagha9082
@tabindahagha9082 4 года назад
Have a doubt while adding Counter to View runtime of a Pump
@framos9991
@framos9991 Год назад
Thanks!
@battletoad8327
@battletoad8327 3 года назад
Danke Schön mate.
@EricBalcon
@EricBalcon Год назад
If I choose a CPU from a S7-1200 is it possible that the system and clock memory is not available ?
@amrabdellatif3736
@amrabdellatif3736 9 месяцев назад
how can i only count , I want to leave the PV empty in the counter
@tejas2175
@tejas2175 9 месяцев назад
How to make timer cound seconds in decrement like 60..59...58 like this if any idea share
@askbuddy318
@askbuddy318 2 года назад
Hi,Hegamurl..Thanks for all the video..Ive gone through all & learned many things.Its gives me confident to work better.. I've a query: I need to count 5 input bit within 6 sec, if this is Greater or less it will set a bit is it possible?
@albizeta5674
@albizeta5674 6 месяцев назад
Thank you for your videos, I have a question, if is needed to use a frequency different from the standard one, given in the clock memory, is possible ?
@raajpatil4918
@raajpatil4918 Год назад
Can I convert sec into milisec in Tia portal
@karabgut
@karabgut 3 года назад
In the first frequency range (1 Hz) we didn't observe any output bu in the second we are observing the output is setted, could you explain why?
@ylidzfatih
@ylidzfatih Год назад
As you see the CTU Block's PV its over than 60 thats why you are recieving an ouput signal
@kaakos9273
@kaakos9273 5 лет назад
since you are experienced in PLC how short should cycle time be from Safety perspective ?? for example in sorting devices or machines ?? and what the longest cycle time have you ever experienced ?? although i am very familiar with PLC but i watch your videos always :))) please make videos about implementing PID in Tia portal but as you would do it in practice Thx &regards
@hegamurl7434
@hegamurl7434 5 лет назад
Hi Nedaa and thanks for your support! My next series will be leading to a PID controlled system, so stay tuned! About your questions on cycle time and safety perspective: If you have processes that need safety (e.g. emergency stop circuits, overload circuits,...) then you would use a so called "F-CPU" (Failsafe)... they have integrated modules that react on specific szenarios immediately (without looking at any cycle times, they are "event" triggered). Those PLC's are a HUGE topic on their own. As for cycle time: S7-1500 PLC's have a preset minimum cycle time of 1ms and a maximum cycle time of 150ms... everything between those two values is possible and highly depends on your program. Best regards!
@sadiodiallo4706
@sadiodiallo4706 2 года назад
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.
@TheTaxxor
@TheTaxxor 2 года назад
If you didn't find the answer by now: In the hardware configuration of the CPU you can activate clock timers and assign them to a specific byte, MB0 by default. Then M0.0 to M0.7 will switch in different speeds.
@younesskaram9043
@younesskaram9043 5 лет назад
Hi I m karam from morocco, I m using s7 1200 and tow sinamic v90 servo drivers to drive tow cnc axes. I want to draw a cyrcle with it. So i calculate x and y position theoraticlly with trigonomtry but i coudn't implement it in ladder porogramme. Because i m using motion control object to create the axes and i m using realtive move bloc. Please help me
@hegamurl7434
@hegamurl7434 5 лет назад
Hi Youness... Unfortunately I have not really done anything yet with the Driver Technology Objects... so unfortunately can't help (yet) with this. But I wish you best of luck finding a good answer on the internet!
@younesskaram9043
@younesskaram9043 5 лет назад
@@hegamurl7434 thanx for your replay and continue your videos are very helpful. Thanx again.bro
@gtag174
@gtag174 Год назад
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
@gtag174
@gtag174 Год назад
So i restarted the project and it worked ! Thanks for the Tutorial.
@yakovzargarov
@yakovzargarov 4 года назад
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?
@pikoprasetyo8550
@pikoprasetyo8550 4 года назад
same here. are you already solve the problem?
@fatonaoladimeji9697
@fatonaoladimeji9697 4 года назад
@@pikoprasetyo8550 Did you set clock memory in the device settings
@fredericmeyer4742
@fredericmeyer4742 3 года назад
Try as following: 1.) Disconnect the online connection between your PC and the PLC (go offline) 2.) Right click on your device in the project tree beneath devices & networks 3.) Translate hardware and software 4.) Upload your software to the PLC
@olimpiskeigre
@olimpiskeigre Год назад
It doesn reset after 60 sekunds. Output is allvays on.
@jask320
@jask320 2 месяца назад
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
@tabindahagha9082
@tabindahagha9082 4 года назад
Hello Sir Need help from Dubai
@myshuker1978
@myshuker1978 3 года назад
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 can.......... i work on CPU 1215 DC/DC/Rly Best regards
@hegamurl7434
@hegamurl7434 3 года назад
Hi Hadi, What you need is to work with the "Webserver" function that 1200s support. There is a lot to it, but I explain the basics here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4ntdj2VQOIA.html
@myshuker1978
@myshuker1978 3 года назад
@@hegamurl7434 thanks friend. But how to show or appear the number of the counter on website?? .. just to be know, i dont create html file yet because i dont know witch elements i want to code it on html file
@kara96raza
@kara96raza Год назад
can you speak louder?
Далее
TIA PORTAL Session # 5 How to use counter ?
5:37
Просмотров 8 тыс.
Stop, Intel’s Already Dead!
13:47
Просмотров 247 тыс.
JPEG is Dying - And that's a bad thing
8:09
Просмотров 131 тыс.
TIA Portal: OB30+ - Cyclic Interrupts
12:08
Просмотров 35 тыс.
TIA Portal: PLC Tags
12:23
Просмотров 118 тыс.
Siemens TIA Portal Tutorial (AND & OR Program)
19:11
Просмотров 68 тыс.
TIA Portal: How to use Timers (TON, TOF, TP, TONR)
15:32