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
@legobricksbe5 ай бұрын
This man is a legend, thanks for helping me with all these video :)
@Olavotemrazaodenovo5 жыл бұрын
Congratulations from Brazil. Thank you.
@hegamurl74345 жыл бұрын
Greetings back to Brazil from Germany!
@jdmc10773 жыл бұрын
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?
@MBAutomation19864 жыл бұрын
Great job. Can I ask you what is the hardware of your computer? It works very fast and not much loading.
@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???
@tungtrinhuc57425 жыл бұрын
thank you Hegamurl ... i'm from Viet Nam. Your video is very useful !
@EricBalcon Жыл бұрын
If I choose a CPU from a S7-1200 is it possible that the system and clock memory is not available ?
@jacquedreyer54796 ай бұрын
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.
@alancordeiro34913 жыл бұрын
Danke schön! Very well explained
@kaakos92735 жыл бұрын
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 ®ards
@hegamurl74345 жыл бұрын
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!
@borisatanasov85624 жыл бұрын
Hello , Can you give me advice on how to count MS / milliseconds? Best regards, Boris
@yakovzargarov4 жыл бұрын
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?
@pikoprasetyo85504 жыл бұрын
same here. are you already solve the problem?
@fatonaoladimeji96974 жыл бұрын
@@pikoprasetyo8550 Did you set clock memory in the device settings
@fredericmeyer47423 жыл бұрын
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
@ptecheducation82002 ай бұрын
hi, how to use 1hz for two functions to count two machine working time
@amrabdellatif3736 Жыл бұрын
how can i only count , I want to leave the PV empty in the counter
@tabindahagha90824 жыл бұрын
Have a doubt while adding Counter to View runtime of a Pump
@sadiodiallo47062 жыл бұрын
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.
@TheTaxxor2 жыл бұрын
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.
@talhaahsan74802 жыл бұрын
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
@karatugba3 жыл бұрын
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 Жыл бұрын
As you see the CTU Block's PV its over than 60 thats why you are recieving an ouput signal
@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 Жыл бұрын
So i restarted the project and it worked ! Thanks for the Tutorial.
@raajpatil4918 Жыл бұрын
Can I convert sec into milisec in Tia portal
@framos9991 Жыл бұрын
Thanks!
@battletoad83273 жыл бұрын
Danke Schön mate.
@aarooonxd78403 жыл бұрын
Muchas gracias, fue un gran video. 👌🏼
@tejas2175 Жыл бұрын
How to make timer cound seconds in decrement like 60..59...58 like this if any idea share
@younesskaram90435 жыл бұрын
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
@hegamurl74345 жыл бұрын
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!
@younesskaram90435 жыл бұрын
@@hegamurl7434 thanx for your replay and continue your videos are very helpful. Thanx again.bro
@olimpiskeigre Жыл бұрын
It doesn reset after 60 sekunds. Output is allvays on.
@tabindahagha90824 жыл бұрын
Hello Sir Need help from Dubai
@myshuker19783 жыл бұрын
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
@hegamurl74343 жыл бұрын
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
@myshuker19783 жыл бұрын
@@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 Жыл бұрын
can you speak louder?
@jask3205 ай бұрын
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