TwinCAT 3: Type conversion basics (Part 13)

In this video we will deal with the following problem: we have assigned two variables to each other in our program, but they do not have the same data type. What does the compiler do in which case and how does implicit and explicit data type conversion work with unsigned data types? To explain this, we will take you on a short trip to the port. Later we will introduce the TO_ operator and show you how to use it in TwinCAT 3.


00:00 Intro
00:51 implicit type conversion
01:41 Explicit type conversion
03:20 To_type operator
05:18 Outro

← Part 12

Table of Contents

Part 14 →