# Devices Tags

The Devices tags are used to interact with various components of the vision system.

## DiscreteIO Tags

These tags reference the properties of the Discrete I/O system:

Tag | Data Type | Read-Only | Description
--- | --- | --- | ---
$Devices.DiscreteIO.IsConnected | Boolean | X | Returns True if the DiscreteIO device is available; returns False if it is no longer available.
$Devices.DiscreteIO.IsConnected.Name | String | X | Returns the name of the $Devices.DiscreteIO.IsConnected tag.

## FactoryProtocol Tags

These tags reference the properties associated with Industrial Communications. When connected to a vision system, the following tags are supported:

Tag | Data Type | Read-Only | Description
--- | --- | --- | ---
$Devices.FactoryProtocol.IsConnected | Boolean | X | Returns True if the FactoryProtocol device is available; returns False if it is no longer available.
$Devices.FactoryProtocol.IsConnected.Name | String | X | Returns the name of the $Devices.FactoryProtocol.IsConnected tag.

## Vision System Tags

These tags reference the properties associated with the vision system. When connected to a vision system, the following tags are supported:

Tag | Data Type | Read-Only | Description
--- | --- | --- | ---
$Devices.DeviceName.IsConnected | Boolean | X | Returns True if the vision system is connected to the network. Returns False if the vision system is no longer available.
$Devices.DeviceName.IsConnected.Name | String | X | Returns the name of the $Devices.DeviceName.IsConnected tag.

## TCP Client Tags

These tags reference a TCP Client connection. When connected to a vision system, the following functions and tags are supported:

Tag | Data Type | Read-Only | Description
--- | --- | --- | ---
$Devices.TcpClient.IsConnected | Boolean | X | Returns True if the vision system is connected to the network. Returns False if the vision system is no longer available.
$Devices.TcpClient.IsConnected.Name | String | X | Returns the name of the $Devices.TcpClient.IsConnected tag.

## TCP Server Tags

These tags reference a TCP Server connection. When connected to a vision system, the following tags are supported:

Tag | Data Type | Read-Only | Description
--- | --- | --- | ---
$Devices.TcpServer.IsConnected | Boolean | X | Returns True if the TCP Server is connected. Returns False if is disconnected.
$Devices.TcpServer.IsConnected.Name | String | X | Returns the name of the $Devices.TcpServer.IsConnected tag.