Creating a Variable

Variables are the data points on a ControlCom Connect device. Before you can wire an Edge Server client (Modbus, BACnet, OPC UA, etc.) to a register, the variable that will receive its value must already exist on the device. This guide walks through creating one.

Prerequisites

Steps

  1. Navigate to Administration > Devices
  2. Select an onboarded device
  3. In the device page, click the Variables tab
  4. Click the "+ New Variable" button
  5. Enter the Variable Name, Description, Topic Property path
  6. Select the Type of the data with options boolean, number, or string.
  7. Enable the Store Data toggle if wanting to view historical values through Visualization
  • Important Note If Store Data is disabled, it will still allow live data to come into the system for viewing, but the system will not save the data and you will not be able to visualize it
  1. Click the "Add Variable" button
Devices Page
Devices page in ControlCom Connect
Device Variables Menu
Variables Menu for a Device in ControlCom Connect
Add new device variable
Add new variable dialog in ControlCom Connect

Next Steps

Once a variable exists on the device, you can point a client at it. See Reading Modbus Data for an end-to-end example that uses the variable you just created as the Topic Property Path for a Modbus tag.

Was this page helpful?