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

Jakob Sagatowski March 23, 2021
Video Thumbnail
Jakob Sagatowski Logo

Jakob Sagatowski

View Channel

About

This channel explores the intersection of industrial automation and modern software development. I share content covering a wide range of topics related to PLC programming and software practices. Be sure to subscribe so you don’t miss any new videos. Need help with your automation project? I'm offering consultancy and programming services through my company → www.sagatowski.com Visit my personal blog for more content on Beckhoff TwinCAT 3 software development → www.alltwincat.com

Video Description

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. The complete playlist of all the parts of this tutorial → https://www.youtube.com/playlist?list=PLimaF0nZKYHz3I3kFP4myaAYjmYk1SowO You like the content on this channel? Please support this channel by either: - A donation by using the "Thanks" button under the video - A donation through PayPal → https://www.paypal.com/donate/?hosted_button_id=7FBED5B26KT7S - Becoming a Patron → https://www.patreon.com/sagatowski Need help with your automation project? I'm offering consultancy and programming services through my company → https://www.sagatowski.com Subscribe so you don't miss new videos → https://www.youtube.com/jakobsagatowski?sub_confirmation=1 Visit my blog → https://www.alltwincat.com Naming conventions for variables in TwinCAT 3 → https://alltwincat.com/2019/02/11/plc-naming-conventions/ All data types in TwinCAT 3 → https://infosys.beckhoff.com/english.php?content=../content/1033/tc3_plc_intro/2529388939.html&id= All type conversion operators in TwinCAT 3 → https://infosys.beckhoff.com/english.php?content=../content/1033/tc3_plc_intro/3998090635.html&id=5012109936154414215 Attributions → https://alltwincat.com/Misc/PLC_Programming_using_TwinCAT3_YouTube_Tutorial_Attributions.txt 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

You May Also Like

Master PLC Programming Today

AI-recommended products based on this video

Loading...
LEGO City Mobile Police Dog Training 60369, SUV Toy Car with Trailer, Obstacle Course and Puppy Figures, Animal Playset for Boys and Girls Ages 5 Plus

LEGO City Mobile Police Dog Training 60369, SUV Toy Car with Trailer, Obstacle Course and Puppy Figures, Animal Playset for Boys and Girls Ages 5 Plus

(1,256)
$33.98
FREE delivery Sat, Jun 14 on your first order
200+ bought in past month
Loading...
INIU USB C Cable, [3 Pack, 6.6+6.6+1.6ft] 3.1A QC 3.0 Fast Charging Type C Cable, Nylon Braided USB A to USB C Phone Charger Data Cord for iPhone 16/15 Pro Max Samsung S23 S22 Note 10 LG V20 etc

INIU USB C Cable, [3 Pack, 6.6+6.6+1.6ft] 3.1A QC 3.0 Fast Charging Type C Cable, Nylon Braided USB A to USB C Phone Charger Data Cord for iPhone 16/15 Pro Max Samsung S23 S22 Note 10 LG V20 etc

(26,340)
$10.99
FREE delivery Wed, Aug 20 on your first order
5K+ bought in past month
Loading...
iPhone Charger Cord Lightning Cable (Apple MFi Certified) 6/6/10ft 3 Pack iPhone Cable Fast Charging Long Apple Charger Cable for iPhone 13 13 Pro 12 Pro 11 SE Max XS XR X, iPad Mini Air, iPod, AirPod

iPhone Charger Cord Lightning Cable (Apple MFi Certified) 6/6/10ft 3 Pack iPhone Cable Fast Charging Long Apple Charger Cable for iPhone 13 13 Pro 12 Pro 11 SE Max XS XR X, iPad Mini Air, iPod, AirPod

(4,371)
$9.99
FREE delivery Sat, Sep 20 on your first order
6K+ bought in past month
Loading...
AsperX for Magsafe Power Bank, 10000mAh Wireless Magnetic Power Bank, 22.5W Wire Fast Charging Portable Charger with USB C Cable, LCD Display for Magsafe Battery Pack for iPhone 16/15/14/13/12

AsperX for Magsafe Power Bank, 10000mAh Wireless Magnetic Power Bank, 22.5W Wire Fast Charging Portable Charger with USB C Cable, LCD Display for Magsafe Battery Pack for iPhone 16/15/14/13/12

(895)
$37.98
FREE delivery Sat, Sep 20
400+ bought in past month
Loading...
2 Pack Rechargeable Controller Battery Pack for Xbox Series X|S and Xbox One with 10FT USB C Charging Cable and Micro USB Adapter 6amLifestyle Battery Pack Xbox Play and Charge Kit

2 Pack Rechargeable Controller Battery Pack for Xbox Series X|S and Xbox One with 10FT USB C Charging Cable and Micro USB Adapter 6amLifestyle Battery Pack Xbox Play and Charge Kit

(4,379)
$34.99
FREE delivery Sun, Jun 15 on your first order
Loading...
LUMIBRICKS Medieval Castle Banquet Hall Lighting Building Bricks Set - Middle Ages City Town Modular Collection Display Kit with Minifigures 3232 Pcs for Adults & Teens

LUMIBRICKS Medieval Castle Banquet Hall Lighting Building Bricks Set - Middle Ages City Town Modular Collection Display Kit with Minifigures 3232 Pcs for Adults & Teens

(0)
$244.99
FREE delivery Wed, Aug 20
Loading...
SmallRig FX3 / FX30 HawkLock Quick Release Camera Cage Kit for Sony with Cable Clamp, Bulit-in QR Cold Shoe NATO Rail/QR Plate for Arca, Modular Design Compatible with Original XLR Handle - 4770

SmallRig FX3 / FX30 HawkLock Quick Release Camera Cage Kit for Sony with Cable Clamp, Bulit-in QR Cold Shoe NATO Rail/QR Plate for Arca, Modular Design Compatible with Original XLR Handle - 4770

(35)
$124.94
FREE delivery Thu, Jun 19