<?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>Blake Strebel, Author at DMC, Inc.</title>
	<atom:link href="https://static.dmcinfo.com/blog/author/blakes/feed/index.xml" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Thu, 02 Jul 2026 19:21:17 +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>Blake Strebel, Author at DMC, Inc.</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Getting Started with WinCC Unified</title>
		<link>https://static.dmcinfo.com/blog/18578/getting-started-with-wincc-unified/</link>
		
		<dc:creator><![CDATA[Blake Strebel]]></dc:creator>
		<pubDate>Wed, 27 Apr 2022 09:59:09 +0000</pubDate>
				<category><![CDATA[HMI and SCADA]]></category>
		<category><![CDATA[Manufacturing Automation & Intelligence]]></category>
		<category><![CDATA[Siemens]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/18578/getting-started-with-wincc-unified/</guid>

					<description><![CDATA[<p>WinCC Unified is Siemens newest visualization system, offering a flexible&#160;solution for a wide range of applications.&#160; As a web-based platform, this means that WinCC Unified&#8217;s&#160;runtime environment can be accessed via any web browser, and clients do not need any special software. Additionally, the runtime environment can run on any system, from a simple machine control [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/18578/getting-started-with-wincc-unified/">Getting Started with WinCC Unified</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">WinCC Unified is Siemens newest visualization system, offering a flexible&nbsp;solution for a wide range of applications.&nbsp;</p>



<p class="wp-block-paragraph">As a web-based platform, this means that WinCC Unified&#8217;s&nbsp;runtime environment can be accessed via any web browser, and clients do not need any special software. Additionally, the runtime environment can run on any system, from a simple machine control panel to a fully featured PC based solution.&nbsp;</p>



<p class="wp-block-paragraph">Consequently, it provides a modern approach to machine visualization and will eventually replace many of Siemens existing HMI/SCADA solutions.</p>



<p class="wp-block-paragraph">DMC is excited to have completed several projects utilizing WinCC Unified. This blog is the first of several to come, and it will outline tips and tricks from our recent experiences to serve as a “Getting Started” guide for WinCC Unified development.&nbsp;</p>



<p class="wp-block-paragraph">The instructions below were generated using WinCC Unified V17 on a Windows 10 machine. There may be slight differences with different versions.</p>



<h2 id="h-hardware-configuration" class="wp-block-heading">Hardware Configuration</h2>



<p class="wp-block-paragraph">After installing Unified and creating your project, the first step will be to add the relevant devices to your hardware configuration. This example uses a SIMATIC PC Station running Unified PC, which is communicating with a Siemens S7-1516 CPU over Profinet.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/getting-started-with-wincc-unified-1-large.png" alt="Siemens WinCC Unified "/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/getting-started-with-wincc-unified-2-large.png" alt="Siemens WinCC Unified "/></figure>



<h2 id="h-screens-and-navigation" class="wp-block-heading">Screens and Navigation</h2>



<p class="wp-block-paragraph">WinCC Unified facilitates the use of nested screen windows,&nbsp;enabling the user to create individual screen components and to reuse them in various arrangements.&nbsp;</p>



<p class="wp-block-paragraph">For this example, we’ll use a basic layout including a header, navigation, and content panes. This can be adapted depending on the requirements of a given system.&nbsp;</p>



<p class="wp-block-paragraph">To define the window structure, we create a base screen. This screen includes the individual Screen Window objects for the Header, Navigation, and Content sections of the page. Each Screen Window object is then linked to a separate content screen&nbsp;as shown in the figure below:<br>
&nbsp;<br>
</p>



<p class="wp-block-paragraph">Buttons on the navigation pane are then used to update the active content screen. This provides the basic framework for the project.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/getting-started-with-wincc-unified-4-large.png" alt="Siemens WinCC Unified "/></figure>



<h2 id="h-wincc-unified-configuration" class="wp-block-heading">WinCC Unified Configuration</h2>



<p class="wp-block-paragraph">Before deploying and testing your project for the first time, WinCC Unified requires a few configurations. These steps should be similar whether you’re deploying locally for testing or on your final runtime environment. First, run the WinCC Unified Configuration tool. If required, create a new certificate.&nbsp;</p>



<p class="wp-block-paragraph"><br>
&nbsp;<br>
Unless you’re using an external UMC server, select the option to use the configuration downloaded via TIA portal.&nbsp;<br>
&nbsp;<br>
</p>



<p class="wp-block-paragraph">For most applications, the remaining settings can be left as defaults. Although we do recommend that you activate secure download and assign a password before applying the settings.</p>



<h2 id="h-user-management" class="wp-block-heading">User Management</h2>



<p class="wp-block-paragraph">If you followed the steps above to define the user management configuration in TIA Portal, you’ll need to create at least one user before deploying. First, double-check the runtime settings on the Panel to ensure it’s configured to use local user management in the project.<br> &nbsp;<br></p>



<p class="wp-block-paragraph">Then, navigate to the project security settings and create a new local user with your preferred credentials. At least one user must have the ‘HMI Administrator’ role selected. These settings will be deployed to the runtime environment after downloading the project.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/SWCCU-22.png" alt="Siemens WinCC Unified "/></figure>



<h2 id="h-downloading-project" class="wp-block-heading">Downloading Project</h2>



<p class="wp-block-paragraph">When you’re ready to test, download to the runtime environment from TIA Portal. On the initial download,&nbsp;<u>uncheck</u> the selection to keep the current user administration. This will ensure the new user data is transferred.<br> &nbsp;&nbsp;<br></p>



<p class="wp-block-paragraph">After the download, the new project should appear in the project list in SIMATIC Runtime Manager. This tool is used to start and stop projects on the Runtime Server and can also be used to access various administrative settings, including auto-starting a particular project after a power cycle.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/getting-started-with-wincc-unified-10-large.png" alt="Siemens WinCC Unified "/></figure>



<h2 id="h-accessing-runtime" class="wp-block-heading">Accessing Runtime</h2>



<p class="wp-block-paragraph">After the project is downloaded and running, it can be accessed via web browser. Open a browser and navigate to the associated server address. In this case, the server is running on my local host. The project can be accessed via the home screen or by navigating directly to “server/WebRH.”<br> <br></p>



<p class="wp-block-paragraph">Log in using the credentials you defined in the previous step, and make sure you test that your project is functioning as desired. Congratulations, you did it!</p>



<h2 id="h-nbsp-troubleshooting" class="wp-block-heading"><br>
&nbsp;<br>
Troubleshooting</h2>



<p class="wp-block-paragraph">If you’re having issues accessing the runtime environment following deployment after completing the steps outlined above, here are a few additional troubleshooting tips.</p>



<p class="wp-block-paragraph"><strong>Enable Windows Features</strong></p>



<p class="wp-block-paragraph">WinCC Unified runtime utilizes several dependencies, which should be installed as part of the installation process. Check that the relevant features are enabled by following this <a href="https://support.industry.siemens.com/cs/document/109773589/which-windows-functions-must-be-activated-in-order-to-be-able-to-install-simatic-wincc-unified-?dti=0&amp;lc=en-WW" type="link" id="https://support.industry.siemens.com/cs/document/109773589/which-windows-functions-must-be-activated-in-order-to-be-able-to-install-simatic-wincc-unified-?dti=0&amp;lc=en-WW">Siemens support note</a>.</p>



<p class="wp-block-paragraph"><strong>Certificate Installation</strong></p>



<p class="wp-block-paragraph">A root certificate is used to allow users to establish a secure connection to the WinCC Unified runtime environment. To enable connections, this certificate needs to be installed and configured as a trusted authority. The specific steps vary, depending on the browser being utilized, and&nbsp;Siemens provides some additional details in the <a href="https://support.industry.siemens.com/cs/document/109773780/simatic-wincc-wincc-engineering-v16-runtime-unified-?dti=0&amp;lc=en-WW" target="_blank">runtime manual.&nbsp;</a></p>



<p class="wp-block-paragraph"><strong>DMC has been recognized as a <a href="https://static.dmcinfo.com/about/partners/siemens-solution-partner">Siemens WinCC Specialist</a>. Learn more about our <a href="https://static.dmcinfo.com/services/manufacturing-automation-and-intelligence/hmi-and-scada-programming/siemens-simatic-wincc-programming">WinCC expertise</a> and <a href="https://static.dmcinfo.com/contact">contact us</a> for your next project.&nbsp;</strong><br>
&nbsp;</p>
<p>The post <a href="https://static.dmcinfo.com/blog/18578/getting-started-with-wincc-unified/">Getting Started with WinCC Unified</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Sending Emails with a Siemens 1500 PLC</title>
		<link>https://static.dmcinfo.com/blog/21143/sending-emails-with-a-siemens-1500-plc/</link>
		
		<dc:creator><![CDATA[Blake Strebel]]></dc:creator>
		<pubDate>Tue, 13 Aug 2019 13:25:13 +0000</pubDate>
				<category><![CDATA[Manufacturing Automation & Intelligence]]></category>
		<category><![CDATA[Siemens PLC]]></category>
		<category><![CDATA[Function Blocks]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[TIA Portal]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/21143/sending-emails-with-a-siemens-1500-plc/</guid>

					<description><![CDATA[<p>Out of the box, Siemens 1500 PLCs can send emails through a third-party email service provider. This interface supplies a mechanism for alerting relevant personal of faults, warnings, and other status information. The following guide outlines the steps required for establishing a secure connection to an email server and using the TMAIL_C function block to [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/21143/sending-emails-with-a-siemens-1500-plc/">Sending Emails with a Siemens 1500 PLC</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Out of the box, <a href="/services/manufacturing-automation-and-intelligence/plc-programming/siemens-s7-plc-programming">Siemens 1500 PLCs</a> can send emails through a third-party email service provider. This interface supplies a mechanism for alerting relevant personal of faults, warnings, and other status information.</p>



<p class="wp-block-paragraph">The following guide outlines the steps required for establishing a secure connection to an email server and using the <strong>TMAIL_C function block</strong> to send messages.</p>



<p class="wp-block-paragraph">This configuration requires a 1500 PLC with minimum firmware V2.0. If you are using a PLC which does not meet these requirements, you may need an additional communication module to establish a connection to the server. These steps also assume that your PLC is connected to the internet via a router.</p>



<p class="wp-block-paragraph">The basic tasks are outlined below:</p>



<ul class="wp-block-list">
<li>Configure email server</li>



<li>Obtain encryption certificate</li>



<li>Import certificate into TIA Portal</li>



<li>Update the PLC hardware configuration</li>



<li>Configure the TMAIL_C function block</li>



<li>Use the TMAIL_C function block</li>
</ul>



<p class="wp-block-paragraph">I used TIA Portal V15.1 for this walkthrough. The procedure may differ slightly for different versions.</p>



<h2 class="wp-block-heading" id="h-configuring-email-server">Configuring Email Server</h2>



<p class="wp-block-paragraph">For this example, we created a dedicated Gmail account to act as an email server. This server communicates with the PLC via <strong>Simple Mail Transfer Protocol</strong> (SMTP) and transmits emails to the final recipient. For most providers, the default settings will need to be changed to enable the sending of messages via an external program. If you&#8217;re using a Gmail account, turn off two-step verification and enable less secure app access in your account settings. Without this access, the PLC connection to the server will be rejected.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/configuring-email-server.png" alt="configure email server"/></figure>



<h2 class="wp-block-heading" id="h-obtaining-encryption-certificate">Obtaining Encryption Certificate</h2>



<p class="wp-block-paragraph">The Transport Layer Security (TLS) protocol is used to encrypt the SMTP communications between the PLC client and the email server to ensure a secure connection. Consequently, the PLC needs the certificate associated with the email service provider to sign and encrypt messages.</p>



<p class="wp-block-paragraph">In Internet Explorer, the name of the relevant certificate can be obtained by navigating to your service providers webpage and opening the security report. When I created this walkthrough, Gmail used the Google Trusted Services – GlobalSign Root CA-R2 certificate.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/encryption-certificate.png" alt="plc encryption certificate"/></figure>



<p class="wp-block-paragraph">After determining the correct name, locate the certificate in your computer&#8217;s certificate manager and export it as a <strong>*.cer file</strong> in the DER encoded binary format. In the next step, we will import this certificate into <a href="/services/manufacturing-automation-and-intelligence/plc-programming/siemens-s7-plc-programming/">TIA Portal</a> before adding it to the PLC hardware configuration. This allows the PLC to communicate with the email server using the additional security provided by the TLS protocol.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/export-tasks.png" alt="exporting tasks"/></figure>



<h2 class="wp-block-heading" id="h-importing-certificate-into-tia-portal">Importing Certificate into TIA Portal</h2>



<p class="wp-block-paragraph">After configuring the email server and obtaining the correct certification file, the remaining configuration is performed in TIA Portal. First, a project administrator must be specified, providing access to the additional security features of the project. These features allow us to add a third&nbsp;party certificate to the project.</p>



<p class="wp-block-paragraph">To create an administrator, navigate to the security settings for the project and define the necessary credentials. Note, these credentials will be required to access the project in the future.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/project-administrator.png" alt="project admin"/></figure>



<p class="wp-block-paragraph">After defining a security administrator, the security settings of the project should include additional security features, including the certificate manager. To import the certificate file, navigate to the certificate authority, and right-click to import the file. After importing, the certificate containing the public key required for the SMTP connection should appear in the manager.</p>



<p class="wp-block-paragraph">Note the expiration date of the certificate, as it may need updating in the future. Furthermore, ensure that the PLC time is set correctly, as the factory default may fall outside of the certificate’s valid range.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/import-certificate.png" alt="importing certificcate"/></figure>



<h2 class="wp-block-heading" id="h-updating-plc-hardware-configuration">Updating PLC Hardware Configuration</h2>



<p class="wp-block-paragraph">After importing the certificate into the project, the hardware configuration of the PLC must be updated to establish a connection to the email server. This process involves adding the certificate to the device and configuring the DNS server settings.</p>



<p class="wp-block-paragraph">First, navigate to the <strong>certificate manager</strong> in the Protection &amp; Security settings of the device configuration. Enable the use of the global security settings to provide full functionality. Then, add the certificate as a partner device. Note that if the certificate manager settings tab does not appear, then your hardware likely does not support this configuration. In this case, you may need to use an external communication module to use the TMAIL_C function block.</p>



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



<p class="wp-block-paragraph">After adding the certificate to the hardware configuration, we need to verify the DNS server settings of the PLC. A <strong>Domain Name System</strong> (DNS) server is required to associate domain names with the IP addresses needed for routing information between the PLC and the email server.</p>



<p class="wp-block-paragraph">For this application, the router connecting the PLC to the internet will act as the DNS server. Consequently, the router address must match the DNS server address in the hardware configuration. After verifying the router address in the PLC’s PROFINET interface, navigate to the DNS configuration and add it to the list of DNS server addresses.</p>



<p class="wp-block-paragraph">If you are unsure the proper address, you can use the<strong> ipconfig </strong>command on a PC networked to the PLC to determine the default gateway of your local network.</p>



<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading" id="h-configuring-the-tmail-c-function-block">Configuring the TMAIL_C Function Block</h2>



<p class="wp-block-paragraph">After the hardware configuration for the PLC is complete, the final task involves setting up the TMAIL_C function block to send messages. This block can be found under <strong>Communication</strong> in the <strong>Instruction Window</strong>.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/tmail-c.png" alt="tmail_C"/></figure>



<p class="wp-block-paragraph">The <strong>MAIL_ADDR_PARAM</strong> input is used to define the connection details. For an S7-1500 CPU, the TMail_V4_SEC system data type should be used to establish a secure connection using <strong>IPv4</strong>. Note, Siemens provides several additional data types for communicating with a server using different protocols.</p>



<p class="wp-block-paragraph">The parameters of the TMail_V4_SEC data type need to be defined as follows:</p>



<ul class="wp-block-list">
<li style="margin-bottom:20px;"><strong>InterfaceId:</strong> The hardware identifier of the PROFINET interface being used to communicate with the email server. This value is found in the system constants list located in the device configuration.<br />
 

<figure class="wp-block-image"><img decoding="async" alt="local profinet interface" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/local-profinet-interface.png"  /></figure>

</li>



<li style="margin-bottom:20px;"><strong>ID:</strong> The connection identifier. This value should likely be 1.</li>



<li style="margin-bottom:20px;"><strong>ConnectionType:</strong> Defines the connection type. Use 16#20 for IPv4.</li>



<li style="margin-bottom:20px;"><strong>ActiveEstablished:</strong> Defines if connections are actively or passively established. Since the PLC is acting as the SMTP client, it must actively establish a connection to communicate with the server. Therefore, this value must be true.</li>



<li style="margin-bottom:20px;"><strong>WatchDogTime:</strong> The duration before a communication timeout occurs</li>



<li style="margin-bottom:20px;"><strong>MailServerAddress: </strong>The IP address of the configured email server. Pinging the SMTP server from any PC determines this value.<br />
 

<figure class="wp-block-image"><img decoding="async" alt="mail server addresses" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/mail-server-address.png"  /></figure>

</li>



<li style="margin-bottom:20px;"><strong>UserName:</strong> The username for your email server account</li>



<li style="margin-bottom:20px;"><strong>PassWord:</strong> The password for your email server account. Note, the PLC instance memory will store this password in plain text.</li>



<li style="margin-bottom:20px;"><strong>From:</strong>
 

<ul class="wp-block-list">
  

<li style="margin-bottom:20px;"><strong>LocalPartPlusAt: </strong>The local part of your email address plus the &quot;@&quot; symbol. For a Gmail account, this will be your username followed by &quot;@.&quot;</li>


  

<li style="margin-bottom:20px;"><strong>FullQualifiedDomainName: </strong>The domain name of your email service provider. For example, &quot;gmail.com.&quot;</li>


 </ul>


 </li>



<li style="margin-bottom:20px;"><strong>Remote Port: </strong>This is the remote TCP port used for the connection. The default port for SMTP communications is 587. Some legacy systems may use alternative ports, but they are generally less secure and not recommended.</li>



<li style="margin-bottom:20px;"><strong>ActivateSecureConn:</strong> This value should be true to activate the security functionality of the connection. If it is false, a non-secure connection will be established which may be rejected by the server.</li>



<li style="margin-bottom:20px;"><strong>ExtTLSCapabilities:</strong> Allows for extended capabilities of the TLS handshaking protocol. This is not required for this configuration.</li>



<li style="margin-bottom:20px;"><strong>TLSServerCertRef:</strong> Reference to the encryption certificate of the email server. Use the integer ID of the imported certificate.</li>
</ul>



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



<h2 class="wp-block-heading" id="h-using-the-tmail-c-function-block">Using the TMAIL_C Function Block</h2>



<p class="wp-block-paragraph">After configuring the address parameters, using the TMAIL_C block is relatively straightforward. A message&#8217;s recipient, subject, and body are defined using the FBs respective inputs. Optionally, an attachment can be defined, allowing arrays of data to be included as an attachment to the email.</p>



<p class="wp-block-paragraph">A message request is triggered on the rising edge of the REQ input. The block executes asynchronously over several cycles, during which the BUSY output will remain high. If the email is sent successfully, the DONE output will pulse for a single scan. If it fails, the ERROR output will pulse, and the STATUS will update with the relevant error code.</p>



<figure class="wp-block-image"><img decoding="async" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/email-function-block.png" alt="function block for sending email"/></figure>



<p class="wp-block-paragraph">There you have it! These steps provide the basic outlining for setting up an SMTP client on a Siemens 1500 PLC. For additional information, see the related <a href="https://support.industry.siemens.com/cs/document/46817803/sending-emails-to-smtp-servers-with-an-s7-cpu?dti=0&amp;lc=en-US" type="link" id="https://support.industry.siemens.com/cs/document/46817803/sending-emails-to-smtp-servers-with-an-s7-cpu?dti=0&amp;lc=en-US">Siemens application example</a> in addition to the help files associated with the TMAIL_C connect block.</p>



<p class="wp-block-paragraph">Feel free to <a href="/contact">contact DMC</a> with any questions or project inquiries and learn more about our <a href="/services/manufacturing-automation-and-intelligence/plc-programming">PLC Programming services</a>&nbsp;and our <a href="https://static.dmcinfo.com/services/manufacturing-automation-and-intelligence/plc-programming/siemens-s7-plc-programming">Siemens expertise</a>.</p>
<p>The post <a href="https://static.dmcinfo.com/blog/21143/sending-emails-with-a-siemens-1500-plc/">Sending Emails with a Siemens 1500 PLC</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Data Logging with Panasonic GT Series HMIs</title>
		<link>https://static.dmcinfo.com/blog/21773/data-logging-with-panasonic-gt-series-hmis/</link>
		
		<dc:creator><![CDATA[Blake Strebel]]></dc:creator>
		<pubDate>Mon, 08 Apr 2019 12:48:59 +0000</pubDate>
				<category><![CDATA[HMI and SCADA]]></category>
		<category><![CDATA[Manufacturing Automation & Intelligence]]></category>
		<category><![CDATA[PLC]]></category>
		<category><![CDATA[Data Analysis]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Panasonic HMI]]></category>
		<category><![CDATA[PLC Programming]]></category>
		<guid isPermaLink="false">https://static.dmcinfo.com/blog/21773/data-logging-with-panasonic-gt-series-hmis/</guid>

					<description><![CDATA[<p>If you&apos;re interested in storing production, sensor, or other data from your automation system, Panasonic GT series HMIs&#160;provide a flexible method for logging data from one or multiple PLCs to any standard SD card. Logs are stored in CSV files which can be opened in Excel for manipulation and analysis. In this example, I demonstrate [&#8230;]</p>
<p>The post <a href="https://static.dmcinfo.com/blog/21773/data-logging-with-panasonic-gt-series-hmis/">Data Logging with Panasonic GT Series HMIs</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">If you&apos;re interested in storing production, sensor, or other data from your automation system, Panasonic GT series <a href="/services/manufacturing-automation-and-intelligence/hmi-and-scada-programming">HMIs</a>&nbsp;provide a flexible method for logging data from one or multiple PLCs to any standard SD card. Logs are stored in CSV files which can be opened in Excel for manipulation and analysis.</p>

<p class="wp-block-paragraph">In this example, I demonstrate my setup for recording part inspection data using an FP series PLC and GT series HMI. Using this setup, our client can ensure their parts are within spec while identifying trends in their data, enabling them to improve their processes.</p>

<p class="wp-block-paragraph">Data logging is configured using <strong>Panasonic&apos;s GTWIN software</strong>. The interface for configuring the logging is located in the system settings menu. As shown below, this HMI is configured to log to three different files based on job number. A maximum of sixteen different files can be created.</p>

<figure class="wp-block-image"><img decoding="async" alt="Logging Files" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/List-of-logging-files-R.png"  /></figure>

<p class="wp-block-paragraph">A single data point is recorded on the rising edge of the trigger configured for each log file. The record can be triggered cyclically, at a specific time, or from a PLC tag, as demonstrated below for Job 1.</p>

<p class="wp-block-paragraph">In this example, data is captured every time a measurement is taken, as indicated by the R141 tag configured in the PLC code. After the capture is complete, the HMI writes to R200 to indicate to the PLC that the capture is complete.</p>

<figure class="wp-block-image"><img decoding="async" alt="Logging File" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Logging-file-R.png"  /></figure>

<p class="wp-block-paragraph">During operation, the HMI saves log data in RAM until one thousand records have been recorded, at which point the data is written to the SD card. Additionally, this transfer can be requested directly from the PLC by configuring the <strong>&apos;Save Setting&apos; </strong>of the device shown below. Here, the PLC can request a RAM transfer using the R151 address.</p>

<p class="wp-block-paragraph">Furthermore, according to the configured settings, data will be overwritten after 60 files have been recorded. This limit is important to keep in mind when considering how frequently the data will be moved from the SD card to a more permanent storage device.</p>

<figure class="wp-block-image"><img decoding="async" alt="Logging file 2" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/Logging-file-2-R.png"  /></figure>

<p class="wp-block-paragraph">Up to this point, we have yet to configure the data which will compose each record. By default, each record will include the date/time when the trigger occurred. Here, our record is composed of two measurements used for part verification. A maximum of 128 data points can be used for each record.</p>

<figure class="wp-block-image"><img decoding="async" alt="Logging device" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/logging-device-R.png"  /></figure>

<p class="wp-block-paragraph">The settings for each data point can be defined individually to determine the structure of the data that will be stored. Here, our measurements are float values located at the address DT110 in the PLC.</p>

<figure class="wp-block-image"><img decoding="async" alt="data logging configuration" src="https://static.dmcinfo.com/wp-content/uploads/2025/05/data-logging-configuration-R.png"  /></figure>

<p class="wp-block-paragraph">Using this setup, basic data logging can be configured for a system with minimal effort and with no additional hardware/software. If you require a more sophisticated data storage/retrieval system, consider <a href="/contact">reaching out to DMC</a> for help designing your solution.</p>

<p class="wp-block-paragraph">Learn more about DMC&apos;s <a href="/services/manufacturing-automation-and-intelligence">Manufacturing Automation and Intelligence Services</a>.</p>
<p>The post <a href="https://static.dmcinfo.com/blog/21773/data-logging-with-panasonic-gt-series-hmis/">Data Logging with Panasonic GT Series HMIs</a> appeared first on <a href="https://static.dmcinfo.com/">DMC, Inc.</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
