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
  1. In the Communication View, double-click the required data block.
    The Communication property page is displayed with the
    Data Block
    and
    Data Variables
    tabs.
  2. Click the
    Data Variables
    tab.
  3. For analog input and output data blocks, set the data type of the variable for a specific channel by clicking the type to toggle between
    DINT
    and
    REAL
    .
  4. Click eqv_spv to wire the required data variables.
  5. (optional) To unwire a data variable, click cmv_uwv.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal