 |
ALPHA-VISION® content: Profibus.dll
|
Profibus.dll
SUMMARY
SoftPlc7Profibus.dll enables the use of the Profibus DP Hilscher assembly unit.
CONTENTS
- Preliminary work
- Entries in SoftPLC7.ini
Preliminary work
- Install board in PC
- Install driver from Hilscher-CD
Entries in SoftPLC7.ini
[HLL-Functions]
Py<from>,<length>=SoftPlc7Profibus,S7P_DIO
<from>
(decimal) defines the start address of the driver
<length>
(decimal) defines the number of peripheral bytes provided by the DLL.
(That entry causes that it is read from PI as well as written to PO)
It is also possible to predefine the direction of communication;
the entry has to be amended as follows:
[HLL-Functions]
DB0<from>,<length>,<directions>=SoftPlc7Profibus,S7P_DIO
<directions=R> = read from PI
<directions=W> = write to PO
<directions=WR> = read from PI and write to PO
[CIFDPM]
BaseMemorySize=<size>
DevNo=<device number>
<size>
(default=1) defines the memory size in KB.
(Standard size of BaseMemory is 8K, 2Ks are possible too – amend entry!
The value 'size=1' is intended for PCI-Memory.)
<device number>
ID of the Profibus-Board (default=0).
(That allows several SoftPLC7-Instances to use several Profibus-Boards)