Delphi Component Library
Delphi Serial Communication Library, TCP/IP Library for Delphi

Serial Communication Library, RS-232, RS-485 Toolkit. ZMODEM, Kermit, 3964, 3964R, RK512, LSV2, MODBUS, protocol

Serial Ports

The SuperCom Serial Port Communication Library is a programer's library used to develop serial communication applications.

Easily read and write data to the serial port. Send data through the serial port without delay.

Using SuperCom you easily write serial communication applications and control serial ports, Modem, Barcode Scanner, Scales, PLC, GPS receiver, POS, serial medical devices, serial printer etc. Develop easily applications to accomplish serial data and file transfer incl. file server applications.

The SuperCom data communication library provides an optimized Data Communication Engine, which handles concurrent connections and event driven data communication. This efficient Data Communication Engine provides maximum functionality, reduced CPU load and low resource consumption.

With the SuperCom Serial Communication Library transmitting and receiving serial data takes place in the background enabling the application to perform other tasks while serial data transmission takes place.

Easy Handling

SuperCom is a universal communication library. Using only a few functions you already get a complete serial communication program within few lines. The following short program clearly shows this for serial communications:

Delphi

  Msg := 'Hello World';

  ComInit(COM_2);

  ComSetState(COM_2, 57600, 8, 1, 'N', SIGNAL_CTS);

  RS_TXPacket(COM_2, Msg, Length(Msg), Result);

  ComReset(COM_2);

TCP/IP

The SuperCom data communication library provides an optimized Data Communication Engine, which handles concurrent connections and event driven data communication. This efficient Data Communication Engine provides maximum functionality, reduced CPU load and low resource consumption. Hence, the SuperCom for TCP/IP library enables building solid high performance Client / Server applications with high data throughput.

Client Connection, OnConnect - InfoProc:
Delphi

   Function OnConnect (Com, Action, TimeLeft, Data):Integer;
   Begin
      OnConnect:=infCONTINUE; { Continue }

      If (Action = acCONNECT_INFO) Then
      Begin
         // periodically: connection in progress
      End;
      If (Action = acCONNECT_OK) Then
      Begin
        // Connection successfully established!
      End;
      If (Action = acCONNECT_FAILED) Then
      Begin
        // connection attempt failed
      End;
        :
   End;
      :
      :
     // Start a client connection, define the connection index (handle) to use ...
   ComInit(Com);

    // connect ...
   Res = RS_ConnectEx(Com, SEC_60, , 'www.adontec.com:80', @OnConnect);

   RS_TXPacket(Com, Msg, Length(Msg), Result);

   ComReset(Com);

Data and File Transfer Protocols

SuperCom is a very mature toolkit (SDK) for data transfer. Many standard protocols for transfering files are included (e.g. ASCII, KERMIT, XMODEM, YMODEM, ZMODEM). Also many industrial protocols are optional available (e.g. MODBUS, AS511, 3964, RK512, S7, LSV/2, Heidenhain).

How to use in Delphi

Using SuperCom in Delphi is very simple. Add SuperCom.PAS (Unit) to the project and declare Uses SuperCom;. Now the application can access function in the SuperCom DLL. The direkt API and the class library is now accessible.

If one needs to use the SuperCom ActiveX it does the above steps using SCOMLib_TLB.PAS (Unit) and declaring Uses SCOMLib_TLS.PAS;. Now the class TSCom is fully accessible. Alternatively one can add it to a Delphi package and control it through the Toolbox (e.g. Drag&Drop on a form, set properties).

Yes, you can use the SuperCom DLL API or the ActiveX in console applications.

Compatibility = Max!

SuperCom can be used with very old Delphi versions but also with the most actual.
For us at ADONTEC backwards compatibility is very important. For example, one can replace an old SuperCom program the old supercom.dll with the new one by just replacing the file, without new compilation of source codes (Update on the fly).

SuperCom's compatibility naturally extends on the functions. With SuperCom one uses the same functions to transfer data, transfer files, connecting, etc. with serial connections, MODEM / TAPI, ISDN, TCP/IP. Even hardware specifics e.g. ComStateCTS, ComStateDCD are provided with logical values when using non-serial (e.g. TCP/IP or ISDN) connections.

Samples

SuperCom contains many sample programs. Simple serial data trabsfer, file transfer, connecting via modem, TCP/IP. Client / Server TCP/IP supporting many client connections an many more.

Delphi class TSuperCom

» Product Range «


Home    Back
Modified at:

Info about ADONTEC
It Simply Works!