HEISCH AT

Standard Software
for the
Industrial Automation

see also:
Engineering
and
Services
Home News Products Know How Download
Customers Links Who we are Prices Contact
Know How:
Some combinations of Simatic - Linux

What do I need for my automation device ?

You have a certain PLC and want to know how to connect.
Device fundamentals for Simatic-Newbies, may also be used as a compendium for professionals.
In the following table we give an overview on devices that can be accessed using our software products. This list is certainly incomplete.

The list mainly contains old S7 CPs for ethernet, because the new CPs all support the needed functionality.

There are also some other suppliers of Simatic CPs, some of them we have tested.

PLEASE NOTE:
We did our best to collect the data on this page! Nevertheless there is NO WARRANTY for the correctness.

Simatic S7 Manufacturer Interface Protocol Product
S7-400 Siemens CP443-1 with Fetch-Write-Interface TCP/IP rktcp_server
  Siemens CP443-1 IT TCP/IP rktcp_server
  Siemens ProfiNet-CPU TCP/IP rktcp_server
  INAT S7-TCP/IP TCP/IP rktcp_server
  Siemens CP441-2 RK512 rk512_server
  Siemens CP441-1 / -2 3964(R) rk3964_server
  Siemens CP440 3964(R) rk3964_server
  Helmholz MPI-Adaptor RK512 rk512_server
S7-300 Siemens CP343-1 with Fetch-Write-Interface TCP/IP rktcp_server
  Siemens CP343-1 IT TCP/IP rktcp_server
  Siemens ProfiNet-CPU TCP/IP rktcp_server
  Siemens CP340 (3964R) + extra driver RK512 rk512_server
  Siemens CP341 RK512 rk512_server
  Siemens CP340 3964(R) rk3964_server
  Siemens CP341 3964(R) rk3964_server
  Helmholz MPI-Adapter RK512 rk512_server
S7-300 S7-400; Helmholz u.a. NetLink (MPI-Bus/Profibus) TCP/IP rktcp_server
S7-XXX-DP Siemens DP/RS 232C LINK 6ES7158-0AA00-0XA0x 3964(R) rk3964_server
S7-1200/1500 Siemens All CPUs TCP/IP rktcp_server

Simatic S5 Manufacturer Interface Protocol Product
S5 all PI, others S5-LAN TCP/IP rktcp_server
S5 115U and above Siemens CP1430-TCP TCP/IP rktcp_server
  INAT S5-TCP/IP TCP/IP rktcp_server
  Siemens CP524 RK512 rk512_server
  Siemens CP544 RK512 rk512_server
  Siemens CP523 3964(R) rk3964_server
S5 95U Siemens 2nd serial Interface + extra driver RK512 rk512_server
S5 115U CPU944B Siemens 2nd serial Interface + extra driver RK512 rk512_server
S5 115U CPU945 Siemens 2nd serial Interface + extra driver RK512 rk512_server
S5 135U CPU928 Siemens Interfacemodul RK512 rk512_server
S5 95U Siemens 2nd serial Interface 3964(R) rk3964_server
S5 115U CPU944B Siemens 2nd serial Interface 3964(R) rk3964_server
S5 115U CPU945 Siemens 2nd serial Interface 3964(R) rk3964_server
S5 135U CPU928(B) Siemens Interfacemodul 3964(R) rk3964_server
S5 CPU Siemens Programming device interface AS511 rk511_server

Communication using TCP/IP

rktcp_server basics
rktcp_server supports the both protocol types S5 compatible communication in FETCH-WRITE mode and
S7 communication in put and get mode over TCP for data exchange with Simatic plcs. The S5 compatible communication is supported in TCP-native as well as ISO-on-TCP (RFC1006). This means that you can connect to all devices (CPs) that offer one of these modes, giving you a reliable data connection.

If you use the S5 compatible communication and you have the choice between TCP-native and ISO-on-TCP, most often TCP-native will be the best choice.

