PLC programming using TwinCAT 3 - Data types & arrays (Part 4/18)

preview_player
Показать описание
In this part we will dive deeper into the various data types that are available in the IEC 61131-3 standard that TwinCAT implements. We'll also look at pointers and references, and why we would want to use them. After that we will take a look at how to declare and use arrays. We will finish this part by looking at one example of how we can convert one datatype to another.

Please support this channel by either:
- A donation by using the "Thanks" button under the video

All data types in TwinCAT 3 →

All type conversion operators in TwinCAT 3 →

Intro 0:00
Scope 0:15
Variables 1:00
Bool data types 3:00
Integer data types 3:45
Floating point data types 8:39
String data types 9:04
Time data types 11:50
Enums 15:30
SIZEOF() 19:15
Pointers 23:14
References 26:20
Arrays 32:31
Type conversion 36:00

#TwinCAT3 #TwinCAT #PLC #Beckhoff
Рекомендации по теме
Комментарии
Автор

Your videos are better than the official Beckhoff training center... Thanks so much for the content!

liorshtivi
Автор

I have just joined a new job and this organization is using the Beckhoff PLC and motion in their machines.
I went to their office as well for training but was unsatisfactory.

Your videos are helping me a lot to understand the syntax of this logic.
You are to the point with very good explanation.
Thanks a lot.
you are doing a great work!

wandererJBL
Автор

I'm a Ph.D candidate in S.Korea, and you sir, you just saved my candidate qualification.

zae
Автор

Great course. It is very clear, especially for those coming from traditional PLC programming. Thanks for sharing your knowledge on Beckhoff PLC.

pedrocampana
Автор

Thanks for your great work! This channel is an absolute Gem 💎 🙏🙌

MrBluntNose
Автор

Dear,

Thanks for your Video.
I am really very like the parts of pointer and refernece that you are explain.
Very make sense and smart!

gtg
Автор

Som en "vanlig" utvecklare har jag egentligen ingen koppling alls till PLC:er och automation (hittade hit via podcasten Kompilator) men denna videoserie är minst sagt häftig och förklaringarna av grundläggande koncept inom programmering är värdefulla även för mig!

heydude
Автор

THANKS This is very interesting for me, I have been selling Beckhoff since 1989 (Lightbus i.e Precursor to EtherCAT) to 2010 in Sweden, after that I have as retired supported TR Thailand.
Up till now, no problems imported machines from Europe = TC2 but now TC3 is starting to come. I practically have any experience Of TC3 (except ST and what I have learned in 1-4 from you ), waiting for next part but maybe especially for "next part" about Git hub :-)

bjornforssberg
Автор

Great video again Jakob, can't wait for the rest of the series.

andreasklappert
Автор

You're a god. Very clear and complete tutorial!! Thank you.

henri
Автор

Great job! I can't wait till next episode. You are the best TwinCat Coach :D

Desfaqhunter
Автор

Thank you for creating awesome content! Looking forward to upcoming videos! :)

jatinsingh
Автор

I hope part 5 is just around the corner.

ИльяГалай-чй
Автор

Excellent course, I got many knowledge from you. Many thanks with love

anhoangduc
Автор

Hi Jakob! :) And that is
In witch part r you talking about handlink bigger strings than 255 elements? Cause I'd like to handle the dataflow of my electricity meter (DSMR port, P1 port etc). And that is approx 2.5kbytes.

zoltansimon
Автор

Thanks Jakob, for we are getting a free training 😊

ryanarellano
Автор

Very good Jakob. Mybe you could create videos with some applications using pointers, references .... just only idea :-)

adilsonoliveira
Автор

Thanks a lot for this valuable episode! Please I have a question in the last part of type conversion, does the type conversion made causes a data loss and hence a logical error?

mohamedhafez
Автор

Hello Jacob, happy new year.
I hope you're well.
I congratulate you on your excellent work and dedication. These tutorials are very good and I have learned a lot.
I don't know if he explains in the next videos, but I would like to know how to extract and support the programming of a Beckhoff PLC.

Thanks
Kind regards

Josempe
Автор

Thank you very much for the valuable content. Just one question, why do we use reference and we don't use the original variable itself? which one has the priority (if any) if we write the variable or if the reference pointing to that variable?

rasoulsadeghi