SuperCom S7 Protocol Library

Other communication solutions by ADONTECCommunication Solutions by ADONTEC
Some SuperCom S7 functions
64 Bit Ready32 Bit and 64 Bit Versions available!

 

Control S7 PLC with S7 protocol and ISO-on-TCP

SuperCom S7 Protocol Library

S7 ISO-on-TCP Protocol library TCP/IP Communication Library, Protocol Library

The SuperCom S7 Protocol Library includes functions to exchange data with a S7 PLC. The protocol used is referred as ISO-on-TCP (RFC 1006) and the connection to the PLC is established using the TCP/IP protocol.

The application is using the high-level functions of the SuperCom S7 Protocol Library for a flexible and speed optimized data exchange with Data Blocks, Marker/Flags, Inputs, Outputs, Counters, Timer, Memory areas, etc.

Despite the professional orientation of the SuperCom S7 Protocol Library it is really easy to use and accompanied by many samples.

Exchanging data (Reading or Writing) are whenever possible handled internally as one request. This approach enables the SuperCom S7 Protocol Library to optimize speed and network traffic by treating requests for different plc areas as one so called "mixed request" (one request send to the plc and one reply back).

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

The SuperCom S7 Protocol Library uses the SuperCom TCP/IP communication layer which provides a rock solid foundation to develop data communication software fast. The special "packetizing" technique and the data transfer technology used really increase speed and data throughput and reduce network traffic.

Samples:
access S7 inputs, outputs, flags, timer, counter, ...

1. Read input bits

C/C++

      // Fetch 3 input bits e.g. I1.0 to I1.2

  BYTE  cBuffer[3];     // 3 bits returned as 3 bytes
  DWORD dwAmount  = 3;  // bits requested = 0, 1, 2
  DWORD dwAddress = BitAddress(1, 0); // from Bit-Address

  long nRet =  RS_S7Fetch(Com,
                          ORG_INPUT | ORG_REQ_IN_BITS,
                          dwAddress,
                          &dwAmount,
                          cBuffer);
  C/C++    C#    Delphi    Visual Basic

 

2. Read from Data Blocks

C/C++

      // Fetch 2 WORDs from DB 10, starting at address 0

  WORD  wBuffer[2];
  DWORD dwAddress = 0; // start from
  DWORD dwAmount  = 2 * sizeof(WORD); // 2*2 = 4 bytes

  long nRet = RS_S7Fetch(Com,
                         RS_S7BLOCK_AREA_NR(ORG_DB, 10),
                         dwAddress,
                         &dwAmount,
                         wBuffer);
  C/C++    C#    Delphi    Visual Basic

 

License Information
Executables developed using SuperCom can be distributed royalty free.

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

Samples
for C/C++, C#, Delphi, Visual Basic 6, Visual Basic .NET included. Many small samples also listed in the manual. More..

How to use?
In order to use the SuperCom S7 Protocol Library a TCP/IP capable SuperCom library is also required e.g. combine with SuperCom for TCP/IP or SuperCom Suite. See also the following chart.

What to order?
Some possible combinations can be found here

 

 

S5 Protocol Suite
Protocols for S5 compatible data communication More...

Home    Back
Modified at:

ADONTEC