-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

PLC and HMI Development with Siemens TIA Portal
By :

An interface to a function block or function is the first point at which a programmer can start to control how an object is interacted with. The interface serves as a ruleset of what is allowed to be passed in and out of this object.
You can see an example of an interface in the following screenshot:
Figure 6.1 – Basic interface example
By offering an interface, programmers (and other people who may have to maintain or modify the project) have a better chance at reducing mistakes when using the object.
An interface is made up of three different key areas, as outlined here:
Each behaves differently and performs different functions.
Inputs are variables that are read-only. Once an input interface variable is passed into an object, it is not recommended to modify it. TIA Portal does allow input variables to be written...
Change the font size
Change margin width
Change background colour