S5/S7 for Windows:S5 Programming via SINEC L2

From IBHsoftec Wiki English
Revision as of 10:12, 12 January 2022 by Andreas (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Establishing a connection to a SIMATIC S5 PLC via SINEC L2/PROFIBUS using a modern PC

Because of IT security issues, only PCs with current operating systems including latest OS security updates and virus scanner updates are allowed to be used in corporate networks. The usage of old PCs, that allowed programming via SINEC L2/PROFIBUS is often no longer permitted and therefore no more possible.

In many production environments with old SIMATIC S5 PLCs, often SINEC L2/PROFIBUS is used to communicate with the control level or scada via Ethernet. Since it is also possible to program the PLC via SINEC L2/PROFIBUS, this task must now be performed with modern PCs.

Soft and Hardware requirements:

  • A PC with a standard ethernet network card.
  • Windows XP, VISTA, 7 or 8 (32-Bit or 64-Bit).

First, a conversion of the SINEC L2/PROFIBUS network to modern twisted pair cabling with standard RJ45 connectors must be done. To do the physical media conversion, the Ethernet to PROFIBUS Gateway IBH Link S7++ is used.

Before plugging the IBH Link S7++ on PROFIBUS, the PROFIBUS parameters must be set up correctly. The actual settings of the parameters must be read out from the configuration of the used communication processor. For a S5 95U with PROFIBUS, the parameters can be found within the DB1. If a CP5431 is used, the COM package COM5430 delivers the required information.

The parameters can be set in the IBH Link S7++ with a standard webbrowser. Likewise, the bus parameters can also be configured with the IBHNet configuration tool.

IBH Link S7++ on the PROFIBUS connector of a S5 95U

IBHLink-S7-95u-profibus.jpg

IBH Link S7++ on the PROFIBUS connector of a CP5431

IBHLink-S7-CP5431-profibus.jpg

The external 24 V power supply for the IBH Link S7++ must be connected, when using it with a S5 PLC.

The Profibus CP must be connected to the PG port of the CPU via the so called monkey swing. Pin Out

Within the online tree select <Network> and choose <New S5-SINEC-L2 Station..> using the right mosue button:

Setup of an SINEC-L2 connection

L2 Station eng.png

This allows the programming via SINEC L2/PROFIBUS using the IBH Link S7++. Details about the setup of the SINEC-L2 connection can be found at: