Difference between revisions of "S/-SoftPLC:Configuration TwinCAT I/O with PLC43.INI"

From IBHsoftec Wiki English
Jump to: navigation, search
(Created page with "To activate the driver it must be included in the section [OEM]. The required entry is for example: [OEM] dll0=TwinCatIO.dll In the PLC43.INI the following parameters must...")
 
(Blanked the page)
 
Line 1: Line 1:
To activate the driver it must be included in the section [OEM]. The required entry is for example:
 
  
[OEM]
 
dll0=TwinCatIO.dll
 
 
In the PLC43.INI the following parameters must be defined in the section [TwinCatIO].
 
 
{| class="wikitable"
 
|-
 
! Parameter !! Default value !! Description
 
|-
 
|style="width:15em"| PortNumber ||style="width:10em"| 301 || Set port of I/O-task in TwinCAT System Manager.
 
If PortNumber=0 the exchange of process images is disabled. Access is possible via SFC/FC only.
 
If the port number does not match the TwinCAT I/O task, S7-SoftPLC switches to STOP.
 
|-
 
| SFC14 || 1 || Show SFC 14
 
|-
 
| SFC15 || 1 || Show SFC 15
 
|-
 
| ControlSFC || 1000 || Number of Control SFC
 
|-
 
| NoStop || 0 || Do not stop fieldbus at PLC Stop
 
|-
 
| TypeFC || 0 || Show SFCs as FCs
 
|-
 
| FB_CxGetDeviceIdentification || 1001 || Number of GetDeviceIdentification FB
 
|-
 
| FB_AdsRead || 1002 || Number of AdsRead FB
 
|-
 
| FB_AdsWrite || 1003 || Number of AdsWrite FB
 
|}
 
 
==== Example: ====
 
 
[OEM]
 
dll0=TwinCatIO.dll
 
 
[TWINCATIO]
 
PortNumber=301
 
SFC14=1
 
SFC15=1
 
ControlSFC=1000
 
NoStop=0
 
TypeFC=0
 
FB_CxGetDeviceIdentification=1001
 
FB_AdsRead=1002
 
FB_AdsWrite=1003
 

Latest revision as of 09:19, 17 January 2013