05.01.2013 Views

eWON General Reference Guide - eWON wiki

eWON General Reference Guide - eWON wiki

eWON General Reference Guide - eWON wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.10.2.2.1 ENERGY TAGS<br />

The following tags are available for energy management:<br />

LI1..LI8 Latched input<br />

<strong>General</strong> <strong>Reference</strong> <strong>Guide</strong> IO Servers Configuration<br />

Figure 101: <strong>eWON</strong> IO server default parameters<br />

REM1: Energy tags are logged after each new period IF Logging is enabled, even if the value has not changed since previous period.<br />

REM2: Even if Deadband is -1 and Interval is 0. If not, you will have additional points and even maybe duplicate points.<br />

(*) Important: To avoid loss of precision due to Integer to float conversion, choose the right storage DataType for your Tag.<br />

See "DataType of Tags" on page 75<br />

5.10.2.2.2 32 BIT COUNTER TAGS:<br />

When the Integration Period expires, the number of pulses counted during the integration<br />

period are logged in the corresponding LIx.<br />

ST1..ST4 Status variables:<br />

ST1 This is the absolute time when counter were latched.<br />

Expressed in seconds since 1/1/1970 minus 0x30000000 HEX (or 805306368 decimal).<br />

Latch time - 0x30000000<br />

This huge value is substracted to maintain precision in the Float storage. (*)<br />

ST2<br />

Period status<br />

ST3<br />

Period length sec<br />

ST4<br />

Period Num<br />

0 means period is valid (within tolerance), 1 means period is invalid.<br />

Length of the period in second.<br />

This 32 bit counter counts is increased by 1 after each integration period. It can be used with<br />

ONCHANGE to perform operations when period expires.<br />

The <strong>eWON</strong> IO Server provides 8 32 bits (*) counter tags named: CI1..CI8. These counters are writable but writing in these registers affects the<br />

LIx inputs of the Energy IO server module.<br />

(*) Important: To avoid loss of precision due to Integer to float conversion, choose the right storage DataType for your Tag.<br />

See "DataType of Tags" on page 75<br />

RG-001-0-EN ver 1.14 <strong>eWON</strong>® - 02/05/2012 - ©<strong>eWON</strong> sa Page 130

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

Saved successfully!

Ooh no, something went wrong!