Inter-Module Connectivity (Peer to Peer)

How to Enable Communications between Measurement I/O Modules

Purpose

The measurement modules are physically connected via the base, which shares the communications lines (UARTs) and the power lines. The variables from the modules are all buffered inside the controller. Still, it is also possible to communicate between measurement modules up to 24MBaud (Q.series) or 48 MBaud (Q.series X). This is the speed of the UART configured by the controller.
Each module writes variable information into the assigned time slots, ensuring maximum
deterministic data transfer. The modules can then be configured to read this time slot data directly from other modules.

Procedure (GI.bench)

  1. Open configuration in GI.bench project window
  2. Right-click module and select Add > Append Variable
  3. Enter a value of 1 and click OK
  4. Double-click new variable to open variable settings. Keep the Type as a Setpoint
  5. Navigate to the Handling source section. 

    A Setpoint's source variable can be Internal, External, or Constant. Internal
    meaning another variable within the same measurement module. External means a variable on a module connected to the same UART. Constant means a known fixed value can be applied.
  6. Select External for this example to communicate with a different measurement module on the same system.
  7. Notice that the Address, Byte offset, and Data Type drop-down options appear when External is selected.
    1. External Address: refers to the address of the external module. For example, our system consists of a Q.station XT, A101, A106, and A109.
      1. Address 1: Q.bloxx XL A101
      2. Address 2: Q.bloxx XL A106
      3. Address 3: Q.bloxx A109
        Select Addr1 to select the source signal from the A101
    2. External data byte offset: refers to the location of the desired variable within its respective module. For example, the A101 module has 2 channels configured, we would use the following Byte offset to obtain the desired variable:

      Variable inside A101 Byte offset
      Variable 1  0
      Variable 2 2
    3. External data format: default for most data measured by the Q.series modules are floating points (single).
  8. Click OK to save variable changes, then write updates to the DAQ system

Procedure (test.commander/ICP-100)

  1. Open the desired module in ICP100.

  2. Add a virtual variable to the module, specifically a Setpoint.



  3. Double-click the cell under the Additionals column. This will bring up the window below:



  4. A Setpoint's source variable can be Internal, External, or Constant. Internal
    meaning another variable within the same measurement module. External means a variable on a module connected to the same UART. Constant means a known fixed value can be applied.
  5. We will select External for this document to communicate with a measurement module on the same system.



  6. Notice that the Address, Byte offset, and Data Type drop-down options appear when External is selected.

  7. Address: refers to the address of the External module. For example, our system consists of a Q.station, an A101, and an A104, where the A101 is address 1, and A104 is address 2. If we are configuring a Setpoint inside the A101 and want to use a variable inside the A104, we would select an Address of 2.

  8. Byte offset: refers to the location of the desired variable within its respective module. For example, the A104 module has 8 x TC channels configured, we would use the following Byte offset to obtain the desired variable:

    Variable inside A104 Byte offset
    Variable 1  0
    Variable 2 4
    Variable 3 8
    Variable 4 12
    Variable 5 16
    Variable 6 20
    Variable 7 24
    Variable 8 28
  9. Data Type: all data measured by the Q.series modules are floating points (single).

  10. Make sure to confirm the settings by clicking OK. Save the module and update the project to the controller.