Historic Parameters Tag

<< Click to Display Table of Contents >>

 

Historic Parameters Tag

Read and Write

 

N1

Not used

N2

7000

N3

Collect mode. Possible value are 0: Manual or 1: Automatic. To enable a Partial Collecting mode, add the value 10 to this parameter

N4

Function code linked to Read 70, used by the B2 parameter in the Historic Tag

 

Use this PLC Tag to define how many records are collected and how this process is performed, by selecting the respective Historic Tag via the N4 parameter.

 

Configuration of Historic Collecting

Perform a writing to this PLC Tag to define how many records are collected sequentially from the initial record defined by the B4 parameter of the Historic Tag.

Perform a reading from this PLC Tag to check the current configuration of the number of records collected by the Historic Tag.

 

Manual Mode for Historic Data (N3 Equal to Zero)

When writing n records with the N2 parameter equal to 7000 and the N3 parameter equal to 0 (zero), the collecting is performed only once. To start a new collecting, write again to this PLC Tag.

 

Automatic Mode for Historic Data (N3 Equal to One)

When writing n records with the N2 parameter equal to 7000 and the N3 parameter equal to 1 (one), the collecting is performed automatically with each new scan of the Historic Tag.

 

End Automatic Mode for Historic Data

Write 0 (zero) to this PLC Tag to end the automatic collecting process of the Historic Tag.

 

Partial Mode for Historic Data (N3 + 10)

When there is a possibility of occurring a communication problem during the Historic Table collecting process, which may contain many records, use this option to enable a partial return of valid records in a Historic Table collecting that was interrupted by a communication problem.

This partial collecting works for both manual collecting, whose N3 parameter is equal to zero, and automatic collecting, whose N3 parameter is equal to one.

The number of records successfully collected in a partial collecting can be monitored by reading the Historic Collecting Query Tag.

 

NOTE

When starting this Driver for the first time, the history collecting does not perform any reading until users trigger the first writing to this PLC Tag configured with the N2 parameter equal to 7000.

Was this page useful?