* This is a Tibbo BASIC/C-programmable device and its function depends on the loaded app.
We offer many ready-to-use apps, among them a serial-over-IP (SoI) app, Modbus Gateway app, and Sensor Hub app.

Tibbo Modbus Gateways

Modbus is everywhere — it is virtually synonymous with industrial control! Sensors, meters, valves, actuators, and myriad other devices are queried and controlled through their “Modbus registers.”

Tibbo Modbus Gateways seamlessly route Modbus requests and replies between Modbus TCP, Modbus ASCII, and Modbus RTU masters and slaves. The flexibility and adaptability of Tibbo Modbus Gateways allow you to use them in practically any Modbus system.

Our Modbus Gateways comprise standard Tibbo BASIC/C programmable devices running a full-featured open source Modbus gateway application. The application is compatible with our compact DS1101 and DS1102 serial controllers, as well as second-generation Tibbo Project System (TPS) devices.

Modbus Gateway App on DS1101 and DS1102

DS1101 and DS1102 are programmable serial controllers that are ideally suited to work as Modbus Gateways. Both models have an Ethernet port and differ in the type of their serial port.

The DS1101 has an RS232 port. Despite featuring a single DB9M connector and being priced as a single-port product, the DS1101 offers three RS232 channels. Each serial channel can be used as an independent RS232 port with its own RX and TX lines, which means that you can connect up to three RS232 Modbus devices to a single DS1101 unit.

The DS1102 has an RS232/422/485 port. Like the DS1101, it offers three RS232 channels in the RS232 mode. In the RS485 mode, you can connect multiple RS485 Modbus slaves to a single DS1102 controller.

Both DS1101 and DS1102 are available with Wi-Fi, OLED display, and PoE options.

Modbus Gateway App on TPS Devices

Choose a TPS-based Modbus Controller when you want to have a device with up to four full serial ports. You can pick a standard Modbus Gateway configuration, or create a custom Gateway using our Online Configurator. Custom configurations can differ in the number and type of serial ports, power arrangement (12V, 24V, PoE), availability of Wi-Fi and LCD, and other options.

TPS-based Modbus Controllers can also be equipped with side features that are often desirable in Modbus Gateways. Examples of such features are sensor inputs and relays. The Modbus Gateway app is open source and can easily be extended with additional features.

Tibbo Modbus Gateways — Features

  • 100/10Mb Ethernet port.
  • Optional Wi-Fi port, support for WEP/WPA/WPA2 security.
  • Selection of static IP or IP configuration via DHCP.
  • Serial ports:
    • DS1101- and DS1102-based Gateways:
      • Up to three RS232 channels, or;
      • One RS485 channel (DS1102 only);
      • Baudrates of up to 921,600bps;
      • None/even/odd/mark/space parity modes;
      • 7 or 8 bits/character;
      • Optional RTS/CTS flow control;
    • TPS2(G2)-, TPS2L(G2)-, and TPS3(G2)-based Gateways:
      • Up to four RS232 or RS232/485 ports;
      • Baudrates of up to 460,800bps;
      • None*/even/odd/mark/space parity modes;
      • 7* or 8 bits/character;
      • Optional RTS/CTS flow control;
  • Support for up to 8 TCP masters and up to 4 TCP slaves.
  • Flexible routing:
    • Routing of Modbus TCP, ASCII, and RTU requests in any direction:
      • TCP > ASCII/RTU;
      • ASCII/RTU > TCP;
      • TCP > TCP;
    • Routing based on Slave ID (works for all types of Modbus masters);
    • Routing based on TCP port (for Modbus TCP masters only); four ports are available;
    • Slave ID shifting.
  • Support for Modbus TCP exceptions:
    • Timeout exception;
    • Routing error exception.
  • Configuration:
  • Monitoring:
    • Gateway configuration can be monitored using SNMP (v1) protocol;
    • Gateway activity and byte-level flow can be monitored using IO Ninja software running a specially designed plugin.
  • 12V or 24V power; Optional PoE power.
  • Status indication:
    • Using LEDs;
    • On an LCD (when present).
  • Open-source firmware (Tibbo C application).

* Second-generation TPS devices do not support the combination of the 7 bits/character mode and the "none" parity mode.

Monitor Modbus Traffic with IO Ninja

IO Ninja is Tibbo's scriptable, multi-purpose terminal emulator, network sniffer and IO monitor. We have developed a dedicated Modbus plugin allowing you to monitor the activity of your Modbus Gateway, as well as examine the byte-level traffic through the Gateway.

Modbus Gateway App is Open-Source

The Modbus Gateway firmware is open-source! It is written in Tibbo C, using a development software called Tibbo IDE (TIDE). It is but one of the applications we published with full source codes.

Feel free to modify or borrow from the Sensor Hub app in any way you please. Anything is possible — from a simple logo replacement to a deeper rework of features. Chop the code up, slice it and dice it, put it back together, or turn it into something else entirely. Have no time or desire to write your own code? Contract Tibbo to do this for you!

To visit the Modbus Gateway project page click here.