Create HistData tags
- Last UpdatedJun 25, 2024
- 1 minute read
After defining an Access Name, create the following I/O type tags to generate one output file that contains the data from the log files. Assign the Access Name created in the previous step to the tags.
|
Tag |
I/O Tag Type |
Item |
|---|---|---|
|
HDWDATADIR |
Message |
DataDir |
|
HDWDBDIR |
Message |
DbDir |
|
HDWDURATION |
Message |
Duration |
|
HDWERROR |
Message |
Error |
|
HDWFILENAME |
Message |
FileName |
|
HDWINTERVAL |
Message |
Interval |
|
HDWSTARTDATE |
Message |
StartDate |
|
HDWSTARTTIME |
Message |
StartTime |
|
HDWSTATUS |
Message |
Status |
|
HDWTAGS, HDWTAGS1, HDWTAGS2 |
Message |
Tags |
|
PRINTTAGNAMES |
Discrete |
PrintTagNames |
|
HDWWRITEFILE |
Integer |
WriteFile |
Note: The HistData Wizard creates these tags automatically except for the PRINTTAGNAMES tag.
Create two additional tags if you want to send log data to the Data item so that it can be accessed from other applications. Also, the HistData Wizard does not automatically create the HDWSendData and HDWData tags.
|
Tag |
I/O Tag Type |
Item |
|---|---|---|
|
HDWSendData |
Discrete |
SendData |
|
HDWData |
Message |
Data |