Creating and handling events in faceplates
Some faceplates may require end users to interact with objects within the faceplate, such as a button or an input field. Unlike normal screen objects, faceplates require events to be handled in scripts. This means that programmers will need to write scripts in order to process user events.
You can see an example of an event script in the following screenshot:
Events can be configured against a selected object by clicking the Properties tab at the bottom of the TIA Portal application and then the Events tab.
On the left side of the Events tab, event triggers are listed. When an event trigger is selected and the Converts the function list to a script button is pressed, as illustrated in the following screenshot, an area will appear in which a script can be written:
In faceplates...