Contents
Partner Programs
Sepasoft - MES Modules
Cirrus Link - MQTT Modules
Resources
Knowledge Base Articles
Inductive University
Forum
IA Support
SDK Documentation
All Manual Versions
Ignition 8.0
Ignition 7.9
Ignition 7.8
Some features, such as system.tag.browse, can access the Object Type of the tag (sometimes called "tagType"). Below is a table representing the possible types.
Tag Object | Type |
---|---|
Property | A single value underneath an node. |
Node | An entity that may have a value and may have children. "Node" is a generic term for other objects in this table, such as a Folder or AtomicTag. |
Folder | Represented by a folder in the Tag Browser. Folders generally have child nodes, but don't have values or other properties that make up a tag. |
AtomicTag | A "normal" type of tag. Objects with this type can be one of the following (based on the Value Source property):
|
UdtInstance | An instance of a complex tag instance (UDT Instance). It's important to note that UdtInstances contain other nodes, so this type is generally only seen at the root of a UDT instance. Thus, nodes under a UdtInstance are not considered to have a type of "UdtInstance", unless the child node is actually a UdtInstance: in other words, a nested UDT instance. |
UdtType | Represents the root of a complex tag definition (UDT Definition). Similar to UdtInstance, nodes under a UdtType have their own object type, so a UdtType represents the root of a complex tag. |
Provider | Represents a Tag Provider. |
This following table provides detail on each Tag Property, including the binding name, description, data type, and the Tag Types that use the property.
Property | JSON/Scripting Name | Description | Data Type | Applicable Tag Type | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Basic Properties | ||||||||||||||||||||||
Name | name | How the Tag will be presented and referenced in the system. The Tag path will be the provider, the folder structure, and this name. | String | OPC, Query, Expression, Derived, Client, Reference, Memory | ||||||||||||||||||
Tag Group | tagGroup | The Tag Group that will execute the Tag. The Tag Group dictates the rate and conditions on which the Tag will be evaluated. For more details, see Tag Groups. | String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Enabled | enabled | Whether the Tag will be evaluated by the Tag Group. If false, the Tag will still be present, but will have a bad quality. | Boolean | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Value | ||||||||||||||||||||||
Value Source | valueSource | Specifies how the Tag determines its value. In other words, sets the type of the Tag (Memory, OPC, Expression, etc).
| String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Data Type | dataType | The data type of the Tag. It is important that this be set as correctly as possible with regards to the Tag's underlying data source. The Tag system will attempt to coerce any raw incoming value (for example, from OPC or a SQL query) into the desired type. For detailed information, see Tag Data Types.
| String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Value |
| The value of the Tag. Can only be modified if the Tag allows value writing and the user has sufficient privileges. | Object (depends on the data type of the Tag) | Memory | ||||||||||||||||||
OPC Server | opcServer | Only p resent for OPC Tags. The server against which to subscribe the data point. Only present for OPC Tags. | String | OPC | ||||||||||||||||||
OPC Item Path | opcItemPath | Only present for OPC Tags. The path to subscribe to on the server. The point will be subscribed at the rate dictated by the Tag Group. The following feature is new in Ignition version 8.1.5
Click here to check out the other new features
| String | OPC | ||||||||||||||||||
Source Tag Path | sourceTagPath | The path to the Tag that this Tag is referencing. Only present for Reference and Derived Tags. | String | Derived, Reference | ||||||||||||||||||
Execution Mode | executionMode | Only present for Query and Expression Tags . Determines how when the Tag executes.
| String | Expression, Query | ||||||||||||||||||
Expression |
| The expression the Tag will use to determine its value. | String | Expression | ||||||||||||||||||
Read Expression |
| The expression that determines how the value on the Derived Tag is displayed. | String | Derived | ||||||||||||||||||
Query | query | The SQL query to be run, which drives the tag's value. Queries doing database reads and writes are possible, see the Query Type property description for details. | ||||||||||||||||||||
Write Expression |
| The expression that determines how the value on the Derived Tag is displayed. | String | Derived | ||||||||||||||||||
Datasource |
| The database connection that the query Tag will execute against. | String | Query | ||||||||||||||||||
Query Type | queryType |
The following feature is new in Ignition version 8.1.3
Click here to check out the other new features Possible values are:
| String | Query | ||||||||||||||||||
Numeric Properties | ||||||||||||||||||||||
Deadband | deadband | A numerical value used to prevent unnecessary updates for Tags whose values change by small amounts. | Numeric | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Deadband Mode | deadbandMode | Defines how the deadband value is used.
Valid values are as follows:
| String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Scale Mode | scaleMode | If and how the Tag value will be scaled between the source, and what is reported for the Tag. Valid values are as follows:
| String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Raw Low | rawLow | Start of the "raw" value range. Only present if Scale Mode is set to Linear or Square Root. | Numeric | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Raw High | rawHigh | End of the "raw" value range. Only present if Scale Mode is set to Linear or Square Root. | Numeric | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Scaled Low | scaledLow | Start of "scaled" value range. Raw low will map to Scaled low for the Tag. Only present if Scale Mode is set to Linear or Square Root. | Numeric | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Scaled High | scaledHigh | End of "scaled" value range. Raw high will map to Scaled high for the Tag. Only present if Scale Mode is set to Linear or Square Root. | Numeric | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Clamp Mode | clampMode | How values that fall outside of the ranges will be treated. "Clamped" values will be adjusted to the low/high scaled value as appropriate. Only present if Scale Mode is set to Linear or Square Root. Valid values are as follows:
| String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Scale Factor | scaleFactor | For single parameter modes (currently only Exponential Filter), the factor parameter for the equation. Used when the Scale Mode property is set to Exponential Filter | Numeric | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Engineering Units | engUnit | The engineering units of the value. | String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Engineering Low Limit | engLow | The lowest expected value of the Tag. | Numeric | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Engineering High Limit | engHigh | The highest expected value of the Tag. | Numeric | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Engineering Limit Mode | engLimitMode | Dictates how the engineering range should be enforced on the Tag. If not "Off", the Tag will change to bad quality ("limit exceeded"), when the value falls outside the specified range. Valid values are as follows:
| Numeric | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Format String | formatString | How the value should be formatted when converted to a string (only applies to numerical data types). Uses # and 0 characters to describe the format. | String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Meta Data Properties | ||||||||||||||||||||||
Tooltip | tooltip | The tooltip provides a hint to visual components as to what should be displayed when the user hovers their mouse cursor over the component that is being driven by the value of this Tag. | String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Documentation | documentation | A freeform text property for information about the Tag. | String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Security | ||||||||||||||||||||||
Read Permissions | readPermissions | Defines the security levels required in order to read values from a Tag. For more information, see Tag Security Properties. Contains the following elements:
| JSON Object | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Read Only | readOnly | Defines whether a Tag is read-only or writeable. For more information, see Tag Security Properties. | value: boolean | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Write Permissions | writePermissions | Defines the security levels required in order to read values from a Tag. For more information, see Tag Security Properties. Contains the following elements:
| JSON Object | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Scripting | ||||||||||||||||||||||
Tag Event Scripts | eventScripts | Each Tag has the option to have Tag Event Scripts on it. When you edit a Tag, you can navigate to the Tag Events screen to see a list of all of the Tag scripts. You can then select which event you would like to write a script for. You can even write a script for multiple events if you like. For detailed information, see Tag Event Scripts . When interacting with a Tag from a script, the Tag Event Scripts are represented as an array of JSON objects. Each JSON object is described in the expandable area below: | JSON Array | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Alarms | ||||||||||||||||||||||
Alarms | alarms | Tags have the ability to define any number of alarms. Each alarm is a condition that will be evaluated when the value of the Tag changes. When the condition becomes true, the alarm is said to be active. When it becomes false, the alarm is said to be cleared. For detailed information, see Tag Alarm Properties. | JSON Array of JSON objects. For detailed information, see Tag Alarm Properties . | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Alarm Eval Enabled | alarmEvalEnabled | Determines if alarms will be evaluated on this tag. | Boolean | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
History | ||||||||||||||||||||||
History Enabled | historyEnabled | Whether the Tag will report its history to the Tags Historian system. | Boolean | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Storage Provider | historyProvider | Which Tag Historian data store the Tag will target. A particular Tag can only target one history store. For more information, refer to History Providers on the Tag History Gateway Settings page. | String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Deadband Style | historicalDeadbandStyle | There are three styles to choose from: Auto, Analog, or Discrete. When set to Auto, this setting will automatically pick from Analog or Discrete, based on the data type of the Tag.
More information on the Analog and Discrete types can be found on the Configuring Tag History page. Valid values are as follows:
| String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Deadband Mode | historicalDeadbandMode | Defines how the deadband value is used.
| String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Historical Deadband | historicalDeadband | A deadband that applies only to historical evaluation. | Numeric | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Sample Mode | sampleMode | Determines how often a historical record should be collected.
Valid values are as follows:
| String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Sample Rate |
| When the Sample Mode property is set to "Periodic", this property (working in conjunction with the Sample Rate Units property) determines how often a record should be collected. | Numeric | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Sample Rate Units |
| When the Sample Mode property is set to "Periodic", this property (working in conjunction with the Sample Rate property) determines the unit of time that will be use in record collection. | String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Historical Tag Group |
| When the Sample Mode property is set to "Tag Group", this property determines which Tag Group will be used to collect records. | String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Min Time Between Samples | historyTimeDeadband | Minimum time between records. Useful in restricting the number of records collected when the Sample Mode is set to "Tag Change". Prevents multiple consecutive Tag changes from triggering consecutive record collections. Works in conjunctions with the Min Time Units property. The Value is calculated off of the value timestamp. | Integer | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Min Time Units | historyTimeDeadbandUnits | Units of time to use with the Min Time Between Samples property. | String | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Max Time Between Samples |
historyMaxAge
| Maximum time between samples. Works in conjunction with the Max Time Units property. If a sample has not been collected by the time range specified by these two properties, then a record will be collected on the next sample interval.
| Integer | OPC, Query, Expression, Derived, Reference, Memory | ||||||||||||||||||
Max Time Units | historyMaxAgeUnits | Maximum time in units is defined as: Milliseconds, Seconds, Minutes, Hours, Days, Weeks, Months, and Years. | String | OPC, Query, Expression, Derived, Reference, Memory |
In addition to properties listed in the Tag Editor, some properties are exposed as runtime properties in the Tag Browser. These properties are valid targets for component bindings and tag reads/writes.
Most runtime properties are representations of properties that can be configured in the Tag Editor. However there are some properties only listed in the Tag Browser:
Property | Description |
---|---|
CanRead |
The following feature is new in Ignition version 8.1.8
Click here to check out the other new features A read-only property that represents whether or not this tag can be read from the current security context. This is determined by looking at the read permission settings on the tag and the tag provider's permission settings. |
CanWrite |
The following feature is new in Ignition version 8.1.8
Click here to check out the other new features A read-only property that represents whether or not this tag can be written to from the current security context. This is determined by looking at the write permission settings on the tag, the Read Only property, and the tag provider's permission settings. |
Client Tags have the ability to be used as either Expression or SQL Query Tags. There is an Expression/SQL page in the Tag editor that allows you to select what type it is.
Query/Expression Attributes | ||||
---|---|---|---|---|
Property | Binding/Scripting Name | Description | Data Type | Applicable Tag Type |
OPC Server | OPCWriteBackServer | The server against which to subscribe the data point. | String | Query, Expression |
OPC Item Path | OPCWriteBackItemPath | The path to subscribe to on the server. | String | Query, Expression |
Query | Expression | Text area to build your query or expression. | String This is the code used by the Tag: either a SQL Query for Query Tags, or an Expression for Expression Tags. | Query, Expression |
Query Type | QueryType | When the TagType property is set to 1, this property determines if the Tag should be a Memory, Expression, or Query Tag. | Integer | Query, Expression, Memory |
Datasource | SQLBindingDatasource | The default data source of the Tag provider. | String | Query |