<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[IEC 62056-21 Mode E Optical Probe Sign-On and Baud Rate Switch Failure]]></title><description><![CDATA[<h3>Field Troubleshooting Case</h3>
<p dir="auto">When connecting an optical probe to legacy IEC/DLMS hybrid meters, the sign-on handshake succeeds at 300 bps (7E1 parity), but switching to high-speed HDLC mode at 9600 bps or 19200 bps fails, terminating the session.</p>
<h4>Optical Sign-on Trace (300 Baud, 7E1)</h4>
<ol>
<li>Client -&gt; Meter: <code>/?!&lt;CR&gt;&lt;LF&gt;</code> (<code>2F 3F 21 0D 0A</code>)</li>
<li>Meter -&gt; Client: <code>/LGZ4ZMD4104400.B34&lt;CR&gt;&lt;LF&gt;</code>
<ul>
<li>Identification character: <code>Z</code> (Baud rate identification)</li>
<li>Mode character: <code>2</code> (Mode E - transition to DLMS/HDLC)</li>
</ul>
</li>
<li>Client -&gt; Meter: ACK/Option Select: <code>&lt;ACK&gt; 2 5 2 &lt;CR&gt;&lt;LF&gt;</code> (<code>06 32 35 32 0D 0A</code>)
<ul>
<li><code>2</code>: Normal protocol mode</li>
<li><code>5</code>: Baud rate 9600 bps</li>
<li><code>2</code>: Mode E (HDLC)</li>
</ul>
</li>
</ol>
<h4>The Failure</h4>
<p dir="auto">After sending the ACK message, the gateway switched the serial port baud rate to 9600 bps immediately without inserting the required delay $T_a$, causing the first HDLC SNRM frame to be sent while the meter optical receiver was still re-configuring its UART clock.</p>
]]></description><link>https://dlms.sharur.org/topic/15/iec-62056-21-mode-e-optical-probe-sign-on-and-baud-rate-switch-failure</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 19:51:37 GMT</lastBuildDate><atom:link href="https://dlms.sharur.org/topic/15.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Aug 2026 12:33:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IEC 62056-21 Mode E Optical Probe Sign-On and Baud Rate Switch Failure on Sat, 22 Aug 2026 12:35:35 GMT]]></title><description><![CDATA[<p dir="auto">Also note that during Mode E sign-on, the parity changes: Initial handshake is <strong>300 baud, 7 data bits, Even parity, 1 stop bit (7E1)</strong>. Once the baud rate switch occurs for DLMS/HDLC, the UART MUST switch to <strong>8 data bits, No parity, 1 stop bit (8N1)</strong>.</p>
]]></description><link>https://dlms.sharur.org/post/60</link><guid isPermaLink="true">https://dlms.sharur.org/post/60</guid><dc:creator><![CDATA[elena_rostova]]></dc:creator><pubDate>Sat, 22 Aug 2026 12:35:35 GMT</pubDate></item><item><title><![CDATA[Reply to IEC 62056-21 Mode E Optical Probe Sign-On and Baud Rate Switch Failure on Sat, 22 Aug 2026 12:33:03 GMT]]></title><description><![CDATA[<p dir="auto">Also note that during Mode E sign-on, the parity changes: Initial handshake is <strong>300 baud, 7 data bits, Even parity, 1 stop bit (7E1)</strong>. Once the baud rate switch occurs for DLMS/HDLC, the UART MUST switch to <strong>8 data bits, No parity, 1 stop bit (8N1)</strong>.</p>
]]></description><link>https://dlms.sharur.org/post/32</link><guid isPermaLink="true">https://dlms.sharur.org/post/32</guid><dc:creator><![CDATA[elena_rostova]]></dc:creator><pubDate>Sat, 22 Aug 2026 12:33:03 GMT</pubDate></item></channel></rss>