Data transmission library using MODBUS Protocol Driver. Serial Communications and via TCP/IP. MODBUS RTU ASCII Modus. Modbus Library with Master, Client and Slave support.

Modbus for TCP RTU over TCP. Bridge RTU over IP Gateway. Modbus for serial RS-485 library. MODBUS/TCP Master and Slave. Data Acquisition Products. MODBUS Protocol with LabView samples. Modbus Master Protocol library. Modbus bridging serial to TCP/IP. Serial MODBUS Library. MODBUS Library with Siemens S7.

Serial Communications and via TCP/IP MODBUS RTU ASCII Modus.

Modbus driver RTU and ASCII. Data transmission using MODBUS Protocol. Modbus Library.

Modbus TCP slave to Modbus Master converter. Connect a Master Modbus RTU RS232, RS485 with one or more Modbus TCP slaves / servers. Modbus master on serial and slaves on Ethernet (TCP).

MODBUS protocol Library & Components

MODBUS Protocol Library Windows, Linux Library, Component, ActiveX, Unit C#, C / C++, Delphi, Java, Pascal, Visual Basic, VB net SuperCom Suite, SuperCom Serial Library incl. MODBUS, SuperCom for TCP/IP incl. MODBUS MODBUS RTU,MODBUS ASCII Modus, MODBUS TCP. Data transmission library using MODBUS Protocol Driver. Modbus TCP slaves / server. Modbus for TCP RTU over TCP. Bridge RTU over IP Gateway
ADONTEC Software Development, Serial Data Communication, TCP/IP Client Server

SuperCom - MODBUS Protocol Library

Data Communication Solutions by ADONTEC
Modbus driver, SuperCom MODBUS RTU and ASCII functions, MODBUS driver librarySome SuperCom MODBUS functions
64 Bit Ready32 Bit and 64 Bit Versions available!

Version 2.xx

Modbus driver, SuperCom MODBUS RTU, MODBUS ASCII, MODBUS TCP, MODBUS protocol functions, MODBUS driver library 

SuperCom MODBUS Protocol Library

MODBUS is an industrial data communication protocol used to control PLC's and automation machines connected through serial lines (RS-232, RS-422, RS-485) or Ethernet TCP/IP connections.

The SuperCom MODBUS Protocol Library is the most complete MODBUS library and provides a rock solid foundation to develop fast robust MODBUS capable applications. The SuperCom MODBUS Protocol Library hides the complex MODBUS protocol offering one easy to use set of functions that can communicate data packets over serial and TCP/IP connections thus saving valuable time, reducing costs and ensuring quality results.

Library for MODBUS Protocol. MODBUS driver RTU and ASCII. Portable API for serial (RS-232, RS-485) communication or TCP/IP communication. Data Communications Modbus protocol library, driver. One API for Serial communication or TCP/IP communication.

The SuperCom MODBUS Protocol Library supports data communication between devices connected to a serial port, on a bus system or network. The protocol module supports ASCII and RTU (Remote Terminal Unit) operation mode (ASCII mode transfers ASCII codes and RTU binary data bytes in binary mode).

There is only one API to learn! The same functions used with Serial, TCP/IP or ISDN type of connections and operation mode (Modbus ASCII, Modbus RTU, Modbus TCP).

The SuperCom MODBUS Protocol Library also supports custom function codes and data packets by implementing functions that communicate transparently. Controlling machine specific extensions is realy easy using these functions.

Accomplish with ease
In most cases only a handful of functions are needed to talk to a Modbus capable PLC or controller. Your project is updated real fast. A lot of functions is backing you up to accomplish different tasks or configurations.

A possible MODBUS client graph.

The SuperCom MODBUS Protocol Library uses the SuperCom Communication Layer which provides a rock solid foundation to develop data communication software fast and without headache. Thus it makes no difference to the programmer if the MODBUS protocol used over TCP/IP or serial lines (RS-232, RS-422, RS-485, Modem, TAPI).

SuperCom enables the application to connect to a PLC (nearly from anywhere, e.g. Modem, TAPI, ISDN, Ethernet (TCP), serial lines e.g. RS-232, RS-422, RS-485) and transfer data and/or read, write operands.

Samples - MODBUS Protocol API:

1. Read a single coil

C/C++

   #define SLAVE_ID  1
   TCOMMID Com = COM_2; // Com index, e.g. using serial port COM2
