<?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>Aaron Shoemaker, Author at DMC, Inc.</title>
	<atom:link href="https://static.dmcinfo.com/blog/author/aarons/feed/index.xml" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Fri, 04 Sep 2026 15:36:49 +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>Aaron Shoemaker, Author at DMC, Inc.</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Getting Started with FactoryTalk Logix Echo</title>
		<link>https://static.dmcinfo.com/blog/15859/getting-started-with-factorytalk-logix-echo/</link>
		
		<dc:creator><![CDATA[Aaron Shoemaker]]></dc:creator>
		<pubDate>Fri, 08 Nov 2024 15:05:12 +0000</pubDate>
				<category><![CDATA[PLC]]></category>
		<category><![CDATA[FactoryTalk Logix]]></category>
		<category><![CDATA[Rockwell Automation]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/15859/getting-started-with-factorytalk-logix-echo/</guid>

					<description><![CDATA[<p>As system integrators, one of DMC’s primary goals is to be as efficient as possible when developing and deploying systems for our clients. The old-school method of sitting beside a machine to perform PLC testing is effective but inefficient. Studio 5000 Logix Emulate took the first steps towards moving us away from needing a fully [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/15859/getting-started-with-factorytalk-logix-echo/">Getting Started with FactoryTalk Logix Echo</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">As system integrators, one of DMC’s primary goals is to be as efficient as possible when developing and deploying systems for our clients. The old-school method of sitting beside a machine to perform PLC testing is effective but inefficient. <a href="https://static.dmcinfo.com/latest-thinking/blog/id/10141/emulate-a-studio-5000-controller-and-connect-to-a-factorytalk-view-me-project" target="_blank">Studio 5000 Logix Emulate</a> took the first steps towards moving us away from needing a fully built machine to test our code against, but it had limitations that often meant you still needed to test against real hardware.</p>



<p class="wp-block-paragraph">Enter FactoryTalk Logix Echo. Released by Rockwell Automation in 2021, Logix Echo is a <strong>full-fidelity PLC emulation tool</strong> that allows you to directly download and test any modern Rockwell PLC project – no controller or I/O changes required! This emulator behaves exactly as if it were a physical PLC sitting on your desk, which allows for significant testing of your PLC logic before you ever connect to the real machine. In cases where your project necessitates some form of digital twin – whether it be minimal I/O simulation or a full-fidelity machine model – tools like Emulate3D and Simulink can integrate with Logix Echo to provide full virtual commissioning functionality.</p>



<p class="wp-block-paragraph">At DMC, we make heavy use of FactoryTalk Logix Echo every day to allow Automation engineers in any of our offices to program and test PLC code before deployment for our customers. To do this, we set up a centralized Logix Echo server that many users can access at once. This blog will walk through the process of setting up a FactoryTalk Logix Echo server, creating an emulated PLC, downloading PLC programs, and connecting your simulated PLC to external Rockwell applications.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Logix-Echo-Server-Topology.png" alt="Using FactoryTalk Logix Echo on a server can support lots of developers at once."/></figure>



<p class="wp-block-paragraph"><p style="text-align: center;"><small><cite>Using FactoryTalk Logix Echo on a server can support lots of developers at once.</cite></small></p></p>



<h2 id="h-step-1-set-up-your-server" class="wp-block-heading">Step 1: Set Up Your Server</h2>



<h3 id="h-server-performance" class="wp-block-heading">Server Performance</h3>



<p class="wp-block-paragraph">Before you get started, make sure you have the right IT hardware for the job. From testing, we’ve found that each emulated PLC likes to take up <strong>one entire processor core and around 1GB of memory</strong> on the host computer. Excessive numbers of emulated PLCs on an undersized server can quickly lead to performance issues or cause some PLCs to lose their onboard programs. At DMC, we got around this problem by using a virtualized server with the following critical stats:</p>



<ul class="wp-block-list">
<li>Windows Server 2022</li>



<li>Intel Xeon processors @ 2.30 GHz</li>



<li>36 GB RAM</li>



<li>24 (virtual) processor cores</li>
</ul>



<p class="wp-block-paragraph">These stats work very well for us right now, but having a virtual server allows us to quickly add or remove processing resources as necessary to keep up with our customers’ project needs.</p>



<h3 id="h-network-provisioning" class="wp-block-heading">Network Provisioning</h3>



<p class="wp-block-paragraph">Since your Logix Echo server will be hosting many PLCs at once, it’s likely you’ll want to assign a unique IP address to each PLC. Fortunately, there’s a way to do this without running bundles and bundles of Ethernet cable to the same server! We’ve taken advantage of Windows’ ability to assign multiple IP addresses to the same physical Ethernet port on a PC.</p>



<p class="wp-block-paragraph">To do this, open the adapter properties for your (virtual) server’s network adapter, navigate to the IPv4 settings, and click the “Advanced” button on the bottom-right corner of the pop-up window. The “Advanced” pop-up window that opens allows you to add an arbitrary number of IP addresses. The server at DMC has over 10 IP addresses all running off the same physical Ethernet connection! This gives us a large pool of IP addresses to use when spinning up a brand-new Logix Echo PLC.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/IP-Address-Setup.png" alt="Open the adapter properties for your virtual server’s network adapter"/></figure>



<p class="wp-block-paragraph">Once you have your server configured properly, install FactoryTalk Logix Echo using Rockwell’s install wizard.</p>



<h2 id="h-step-2-add-a-controller-to-your-server" class="wp-block-heading">Step 2: Add a Controller to Your Server</h2>



<p class="wp-block-paragraph">Now that we’ve got Logix Echo installed, it’s time to go ahead and set up our first emulated PLC! To do this, we’ll use the FactoryTalk Logix Echo Dashboard::</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Launch-FTLE.png" alt="Use the FactoryTalk Logix Echo Dashboard to set up your first emulated PLC using the "/></figure>



<p class="wp-block-paragraph">The left-hand toolbar on the Logix Echo dashboard shows a list of all emulated PLCs that have been created on the server. Emulated ControlLogix controllers are hosted in a virtual chassis, just like a physical ControlLogix. Emulated CompactLogix controllers do not belong to a chassis.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/FactoryTalk-Logix-Echo-Dashboard.png" alt="FactoryTalk Logix Echo Dashboard"/></figure>



<p class="wp-block-paragraph">To add a new controller (or chassis) to your Logix Echo server, right-click in any white space in the Devices toolbar or press the hamburger button on the top right-hand corner of the toolbar.</p>



<p class="wp-block-paragraph">Choosing “Add controller” will open a configuration pop-up window. Here, you will pick the controller type and firmware version, give your controller a name, and assign it to a chassis slot (if it’s a ControlLogix).</p>



<p class="wp-block-paragraph">Note that at the time this blog was published, only the following PLCs are available for emulation with Logix Echo:</p>



<ul class="wp-block-list">
<li>ControlLogix 5580 controllers
 
 
<ul class="wp-block-list">
<li>v33 through v36</li>
</ul>
</li>



<li>GuardLogix 5580 controllers
 
 
<ul class="wp-block-list">
<li>v35 and v36</li>
</ul>
</li>



<li>CompactLogix and Compact GuardLogix 5380 controllers
 
 
<ul class="wp-block-list">
<li>v36 only</li>
</ul>
</li>
</ul>



<p class="wp-block-paragraph">Before hitting “Add,” the last step is to assign an IP address to your controller. If you’ve assigned lots of IP addresses to your Echo server using the steps above, they will all appear in the drop-down menu here.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Set-Up-a-Logix-Echo-Controller.png" alt="ControlLogix 5580 Emulator"/></figure>



<p class="wp-block-paragraph">Once your controller has been added to the server, you can always go back and edit its properties by double-clicking on the device in the “Devices” toolbar on the left-hand side. This will open a status page on the main window of the dashboard where you can:</p>



<ul class="wp-block-list">
<li>Cycle controller “power”</li>



<li>Change the controller’s name and IP address</li>



<li>Change the assigned chassis or slot (for ControlLogix controllers only)</li>



<li>Attach or detach a simulated SD card to your controller
 
 
<ul class="wp-block-list">
<li><em>Yes, really! </em>Logix Echo creates a folder on your server that emulates file storage on an SD card connected to a physical controller – you use all the functions of a real SD card in your emulated PLC environment.</li>



<li>The server storage location for the emulated SD card is in<br>
  <code>C:\ProgramData\Rockwell Software\FactoryTalk Logix Echo\Controllers\&lt;your_controller&gt;\Root\sd</code></li>
</ul>
</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/PLC-Status-Window.png" alt="FactoryTalk Logic Echo Dashboard"/></figure>



<h2 id="h-step-3-connect-to-your-echo-plc-and-get-programming" class="wp-block-heading">Step 3 – Connect to Your Echo PLC and Get Programming!</h2>



<p class="wp-block-paragraph">The next series of steps should be familiar to any Rockwell PLC programmer – since your emulated PLC is running and has an IP address, you should be able to browse it using FactoryTalk Linx. To make things easy for myself, I’ve created a whole Ethernet driver in FactoryTalk Linx specifically to browse for Logix Echo PLCs on DMC’s server. Keeping the Logix Echo PLCs segregated from physical ones in my Linx browser helps me remember what I’m connected to.</p>



<p class="wp-block-paragraph">Once your emulated PLC shows up in FactoryTalk Linx, you’ll notice that it will have a model number of <code>9310-WED300ENT</code>. Don’t panic! You can still download your ACD file without needing to change the controller type in your project – just make sure the firmware version of your project matches the firmware running on your Logix Echo PLC.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/FactoryTalk-Linx-Setup.png" alt="FactoryTalk Linx Network Browser and Configuration Driver"/></figure>



<p class="wp-block-paragraph">Once you confirm you can successfully locate your PLC in FactoryTalk Linx, you should be able to perform the following Linx-based tasks:</p>



<ul class="wp-block-list">
<li>Connect and download an ACD file using FactoryTalk Logix Designer</li>



<li>Create a shortcut to the PLC inside a FactoryTalk View ME or SE application</li>



<li>Expose PLC tags to third-party software via OPC-UA using FactoryTalk Linx Gateway</li>



<li>Configure scheduled PLC program backups using FactoryTalk AssetCentre</li>
</ul>



<p class="wp-block-paragraph">We’ve used all these functions – plus plenty more advanced Logix Echo tricks – to continue to deliver quality solutions for customers.</p>



<div class="wp-block-group alignwide has-custom-light-blue-background-color has-background is-layout-flow wp-container-core-group-is-layout-dbd34961 wp-block-group-is-layout-flow" style="border-radius:20px;margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0">
<div class="wp-block-columns alignwide are-vertically-aligned-center is-layout-flex wp-container-core-columns-is-layout-43efaee5 wp-block-columns-is-layout-flex" style="padding-right:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60)">
<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:85%">
<h3 class="wp-block-heading has-text-align-left" id="h-have-an-upcoming-project-dmc-can-help-you-take-the-next-step"><strong>Test Rockwell PLC Code Before It Reaches the Machine</strong></h3>



<p class="has-text-align-left wp-block-paragraph" id="h-need-help-turning-ideas-into-outcomes-automation-project-to-the-next-level-contact-us-today-to-learn-more-about-our-solutions-and-how-we-can-help-you-achieve-your-goals">Explore our <a href="https://static.dmcinfo.com/services/manufacturing-automation-and-intelligence/" data-type="page" data-id="420">Automation</a> expertise in <a href="https://static.dmcinfo.com/services/manufacturing-automation-and-intelligence/hmi-and-scada-programming/rockwell-factorytalk-programming/factorytalk-optix-programming/" data-type="page" data-id="44850">FactoryTalk</a> Logix Echo for full-fidelity PLC emulation, digital twins, and virtual commissioning.</p>
</div>



<div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:15%">
<div class="wp-block-buttons is-horizontal is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-2236275c wp-block-buttons-is-layout-flex">
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link has-base-contrast-color has-text-color has-link-color wp-element-button" href="https://static.dmcinfo.com/contact/">Contact Us</a></div>
</div>
</div>
</div>
</div>
<p>The post <a href="https://static.dmcinfo.com/blog/15859/getting-started-with-factorytalk-logix-echo/">Getting Started with FactoryTalk Logix Echo</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Integrating a Third-Party Encoder as Feedback for Position Control of a Siemens G120C VFD</title>
		<link>https://static.dmcinfo.com/blog/18659/integrating-a-third-party-encoder-as-feedback-for-position-control-of-a-siemens-g120c-vfd/</link>
		
		<dc:creator><![CDATA[Aaron Shoemaker]]></dc:creator>
		<pubDate>Mon, 21 Mar 2022 17:14:25 +0000</pubDate>
				<category><![CDATA[Manufacturing Automation & Intelligence]]></category>
		<category><![CDATA[Siemens]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/18659/integrating-a-third-party-encoder-as-feedback-for-position-control-of-a-siemens-g120c-vfd/</guid>

					<description><![CDATA[<p>Closed-loop position control in TIA Portal is typically achieved using tech objects. While tech objects are a great way to quickly configure and commission servo axes, they require hardware that is Profinet or Profibus compatible and capable of communicating via a specific set of Telegrams.&#160; Recently, a&#160;customer asked me to set up a closed-loop position [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/18659/integrating-a-third-party-encoder-as-feedback-for-position-control-of-a-siemens-g120c-vfd/">Integrating a Third-Party Encoder as Feedback for Position Control of a Siemens G120C VFD</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">Closed-loop position control in TIA Portal is typically achieved using tech objects. While tech objects are a great way to quickly configure and commission servo axes, they require hardware that is Profinet or Profibus compatible and capable of communicating via a specific set of Telegrams.&nbsp;</p>

<p class="wp-block-paragraph">Recently, a&nbsp;customer asked me to set up a closed-loop position axis in TIA Portal using an S7-1500 PLC, a G120C VFD, and an external encoder. Patrick Smith wrote a <a href="https://static.dmcinfo.com/latest-thinking/blog/id/9405/relative-gearing-to-an-external-encoder-with-a-siemens-1500-plc">great blog</a> explaining how to gear a drive to an external encoder using native Siemens hardware. For me, however,&nbsp;I needed a more generic solution because my encoder communicates over IO-Link instead of Profinet or Profibus. Furthermore, the G120C drive I was using natively supported&nbsp;speed axis control via Telegram 1, but did&nbsp;not support any of the more complex Telegrams required for position control.&nbsp;</p>

<p class="wp-block-paragraph">To interface my setup with a Position Axis tech object, I repackaged the drive and encoder data into a simulated Telegram that the Siemens tech object could understand. I decided to use Telegram 3:&nbsp;which is used to package status info and control setpoints for one drive and one encoder. You can simulate Telegram 3 using the following steps:</p>

<h2 class="wp-block-heading">Step 1: Create Servo Organization Blocks</h2>

<p class="wp-block-paragraph">The servo tech object is called in TIA Portal using an organization block (OB) called &ldquo;MC-Servo.&rdquo;&nbsp;All the logic required to simulate the Telegram communication should be placed in &ldquo;MC-PreServo&rdquo; and &ldquo;MC-PostServo&rdquo; (OBs). Doing so ensures that the MC-Servo OB has all the data it needs from your hardware to operate the tech object logic correctly.&nbsp;</p>

<p class="wp-block-paragraph">Select &ldquo;Add new block&rdquo; in the project tree, select the MC-Servo block, and press &ldquo;OK.&rdquo; We&rsquo;ll repeat this process to add the &ldquo;MC-PreServo&rdquo; and &ldquo;MC-PostServo&rdquo; OBs.&nbsp;</p>

<figure class="wp-block-image"><img decoding="async" alt="siemens telegram simulation in TIA Portal" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Add_OBs.png"  /></figure>

<h2 class="wp-block-heading"><br />
Step 2: Create a Virtual Telegram</h2>

<p class="wp-block-paragraph">Next, we need to set up a data block where our virtual Telegram will be stored. Create a new data block called &ldquo;dbServo&rdquo; and add a new object of type &ldquo;PD_TEL3.&rdquo; Portal will automatically generate the data structures required for Telegram 3 communication.</p>

<p class="wp-block-paragraph"><br />
<figure class="wp-block-image"><img decoding="async" alt="siemens telegram simulation in TIA Portal" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Add_TEL3.png"  /></figure><br />
&nbsp;</p>

<h2 class="wp-block-heading">Step 3: Set up Telegram data in &ldquo;MC-PreServo&rdquo;</h2>

<p class="wp-block-paragraph"><u><strong>Simulate Sign-of-Life Signals</strong></u></p>

<p class="wp-block-paragraph">The Telegram 3 communication protocol maintains a &ldquo;sign-of-life&rdquo; signature between master and slave devices. The Profinet master device uses 4 bits in Status Word 2 (STW2) of the Telegram to count from 0 to 15 cyclically. The slave device simply echoes those bits back to the master to prove that the communication between these devices is active.&nbsp;</p>

<p class="wp-block-paragraph">Because our Telegram is virtual, we need to simulate the sign-of-life&nbsp;communication between its input and output structures. This logic should exist in the &ldquo;MC-PreServo&rdquo; OB, so our tech object doesn&rsquo;t throw a communication error when it is called in &ldquo;MC-Servo.&rdquo;&nbsp;</p>

<p class="wp-block-paragraph">We can simulate the sign-of-life signals by implementing a counter that executes continuously and is reset back to 0 once it reaches a value of 15. We&rsquo;ll split the value of the counter into binary representation by addressing individual bits of the integer, from %X0 to %X3.&nbsp;</p>

<p class="wp-block-paragraph">These counter bits will be used to control both the master and slave sign-of-life bits in our virtual Telegram, so it will look like our virtual slave device is always responding to its virtual master:</p>

<p class="wp-block-paragraph"><figure class="wp-block-image"><img decoding="async" alt="siemens telegram simulation in TIA Portal" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/SignOfLife.png"  /></figure><br />
<figure class="wp-block-image"><img decoding="async" alt="siemens telegram simulation in TIA Portal" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/SignOfLife2.png"  /></figure></p>

<p class="wp-block-paragraph"><u><strong>Configure Encoder Settings</strong></u></p>

<p class="wp-block-paragraph">For the tech object to correctly read data from the encoder, the master and slave &ldquo;devices&rdquo; in our virtual Telegram must agree on the type of encoder used. The following rung ensures both the input and output structures of our Telegram recognize the encoder settings that we will eventually set up in our tech object:</p>

<p class="wp-block-paragraph"><figure class="wp-block-image"><img decoding="async" alt="siemens telegram simulation in TIA Portal" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/EncoderSettings.png"  /></figure><br />
&nbsp;</p>

<p class="wp-block-paragraph"><u><strong>Configure VFD Telegram tags</strong></u></p>

<p class="wp-block-paragraph">In our project&rsquo;s PLC tags, we&rsquo;ll make two tags that correspond to the Telegram 1 data being passed between the PLC and our G120C. These Send and Receive tags should be of datatypes &ldquo;PD_TEL1_IN&rdquo; and &ldquo;PD_TEL1_OUT,&rdquo;&nbsp;respectively, and should have the same address as the G120C&rsquo;s Telegram as shown in the hardware configuration:</p>

<figure class="wp-block-image"><img decoding="async" alt="siemens telegram simulation in TIA Portal" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/TEL1Configuration.png"  /></figure>

<figure class="wp-block-image"><img decoding="async" alt="siemens telegram simulation in TIA Portal" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/TEL1Configuration2.png"  /></figure>

<p class="wp-block-paragraph"><u><strong>Move Encoder and Drive Data into Telegram</strong></u></p>

<p class="wp-block-paragraph">Here&rsquo;s where the magic happens! We need to take the incoming Telegram data from the G120C and external encoder and pack it into the input structure of our virtual Telegram. In Telegram 3, the velocity feedback is stored in &ldquo;NIST_B&rdquo; while the encoder position is stored in &ldquo;G1_XIST1.&rdquo;</p>

<p class="wp-block-paragraph">Please note that both of these variables are double words (DWord) in Telegram 3. If your hardware returns data in a different numerical format, you may need to do some data manipulation to make sure your feedback values are correctly represented in the tech object.</p>

<p class="wp-block-paragraph">In my project, the external encoder already sent data in DWord format so I could move that directly into the virtual Telegram. The G120C was a little trickier &ndash; since Telegram 1 returns velocity feedback as a single Word, I had to do some bit-shifting to pack the data into the Telegram input in DWord format.</p>

<figure class="wp-block-image"><img decoding="async" alt="" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Add_Data.png"  /></figure>

<p class="wp-block-paragraph"><u><strong>Enable Drive Operation</strong></u></p>

<p class="wp-block-paragraph">The final setup step required in the &ldquo;MC-PreServo&rdquo; OB is to energize all the status bits that enable the drive to run. If the tech object does not receive all these status bits correctly, it will not be possible to operate the axis.</p>

<figure class="wp-block-image"><img decoding="async" alt="siemens telegram simulation in TIA Portal" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/EnableDrive.png"  /></figure>

<h2 class="wp-block-heading">Step 4: Unpack Telegram Data in &ldquo;MC-PostServo&rdquo;</h2>

<p class="wp-block-paragraph">Once our tech object has been called in the PLC program, we need to send our newly calculated speed setpoint and control bits to our physical drive. The hardware outputs required will depend on the make and model of your drive. However, the rungs below demonstrate the basic process of unpacking Telegram 3 data.</p>

<p class="wp-block-paragraph">The first rung sends the status word from the virtual tech object directly to the G120C. Since the first status word (STW1) structure is the same between Telegram 1 and Telegram 3, a direct MOVE command worked just fine here.</p>

<p class="wp-block-paragraph">When sending setpoint data, just remember &ndash; depending on how your drive interprets setpoints &ndash; you may need to do some operation to get the Telegram data to a format that the drive can understand. In my case, the drive expects the setpoint as a single Word, but the virtual tech object outputs a speed command in DWord format.&nbsp;</p>

<p class="wp-block-paragraph">In order to maintain as much data resolution as possible, I normalized the DWord speed command as a percentage of its maximum possible value in DWord format, then, I multiplied this normalized value by the maximum possible Word value to get the appropriate speed command for my drive.</p>

<figure class="wp-block-image"><img decoding="async" alt="siemens telegram simulation in TIA Portal" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/UnpackData_1.png"  /></figure>

<h2 class="wp-block-heading">Step 5: Add a Position Axis Tech Object to the Project</h2>

<p class="wp-block-paragraph">Now that all of our signals into and out of our virtual Telegram have been taken care of, we&rsquo;re ready to add the position axis tech object to our Portal project. In the Project Tree of TIA Portal, find the Tech Objects folder and select &ldquo;Add New Object.&rdquo; Then, select a Positioning Axis object, give it a name, and press &ldquo;OK.&rdquo;&nbsp;</p>

<p class="wp-block-paragraph"><figure class="wp-block-image"><img decoding="async" alt="siemens telegram simulation in TIA Portal" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/AddTechObject.png"  /></figure><br />
&nbsp;<br />
In the Configuration window of your new tech object, navigate to the Drive hardware interface page. Change the data connection from &ldquo;Drive&rdquo; to &ldquo;Data block&rdquo; &ndash; this setting is what allows us to connect the tech object to our virtual Telegram. We&rsquo;ll point our data block connection to our virtual Telegram, and we&rsquo;re done!</p>

<p class="wp-block-paragraph">Portal automatically assumes that the encoder connection will match the configuration of the drive connection, so it already set up encoder parameters for us. Just be sure to check that the encoder type in the tech object matches your physical hardware. From this point, you can configure the rest of the tech object as normal.&nbsp;</p>

<figure class="wp-block-image"><img decoding="async" alt="siemens telegram simulation in TIA Portal" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/ConfigureDrive.png"  /></figure>

<p class="wp-block-paragraph"><strong>Learn more about DMC&rsquo;s <a href="https://static.dmcinfo.com/about/partners/siemens-solution-partner">Siemens Solutions Partnership</a> 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/18659/integrating-a-third-party-encoder-as-feedback-for-position-control-of-a-siemens-g120c-vfd/">Integrating a Third-Party Encoder as Feedback for Position Control of a Siemens G120C VFD</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
