Posts

Tibbo Modbus Gateway

Tibbo Modbus Gateway

Courtesy of Tibbo : Tibbo Modbus Gateways

Tibbo Modbus Gateways route Modbus requests and replies between Modbus TCP, Modbus ASCII, and Modbus RTU masters and slaves. Our Modbus Gateways comprise compatible Tibbo Project System (TPS) devices and DS1101/DS1102 controllers running an open source Modbus gateway application. The flexibility and adaptability of Tibbo Modbus Gateways allow you to use them in practically any Modbus system. Click here for more information.

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;
    • Automatic switchover to the Wi-Fi port whenever the Ethernet interface becomes inactive (the Ethernet cable is unplugged).
  • Selection of static IP or IP configuration via DHCP.
  • Serial ports:
    • TPS2(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;
    • 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;
  • 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:
      • Modbus TCP —> Modbus RTU or ASCII;
      • Modbus RTU or ASCII —> Modbus TCP;
      • Modbus TCP —> Modbus TCP;
      • Modbus RTU or ASCII —> Modbus RTU or ASCII.
    • Slave ID-based routing (works for all types of Modbus Masters);
    • TCP port-based routing (for Modbus TCP Masters only); four ports are available;
    • Slave ID shifting.
  • Support for Modbus exceptions:
    • Timeout exception;
    • Routing error exception.
  • Configuration:
    • Via the DS Manager utility;
    • Via the web interface.
  • Status indication:
    • Using LEDs;
    • On a display (when present).
  • Operation monitoring:
    • Gateway configuration can be monitored using SNMP 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.
  • Open-source firmware (Tibbo C application).

* Second-generation TPS devices (“G2” devices) do not support the combination of the 7 bits/character mode and the “none” parity mode.

Tibbo Newsflash, May 3, 2017 edition: 1-wire support, and more…

Courtesy of Tibbo Technology

Visit Tibbo Technology website here for more information: www.tibbo.com

Tibbo Project System (TPS) now supports…

1-wire Sensors

Use Tibbit #31 (“PIC coprocessor”) to collect data from 1-wire and single-wire sensors. Our PIC code and Tibbo BASIC app support original “Dallas” temperature sensing devices (now sold by Maxim Integrated), as well as temperature and temperature/humidity sensors offered by other vendors.

Head to the project page

 

Here is how we use UniQB beams and TPS devices…

On our Factory Floor

Here at Tibbo, we employ Tibbo Project System (TPS) devices to produce more TPS devices. Take a look at the new rig we use to configure and test Linux Tibbo Project PCBs (LTPPs). UniQB beams form the rig’s structure with two TPS systems on it: An LTPP3 system running the configuration and testing process, and an additional TPP2L device serving as the operator’s console.

Got an idea on how to use TPS and UniQB in your factory or lab project? Let us know! We have years of experience in using TPS devices to automate production and test operations.

 

Development tools

Tibbo IDE Update

Tibbo IDE is a simple yet powerful tool for creating Tibbo BASIC and/or Tibbo C applications for our modules, controllers, and Tibbo Project System (TPS) devices. The new release V5.03.13 brings a faster C compiler, as well as multiple small functionality improvements

 

Download

 

Code example

Simple TCP Echo

Wondering what Tibbo BASIC and C applications look like? Here is a super-small Tibbo BASIC project implementing a TCP echo application. Just 15 lines of code do the job, and you get a fully asynchronous, event-driven echo application!

Hint: viewing on a mobile phone? Use the phone in the portrait mode to view the code correctly.

—————————————————–
sub on_sys_init()
net.ip=”192.168.1.228″    ‘<== SET DEVICE IP HEREsock.num=0                ‘for clarity
sock.rxbuffrq(1)          ‘request RX buffer
sock.txbuffrq(1)          ‘request TX buffer
sys.buffalloc             ‘allocate buffers
sock.protocol=PL_SOCK_PROTOCOL_TCP
sock.localportlist=”1000″
sock.inconmode=PL_SOCK_INCONMODE_ANY_IP_ANY_PORT
sock.reconmode=PL_SOCK_RECONMODE_3
end subsub on_sock_data_arrival()
sock.setdata(sock.getdata(sock.txfree))
sock.send
end sub
—————————————————–

 

Learn about Tibbo BASIC and C

 

Smart City As Unified Multi-tier IoT Solution

Being initially the driver of the IoT industry, smart city development technologies are rapidly
Published in: Technology