advertisement
General Reference Guide eWON Configuration
3.7 Script Setup
The Script setup page that you can reach by clicking on the Script Setup link from the configuration navigation bar is used to create, modify or erase the scripts in the eWON and to test them.
Basic is the language that is used to write these scripts.
Further information about the structure and the syntax of this language is given in "eWON Programming Manual".
Figure 75: eWON script section page
The 3 available links in the script setup page are:
• The Edit Scripts link: to create, modify or delete the scripts
• The Script Control link: to test the scripts and enter one-shot commands
• The Run/Stop link: to run or stop the Basic scripts
3.7.1
The Edit script link
The 2 predefined scripts that are present in the eWON are:
• The Init section, which is executed once at the startup of the eWON.
• The Cyclic section, which is executed cyclically by the eWON.
This page is used to create, delete or edit script sections.
• The cycle time of the eWON BASIC is not pre-determined!
• This cycle depends on script itself.
• If well programmed, you can achieve the cycle time within one second.
RG-001-1-EN rev. 2.1
eWON® - 14/01/2014 - ©eWON sa Page 93
General Reference Guide eWON Configuration
• To edit a script section
Select the script that you want to display the code of from the Script Sections list, and then click on the Edit button, in order to display it in the edition window:
Figure 76: eWON Edit script section page
Click on the Update button to validate your modifications or on the Cancel button to quit without saving.
• To erase a script section:
Select the script section to delete and click on the Delete button.
• To create a new script section:
Click on the New Section button.
Enter the name of the script in the Script Name field and the code to execute in the blank edition area.
Figure 77: eWON new script section page
Click then on the Update button to validate your script, or on the Cancel button to quit without saving.
RG-001-1-EN rev. 2.1
eWON® - 14/01/2014 - ©eWON sa Page 94
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 7 1 Introduction
- 9 2 The eWON login page
- 9 2.1 Access from a Computer Browser
- 9 2.2 Access from a PDA Browser
- 10 3 eWON Configuration Interface
- 10 3.1 Overview
- 11 3.2 Users Setup
- 11 3.2.1 To edit a user
- 11 3.2.2 To create a new user
- 12 3.2.3 Logon parameters
- 12 3.2.4 User's rights
- 13 3.2.5 User’s directory restriction
- 14 3.2.6 Tag pages restriction
- 14 3.2.7 To delete a user
- 14 3.2.8 Callback settings
- 14 3.2.9 Validation of the User's settings
- 15 3.3 System Setup
- 15 3.3.1 General system setup
- 22 3.3.2 Net services setup
- 29 3.3.3 Diagnosis
- 32 3.3.4 COM Setup section
- 79 3.4 Tag Setup
- 79 3.4.1 Tag definition: Introduction
- 80 3.4.2 Tag definition: Setup
- 92 3.5 Pages configuration
- 92 3.6 IO servers setup
- 93 3.7 Script Setup
- 93 3.7.1 The Edit script link
- 95 3.7.2 The Script control link
- 95 3.7.3 The RUN/STOP link
- 96 3.8 Wizards
- 97 4 Configuring the eWON by a file upload
- 98 5 The eWON IO Servers
- 98 5.1 Introduction
- 98 5.2 IO servers setup
- 99 5.2.1 IO Server Clear
- 99 5.2.2 IO Server Init
- 99 5.2.3 Global Config
- 100 5.2.4 Standard IO server configuration page
- 101 5.3 Modbus IO server
- 101 5.3.1 Introduction
- 101 5.3.2 Setup
- 105 5.3.3 Tag name convention
- 108 5.4 NETMPI IO Server
- 108 5.4.1 Introduction
- 108 5.4.2 Setup
- 108 5.4.3 Tag name convention
- 110 5.5 UNITE IO Server
- 110 5.5.1 Introduction
- 110 5.5.2 Setup
- 112 5.5.3 Tag name convention
- 114 5.6 DF1 IO Server
- 114 5.6.1 Introduction
- 114 5.6.2 Setup
- 117 5.6.3 Tag name convention
- 121 5.7 FINS IO Server
- 121 5.7.1 Introduction
- 121 5.7.2 Setup
- 123 5.7.3 Tag Name Convention
- 126 5.8 S5-AS511 IO Server
- 126 5.8.1 Introduction
- 126 5.8.2 Setup
- 126 5.8.3 Communication setup
- 127 5.8.4 Tag name convention
- 129 5.9 ABLOGIX IO Server
- 129 5.9.1 Introduction
- 129 5.9.2 Setup
- 132 5.9.3 Tag name convention
- 134 5.10 eWON IO Server
- 134 5.10.1 Introduction
- 134 5.10.2 Standard eWON I/O Item Names
- 142 5.10.3 Setup
- 143 5.11 MEM IO Server
- 143 5.11.1 Introduction
- 143 5.11.2 Setup
- 143 5.11.3 Tag name convention
- 144 5.12 S7-300&400 (MPI/Profibus - ISOTCP)
- 144 5.12.1 Introduction
- 144 5.12.2 Setup
- 147 5.12.3 Tag name convention
- 151 5.13 S7-200 (PPI - ISOTCP)
- 151 5.13.1 Introduction
- 151 5.13.2 Setup
- 154 5.13.3 Tag name convention
- 157 5.14 HITACHI IO Server
- 157 5.14.1 Introduction
- 158 5.14.2 Tag name convention
- 162 5.15 MITSUBISHI FX IO Server
- 162 5.15.1 Introduction
- 162 5.15.2 Setup
- 163 5.15.3 Tag name convention
- 166 5.16 SNMP IO Server
- 166 5.16.1 Introduction
- 166 5.16.2 Setup
- 167 5.16.3 Tag name convention
- 169 5.17 MITSUBISHI MELSEC IO Server
- 169 5.17.1 Introduction
- 169 5.17.2 Setup
- 170 5.17.3 Tag name convention
- 173 6 eWON Monitoring Web Interface
- 174 6.1 Real-time screen
- 174 6.1.1 Change a Tag value
- 174 6.1.2 Tag quality
- 174 6.1.3 Alarm state
- 175 6.1.4 Real time graph
- 175 6.1.5 Historical window
- 175 6.2 Historical Trending screen
- 177 6.3 Historical table
- 178 6.4 Real time Alarm screen
- 179 6.5 Historical Alarm screen
- 180 6.6 Files transfer
- 181 6.7 Diagnostic
- 181 6.7.1 Event Log
- 183 6.7.2 Status
- 187 6.7.3 Scheduled Actions
- 187 6.7.4 Real Time Log
- 191 6.7.5 ADSL Log
- 192 7 Retrieving Data from eWON
- 192 7.1 List of eWON files
- 193 7.2 Files Format
- 193 7.2.1 Config.txt : New Line character (NLSeparator)
- 194 7.3 FTP transfer
- 194 7.3.1 FTP Software tools
- 194 7.3.2 FTP session
- 194 7.3.3 Via eWON web site
- 195 8 Export Block Descriptor
- 195 8.1 Export block descriptor
- 196 8.2 Export fields syntax definition
- 196 8.2.1 $dt [Data Type]
- 196 8.2.2 $ft [Format]
- 197 8.2.3 $st [Start Time] and $et [End Time]
- 198 8.2.4 $ut [Update Time]
- 198 8.2.5 $tn [Tag Name]
- 198 8.2.6 $ct [compression format]
- 198 8.2.7 $se [Script Expression]
- 199 8.3 Data Types description and syntax
- 199 8.3.1 $dtHL [Historical Logging]
- 201 8.3.2 $dtHT [Historical Table]
- 203 8.3.3 $dtRL [Real time Logging]
- 204 8.3.4 $dtAH [Alarm History]
- 205 8.3.5 $dtAR [Alarm Real time]
- 206 8.3.6 $dtEV [EVent file]
- 207 8.3.7 $dtSS [Scheduled Status]
- 208 8.3.8 $dtSE [Script Expression]
- 209 8.3.9 $dtUF [User File]
- 211 8.3.10 $dtIV [Instant Values]
- 214 8.3.11 $dtSV
- 215 8.3.12 $dtPP
- 215 8.3.13 $dtES
- 216 8.3.14 $dtSC
- 217 8.3.15 $dtRE [Real Time Diagnostic]
- 218 8.3.16 $dtTR [TAR file]
- 219 8.3.17 Additional exports available
- 220 9 Upgrading the eWON firmware
- 220 9.1 Purpose
- 220 9.2 Update firmware with eBuddy
- 223 9.3 Upgrading the eWON firmware by a direct upload
- 225 9.4 The Flexy Recovery procedure
- 229 9.5 Downgrade firmware
- 229 9.5.1 Firmware prior to
- 229 9.5.2 Firmware version 5.x (and above)
- 230 9.6 Upgrade Bootloader (to upgrade to firmware >= 5.2)
- 230 9.6.1 Error Message
- 230 9.6.2 Checking your boot loader version
- 231 10 Appendix
- 231 10.1 Access to the eWON Technical Support
- 231 10.2 Tips for Internet setup
- 231 10.2.1 Finding the IP address of a given host
- 231 10.3 Finding your PC IP address
- 232 10.4 Resetting the eWON
- 232 10.4.1 Overview
- 232 10.4.2 Reset sequence
- 232 10.4.3 Second level initialization diagnostics
- 233 10.4.4 Reset of the eWON Flexy
- 233 10.4.5 Entering level 2 initialization without request
- 233 10.4.6 What to do in case of error?
- 233 10.4.7 Important remark
- 234 10.5 Table of comparison between eWON types
- 234 10.5.1 Primary & Compact Ranges
- 234 10.5.2 Flexy Range
- 235 10.5.3 Obsolete Types
- 236 10.6 Duplicate IP detection (User Led blinking Red)
- 236 10.7 Rockwell compatibility matrix
- 237 10.8 GSM modem Led behavior