Skip to main content

Protocols and Variables

Protocols are the elements responsible for establishing physical and logical communication with devices. It is where the "how" and "what" of data acquisition is defined.

Protocol Definition

Each protocol defines a specific communication method. To configure a protocol, its type must first be selected and the necessary connection parameters established (such as IP addresses, ports, unit IDs, etc.).

Supported Protocol Types

InDataX is compatible with a wide range of industrial standards. Click on each one to see its detailed configuration:

  • MQTT: Lightweight messaging protocol ideal for IoT and telemetry.
  • S7 (Siemens): Direct connection with Simatic family PLCs (S7-300, S7-400, S7-1200, S7-1500).
  • OPC UA: Industrial interoperability standard for secure data exchange.
  • Modbus TCP: Communication over Ethernet networks using the Modbus standard.
  • Modbus RTU: Serial communication (RS-485/RS-232) using the Modbus standard.
  • Ethernet: Generic communication over TCP/IP.
  • USB Serial: Access to data through local COM ports.
  • Internal: System variables and internal InDataX calculations.

Variables

Once the protocol connection is defined, Variables must be added. These represent the specific data points we want to read or write.

For each variable, it is necessary to configure:

  1. Name: Unique identifier of the variable within the context.
  2. Data Type: Indicates if it is an integer (Int), boolean (Bool), real (Float), string (String), etc.
  3. Read Parameters: These vary according to the selected protocol (for example, the DB and offset in Siemens S7, or the holding register in Modbus).