[B] Parameters

<< Click to Display Table of Contents >>

 

[B] Parameters

Block Tags are used to save values received on an OnTagWrite event of Block Tag Elements to a file in CSV format. Data is only saved when all Block Tag Elements are filled. Block Tags of this Driver do not accept reading operations.

Configuration of a Block Tag

parameter

description

Item

Name of a Block Tag Element to write

N1

Number identifying a Block Tag, starting at 1 (one)

N2

Index of a Block Tag Element to write, starting at 0 (zero)

N3

Size of a Block Tag

N4

Possible values are 0 (zero, does not save the quality of Block Tag Elements) or 1 (one, saves the quality of Block Tag Elements)

 

The name of the file in CSV format is "Group", followed by the identifier defined in the N1 parameter. The format of this file's header is described next.

TIME;[Name of Element 1]_Q;[Name of Element 1]_V;... or TIME;[Name of Element 1]_V;...

 

The format of the rest of the file is described next.

[Date and time];[Quality of Element 1];[Value of Element 1];... or [Date and time];[Value of Element 1];...

 

The next code contains an example of a file.

TIME;Element1_Q;Element1_V;Element2_Q;Element2_V;Element3_Q;Element3_V
29-09-2023 18:30:42.000;192;75;192;30;192;50
29-09-2023 18:30:43.000;192;75;192;28;192;50
29-09-2023 18:30:44.000;192;75;192;28;192;50
29-09-2023 18:30:45.000;192;75;192;28;192;50
29-09-2023 18:30:46.000;192;76;192;26;192;50
29-09-2023 18:30:47.000;192;76;192;24;192;50

Was this page useful?