S7-SoftPLC:Configuring SoftNet PN IO with PLC43.INI

From IBHsoftec Wiki English
Jump to: navigation, search

The driver allows to exchange data from the PLC-program via SFC 14/15 with PROFINET® IO slaves over PROFINET® IO SoftNet®.

Furthermore the SFB 52/53 are available for diagnostic functions as well as reading and writing records to the PROFINET® IO device.


Parameterisation of PnioSn.dll with PLC43.INI

The PnioSn.dll must be integrated in the section [OEM].

[OEM]
dll0=pniosn.dll

Furthermore the PnioSn.dll expects a section [PNIOSN], with the following parameters:

Parameter Default value, possible values Description
SlotNumber 3 Port number set in SoftNet
TypeFC 0, 1 Use standard SFC/SFB
SFC14 14, 1 ... 255 Block DPRD_DAT is FC Nr
SFC15 15, 1 ... 255 Block DPWR_DAT is FC Nr
SFB52 52, 1 ... 255 Block RDREC is FC Nr
SFB53 53, 1 ... 255 Block WRREC is FC Nr

The following example uses the application in the PC-Station on SlotNumber 3, function blocks as FC/FB and uses the FC/FB numbers equivalent to the SFC/SFB numbers:

[PNIOSN]
SlotNumber=3
TypeFC=1
SFC14=14
SFC15=15
SFB52=52
SFB53=53