S7-SoftPLC:Add/remove drivers to S7-SoftPLC

From IBHsoftec Wiki English
Jump to: navigation, search

In the section [OEM] the necessary hardware driver DLLs are listed. Up to 10 driver DLLs can be loaded.

Key name Value area Default value Description
DLL0 CIF30D0.DLL --- When using a Hilscher CIF-card
DLL1 CIFCFG.DLL --- The driver CIFCFG.DLL is needed to configure the PROFIBUS® with the Siemens SIMATIC® Manager or S7 for Windows® hardware configuration. This driver provides the online functions via PROFIBUS® and DPV1 services as well. The driver can only be used together with the first CIF-card.
DLL2..DLL9 --- --- More card drivers

There are 2 possibilities to configure the field bus components:

If a PROFIBUS® master-station is supposed to be configured over the S7 for Windows® hardware configuration or the STEP®7 hardware configuration, the following driver entries in the section [OEM] are to be selected:

[OEM]
DLL0=CIF30D0.DLL
DLL1=CIFCFG.DLL

These entries secure, that the PROFIBUS® configuration, created with the S7 for Windows® hardware configuration or the STEP®7 hardware configuration, is analysed and that the CIF module (PROFIBUS® only) is configured automatically during start-up.

If multiple PROFIBUS®-cards are supposed to run in one PC, only the first card can be automatically configured. All other cards must be parameterised with the Hilscher System Configurator SyCon.

If other CIF field bus cards (e.g. Interbus, CAN) are to be used, invariably the Hilscher System Configurator SyCon has to be used, because the S7 for Windows® hardware configuration or the STEP®7 hardware configuration do not support the other bus systems.

Furthermore the following system parameters have to be set in the System Configurator SyCon under "setup”:

  • Controlled release of communication by the application program
  • Byte addresses
  • Little Endian (LSB-MSB)
  • Buffered, host controlled

In the section [OEM] the following has to be selected:

[OEM]
DLL0=CIF30D0.DLL

For compatibility reasons to existing applications, the classic driver cif30x0.dll, as used in version 2.x of S7-SoftPLC for a long time, is still being delivered and installed, but not integrated by default. Applications that do not use the diagnostic blocks SFB210 and SFB252, can change to the driver Cif30D(n).dll without any problems. If this change is too complex, the classic driver may still be used.