12.07.2015 Views

eWON General Reference Guide - Esco Drives & Automation

eWON General Reference Guide - Esco Drives & Automation

eWON General Reference Guide - Esco Drives & Automation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>General</strong> <strong>Reference</strong> <strong>Guide</strong>Export Block Descriptors8 Export Block DescriptorExports are used to export <strong>eWON</strong> data.Export block can be used in the following situations:• Attach the <strong>eWON</strong> data to an email• Include <strong>eWON</strong> data into an eMail content• Make an FTP PUT of <strong>eWON</strong> data from the <strong>eWON</strong> to a FTP server• Make an FTP GET from a FTP client out of the <strong>eWON</strong> FTP server• Include data in an <strong>eWON</strong> HTML custom page.• Access data in Basic with OPEN “exp:.....”In all these cases, an Export Block Descriptor will be used to describe the data to export.8.1 Export block descriptorAn Export Block Descriptor is a string of characters describing the <strong>eWON</strong> data to export with a precise syntax.Typically, the Export Block Descriptor will answer the following questions:• What <strong>eWON</strong> data to export (Event log, Historical logging, etc.)?• How to format the data to export (Binary, Text, Html table, Graphic)?• From what time?• To what time?• What Tag is concerned?• …?This list is NOT complete, and this information is not required for each type of data to export, but it gives an idea of what is described in an Exportblock descriptor.Example of Export blocks descriptor:$dtHL $ftT $st_m10 $et_0 $tnMyTag $fnData.csvThe export syntax is composed of a sequence of fields followed by its value. A field is a 3 characters identifier starting with $ and followed by 2lower cap letters (case sensitive).• The first letter of the parameter value follows immediately the second letter of the field.• The parameter is considered up to the first space found or until a $ or a [ is detected.• The parameter can also be placed between quotes ("). In that case the parameter value is the value between the quotes.The following fields are defined:Fields$dt$ft$st$et$tn$ut$ct$fl$fnDescriptionData typeExport formatStart timeEnd timeTag nameUpdate last timeCompression typeGroup filterFile nameTable 136: Export Block Descriptor fields descriptionRG-001-0-EN ver 1.5 <strong>eWON</strong>® - 20/03/2009 - ©ACT'L sa Page 167

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!