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

PLC and HMI Development with Siemens TIA Portal
By :

TIA Portal's Unified system can make use of JavaScript against screen object properties. Historically, Siemens used Visual Basic Script (VBS) for dynamization in an HMI environment; however, Unified has moved to a more advanced and commonplace JavaScript language.
Scripting can be used by setting Dynamization to Script, as illustrated in the following screenshot:
Figure 10.17 – Visibility property set to Script for Dynamization, with the script shown to the right
When Script is used as the Dynamization type, a script file is displayed to the right of the window.
The script file can be used to perform more complex evaluations of data before setting the associated properties. This allows greater flexibility and customization than other dynamization options.
Scripts are semi-constructed when the Script option is selected from the Dynamization list. TIA Portal will provide the necessary function...
Change the font size
Change margin width
Change background colour