05.01.2013 Views

eWON Family - eWON Support

eWON Family - eWON Support

eWON Family - eWON Support

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.

General Reference Guide <strong>eWON</strong> Configuration<br />

• Historical and real-time logging:<br />

Those fields display only for some <strong>eWON</strong>'s versions (c.f. “Tags monitoring and handling” on page 68)<br />

Historical logging enabled<br />

3.4.2.1.1 Publish as Modbus TCP<br />

This feature allows to access a Tag Value through Modbus/TCP. In that configuration, the <strong>eWON</strong> acts as a slave. Actually, there is no data map<br />

as in most PLC, instead of that you define Tag by Tag its Modbus TCP address.<br />

3.4.2.1.1.1 Defining the Modbus TCP address<br />

There are 4 types of Modbus variable, Contact (RO), Coil (RW), Input Register (RO), Holding register (RW). The type selected for the Tag that<br />

you want to publish will depend on its type:<br />

Usually, the RO or RW property of a Tag is obvious. But in case of doubt, you can confirm the type by checking the View IO for the Tag:<br />

• Remove the "Force Read Only" option in the Tag configuration (disabled by default).<br />

• Check the View IO page, if the Tag has an update field, it means it is a RW Tag otherwise the Tag is RO.<br />

• The address selected will be the address of the Modbus 16 bit register. The address range starts with register 1 (in the Modbus frame,<br />

<strong>eWON</strong> register 1 is transmitted as 0).<br />

• Publish as float<br />

The <strong>eWON</strong> supports accessing Tag values as float registers. The float is published with the IEEE representation and the value can be read on 2<br />

consecutive registers, with the first register starting at the user defined address.<br />

3.4.2.1.1.2 Modbus TCP rules<br />

Historical and real-time logging<br />

If checked, the Tag values will be logged in a circular file.<br />

Warning: This is a non-volatile logging; data are stored in the flash file system. All the data are stored in<br />

the same file, the maximum number of values that can be saved is from 16384 to 139264, depending on<br />

the way you have set up the resources storage in the <strong>eWON</strong> (when maximum size is reached, then the<br />

older data will be erased first).<br />

If one Tag “a” is recorded very often (every seconds) and another Tag “b” is recorded rarely (every day),<br />

you may have your Historical Log filled with a lot of tag “a” and few (or none) tag “b” because of the<br />

circular storage mechanism.<br />

Logging dead band Defines the dead band of the Tag’s incremental recording (use a negative value to disable it)<br />

Logging Interval<br />

Real time enabled<br />

Defines the interval, in seconds, for the Tag recording (set to zero to disable the logging interval).<br />

Can be used at the same time as logging dead band.<br />

If checked, the Tag values will be logged in memory.<br />

Real time logging is different from historical logging because data are saved in a circular memory buffer.<br />

The other difference with historical time logging is that incremental recording is not possible, only fixed<br />

interval recording can be performed.<br />

Time span Defines the total logging window time in seconds.<br />

Logging Interval Defines the interval, in seconds, of the Tag recording<br />

Table 48: Historical and real-time logging controls<br />

Tag property Modbus data type<br />

Boolean, RO Contact<br />

Boolean, RW Coil<br />

Analog, RO Input register<br />

Analog, RW Holding register<br />

Table 49: the 4 Modbus variable types<br />

• When accessing Modbus registers or coils that are not mapped to an <strong>eWON</strong> register, the returned value is 0.<br />

• Maximum number of registers readable in 1 request: 25<br />

• Maximum number of coils readable in 1 request: 2000<br />

RG-001-0-EN ver 1.6 <strong>eWON</strong>® - 22/06/2009 - ©ACT'L sa Page 74

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

Saved successfully!

Ooh no, something went wrong!