<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ethernet IP Archives | DMC, Inc.</title>
	<atom:link href="https://static.dmcinfo.com/blog/tag/ethernet-ip/feed/index.xml" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Thu, 11 Jun 2026 14:24:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>

<image>
	<url>https://static.dmcinfo.com/wp-content/uploads/2025/04/site-icon-150x150.png</url>
	<title>Ethernet IP Archives | DMC, Inc.</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Beckhoff PLC to PLC Communication Using EAP &#8211;  A Starter Guide</title>
		<link>https://static.dmcinfo.com/blog/17760/beckhoff-plc-to-plc-communication-using-eap-a-starter-guide/</link>
		
		<dc:creator><![CDATA[DMC]]></dc:creator>
		<pubDate>Tue, 07 Mar 2023 11:37:39 +0000</pubDate>
				<category><![CDATA[Beckhoff PLC]]></category>
		<category><![CDATA[Manufacturing Automation & Intelligence]]></category>
		<category><![CDATA[PLC]]></category>
		<category><![CDATA[Beckhoff]]></category>
		<category><![CDATA[EAP]]></category>
		<category><![CDATA[Ethernet IP]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[PLC Communication]]></category>
		<category><![CDATA[TwinCAT]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/17760/beckhoff-plc-to-plc-communication-using-eap-a-starter-guide/</guid>

					<description><![CDATA[<p>Beckhoff&#8217;s Industrial Personal Computers (IPCs) allow for easy configuration into a wide variety of PLC-to-PLC communications. Internal links between IPCs running TwinCAT XAR are the simplest and will be the first that this series of articles explore. This article demonstrates a holistic approach to establishing a connection between two&#160;Beckhoff IPCs. IPC Configuration: All PLCs mentioned [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/17760/beckhoff-plc-to-plc-communication-using-eap-a-starter-guide/">Beckhoff PLC to PLC Communication Using EAP &#8211;  A Starter Guide</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">Beckhoff&rsquo;s Industrial Personal Computers (IPCs) allow for easy configuration into a wide variety of PLC-to-PLC communications. Internal links between IPCs running TwinCAT XAR are the simplest and will be the first that this series of articles explore.</p>

<p class="wp-block-paragraph">This article demonstrates a holistic approach to establishing a connection between two&nbsp;Beckhoff IPCs.</p>

<h2 class="wp-block-heading">IPC Configuration:</h2>

<p class="wp-block-paragraph">All PLCs mentioned are the BECKHOFF C6017 model.</p>

<p class="wp-block-paragraph">In order to &ldquo;discover&rdquo; another PLC, the Beckhoff IPC will need to have its network and port configured to be visible across an ethernet or network connection. In this example I will be using a PLC that is networked to an internal server with 20 to&nbsp;40 other Beckhoff IPCs.</p>

<p class="wp-block-paragraph"><strong><u>Process:</u></strong></p>

<ol class="wp-block-list">
 <li>Connect the Beckhoff IPC to a monitor and peripherals to control the system. This specific model calls for a Display Port (DP) connection and any USB integrated keyboard and mouse.</li>
</ol>

<ol class="wp-block-list" start="2">
 <li>Sign into the IPC. If no configuration has been set, this will be Beckhoff&rsquo;s default login:
 <ol class="wp-block-list" style="list-style-type:lower-alpha;">
  <li>Username: ADMINISTRATOR</li>
  <li>Password: 1</li>
 </ol>
 </li>
</ol>

<ol class="wp-block-list" start="3">
 <li>If this is your first time accessing the PLC, click&nbsp;<a href="https://static.dmcinfo.com/latest-thinking/blog/id/10162/getting-started-with-a-beckhoff-plc-part-one--setup#Install%20Software" target="_blank">HERE</a>&nbsp;for a step-by-step setup process.

 <ol class="wp-block-list" style="list-style-type:lower-alpha;">
  <li><strong>IMPORTANT</strong>: make sure to follow step 8 for the appropriate firewall settings.</li>
 </ol>
 </li>
</ol>

<ol class="wp-block-list" start="4">
 <li>Like <a href="https://static.dmcinfo.com/latest-thinking/blog/id/10162/getting-started-with-a-beckhoff-plc-part-one--setup#Install RTE Driver">step 6</a> in the linked article, we need to install the Beckhoff Real-Time Ethernet Driver for our networked port.

 <ol class="wp-block-list" style="list-style-type:lower-alpha;">
  <li>Regardless of whether you use direct or networked ethernet communication, this driver will&nbsp;need to be installed on the appropriate ethernet port.</li>
 </ol>
 </li>
</ol>

<ol class="wp-block-list" start="5">
 <li>Navigate to&nbsp;<strong>C:\TwinCAT\3.1\System</strong>&nbsp;and run&nbsp;<strong>TcRteInstall.exe:</strong></li>
</ol>

<p class="wp-block-paragraph" style="text-align: center;"><strong><img decoding="async" alt="TcRteInstall_Location" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/TCREInstall.png"  /></strong></p>

<ol class="wp-block-list" start="6">
 <li>Install the driver onto the Networked port. For a networked connection, the IPv4 properties found in <a href="https://static.dmcinfo.com/latest-thinking/blog/id/10162/getting-started-with-a-beckhoff-plc-part-one--setup#Changing NIC Settings">step 2</a> of the linked article will need to include an appropriate IP address, subnet mask, and gateway to the local server.</li>
</ol>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="IPv4_Properties" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/IPv4-protocol.png"  /></p>

<p class="wp-block-paragraph" style="text-align: center;"><em>Note: if you as a user also have access to this internal network through local access or a VPN, you can program the PLC from this networked port and no longer need a physical connection to the IPC.</em></p>

<ol class="wp-block-list" start="7">
 <li>With the correct configuration of your IPv4&nbsp;network properties, you should be able to discover other devices on the server.</li>
</ol>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="IPC_Ping_Test" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Ping.png"  /></p>

<ol class="wp-block-list" start="8">
 <li>Next, we need to set the AMS NetId to partner with the expected service. This step will ensure that there are no conflicting communication paths between PLCs. At DMC&nbsp;these are typically set to the PLC IP address and extended with a .1.1, as seen below, to match the expected 6-byte TwinCAT network ID.</li>
</ol>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="AMS_NetID_set_1" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/ams1.png"  /><img decoding="async" alt="AMS_NetID_set_2" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/ams2.png"  /></p>

<h2 class="wp-block-heading">TwinCAT XAE&nbsp;Configuration:</h2>

<p class="wp-block-paragraph">We can now migrate to the TwinCAT XAE environment and begin&nbsp;creating EAP masters through the networked ports on the IPC, as shown above or by using the EL-6601 or EL-6614 hardware options, which extend the IPCs available ethernet ports.</p>

<p class="wp-block-paragraph" style="text-align: center;"><em>Note: the EL-6652 supports Ethernet/IP communication to other PLC platforms and will be covered in a future blog. &nbsp;&nbsp;&nbsp;</em></p>

<p class="wp-block-paragraph"><strong><u>TwinCAT XAE EtherCAT Automation Protocol (EAP) Setup:</u></strong></p>

<p class="wp-block-paragraph">For this tutorial, we will be using the EAP Master that is linked to an internal IPC network port.</p>

<ol class="wp-block-list">
 <li>Begin by right-clicking on Devices in the IO tree here:</li>
</ol>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="Add_a_EAP_Master" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/EAP1.png"  /></p>

<p class="wp-block-paragraph">&nbsp; &nbsp; &nbsp; &nbsp;2. Then, select the EAP Master:</p>

<p class="wp-block-paragraph" style="margin-left: 40px; text-align: center;"><img decoding="async" alt="EAP_Master_2" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Eap2.png"  /></p>

<p class="wp-block-paragraph">Once instantiated, the box is ready to set up publishers and subscribers. Publishers can &ldquo;publish&rdquo; or send data out across an EAP connection while subscribers will&nbsp;&ldquo;subscribe&rdquo; and listen for that data. These can be instantiated by right-clicking on the EAP master and adding a new device.</p>

<p class="wp-block-paragraph"><u><strong>Publishers:</strong></u></p>

<p class="wp-block-paragraph">There are a few ways to set up the communication bridge. At DMC, the two most common are the UDP/IP Unicast and&nbsp;the RT-Ethernet Unicast with the AMS NetId. Unless you are using multicast, it will be one box per PLC to PLC connection.</p>

<ol class="wp-block-list">
 <li>To publish with UDP, specify the Unicast destination which is the Networked IP address of the desired IPC and the default gateway hosting the server traffic.</li>
</ol>

<p class="wp-block-paragraph">&nbsp;</p>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="UDP_Unicast" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Casting1.png"  /></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">2. To publish with RT-Ethernet, set the AMS NetId of the subscriber. This requires the two networked IPCs to be on the same server and discoverable by one another.</p>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="RT_Casting" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/RTCast2_1.png"  /></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">3. Regardless of your chosen method, you can now instantiate networked variables to publish from your boxes. To do this, right click on the publisher box and select &apos;add new item&apos;. Then, configure the data you need to send.</p>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="Insert_Network_Variable" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Network-Variable.png"  /></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">4.Next, link the instantiated publisher variable data to the PLC variable you wish to send out within the outputs sub-selection on the publisher box:</p>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="Data_Link" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Linking.png"  /></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">5.Continue this process for all the variables you wish to use in EAP communication, and then activate the configuration to change the memory space.</p>

<p class="wp-block-paragraph"><u><b>Subscribers:</b></u></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">1.Similar to publishers on an EAP Master, add a new item and select Network Variable Subscriber.</p>

<p class="wp-block-paragraph" style="margin-left: 40px;">2. There are a couple of options for adding subscriber variables. The easiest is to browse for computers. This requires the RT-Ethernet setup on the publisher. To do so, right click on the subscriber box and select &apos;add new item&apos;. Then, select &apos;browse for computer.&apos;</p>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="Import_Network_Variable" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Networkvariable2.png"  /></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">3. Add the appropriate dialog route for your search, and establish the connection.</p>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="Connect_to_the_PLC" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/ConnectToPLC.png"  /></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">4. After establishing a connection, the published variables will populate to the network variables list.</p>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="Select_A_Variable" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/SelectVariable.png"  /></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">5. Select the variables you wish to subscribe to, and link them to subscriber IPC inputs to use in logic. Note that the quality tag can be used as a heartbeat monitor and that a value of 0 is a successful connection. Activate the configuration and check to see if the connection is present.</p>

<p class="wp-block-paragraph" style="text-align: center;"><img decoding="async" alt="Linked_Subscriber" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/LinkedVariable.png"  /></p>

<p class="wp-block-paragraph" style="margin-left: 40px;">6. For the UDP Unicast Publisher, set up the subscriber to receive from any publisher because the publisher is providing the IPC pointing. Then, instead of browsing&nbsp;for a computer, use &apos;create a new variable,&apos; and give it the definition the publisher is providing whether that be INT, BOOL, or any other data type.</p>

<p class="wp-block-paragraph" style="margin-left: 40px;">7. Next, in the subscribe tab of the new variable, provide the expected publisher variable ID and link like in step 5. This will also come with a quality check for the connection state.</p>

<p class="wp-block-paragraph">Now that the publisher and subscriber have achieved a connection, the networked variables and connection quality are available to the subscriber PLC to use in any desired logic.</p>

<p class="wp-block-paragraph"><strong>Learn more about DMC&apos;s <a href="https://static.dmcinfo.com/services/manufacturing-automation-and-intelligence/plc-programming/beckhoff-and-twincat-3-programming">Beckhoff and TwinCAT Programming</a> expertise and <a href="https://static.dmcinfo.com/contact">contact us</a> for your next project.&nbsp;</strong></p>
<p>The post <a href="https://static.dmcinfo.com/blog/17760/beckhoff-plc-to-plc-communication-using-eap-a-starter-guide/">Beckhoff PLC to PLC Communication Using EAP &#8211;  A Starter Guide</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
