Engineering Manual
About this Manual
1. Introduction to Advantech WebAccess/SCADA
2. Getting Started
3. IO & Device Communications
4. Tags
5. Advanced Block, Parameter & Tag Configuration
6. Data Logging & Trends
7. Alarm Management
8. Users, Passwords & Security
9. System & Template Displays
10. DRAW
11. Pushbutton Key Macros
12. Scripts
12.1 Start the Script Editor
12.2 Tcl Features
12.3 Tcl Command syntax
12.4 ACTION commands
12.5 Tcl KEYWORD commands (built-in Tcl )
12.6 Tcl OPERATORS
12.7 Tcl MATH FUNCTIONS
12.8 Tcl STRING OPERATIONS
12.9 Tcl Command Returns
12.10 Tcl Script Examples
12.10.1 Transfer the value of a tag to another tag
12.10.2 Rotate Fans on Start-Stop
12.10.3 GetVal and SetVal
12.10.4 Set a Text Value
12.10.5 Perform math on Tags
12.10.6 Compare Tag value to Tag Field
12.10.7 Send an email
12.10.8 Display errors (Debug a Tcl Script)
12.10.9 Play a Wave File every 3 seconds for 1 minute
12.10.10 If statement to test difference in time
12.10.11 Read database into an Array for Display with SQL
12.10.12 Write data into an ODBC database with SQL
12.10.13 Read values from DataLog DB with SQL
12.10.14 Write data to Text file
12.10.15 Loop to change Arrayed Text Constant Tags
12.10.16 Calculate time to run a Script
12.10.17 Trim and extract characters from string
12.10.18 Test if Integer Number
12.10.19 Insert Data into a CSV file
12.10.20 Play a Wave File if UNACK Alarm (Global Script)
12.11 Global Scripts
12.12 JScript features
12.13 JScript KEYWORD commands
12.14 JScript Examples
12.15 VB Script features
12.16 VB Script KEYWORD commands
12.17 VB Script Examples
13. Recipes
14. Realtime Data Exchange
15. Display Groups & ViewDAQ
16. Web Deployment & VIEW
17. Video and Google Map
18. Scheduler
19. Database Utilities
20. Project Manager
21. Reports and Database Logs
22. Dashboard
23. WebAccess/Express
24. Troubleshooting
25. Tips & Tricks
26. Appendix
27. Open Interface
28. WebAccess MQTT Connection
29. WISE-PaaS MQTT Communication
|