Data Variables
Use data variables to send digital or analog data from data block outputs to data block inputs. Each data block has either 16 or 128 channels. An input channel must have the same variable data type as the corresponding output channel.
Wire data variables for the following types of data blocks:
- Digital Inputs
- Analog Inputs
- Digital Outputs
- Analog Outputs
These columns display for data variables:
Column | Description |
---|---|
Channel | The number of the channel. Data variable grids can contain 16 or 128 channels, where the numbering starts at 1 and continues in ascending order. |
Variable | The name of the variable. When no variable is wired to the channel, the directly represented variable displays. |
Type | Only available for analog inputs and outputs, sets the data type for the variable. Possible values are DINT and REAL; the default value is DINT. |
To wire data variables for a data block
- In the Communication View, double-click the required data block.The Communication property page is displayed with theData BlockandData Variablestabs.
- Click theData Variablestab.
- For analog input and output data blocks, set the data type of the variable for a specific channel by clicking the type to toggle betweenDINTandREAL.
- Click
to wire the required data variables.
- (optional) To unwire a data variable, click
.
Provide Feedback