// Serial, TCP, ... - native API ComInit (Com); ComSetState (Com, 9600, ...);
: -- Access -- RS_MBSetConfig(Com,,SuperCom.MODBUS.MODBUS_MODE_RTU,,); if (RS_MBReadCoil (Com, SLAVE_ID, wCoil, &Buffer)) { printf("Coil[%d] = %s ", wCoil, Buffer?"TRUE":"FALSE"); } else { int ErrorCode = RS_MBGetLastError(Com); if (ErrorCode == MB_ERR_EXCEPTION) printf("Exception %02X reported from slave ", RS_MBGetException(Com)); else printf("Error %d", ErrorCode); } ComReset(Com);
  C/C++    C#    Delphi    Visual Basic

 

The above samples are nearly complete programs. More Init-Sequences can be found here.

 

2. Read/Write Registers

C/C++

   #define SLAVE_ID  1
   TCOMMID Com = COM_2; // Com index e.g. using serial port COM2

   WORD Buffer [10];
   WORD wStart=0x0000;
   WORD wCount=1;
   WORD wValue=0x0020;
        :
   -- Init Sequence (see above) --
        :
   RS_MBSetConfig(Com,,MODBUS_MODE_RTU,,);

   if (RS_MBWriteRegister(Com, SLAVE_ID, wStart, wValue))
       printf ("Read Success.\n");
   else
       printf ("Error: %d\n", RS_MBGetLastError(Com));

   if (RS_MBReadHoldingRegisters(Com,
                              SLAVE_ID,
                              wStart,
                              &wCount,
                              Buffer))
   {
       printf("Read %d Register:", wCount);
       for (int i=0; i<wCount; i++)  printf ("%4X",Buffer[i]);
   }
   else
       printf ("Error: %d\n", RS_MBGetLastError(Com));


  C/C++    C#    Delphi    Visual Basic

 

A possible MODBUS gateway graph. A possible MODBUS bridge graph.

Capture, Store, Forward - MODBUS Slave or Gateway functions
Communication at lower data packet level is possible thus allowing to capture, store and forward of MODBUS data packets or transmit replies. Monitoring MODBUS data packets, simulating a MODBUS Slave or building a protocol converter / gateway is possible. Simulating a MODBUS Slave can be very handy while testing the software (slave examples available).

Supported Protocols
The SuperCom MODBUS Library implements the standard MODBUS protocol for serial and TCP/IP connections* based on the official specification by the MODBUS organization. SuperCom supports MODBUS ASCII and MODBUS RTU protocol with serial interfaces (RS-232, RS-422, RS-485, Modem, TAPI) and the MODBUS TCP/IP (MODBUS/TCP) and Open MODBUS TCP with TCP/IP networks.
*A corresponding SuperCom license (Serial and/or TCP/IP) assumed.

Also included, non standard variants of the MODBUS protocol called RTU over IP (also known as MODBUS RTU/IP, MODBUS RTU over TCP) enable the SuperCom application to talk to OMTS devices (OMTS = Out of the MODBUS TCP/IP specification). Since not an official specification, additional names and variants may exists.

The SuperCom MODBUS Protocol Library is a very extensive and complete MODBUS protocol stack!

How to use?
The SuperCom MODBUS Protocol Protocol Library can be used over any communication link supported by SuperCom (currently Serial (RS-232, RS-422, RS-485, Modem, TAPI), TCP/IP, ISDN). For a list of available SuperCom packages containing MODBUS protocol, see the following chart.

The use of one common API for Serial, TCP/IP and ISDN applies here too (any SuperCom ActiveX API and/or DLL API).

What to order?
You will find promotional combinations with MODBUS (e.g. SuperCom Serial incl. MODBUS, SuperCom for TCP/IP incl. MODBUS, SuperCom Protocol Engine, SuperCom Suite).
The order code 638 and/or 638400 is needed only when the MODBUS protocol module is ordered later in addition to a current SuperCom package.

License Information
Executables developed using SuperCom MODBUS Protocol Module can be distributed royalty free.More..

Supported compilers
C#, C++, Delphi, Visual C++, Visual Basic, Visual Basic NET, C++ Builder, Borland C/C++, Microsoft C/C++, MinGW, Borland Pascal, Java, LabVIEW, Perl, PowerBuilder, PureBasic, VBA and other Windows programming tools (MS .NET ?).

Samples
for C/C++, C#, Visual C++, C++ Builder, Java, Pascal/Delphi, Visual Basic, Visual Basic NET (VB .NET), LabVIEW, Perl, PureBasic, ...

The SuperCom Suite contains and supports more example programs especially Modbus Slaves supporting multiple clients.


Home    Back
Modified at:

ADONTEC