1 About the Script Function
20-2
SmartAXIS Touch User’s Manual
1.2 Types and Trigger Conditions of the Script for HMI Function
●
Types of scripts
There are two types of scripts used.
■
Script Command
This is a script that executes in accordance with trigger conditions in the same way as other parts, such as buttons or
lamps, for each screen.
• It is executed only in the screens where it is placed.
• Multiple scripts can be set for each screen.
For details, refer to Chapter 11 “4 Script Command” on page 11-25.
■
Global Script
This is a script that operates within the whole project. This script is executed at the end of Touch scan process in
accordance with the trigger condition.
Only one global script can be set to a project.
For details about setup, refer to “3 Global Script” on page 20-12.
●
Trigger condition of the script
Trigger conditions that can be set for the script are as follows:
■
Rising-edge
Script is executed when trigger device changes from 0 to 1.
■
Falling-edge
Script is executed when trigger device changes from 1 to 0.
■
Satisfy the condition
Script is executed when the set condition is met.
This can only be set for the Script Command.
■
While satisfying the condition
Script is executed while the set condition is met.
This can only be set for the Script Command.
■
Fixed Period
Script is executed at set intervals.
■
Always ON
Script is executed on every scan of the Touch.
This can only be set for the Global Script.
Script
Trigger Condition
Rising-edge
Falling-
edge
Satisfy the
condition
While
satisfying
the
condition
Fixed Period
Always ON
Script Command
YES
YES
YES
YES
YES
NO
Global Script
YES
YES
NO
NO
YES
YES
Summary of Contents for SmartAXIS Touch FT1A Series
Page 1: ...FT1A Series FT9Y B1390 4 SmartAXIS Touch User s Manual ...
Page 22: ...Contents Preface 21 SmartAXIS Touch User s Manual ...
Page 240: ...6 Using Library Screens 4 36 SmartAXIS Touch User s Manual ...
Page 416: ...2 Multi State Lamps 8 26 SmartAXIS Touch User s Manual ...
Page 558: ...9 Calendar 9 142 SmartAXIS Touch User s Manual ...
Page 668: ...6 Timer 11 52 SmartAXIS Touch User s Manual ...
Page 754: ...4 Using Data and Detected Alarms 13 34 SmartAXIS Touch User s Manual ...
Page 792: ...4 Using the Data 14 38 SmartAXIS Touch User s Manual ...
Page 810: ...4 Using the Data 15 18 SmartAXIS Touch User s Manual ...
Page 870: ...3 Text Manager 19 16 SmartAXIS Touch User s Manual ...
Page 924: ...6 Important Notes 20 54 SmartAXIS Touch User s Manual ...
Page 1036: ...5 User Communication 22 74 SmartAXIS Touch User s Manual ...
Page 1092: ...2 Monitoring on the Touch 24 26 SmartAXIS Touch User s Manual ...
Page 1142: ...2 Word Devices 27 18 SmartAXIS Touch User s Manual ...
Page 1186: ...2 Analog Cartridge 29 34 SmartAXIS Touch User s Manual ...
Page 1194: ...3 Handling Problems 30 8 SmartAXIS Touch User s Manual ...