Define tag type keywords and attributes
- Last UpdatedApr 23, 2025
- 1 minute read
Tag records begin with a keyword line that identifies the type of tag. Each tag keyword includes a unique set of attributes to specify the characteristics of the data associated with the type of tag.
In the following example, the :IODisc keyword identifies the I/O discrete tag type. The remaining values in the keyword line identify the attributes of the data associated with an I/O discrete tag. This example shows the contents of the file with Notepad in its native comma-delimited string format.
:IODisc,Group,Comment,Logged,EventLogged, EventLoggingPriority,RetentiveValue,InitialDis, OffMsg,OnMsg,AlarmState,AlarmPri,DConversion, AccessName,ItemUseTagname,ItemName,ReadOnly, AlarmComment,AlarmAckModel,DSCAlarmDisable, DSCAlarmInhibitor,SymbolicName
Beneath the tag type keyword line, individual rows specify the tags of that type with a set of attribute values. In the following example, the HDWStatus tag belongs to the I/O Discrete tag type in the import file.
"HDWStatus","$System","",No,No,0,No,Off,"","",,1,Direct,"HistdataViewstr",No,"Status",No,"",0,0,"",""
The record uses quotation marks to identify a blank string.
The following figure shows the same import file data in an Excel spreadsheet. The Comment cell is blank because no tag comment is specified in the import file.

Related Links
- Tag keyword attributes
- :MemoryDisc keyword attributes
- :IODisc keyword attributes
- :MemoryInt keyword attributes
- :IOInt keyword attributes
- :MemoryReal keyword attributes
- :IOReal keyword attributes
- :MemoryMsg keyword attributes
- :IOMsg keyword attributes
- :GroupVar keyword attributes
- :HistoryTrend keyword attributes
- :TagID keyword attributes
- :IndirectDisc keyword attributes
- :IndirectAnalog keyword attributes
- :IndirectMsg keyword attributes