advertisement
General Reference Guide Export Block Descriptors
8.3 Data Types description and syntax
A Data type defines what is exported from the eWON. The data type is defined by the $dt field followed by 2 uppercase letters. The $dt field is mandatory for each "Export Block Descriptor" and usually the $ft (Format) field will also be present to define the output format of your data
(although a default format is defined for each data type).
For each Data type, a set of other fields must be provided (some are mandatory and others are optional).
Note:
If you specify an unused field (neither mandatory nor optional), it will then be ignored.
This section will describe the syntax for each data type with the specific features for each of them.
8.3.1
$dtHL [Historical Logging]
8.3.1.1
Export content
The Historical logging outputs the data from the File system for ONE or ALL the fields. The output format can be TEXT, HTML Table or BINARY.
The GRAPH format is also available IF only ONE Tag is specified.
A time range can also be specified for this export.
8.3.1.2
Detailed Example
$dtHL $ftT $st_h4 $et_m0 $tnA1
$dtHL
$ftT
$st_h4
$et_0
$tnA1
data type historical logging output format requested is CSV start time is current time – 4 hours end time is current time – 0 minutes Ù NOW
Tagname “A1” history to output
Table 161: $dtHL detailed example
8.3.1.3
Used Fields
Fields Value if not specified
Mandatory
$dt
$fl
$ut
$fn
$ct
$ft
$st
$et
$tn
Optional
Binary
01/01/1970
31/12/2030
All tags
All tags groups
No time update
Export block descriptor
Compression type
Table 162: $dt - used fields
8.3.1.4
Special parameters and fields
$st $et
If Last time is specified: ($stL or $etL): there is a last time logged for each Tag plus a last time logged for all Tags. If you specify a given Tag, its own last time will be used. If a specific Tag is not requested, the export is performed for Tags concerned by historical logging and another last time memory is used.
If the output format is graph: $et_0 should be used instead of default value, otherwise the graph would span up to 31/12/2030. For binary or text output, the default value can be kept.
RG-001-1-EN rev. 2.1
eWON® - 29/11/2013 - ©eWON sa Page 199
General Reference Guide Export Block Descriptors
$ft
Binary Text
Acceptable values
HTML Graph
Table 163: [$dtHL] $ft acceptable values
The Graph format is only allowed if a Tag has been specified.
The Text format will output a comma-separated file. The separator is ’;’ to avoid any confusion with decimal point. If all the Tags are output they will be output in a chronological order in the file.
$ut
If only one Tag is specified, the time of the last point for that Tag will be memorized. All the Tags can be output individually and last time is saved for each point. Another memory is available if $ut is requested for ALL the Tags.
$tn
If this Tag is not specified, ALL the Tags will be selected for export. Otherwise, the Tag with the given name will be selected.
$fl
The group selection is only available with binary, text and HTML formats (not allowed for Graphic format $ftG).
8.3.1.5
examples
$dtHL
$dtHL $ftT
$dtHL $ftT $tnTemp
$dtHL $ftB $flAB
$dtHL $ftT $tnTemp $st_h1 $et_s0
$dtHL $ftT $flCD $st_h1 $et_s0
export all the Tags records in binary format export all the Tags records in ($ftT) Text format (like CSV file) export all the values of the ($tnTemp) Tag named “Temp” in ($ftT) Text format export all the values of ($flAB) tags belonging to group A and B in ($ftB)
Binary format export the values ($st_h1) from 1 hour to ($et_s0) now of ($tnTemp) Tag named “Temp” in ($ftT) Text format export the values ($st_h1) from 1 hour to ($et_s0) now of ($flCB) Tags belonging to group C and D in ($ftT) Text format
Table 164: [$dtHL] examples
RG-001-1-EN rev. 2.1
eWON® - 29/11/2013 - ©eWON sa Page 200
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