-------- Why TCP-native?
The S5 comptible communikation provides by definition a block orientated telegram mode, therefore, there in no need to use a block orinetated layer below.
On all tested CP 443-1, the TCP-native is a little bit faster than ISO-on-TCP.

-------- Why nevertheless ISO-on-TCP?
There are a lot of existing implementations with older CPs, mainly the 6GK7 443-1EX02, for which the partner pc needs to be substituted. To support also these implementations, we have implemented ISO-on-TCP (RFC1006).

-------- Remarks to S7 communication
The S5 compatible communication protocol is published by Siemens.

The S7 communication is not published, it is "factory private". All other suppliers of S7 communication have "re-engineered" this protocol.
But: If Siemens would change this protocol, building new CPs, which do not support the actual protocol version, they would also produce a incompatibility between the older and actual CPs and new ones, meens: in the own family.
We do not assume, that this will happen:
The protocol header of the S5 compatible commmunication was defined in the 2nd half of the eighties, the RK512 protocol is much older,it was defined 10 years earlier. Both are still supported.
This long time support of old standards is one of the reasons for the success of the Simatic family: The clients can be shure that their once made investments will not be lost, over rolled by new non-backward compatible technologies. ( We do not talk about operation panels, here :-( )
We agree: Re-engineering always is a risc, but we have only implemented a small subset of the complete definition of the PDU. This enables a very extensive analysis of the reactions and very intensive tests.

----------- Why not SEND-RECEIVE ?
SEND-RECEIVE implements a unidirectional point to point connection over a net.Runtime software inside the CPU is needed.
FETCH-WRITE implements a client-server-connection over a net. The CP is processing the whole communication.
From the technical point of view, it would be a back step, to use SEND-RECEIVE.

In addition: On initiating SEND-RECEIVE by the built-in-functions, we missed some functionalities, which a needed to guarantee a secure data transport.
( When we have started with the implementation of the rktcp_server, we have also made some tests with SEND-RECEIVE and we have seen some really funny effects.)

S7-400

the rapid solution over TCP
  1. CP443-1

    The link over CP 443-1 with the number MLFB 6GK7 443-1EX11-0XE0 was tested by us. It works with rktcp_server without problems.

    A firmware version V2.0 or higher is needed, because older versions do not work correctly in native TCP mode.

    Siemens offers free firmware downloads on their homepage (german) .

    The older CPs 6GK7 443-1EX10-0XE0 are hardware compatible with the -1EX11- types, they can be upgraded by a firmware update to 6GK7 443-1EX11-0XE0.

    CP 6GK7 443-1EX02-0XE0 works (evaluated). It only supports ISO-on-TCP (RFC1006), therefore rktcp_server V4.0 or newer is needed.

  2. CP443-1 older devices

    For the Simatic S7-400-family there are older CPs with suffix 1BX00, 1EX00, 1BX01 or 1EX01 in their name. These cannot be used directly.
    But:
    CP with suffix -1BX01 or -1EX01 can be updated per firmware at 6GK7 443-1EX02-0XE0, this version supports all functions of its predecessors and therefore can be accessed with rktcp_server V4.0 (ISO-on-TCP).

    If you are in doubt please check the possibility of an upgrade with the Simatic-hotline.

  3. CP443-1 IT

    The CP 443-1 IT were not testet by us, according to the informations in the Siemens cataloque newer version should work, older not.

  4. INAT S7-TCP/IP

    The company INAT offers a communications processor called S7-TCP/IP for the Simatic S7-400-family.
    We have tested this CP and it works fine with rktcp_server.
Especially on Siemens Ethernet CPs there have been a lot of changes. Therefore we strongly recommend that you test your device combination before you order rktcp_server.

A quick-check-method:
- Hardware configuration in Step 7
- in NetPro try to create a link to an unspecified partner with link type TCP-link or ISO-on-TCP
If possible : it may work, if not, then not.
For cross check: if it is not possible, check to create a link with a CP which definitively works (s.o.)

Testing results are very welcome, also about CPs that come from other manufacturers than Siemens.


S7-300

the rapid solution over TCP

Hint: On Simatic S7-300 systems the internal data transfer between CPU and CP works serial with 187.5 kBit/s. Therefore you should not expect too much speed from the Ethernet-link: The maximum data rate will be about 5 kByte/s.

  1. CP343-1

    The link over CP 343-1 with MLFB 6GK7 343-1EX10-0XE0 V 1.2 was tested by us. It works with rktcp_server.
    CP 343-1 with MLFB 6GK7 343-1EX20 was tested by us. It works with rktcp_server.
  2. CP343-1 TCP

    For the Simatic S7-300-family there are older CPs with TCP in their name and ID 6GK7 343-1EX00. Compatibility with rktcp_server depends on the CP's edition state:
    Firmware V 5.0for CP 343-1 TCP, edition state 7 does support FETCH-WRITE-mode over ISO-on-TCP; it's there useable with rktcp_server V4.0 and above.

    Older firmware edition states:
    Devices with edition state 4 (Firmware V2.0) and above can be upgraded to V5.0.
    These are the CPs 6GK7 343-1EX00-0XE0. They are upgradeable.
  3. CP 343-1 IT

    The CP 343-1 IT was testet by us, it works properly.
  4. CP343-1 Lean

    The new CP 343-1 Lean (6GK7 343-1CX00) was not tested by us, but according the Simatic-hotline it should work. (TCP-native mode as well as ISO-on-TCP)

Especially on Ethernet CPs there have been a lot of changes. Therefore it is strongly recommended to test the combination before ordering the server.

A quick-check-method:
- Hardware configuration in Step 7
- in NetPro Try to create a link to an unspezified partner with link type TCP-link or ISO-on-TCP.
If it is possible to create this link: it may work, if not, then not. For cross check: if it is not possible, check to create a link with a CP which definitively works (s.o.)

Testing results are very welcome, also from CPs which are not from Siemens.


S5 all plc 115U / 135U/ 155U -Series

the rapid solution over TCP

Siemens: CP1430 TCP

The CP1430 TCP was not testet by us, but according to the informations in the Siemens cataloque and Simatic hotline it should work.
Some of our customers use it together with rktcp_server.

INAT : S5-TCP/IP

The company INAT offers a communications processor called S5-TCP/IP for the Simatic S5 families 115U, 135U and 155U. We have tested this CP and it works fine. This CP supports TCP/IP with and without RFC1006, H1, FTP and all of these at the same time. According to INAT, it is often used to increase existing installations to more communications capabilities.

While testing this CP, we were surprised about the high transfer performance of this product.


S7 & S5 :

Communication using RK512

With rk512_server you can connect to SIMATIC S5 and SIMATIC S7.
Below you find a List of devices that make it possible.
Normally a communication unit (CP) is used; the CP must be configured by the user. Siemens provides especial programming software for this purpose.
CPs are available with different interfaces. RS-232C has the advantage that it can most simply be connected to PCs, but has a limited line length of about 15 meters. Also galvanic isolation is most often missing. The other interface types (RS422 and 20mA) provide distances of about 1000m. This is about 6 times the length of a 10Mbit-Ethernet-Segment (10Base-T), however you need a conversion box next to the PC or (sometimes better) a special interface board inside the PC.
Some CPs need RUNTIME-Software in the PLC to operate properly or at all.
  1. S7-Family
    1. S7-300
    2. S7-400
    3. S7-300 & 400 via MPI-Converter !
  2. S5-Family
    1. S5-95U
    2. 115U minimal
    3. 135U minimal
    4. 115U/135U/155U standard
    5. Dinos

S7- Family

( Refer also to Siemens catalog ST70 )
  1. S7-300
  2. S7-400
  3. S7-300 & 400 via MPI-Converter !

S7 - 300

The tiny solution: The CP340 can talk 3964R only, but Siemens provides RK512 emulation software, which you can get via Internet, pay with Simaticard. This emulation however does not provide full data speed: only about 800 Byte/s can be reached.

CP340

Interface Speed Distance
20mA 9600 bps 1000 m
RS232C/V.24 19200 bps 15 m
RS422/RS485 19200 bps 1200 m


Standard solution: CP 341 with builtin RK512. Max. speed usable with common PC hardware is 38400 bps. You may also use CP 341 -1 which provides 57600 bps additionally.

CP341

Interface Speed Distance
20mA 19200 bps 1000 m
RS232C/V.24 76800 bps 15 m
RS422/RS485 76800 bps 1200 m

S7- 400

CP441-2

Interface Speed Distance
20mA 19200 bps 1000 m
RS232C/V.24 76800 bps 15 m
RS422/RS485 76800 bps 1200 m
Common PC interface cards can not operate with 76,8 kbit/s and Simatic CPs can not work with 57600 bps, so 38400 bps is the highest usable speed.
CP 441-2 can operate with 2 interfaces simultanously.

S7-400 und 300 via MPI-Converter

In certain environments you may use an MPI-Adaptor; this is a small and cheap box which converts serial RK512 to the MPI-protocol. This gives you access to all S7-CPUs connected to the MPI-bus.


S5 - Family

( Refer also to Siemens catalogue ST50 )
  1. S5-95U
  2. 115U minimal
  3. 135U minimal
  4. 115U/135U/155U standard
  5. Dinos

S5-95U

The device S5-95U with second serial interface can speak 3964R; the interface is available as TTY/20mA current loop only.
For this device we offer an RK512-Interpreter .


115U - tiny solutions:

CPU944B with second serial interface and operating system unit 3964R can communicate over 20mA current loop at 9600 bps.
We offer an RK512-Interpreter for this constellation.

CPU945 with second serial interface:
We offer an RK512-Interpreter for this constellation.

CPU 945 B

Modul Speed Distance Isolated
TTY- / PG-Modul 9600 bps 1000 m Isolation depends from implementation
RS232C/V.24 19200 bps 15 m Not isolated
RS422 19200 bps 1200 m Isolated

135U - tiny solution:

CPU 928B with second serial interface already speaks RK512, you have to chose an interface type:

CPU 928 B

Modul Speed Distance Isolated
TTY 9600 bps 1000 m Isolation depends from implementation
RS232C/V.24 19200 bps 15 m Not isolated
RS422 19200 bps 1200 m Isolated


All devices of 115U / 135U / 155U:

You may attach communication units CP524 and CP544.

CP 524 has a single interface, you must chose an interface module:

CP 524

Modul Speed Distance Isolated
20mA 9600 bps 1000 m Isolation depends from implementation
RS232C/V.24 19200 bps 15 m Not isolated
RS422 19200 bps 1200 m Isolated

The CP 544 can operate with two interfaces; the sum of their speeds must not be faster than 76800 bps.

CP 544

Modul Speed Distance Isolated
20mA 9600 bps 1000 m Isolation depends from implementation
RS232C/V.24 19200 bps 15 m Not isolated
RS422 76800 bps 1200 m Isolated


Fossils

( their robustnes is the reason that you can still find them )

CP525 with 2 interfaces which can work in TTY mode or in RS232C/V.24 mode, depending on the wiring of the interface connector. Speed is limited to 19200 bps as the sum of the speeds of both ports.
AS512 first device where the RK512 protocol was implemented. Highest speed: 9600 bps (TTY).

Communication using AS511

Our rk511_server gives to you access to all SIMATIC S5-CPUs except. Connection is realized via the Programming device interface. If you want to use standard PC serial ports, you probably need a converter box. A better way may be the usage of a Current loop adapter board.

Top   Home  

© 2000 ... 2018  Werner Heisch
Edition Date of this page (MET) : 2019-10-05 21:43:03