Direct_IO.dll

SUMMARY

Direct_IO.dll allows the use of the direct I/O board of Advantech.

CONTENTS

  1. Preliminary work
  2. SoftPLC7.ini

Preliminary work

INI-FILES

SoftPLC7.ini

Section [HLL-Functions]

Entry Type Description / Example Default
(FB |FC |SFB |SFC )<num> string
Defines the DLL-Function that replaces the Program-Module with the following syntax: <dll, function>
Example
FC13=MyDll, MyFunction
				

[HLL-Function]
Pyxx,yy=SoftPlc7DirectPIO,S7P_DIO
			        
The Advantech driver is placed in he peripheral area, starting at address xx

Section [AdvantechIO]

Entry Type Description / Example Default
Device integer
Example
Device=0
							 
BasePort string
BasePort is the base address of the assembly group. Advantech demands on the standard address 0x2a8.
Example
BasePort=0x2a8