<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ibhsoftec.com/en/index.php?action=history&amp;feed=atom&amp;title=S7-PCI315%3ADualport_communication</id>
	<title>S7-PCI315:Dualport communication - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ibhsoftec.com/en/index.php?action=history&amp;feed=atom&amp;title=S7-PCI315%3ADualport_communication"/>
	<link rel="alternate" type="text/html" href="https://wiki.ibhsoftec.com/en/index.php?title=S7-PCI315:Dualport_communication&amp;action=history"/>
	<updated>2026-05-15T02:14:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.ibhsoftec.com/en/index.php?title=S7-PCI315:Dualport_communication&amp;diff=670&amp;oldid=prev</id>
		<title>Jonas: Created page with &quot; == Dualport communication with SFC1012 and SFC1013 ==  To exchange data with the standard Hilscher driver functions xChannelIORead and xChannelIOWrite, the &#039;&#039;S7-PCI315&#039;&#039; prov...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ibhsoftec.com/en/index.php?title=S7-PCI315:Dualport_communication&amp;diff=670&amp;oldid=prev"/>
		<updated>2012-08-06T12:42:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; == Dualport communication with SFC1012 and SFC1013 ==  To exchange data with the standard Hilscher driver functions xChannelIORead and xChannelIOWrite, the &amp;#039;&amp;#039;S7-PCI315&amp;#039;&amp;#039; prov...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== Dualport communication with SFC1012 and SFC1013 ==&lt;br /&gt;
&lt;br /&gt;
To exchange data with the standard Hilscher driver functions xChannelIORead and xChannelIOWrite, the &amp;#039;&amp;#039;S7-PCI315&amp;#039;&amp;#039; provides fake process images for the driver. The driver functions can read/write from/to these images. With the SFCs 1012 and 1013 this data can be fetched/put from this areas and may be copied to any location within the PLC program.&lt;br /&gt;
&lt;br /&gt;
== SFC 1012 CIFXIN (Write data for xChannelIORead) ==&lt;br /&gt;
&lt;br /&gt;
CALL      SFC/FC 1012&lt;br /&gt;
{| &lt;br /&gt;
|style=&amp;quot;width: 6em&amp;quot;|RD_WR ||style=&amp;quot;width: 10em&amp;quot;| := TRUE ||style=&amp;quot;width: 14em&amp;quot;| //INPUT BOOL&lt;br /&gt;
|-&lt;br /&gt;
|OFFSET|| := MW 0 || //INPUT INT&lt;br /&gt;
|-&lt;br /&gt;
|LENGTH  || := MW 0  || //INPUT INT&lt;br /&gt;
|-&lt;br /&gt;
|DATA  || := P#M0.0 BYTE 1  || //INPUT ANY&lt;br /&gt;
|-&lt;br /&gt;
|RET_VAL || := MW 0 || //RESULT INT&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter !! Type of data !! Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 9em&amp;quot;|RD_WR ||style=&amp;quot;width: 7em&amp;quot;| BOOL ||style=&amp;quot;width: 40em&amp;quot;| FALSE to read data from the input area of the Dualport, TRUE to write. Normally TRUE.&lt;br /&gt;
|-&lt;br /&gt;
|OFFSET || INT || Offset in dualport input area.&lt;br /&gt;
|-&lt;br /&gt;
|LENGTH  || INT  || Length of array to read/write in the dualport.&lt;br /&gt;
|-&lt;br /&gt;
|DATA  || ANY  || Pointer to the data within the PLC.&lt;br /&gt;
|-&lt;br /&gt;
|RET_VAL || INT  || 0 on success, else a Siemens-typical error code.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SFC 1013 CIFXOUT (Read data from xChannelIOWrite) ==&lt;br /&gt;
&lt;br /&gt;
CALL      SFC/FC 1013&lt;br /&gt;
{| &lt;br /&gt;
|style=&amp;quot;width: 6em&amp;quot;|RD_WR ||style=&amp;quot;width: 10em&amp;quot;| := TRUE ||style=&amp;quot;width: 14em&amp;quot;| //INPUT BOOL&lt;br /&gt;
|-&lt;br /&gt;
|OFFSET|| := MW 0 || //INPUT INT&lt;br /&gt;
|-&lt;br /&gt;
|LENGTH  || := MW 0  || //INPUT INT&lt;br /&gt;
|-&lt;br /&gt;
|DATA  || := P#M0.0 BYTE 1  || //INPUT ANY&lt;br /&gt;
|-&lt;br /&gt;
|RET_VAL || := MW 0 || //RESULT INT&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter !! Type of data !! Description&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 9em&amp;quot;|RD_WR ||style=&amp;quot;width: 7em&amp;quot;| BOOL ||style=&amp;quot;width: 40em&amp;quot;| FALSE to read data from the output area of the dualport, TRUE to write. Normally FALSE.&lt;br /&gt;
|-&lt;br /&gt;
|OFFSET || INT || Offset in dualport output area.&lt;br /&gt;
|-&lt;br /&gt;
|LENGTH  || INT  || Length of array to read/write in the dualport.&lt;br /&gt;
|-&lt;br /&gt;
|DATA  || ANY  || Pointer to the data within the PLC.&lt;br /&gt;
|-&lt;br /&gt;
|RET_VAL || INT  || 0 on success, else a Siemens-typical error code.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Status word ==&lt;br /&gt;
&lt;br /&gt;
If successful the BR of the status word is set, OR, STA and /FC are zero.&lt;br /&gt;
&lt;br /&gt;
If failed the BR, OR, STA and /FC of the status word are zero.&lt;/div&gt;</summary>
		<author><name>Jonas</name></author>
	</entry>
</feed>