TIA Portal: Counting Seconds

  Рет қаралды 58,191

Hegamurl

Hegamurl

4 жыл бұрын

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...

Пікірлер: 44
@hegamurl7434
@hegamurl7434 4 жыл бұрын
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 20 күн бұрын
This man is a legend, thanks for helping me with all these video :)
@Olavotemrazaodenovo
@Olavotemrazaodenovo 4 жыл бұрын
Congratulations from Brazil. Thank you.
@hegamurl7434
@hegamurl7434 4 жыл бұрын
Greetings back to Brazil from Germany!
@alancordeiro3491
@alancordeiro3491 3 жыл бұрын
Danke schön! Very well explained
@tungtrinhuc5742
@tungtrinhuc5742 4 жыл бұрын
thank you Hegamurl ... i'm from Viet Nam. Your video is very useful !
@jacquedreyer5479
@jacquedreyer5479 Ай бұрын
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.
@framos9991
@framos9991 Жыл бұрын
Thanks!
@battletoad8327
@battletoad8327 3 жыл бұрын
Danke Schön mate.
@AmolBhombe
@AmolBhombe 11 ай бұрын
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???
@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?
@kaakos9273
@kaakos9273 4 жыл бұрын
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 4 жыл бұрын
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!
@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 5 ай бұрын
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 ?
@tabindahagha9082
@tabindahagha9082 4 жыл бұрын
Have a doubt while adding Counter to View runtime of a Pump
@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
@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 8 ай бұрын
how can i only count , I want to leave the PV empty in the counter
@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
@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
@tejas2175
@tejas2175 8 ай бұрын
How to make timer cound seconds in decrement like 60..59...58 like this if any idea share
@raajpatil4918
@raajpatil4918 Жыл бұрын
Can I convert sec into milisec in Tia portal
@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.
@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 Жыл бұрын
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.
@olimpiskeigre
@olimpiskeigre Жыл бұрын
It doesn reset after 60 sekunds. Output is allvays on.
@younesskaram9043
@younesskaram9043 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
@@hegamurl7434 thanx for your replay and continue your videos are very helpful. Thanx again.bro
@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: kzbin.info/www/bejne/ap_XlZ1oi7aCf6M
@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?
@jask320
@jask320 19 күн бұрын
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
TIA Portal: Sequential Programming (S7-GRAPH)
32:13
Hegamurl
Рет қаралды 182 М.
When Steve And His Dog Don'T Give Away To Each Other 😂️
00:21
BigSchool
Рет қаралды 17 МЛН
Как быстро замутить ЭлектроСамокат
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 13 МЛН
DELETE TOXICITY = 5 LEGENDARY STARR DROPS!
02:20
Brawl Stars
Рет қаралды 17 МЛН
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
TIA Portal: Clock Memory (Toggling Frequencies / Flashing)
15:35
TIA Portal: How to use Counters (CTU, CTD, CTUD)
23:51
Hegamurl
Рет қаралды 65 М.
TIA Portal Timer | Change timer value from HMI | English
18:10
Industrial Automation
Рет қаралды 16 М.
S7-1200 Data logging Siemens PLC
18:08
Ali Al-Mukhtar
Рет қаралды 204 М.
Real Time Clock programming in Siemens PLC S7-1200 with TIA Portal Lesson #12
8:03
PLC Programming Tutorials Tips and Tricks
Рет қаралды 24 М.
SIEMENS TIA Portal programming - Flash the lamp for every 2 seconds using timer
23:24
Wartens PLC SCADA Training
Рет қаралды 35 М.
Siemens TIA Portal Tutorial (CTU Counter)
8:18
Pete Vree
Рет қаралды 81 М.
COM18. ModbusTCP Client via Siemens S7-1200/S7-1500 PLC and TIA Portal
33:43
Electrical Automation Hands-On
Рет қаралды 99 М.
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 1,7 МЛН
Как работает автопилот на Lixiang L9 Max
0:34
Семен Ефимов
Рет қаралды 15 М.