User guide

eWON 500-2001-4001-4002 User Guide - Export Block Descriptors
eWON 500®2001®4001®4002® Version 4_3_0 - User Guide - 10/5/05 - ©ACT'L sa - Page 208
11.3.7 $dtSE [Script Expression]
11.3.7.1 Export content
This export provides a means to get the content of a script expression.
The script expression is a standard eWON Basic like expression returning a STRING, and INTEGER or a FLOAT.
The evaluation of the expression will always occur between 2 scripts execution, for example between 2 ONTIMER executions,
or between 2 cycles of the cyclic sections.
11.3.7.2 Detailed Example
11.3.7.3 Fields used
11.3.7.4 Special parameters and fields
$ft
Binary and Text format means the output is the content of the Script Expression itself.
HTML output supposes that the content of the script expression is a comma-separated data
(string between quotes, items separated by; and end of lines marked with CRLF (0x0d, 0x0a)).
Then the exported output is an HTML table containing these data.
$se
Defines the script expression to output, usually this expression is typed between quotes
because $ characters are considered as separator otherwise.
$dtSE $se"A$"
Fields Value if not specified
Mandatory
$dt
$se
Optional
$ft Binary
$fn Export block descriptor
Table 134: $dtSE - fields used
Acceptable values
Text HTML Binary
Table 135: [$dtSE] $ft - acceptable values