- Видео 32
- Просмотров 37 017
Ninja Monkeys Tutorials
Добавлен 20 дек 2022
This is the "Ninja Monkeys Tutorials" channel.
It's hostet by Yeknom and Ajnin from ekvip.
On this channel, we publish our TwinCAT 3 tutorials.
If you are interested in PLC programming and TwinCAT 3 this is your place!!!!
It's hostet by Yeknom and Ajnin from ekvip.
On this channel, we publish our TwinCAT 3 tutorials.
If you are interested in PLC programming and TwinCAT 3 this is your place!!!!
29. From Blocks to Candy: Learning OOP Function Blocks in TwinCAT 3
This is the second part of our Vending Machine project for TwinCAT3.
You will learn more about object orientated programming in TwinCAT 3.
At the end of this video you will have a fully functional candy vending machine for greedy and picky ninja monkeys.
You can find the first part of the project and more about Object Orientated programming here:
ruclips.net/video/z1h-uQhCY4A/видео.htmlsi=TARJ7pyTI8-rh3yQ
You can download the full TwinCAT project on GitHub:
github.com/NinjaMonkeyTutorials/candy-vending-machine
00:00 Intro part 2
00:40 AbstractCandyMachine
04:43 NinjaCandyBehavior: Enums: ConsumerTypes ans TasteScale
07:00 Candies
08:15 PickyCandyMachine
11:05 GreedyCandyMachine
12:46 CommonCandyMachin...
You will learn more about object orientated programming in TwinCAT 3.
At the end of this video you will have a fully functional candy vending machine for greedy and picky ninja monkeys.
You can find the first part of the project and more about Object Orientated programming here:
ruclips.net/video/z1h-uQhCY4A/видео.htmlsi=TARJ7pyTI8-rh3yQ
You can download the full TwinCAT project on GitHub:
github.com/NinjaMonkeyTutorials/candy-vending-machine
00:00 Intro part 2
00:40 AbstractCandyMachine
04:43 NinjaCandyBehavior: Enums: ConsumerTypes ans TasteScale
07:00 Candies
08:15 PickyCandyMachine
11:05 GreedyCandyMachine
12:46 CommonCandyMachin...
Просмотров: 376
Видео
28. From Blocks to Candy: Learning OOP Function Blocks in TwinCAT 3
Просмотров 69728 дней назад
This is our video about FB's in TwinCAT 3 We create a whole project together with you that introduces you to OOP in TwinCAT 3. Together we will build a candy vending machine. The project completely available on our GitHub: github.com/NinjaMonkeyTutorials/candy-vending-machine Part 2 of the tutorial: ruclips.net/video/ZkVK1_xULF0/видео.html Chapters: 00:00 Introducing the project 02:50 Create Ca...
27.TwinCAT 3: Migrate 4024 to 4026
Просмотров 7314 месяца назад
Big news: some weeks ago Beckhoff updated it's package manager! It's not necessary anymore, to migrate TwinCAT 3 4024 to 4026 via PowerShell script. In this short video will show you how to migrate TwinCAT 2024 to TwinCAT3 2026 with the Beckhoff TwinCAT Package Manager installer. Link to the TwinCAT Package Manager (TwinCAT 3.1 Build 4026) on the Beckhoff website: www.beckhoff.com/en-en/support...
26.TwinCAT 3: Where the (FUN) ends
Просмотров 5734 месяца назад
In this video we will have some more (FUN). This time we will try out what can go wrong if you use a reference as return value of a function. yiepieh! Therefore we prepared a TwinCAT project for you. Follow THIS link to download it: github.com/NinjaMonkeyTutorials/functions-part-two Chapters: 00:00 Intro 01:47 Pinana Animation 02:16 Introducing the TwinCat PLC project 05:30 CalcualtePinanaCurva...
25.TwinCAT 3: Just for (FUN)
Просмотров 2,4 тыс.10 месяцев назад
In this video we talk about the next POU in TwinCAT 3: The function. We explain how to declare a function, how to call it, and it's differences to other POUs. Have (FUN). Chapters: 00:00 Intro 00:27 How does a function work 01:27 How to create a function in TwinCAT 3 02:54 Examples 03:34 Example 1 04:32 Function call in TwinCAT 3 05:58 Example 2: Bubble sort algorithm in TwinCAT3 06:18 VAR_IN_O...
24. TwinCAT 3: POUs: programs
Просмотров 897Год назад
In this videos we talk about programs in TwinCAT 3. Therefor we invited an expert: MAIN. Together we explore, how a program is called, we create tasks and programs, look at how to define a program in a tasks and how changes in the tasks settings effect the execution of a program. We also call a program in another program and explain how input and output parameters work. 00:00 Intro 00:46 The MA...
23. TwinCAT 3: FOR, WHILE and REPEAT loop
Просмотров 803Год назад
In this video we show you how to use the FOR, WHILE and REPEAT loop. We solve everyday challenges of a ninja monkey with the help of 3 different loops. We also take a quick look at the EXIT instruction. Chapters 00:00 Intro 00:27 FOR loop Syntax 01:54 FOR loop Example 1 04:10 FOR loop Example 2 05:43 WHILE loop Syntax 06:56 WHILE loop Example 09:49 REPEAT loop Syntax 10:47 REPEAT loop Example 1...
22. TwinCAT 3: IF, CASE, JMP & RETURN instructions
Просмотров 758Год назад
In this video we talk to you about the IF, CASE , JMP and RETURN instructions in Structured Text. We look at the syntax of each instruction and show you how to use them in TwinCAT 3. Chapters: 00:00 Intro 00:39 IF instruction syntax 01:49 Example Animation 02:51 How to use the IF instruction in TwinCAT 3 05:33 CASE instruction Syntax 07:36 How to use the CASE instruction in TwinCAT 3 09:12 JMP ...
21. TwinCAT 3: Pointer and References
Просмотров 1,9 тыс.Год назад
In this video we talk about pointers and references in TwinCAT 3. We also have a blog article about this topic: ekvip.de/blog/pointer-and-references-in-a-nutshell/ Chapters: 00:00 Intro 00:52 What is a POINTER 02:10 How do use pointers in TwinCAT 3 06:12 Index access 06:35 Example index access and pointer arithmetic 09:32 Substract Pointers 09:50 FUNCTION F_CheckMemoryArea: E_TcMemoryArea 13:12...
20. TwinCAT 3: Structures: Alignment & dynamically created structures
Просмотров 779Год назад
In this video we talk about the alignment in TwinCAT 3 and in this context also about the attribute pack_mode. Furthermore we talk about the operators NEW and DELETE, as well as the enable_dynamic_creation attribute and explain how to allocate memory and what a dynamically created structure is. Chapters: 00:00 Intro 00:40 Alignment basics 01:03 Alignment in structures 04:08 SIZEOF operator 04:4...
19. TwinCAT 3: Structures
Просмотров 819Год назад
In this video we talk about structures. In this part we talk about the basic: How to create them, how to get access to a structure component and how you can extend a structure. Chapters: 00:00 Intro 00:16 What is a structure and when should I use it? 01:09 Example 02:02 How to create and declare a structure 04:30 How to access a structure component 05:40 Explanation Data type BIT and BIT struct...
18. TwinCAT 3: Enumerations
Просмотров 1,4 тыс.Год назад
In this video will will explain how to use an enumeration. We will also talk about the attributes 'strict, 'to_string' and 'qualified_only'. Chapters 00:00 Intro 00:17 What is an enumeration? 00:27 How to declare an enumeration 01:03 Textlist support 01:20 Declaration and syntax 04:11 Example with CASE instruction 1/3 05:11 How to use the 'to_string' attribute 05:44 Example with CASE instructio...
15. TwinCAT 3: Subrange data types & Range/LRange Check
Просмотров 443Год назад
15. TwinCAT 3: Subrange data types & Range/LRange Check
14. TwinCAT 3: Type Conversion and the two's complement
Просмотров 538Год назад
14. TwinCAT 3: Type Conversion and the two's complement
10. TwinCAT 3: Loading program code/ Login PLC
Просмотров 1,2 тыс.Год назад
10. TwinCAT 3: Loading program code/ Login PLC
08. TwinCAT 3: Connect to the target system
Просмотров 1,3 тыс.Год назад
08. TwinCAT 3: Connect to the target system
07. TwinCAT 3: How does EtherCAT work
Просмотров 1,1 тыс.Год назад
07. TwinCAT 3: How does EtherCAT work
06.TwinCAT 3: Import and export a PLC project
Просмотров 1,4 тыс.Год назад
06.TwinCAT 3: Import and export a PLC project
05. TwinCAT 3: Creating a PLC project
Просмотров 1,1 тыс.Год назад
05. TwinCAT 3: Creating a PLC project
03. TwinCAT 3: Creating a new TC project
Просмотров 1,5 тыс.2 года назад
03. TwinCAT 3: Creating a new TC project
Thank you for the great work that you delivered.
Glad you enjoyed it!
Thats helpful 😊
Glad you think so! :-]
Cool
Really cool project! I think my personalized candy machine algorithm would always give me a kind of candy that I haven't eaten before and then lecture me on the merits of vegetables.
haha!
Nice video! but if i right click on my new referenced task, there isn't the add function?
did you click on the task or on the referenced task object? watch the video again, starting at 4:28. We tried it also in TC 4026 and had no problems.
Migration always failed in my case. It says, other twincat was detected. But nothing on the list is displayed. I un installed everything. And run the package manager. Again detected other twincat. And still nothing on the list. And will fail to migration and 64bit will not be installed..
Sorry to here that. Maybe you can ask the Beckhoff support?
Computer Monkey :)
How to write the sum function to be able to input the ARRAY OF ARRAY notation?
We tried it out but did not finde a way to manage it. How about you? Did you find a way to write the sum function?
These tutorials are ai generated trash
how to migrate a twincat 3 project from 4024 to 4026?
In most cases the project will be converted automatically.
Migration always failed in my case. It says, other twincat was detected. But nothing on the list is displayed. I un installed everything. And run the package manager. Again detected other twincat. And still nothing on the list. And will fail to migration and 64bit will not be installed..
What do they mean by solution files?
Do you mean the "solution explorer"? In this video we explain the TwinCAT UI and talk about the Solution Explorer: ruclips.net/video/a22xCNjDEWs/видео.html Maybe this will answer your question. :-)
@@ninjamonkeystutorials I meant files. My guess is, some instructors or teachers refer to the completed programs that are saved into a folder file.
I didn't know a fever dream could be so educational.
İt is different method to teach plc. It seems good and You also explain good. Lets go other videos 👏👏👏
Thank you! 😃
Sorry, cant do annoying AI generated stuff.l
You are the best
Thank you!
The best of the best as always🎉 welcome back we were waiting for you and hope everything is ok 😊
Thank you! 😃
welcome back Ninja, please make it on regualr basis .:)
normally we do that but Yeknom had a little accident. But we are back now! ruclips.net/user/postUgkxoL9fgwlP--yg0jQXo_TwDqhB0xfZ1RpS
@@ninjamonkeystutorials Sorry for hearing so, welcome back again.
I am a fan.
So excited
github.com/NinjaMonkeyTutorials/functions-part-two
I dont have a PLC, can we connect to target?
Srry for the late response, Yeknom had an accident! Anyway, just select <local> as target. You'll get a pop-up about missing licenses, just create a trial license by typing the equal characters.
This video is very clear! The only thing that was slightly confusing was that the name of the DUT structure changed in the last part. Other than that, it was excellent, and closely followed the Beckhoff documentation.
a program can also have methods and properties. GVLs can have properties.
Never tried a property for a GVL before. Thanks for this hint! Normally, we do not use GVL excessively, but it offers nice possibilities with internal setters in libraries, for example.
I dont get the point of using this kind of display, its far away and not 100% clear :(
Great video guys - thanks; the bubble sort program is very useful. But why do you say so strongly that "A function returns exactly one data element when executed" at 0:35? You (correctly) say that output type variables can be decleared (2:46) and even show a FUN with multiple outputs being called at 5:05. Clearly, a functions can output multiple variables.
Thank you, for your feedback! As long as you don't declare any further outputs, a function only returns one data element by default. Maybe, the word 'default' is missing, in the sentence you mentioned. :-]
Yes, that's all you really needed here. Overall, a very good video, we shouldn't lose prespective.
Hi again i am always waiting for your videos 🎉🎉
Glad you like them!
Hi, 🙈🙉💯👍
Hello, I miss the monkeys, I like them a lot 🙈🙉
Don't worry. We'll be back soon with a new video :-]
great work! and I like the main;)
Was waiting for new videos im glad to see new tutorials again
Just warning yall, that there is a simpler way to write out a multidimensional array, however this is still a good start.
Oh, there is a third variant, what does it look like? I only know array[0 .. 2, 0 .. 3] and array of array. Both notations are shown in the video. In my opinion, array of array is the better one.
Great content 👍
Great content, keep going im waiting for advanced topics Nci NcPTP CNC and MC Xplanar XTS
Gracias
Are these videos targeted to children? Why the kindergarten graphics and weird fonts? You are covering PLC topics and using childish animation. Doesn't look very professional.
Children are not our target group. Our main audience is between 25 and 45 years old. We like to explain difficult topics with humor. That's why we use animations that might not be typical for such topics.
@@ninjamonkeystutorials hahaha ,so cute
@@ninjamonkeystutorials There is no problem with animations the content is rich and i like that keep going
Thanks for your videos. Just one suggestion, why don't u make the TwinCAT window fullscreen so that it's easier to see. Your small window is also tilted which makes it difficult to read what you're showing.
Thank you for the feedback! We will change that in upcoming videos with code examples.
TwinCAT window is to small for watching on phone. Next time I recommend you to make it fullscreen or zoom it to code. Anyway thanks for good content.👍
Thank you for your feedback! We will change that in upcoming videos with code examples.
I don't get why this channel has kindergarten level animation for an advanced topic like this?
Why not? I think this is nicely done and easy to understand.
🙈🙉🙊
Nice.. its helping for new programer to learn about TWINCAT.. keep going
With these implicit check POUs, we see this sentence in the creation dialogue: "Note: Adding a checkfunction will provoke a full recompile and prohibit an online change" I can understand the need for a full re-compile, but what's meant by probiting online changes? I've been able to do online edits even after adding implicit checking POUs.
Well done guys, another great video with very clear explanations - thank you! Please keep making them 😊😊 1) Are we missing video #17? Maybe you forgot to post it ?? 2) At around 9:50, you started to say that arrays have a maxmum of 20,000 elements (although the sentence wasn't completed). I don't think this is right - I don't believe there's a prescribed limit to array size 3) I couldn't get my program to compile the way you had it - I had to define my array as bContainer3 : Array[0..1, 0..1, 0..3] of INT ... Then it compiled and worked fine. Thanks again for everything,
Hey, 1. We corrected the number. ;) 2. You are absolutely right. Yeknom did not say, that an array is limited to 20.000 elements. The sentence is cut off. He said: "20.000 are the maximum of elements TwinCAT can display". Thank you for your feedback.
@@ninjamonkeystutorials Thank you for clarfying this, so the 20,000 relates to the maximum number that can be displayed. Once again guys, well done with these videos, you're explaining how to use a very powerful product in Beckhoff
i'd like to thank you and thank the one who make me know your channel
Hi, Mr. NIJIA. Can I install TwinCAT 3 into pc Win11 visual Studio Community 2022? Thanks.
Hey, It is possible to integrate TwinCAT 3 in full versions of Visual Studio 2013-19 or Visual Studio Shell 2013-2019. It is not possible yet to integrate it in Visual Studio Community 2022, but it could be that this is changing in version 40.26. :-)
@@ninjamonkeystutorials thanks a lot.
Hello, my best congratulations is very original and quality content... I am also taking an OOP course in my free time: ruclips.net/p/PLEfi_hUmmSjFpfdJ6yw3B9yj7dWHYkHmQ
Let's make about Software protection, monkey friends