<< Click to Display Table of Contents >>
[N] Parameters |
PLC Tags are used to save the values received on an OnTagWrite event to a file in CSV format. The PLC Tags of this Driver do not accept reading operations.
Configuration of a PLC Tag
Parameter |
Description |
---|---|
Item |
Name of a Tag |
N1 |
0 (zero, PLC Tag identifier) |
N2 |
Possible values are 0 (zero, saves to a file in CSV format only when there is an OnTagWrite event) or 1 (one, repeats in the file in CSV format the last Tag's OnTagWrite event, according to the interval defined in the Repeat last value every (ms) option) |
N3 |
Not used |
N4 |
Not used |
The name of the file in CSV format corresponds to the name of the Tag, defined in the Item parameter. This file has the format described next.
[Date and time];[Tag quality];[Tag value]
The next code contains an example of a file.
29-09-2023 18:28:59.000;192;75
29-09-2023 18:29:00.000;192;75
29-09-2023 18:29:01.000;192;75
29-09-2023 18:29:02.000;192;75
29-09-2023 18:29:03.000;192;76
29-09-2023 18:29:04.000;192;76