<?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>ePanorama.net &#187; Industrial Automation</title>
	<atom:link href="http://www.epanorama.net/blog/category/industrial-automation/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.epanorama.net/blog</link>
	<description>All about electronics and circuit design</description>
	<lastBuildDate>Wed, 15 Apr 2026 20:31:27 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.14</generator>
	<item>
		<title>Rockwell says: Disconnect ICS From Internet</title>
		<link>https://www.epanorama.net/blog/2024/06/02/rockwell-says-disconnect-ics-from-internet/</link>
		<comments>https://www.epanorama.net/blog/2024/06/02/rockwell-says-disconnect-ics-from-internet/#comments</comments>
		<pubDate>Sun, 02 Jun 2024 21:10:52 +0000</pubDate>
		<dc:creator><![CDATA[Tomi Engdahl]]></dc:creator>
				<category><![CDATA[Cybersecurity]]></category>
		<category><![CDATA[Industrial Automation]]></category>

		<guid isPermaLink="false">https://www.epanorama.net/newepa/?p=196192</guid>
		<description><![CDATA[<p>Good idea to disconnect your automation devices from network &#8211; most of the devices are not secure enough to handle network connection. Here is one big news related to Industrial Controls Systems (ICS) from a big manufacturer: ICS/OTRockwell Automation Urges Customers to Disconnect ICS From Internet Rockwell Automation is concerned about internet-exposed ICS due to <a class="moretag" href="https://www.epanorama.net/blog/2024/06/02/rockwell-says-disconnect-ics-from-internet/">&#8594;</a></p>]]></description>
				<content:encoded><![CDATA[<p>Good idea to disconnect your automation devices from network &#8211; most of the devices are not secure enough to handle network connection. Here is one big news related to Industrial Controls Systems (ICS) from a big manufacturer:</p>
<p>ICS/OTRockwell Automation Urges Customers to Disconnect ICS From Internet<br />
Rockwell Automation is concerned about internet-exposed ICS due to heightened geopolitical tensions and adversarial cyber activity globally.<br />
<a href="https://www.securityweek.com/rockwell-automation-urges-customers-to-disconnect-ics-from-internet/">https://www.securityweek.com/rockwell-automation-urges-customers-to-disconnect-ics-from-internet/</a></p>
<blockquote><p>
Rockwell Automation is concerned about internet-exposed ICS due to heightened geopolitical tensions and adversarial cyber activity globally.</p>
<p>Rockwell Automation has issued a security notice urging customers to ensure that their industrial control systems (ICS) are not connected to the internet and exposed to cyber threats.</p>
<p>The industrial automation giant has told customers to take ‘immediate’ action and check whether any devices that are not specifically designed for public connectivity are exposed to the web. </p></blockquote>
<p>Translation: We added network interfaces to our machines because sales needed the feature, but nobody wanted to change their development practices to secure it. </p>
<p>Over many years <a href="https://www.cisa.gov/news-events/cybersecurity-advisories/aa20-205a">cyber actors have demonstrated their continued willingness to conduct malicious cyber activity against critical infrastructure (CI) by exploiting internet-accessible operational technology (OT) assets</a>. Many products many by many different companies and used in OT applications have more or less questionable cyber security. Many legacy OT assets were not designed to defend against malicious cyber activities, combined with readily available information that identifies OT assets connected via the internet. There are also many new security problems in many newer devices. So generally it is a good idea to not to connect your OT networks directly to Internet.</p>
<blockquote><p>A Shodan search for ‘Rockwell’ currently returns more than 7,000 results, including thousands of what appear to be Allen-Bradley programmable logic controllers (PLCs). </p></blockquote>
<blockquote><p>
Rockwell’s advisory highlights several vulnerabilities found and patched in recent years, including CVE-2021-22681, CVE-2022-1159, CVE-2023-3595 and CVE-2023-3596, CVE-2023-46290, CVE-2024-21914, CVE-2024-21915, and CVE-2024-21917.  </p>
<p>These flaws can allow hackers to conduct DoS attacks, escalate privileges, modify settings, remotely compromise PLCs, and even conduct Stuxnet-style attacks. </p>
<p>The discovery of exploits targeting CVE-2023-3595 and CVE-2023-3596 suggests that threat actors, particularly APT groups, have set their sights on Rockwell industrial products
</p></blockquote>
<p>Disconnect ICS Devices From Internet Per Rockwell Automation<br />
<a href="https://www.youtube.com/watch?v=eA4g2s_Pi40">https://www.youtube.com/watch?v=eA4g2s_Pi40</a></p>
<p><iframe width="560" height="315" src="https://www.youtube.com/embed/eA4g2s_Pi40?si=td6tCZigtXKW9XqB" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>Rockwell Advises Disconnecting Internet-Facing ICS Devices Amid Cyber Threats<br />
<a href="https://thehackernews.com/2024/05/rockwell-advises-disconnecting-internet.html">https://thehackernews.com/2024/05/rockwell-advises-disconnecting-internet.html</a></p>
<blockquote><p>
The company said it&#8217;s issuing the advisory due to &#8220;heightened geopolitical tensions and adversarial cyber activity globally.&#8221;</p></blockquote>
<p>SD1672 | IMPORTANT NOTICE: Rockwell Automation Reiterates Customer Guidance to Disconnect Devices from the Internet to Protect from Cyber Threats<br />
<a href="https://www.rockwellautomation.com/en-us/trust-center/security-advisories/advisory.SD1672.html">https://www.rockwellautomation.com/en-us/trust-center/security-advisories/advisory.SD1672.html</a></p>
<blockquote><p>IMPORTANT NOTICE: Rockwell Automation Reiterates Customer Guidance to Disconnect Devices from the Internet to Protect from Cyber Threats</p></blockquote>
<blockquote><p>Due to heightened geopolitical tensions and adversarial cyber activity globally, Rockwell Automation is issuing this notice urging all customers to take IMMEDIATE action to assess whether they have devices facing the public internet and, if so, urgently remove that connectivity for devices not specifically designed for public internet connectivity.</p></blockquote>
<blockquote><p>More information on attacks on public-internet-exposed assets, including information on how to identify exposed assets and disconnect them from the public internet, is available in these documents from Rockwell Automation and CISA (Cybersecurity and Infrastructure Security Agency):</p></blockquote>
<p><a href="https://idp.rockwellautomation.com/adfs/ls/idpinitiatedsignon.aspx?RelayState=RPID%3Drockwellautomation.custhelp.com%26RelayState%3Danswers%2Fanswer_view%2Fa_id%2F494865#__highlight"><br />
Rockwell Automation | Advisory on web search tools that identify ICS devices and systems connected to the Internet</a> [login required]<br />
<a href="https://www.cisa.gov/news-events/cybersecurity-advisories/aa20-205a">CISA | NSA and CISA Recommend Immediate Actions to Reduce Exposure Across Operational Technologies and Control Systems</a><br />
<a href="https://www.cisa.gov/sites/default/files/publications/Shodan_Technical_508c.pdf">CISA | How-to Guide: Stuff Off Shodan</a></p>
<p>The US cybersecurity agency CISA has also posted an alert to bring attention to Rockwell’s notice.<br />
<a href="https://www.cisa.gov/news-events/alerts/2024/05/21/rockwell-automation-encourages-customers-assess-and-secure-public-internet-exposed-assets">https://www.cisa.gov/news-events/alerts/2024/05/21/rockwell-automation-encourages-customers-assess-and-secure-public-internet-exposed-assets</a></p>
<p><a href="https://openclipart.org/detail/214357/hackers-hit-100-banks-in-unprecedented-$1-billion-cyber-heist-kaspersky-lab"><img src="https://openclipart.org/image/400px/214357" width="400" height="400" class="alignnone" /></a></p>
<p>I will never be able to hear the name &#8220;Rockwell Automation&#8221; without thinking of this:<br />
<a href=" https://www.youtube.com/watch?v=RXJKdh1KZ0w">https://www.youtube.com/watch?v=RXJKdh1KZ0w</a></p>
<p><iframe width="560" height="315" src="https://www.youtube.com/embed/RXJKdh1KZ0w?si=N6T7hBCStk7C62_O" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>SANS ICS HyperEncabulator<br />
He&#8217;s baaaaaaaaaaaaaaack &#8230;<br />
<a href="https://www.youtube.com/watch?v=5nKk_-Lvhzo">https://www.youtube.com/watch?v=5nKk_-Lvhzo</a></p>
<p><iframe width="560" height="315" src="https://www.youtube.com/embed/5nKk_-Lvhzo?si=eLTp-n2wA0nbrT78" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>https://www.epanorama.net/blog/2024/06/02/rockwell-says-disconnect-ics-from-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Peek into the Future of Industrial Communications</title>
		<link>https://www.epanorama.net/blog/2024/05/28/a-peek-into-the-future-of-industrial-communications/</link>
		<comments>https://www.epanorama.net/blog/2024/05/28/a-peek-into-the-future-of-industrial-communications/#comments</comments>
		<pubDate>Tue, 28 May 2024 20:07:47 +0000</pubDate>
		<dc:creator><![CDATA[Tomi Engdahl]]></dc:creator>
				<category><![CDATA[Ethernet]]></category>
		<category><![CDATA[Industrial Automation]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[Telecom and Networking]]></category>

		<guid isPermaLink="false">https://www.epanorama.net/blog/?p=191729</guid>
		<description><![CDATA[<p>A Peek into the Future of Industrial Communications https://www.mwrf.com/technologies/systems/article/21244901/a-peek-into-the-future-of-industrial-communications?utm_source=RF+MWRF+Today&#038;utm_medium=email&#038;utm_campaign=CPS220624087&#038;o_eid=7211D2691390C9R&#038;rdx.ident%5Bpull%5D=omeda%7C7211D2691390C9R&#038;oly_enc_id=7211D2691390C9R This article provides an overview of the most promising network technologies and innovations, such as time-sensitive networking, and looks at how they’re revolutionizing industrial communications. Here are some links to some other related articles: https://www.electronicdesign.com/blogs/altembedded/article/21240842/electronic-design-the-evolution-of-ethernet Time for Time-Sensitive Networking (TSN) Synchronization of clocks across the network <a class="moretag" href="https://www.epanorama.net/blog/2024/05/28/a-peek-into-the-future-of-industrial-communications/">&#8594;</a></p>]]></description>
				<content:encoded><![CDATA[<p>A Peek into the Future of Industrial Communications<br />
<a href="https://www.mwrf.com/technologies/systems/article/21244901/a-peek-into-the-future-of-industrial-communications?utm_source=RF+MWRF+Today&#038;utm_medium=email&#038;utm_campaign=CPS220624087&#038;o_eid=7211D2691390C9R&#038;rdx.ident%5Bpull%5D=omeda%7C7211D2691390C9R&#038;oly_enc_id=7211D2691390C9R">https://www.mwrf.com/technologies/systems/article/21244901/a-peek-into-the-future-of-industrial-communications?utm_source=RF+MWRF+Today&#038;utm_medium=email&#038;utm_campaign=CPS220624087&#038;o_eid=7211D2691390C9R&#038;rdx.ident%5Bpull%5D=omeda%7C7211D2691390C9R&#038;oly_enc_id=7211D2691390C9R</a></p>
<p>This article provides an overview of the most promising network technologies and innovations, such as time-sensitive networking, and looks at how they’re revolutionizing industrial communications.</p>
<p>Here are some links to some other related articles:</p>
<p><a href="https://www.electronicdesign.com/blogs/altembedded/article/21240842/electronic-design-the-evolution-of-ethernet">https://www.electronicdesign.com/blogs/altembedded/article/21240842/electronic-design-the-evolution-of-ethernet</a></p>
<p>Time for Time-Sensitive Networking (TSN)<br />
Synchronization of clocks across the network is being standardized<br />
<a href="https://www.electronicdesign.com/magazine/51099?utm_source=EG+ED+Auto+Electronics&#038;utm_medium=email&#038;utm_campaign=CPS220627006&#038;o_eid=7211D2691390C9R&#038;rdx.ident%5Bpull%5D=omeda%7C7211D2691390C9R&#038;oly_enc_id=7211D2691390C9R">https://www.electronicdesign.com/magazine/51099?utm_source=EG+ED+Auto+Electronics&#038;utm_medium=email&#038;utm_campaign=CPS220627006&#038;o_eid=7211D2691390C9R&#038;rdx.ident%5Bpull%5D=omeda%7C7211D2691390C9R&#038;oly_enc_id=7211D2691390C9R</a><br />
<a href="https://www.electronicdesign.com/industrial-automation/article/21241056/electronic-design-nxp-upgrades-industrialgrade-mcu-with-tsn-ethernet"></p>
<p>https://www.electronicdesign.com/industrial-automation/article/21241056/electronic-design-nxp-upgrades-industrialgrade-mcu-with-tsn-ethernet</a></p>
<p><a href="https://www.electronicdesign.com/industrial-automation/article/21154669/electronic-design-switch-chips-bring-timesensitive-networking-to-factory-floors">https://www.electronicdesign.com/industrial-automation/article/21154669/electronic-design-switch-chips-bring-timesensitive-networking-to-factory-floors</a></p>
<p>What’s the Difference: Serial Communications 101<br />
June 1, 2021<br />
Communication is the hallmark of IoT and computer systems in general. Here are some of the basics.<br />
<a href="https://www.electronicdesign.com/technologies/communications/whitepaper/21127800/whats-the-difference-serial-communications-101?utm_source=EG+ED+Auto+Electronics&#038;utm_medium=email&#038;utm_campaign=CPS220627012&#038;o_eid=7211D2691390C9R&#038;rdx.ident%5Bpull%5D=omeda%7C7211D2691390C9R&#038;oly_enc_id=7211D2691390C9R">https://www.electronicdesign.com/technologies/communications/whitepaper/21127800/whats-the-difference-serial-communications-101?utm_source=EG+ED+Auto+Electronics&#038;utm_medium=email&#038;utm_campaign=CPS220627012&#038;o_eid=7211D2691390C9R&#038;rdx.ident%5Bpull%5D=omeda%7C7211D2691390C9R&#038;oly_enc_id=7211D2691390C9R</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.epanorama.net/blog/2024/05/28/a-peek-into-the-future-of-industrial-communications/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Modbus and AT R413D08 8 Channel Module</title>
		<link>https://www.epanorama.net/blog/2024/03/04/modbus-and-at-r413d08-8-channel-module/</link>
		<comments>https://www.epanorama.net/blog/2024/03/04/modbus-and-at-r413d08-8-channel-module/#comments</comments>
		<pubDate>Mon, 04 Mar 2024 19:30:48 +0000</pubDate>
		<dc:creator><![CDATA[Tomi Engdahl]]></dc:creator>
				<category><![CDATA[Industrial Automation]]></category>
		<category><![CDATA[Product tests]]></category>

		<guid isPermaLink="false">https://www.epanorama.net/newepa/?p=195557</guid>
		<description><![CDATA[<p>R413D08 is a 8 channel relay control board that is designed to be controlled from your computer through through the RS-485 interface. The idea is that this board takes control commands from computer (MODBUS or AT commands) and gives out signals that can control relays. The output from this card are 5V TTL level signals <a class="moretag" href="https://www.epanorama.net/blog/2024/03/04/modbus-and-at-r413d08-8-channel-module/">&#8594;</a></p>]]></description>
				<content:encoded><![CDATA[<p>R413D08 is a 8 channel relay control board that is designed to be controlled from your computer through through the RS-485 interface. The idea is that this board takes control commands from computer (MODBUS or AT commands) and gives out signals that can control relays. The output from this card are 5V TTL level signals that are suitable for controlling many different relay boards. </p>
<p><a href="https://www.ebay.com/itm/333654114235">R413D08 DC 5V 12V 24V 8ch RS485 Modbus Rtu Control Module for Relay PLC Switch</a> technical data:<br />
1: Operating Voltage : DC 5V(5V Version) / DC 6-24V(6-24 Version)<br />
2: Operating Current : 10-15MA<br />
3: &#8221;open&#8221; &#8221;close&#8221;  &#8221;Momentary&#8221; &#8221;Self-locking&#8221; &#8221;Interlock&#8221; &#8221;Delay&#8221; 6 Commands<br />
4: Two instruction-control mode : AT command and MODBUS command<br />
5: Under the AT command ,the maximum delay is 9999 seconds<br />
   Under the MODBUS command ,the maximum delay is 255 seconds<br />
6 AT commands can be made serial HyperTerminal (serial assistant) Enter;<br />
   MODBUS commands can be made serial HyperTerminal (serial assistant)  OR &#8221;Modbus Poll&#8221; Enter;<br />
7 Under the MODBUS command mode, it can support up to 247 devices in parallel<br />
8 With RS485 and RS232 (TTL) dual bus interface<br />
9 Output control pins 8, 5V TTL level, low level (default) / high level output<br />
10 Size: 45 * 30 * 15mm<br />
11 Weight: 10g</p>
<p>Function description:<br />
&#8220;Open&#8221;: Control port outputs low level (default)<br />
&#8220;Off&#8221;: Control port outputs high level (default) </p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/03/20240304_195546.jpg"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/03/20240304_195546.jpg" alt="20240304_195546" width="4032" height="3024" class="alignnone size-full wp-image-195646" /></a></p>
<p>Here is an application example from <a href="https://www.ebay.com/itm/333654114235">R413D08 DC 5V 12V 24V 8ch RS485 Modbus Rtu Control Module for Relay PLC Switch</a> product page:</p>
<p><a href="https://www.ebay.com/itm/333654114235"><img src="https://i.ebayimg.com/00/s/MTA1MFgxMDUw/z/b~kAAOSwxHhc5jfR/$_10.JPG" width="1050" height="1050" class="alignnone" /></a></p>
<p>Here a cheap USB-RS485 converter convers the data from computer to RS-485 format, and the board receives the data.</p>
<h1>Modbus controlling</h1>
<p><a href="https://en.wikipedia.org/wiki/Modbus">Modbus or MODBUS is a client/server data communications protocol in the application layer</a>. It was originally published by Modicon (now Schneider Electric) in 1979 for use with its programmable logic controllers (PLCs). <a href="https://en.wikipedia.org/wiki/Modbus">Modbus has become a de facto standard communication protocol for communication between industrial electronic devices in a wide range of buses and network.</a></p>
<p>This board supports MODBUS communications. The default communications parameters are 9600 Band ,8 Data bits,None Parity,1 Stop Bit. The default MODBUS slave address is 01.</p>
<p>Here is table from <a href="https://github.com/microrobotics/R413D08/issues/1">https://github.com/microrobotics/R413D08/issues/1</a> page that describes the supported MODBUS read commands:</p>
<table role="table">
<thead>
<tr>
<th>Bytes Number</th>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
<th>6</th>
<th>7</th>
<th>8</th>
</tr>
</thead>
<tbody>
<tr>
<td>MODBUS Definitions</td>
<td>Slave ID</td>
<td>Function</td>
<td>Address</td>
<td>Data</td>
<td>CRC Check</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Function</td>
<td>Device Address</td>
<td>Function</td>
<td>Starting register address</td>
<td>Register length</td>
<td>CRC Check</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Read Channel 1 State</td>
<td>0&#215;00-0x2F</td>
<td>0&#215;03</td>
<td>0&#215;0001</td>
<td>0&#215;0001</td>
<td> </td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Read Channel 2 State</td>
<td>0&#215;00-0x2F</td>
<td>0&#215;03</td>
<td>0&#215;0002</td>
<td>0&#215;0001</td>
<td> </td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Read 2 consecutive channels status</td>
<td>0&#215;00-0x2F</td>
<td>0&#215;03</td>
<td>0&#215;0001-0&#215;0003</td>
<td>0&#215;0002</td>
<td> </td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Read 3 consecutive channels status</td>
<td>0&#215;00-0x2F</td>
<td>0&#215;03</td>
<td>0&#215;0001-0&#215;0002</td>
<td>0&#215;0003</td>
<td> </td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Read all 8 channels status</td>
<td>0&#215;00-0x2F</td>
<td>0&#215;03</td>
<td>0&#215;0001</td>
<td>0&#215;0008</td>
<td> </td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>When you read relay state, value 0&#215;0001 means open and 0&#215;0000 means closed.</p>
<p>The MODBUS address can be changed and if it is unknown, it can be read with &#8220;Read Slave ID&#8221; request: FF 03 00 FF 00 01 A1 E4</p>
<p>Here are the relay control commands:</p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/03/R413D008.gif"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/03/R413D008.gif" alt="r413d008" width="694" height="551" class="alignnone size-full wp-image-195621" /></a></p>
<p>I found the most useful command to be this direct control commands.<br />
Command 0&#215;06<br />
Address 1-8 relay number<br />
Values:<br />
Open 256 (0&#215;0100)<br />
Close 512 (0&#215;0200) </p>
<p>There are also commands that support more advanced features, for example opening or closing relay after predefined delay time. Under the MODBUS command the timing resolution is one second and the maximum delay is 255 seconds</p>
<p>More command details can be found in manual at <a href="https://github.com/microrobotics/R413D08/files/5689915/8.Channel.Multifunction.RS485.Module.command.pdf">https://github.com/microrobotics/R413D08/files/5689915/8.Channel.Multifunction.RS485.Module.command.pdf</a></p>
<p><H1>AT commands</H1></p>
<p>The Hayes command set (also known as the <a href="https://en.wikipedia.org/wiki/Hayes_AT_command_set">AT command set</a>) is a specific command language originally developed for controlling modems. <a href="https://en.wikipedia.org/wiki/Hayes_AT_command_set">The command set consists of a series of short text strings which can be combined to produce commands for operations such as dialing, hanging up, and changing the parameters of the connection.</a> It has been also adapted for other uses as well. In this product the AT command set is used to control the relays. </p>
<p>The module needs to be set to AT command mode to be able to use AT commands. This is done by making M0&#8242;s two pads are soldered together or connected with other means. </p>
<p>The communications worked well through RS-485 using TeraTerm terminal program with 9600 8N1 no handshake communications settings and the following terminal settings:</p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/03/ATtt.gif"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/03/ATtt.gif" alt="attt" width="495" height="231" class="alignnone size-full wp-image-195653" /></a></p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/03/ATcommands.gif"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/03/ATcommands.gif" alt="atcommands" width="421" height="349" class="alignnone size-full wp-image-195651" /></a></p>
<p>Here is the AT command (ASCII) overview if you want to try to use them:</p>
<p>Read Status:<br />
Channel 1: AT+R1<br />
Channel 2: AT+R2<br />
Channel 3: AT+R 3<br />
Channel 4: AT+R 4<br />
Channel 5: AT+R 5<br />
Channel 6: AT+R 6<br />
Channel 7: AT+R 7<br />
Channel 8: AT+R 8</p>
<p>Open relay:<br />
Channel 1: AT+O1<br />
Channel 2: AT+O2<br />
Channel 3: AT+O3<br />
Channel 4: AT+O4<br />
Channel 5: AT+O5<br />
Channel 6: AT+O6<br />
Channel 7: AT+O7<br />
Channel 8: AT+O8</p>
<p>Close:<br />
Channel 1: AT+C1<br />
Channel 2: AT+C2<br />
etc..</p>
<p>Toggle (Self locking):<br />
Channel 1: AT+T1<br />
Channel 2: AT+T2<br />
etc.</p>
<p>Latch<br />
Inter locking<br />
Channel 1: AT+L1<br />
Channel 2: AT+L2<br />
etc..</p>
<p>Momentary<br />
Non locking )<br />
Channel 1: AT+M1<br />
Channel 2: AT+M2<br />
etc.</p>
<p>Delay<br />
Channel 1: AT+D1=XXXX<br />
Channel 2: AT+D2=XXXX<br />
etc.<br />
XXXX = refers to the 0000 to 9999 figures, Unit is seconds<br />
Under the AT command ,the maximum delay is 9999 second (over 2.7 hours). </p>
<p>Example 1:<br />
Send command<br />
&#8220;AT+ 0010 &#8220;&#8221;, Channel 1 is &#8221; Open &#8220;&#8221;, after delay of 10 seconds, channel 1 is Close<br />
Send command<br />
&#8221; D 2= 0 10 0 &#8220;&#8221;, Channel 2 is &#8221; Op en &#8220;&#8221;, after delay of 1 0 0 seconds, channel 2 is Close</p>
<p>Example 2:<br />
Send command<br />
&#8220;AT+ L1&#8243;, Channel 1 is &#8221; Open &#8220;&#8221;, other C hannel s is &#8221; Close<br />
Send command<br />
&#8220;AT+ L2&#8243;, Channel 2 is &#8221; Open &#8220;&#8221;, other C hannel s is &#8221; Close</p>
<p>More command details can be found in manual at <a href="https://github.com/microrobotics/R413D08/files/5689915/8.Channel.Multifunction.RS485.Module.command.pdf">https://github.com/microrobotics/R413D08/files/5689915/8.Channel.Multifunction.RS485.Module.command.pdf</a></p>
<h1>More information</h1>
<p>Links to more information:</p>
<p>5V 6-24V RS485 RS232 R413D08 8 Channel (TTL) Modbus RTU Control Module Multi-Function Relay PLC Control Board<br />
<a href="https://www.aliexpress.com/i/1005003098396828.html">https://www.aliexpress.com/i/1005003098396828.html</a></p>
<p>This RUST project can read and write a R413D08 module from the command line.<br />
<a href="https://github.com/acpiccolo/R413D08-Controller/blob/main/README.md">https://github.com/acpiccolo/R413D08-Controller/blob/main/README.md</a></p>
<p>RS485MODBUS V3.O<br />
Software utility for STM8S103, R421A08, R221A04, R413D08 relay board<br />
<a href="https://sourceforge.net/projects/rs485modbus/">https://sourceforge.net/projects/rs485modbus/</a></p>
<p>R413D08<br />
8 Channel Relay Control Module &#8211; RS485 &#038; RS232<br />
<a href="https://github.com/microrobotics/R413D08">https://github.com/microrobotics/R413D08</a></p>
<p>Linux app named RS485modbus<br />
<a href="https://www.onworks.net/software/app-rs485modbus">https://www.onworks.net/software/app-rs485modbus</a></p>
<p>Product R413D08, USB to RS485/RS232 &#8211; documentation?<br />
<a href="https://github.com/microrobotics/R413D08/issues/1">https://github.com/microrobotics/R413D08/issues/1</a></p>
<p>Product pages:</p>
<p>R413D08 DC 5V 12V 24V 8ch RS485 Modbus Rtu Control Module for Relay PLC Switch<br />
<a href="https://www.ebay.com/itm/333654114235">https://www.ebay.com/itm/333654114235</a></p>
<p>5V 6-24V RS485 RS232 R413D08 8 Channel (TTL) Modbus RTU Control Module Multi-Function Relay PLC Control Board<br />
<a href="https://www.aliexpress.com/item/1005003098396828.html">https://www.aliexpress.com/item/1005003098396828.html</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.epanorama.net/blog/2024/03/04/modbus-and-at-r413d08-8-channel-module/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Modbus RTU Relay Module</title>
		<link>https://www.epanorama.net/blog/2024/03/01/modbus-rtu-relay-module/</link>
		<comments>https://www.epanorama.net/blog/2024/03/01/modbus-rtu-relay-module/#comments</comments>
		<pubDate>Fri, 01 Mar 2024 21:19:24 +0000</pubDate>
		<dc:creator><![CDATA[Tomi Engdahl]]></dc:creator>
				<category><![CDATA[Industrial Automation]]></category>
		<category><![CDATA[Product tests]]></category>

		<guid isPermaLink="false">https://www.epanorama.net/newepa/?p=195567</guid>
		<description><![CDATA[<p>Here is a Modbus RTU Relay Module I got some time ago, but waited for time to test it. It is a Modbus 2-channel relay module is expected to be very useful device for making something Modbus compatible. It should be suitable for industrial control equipments and/or component in IoT applications. Description: Specification: Power Source: <a class="moretag" href="https://www.epanorama.net/blog/2024/03/01/modbus-rtu-relay-module/">&#8594;</a></p>]]></description>
				<content:encoded><![CDATA[<p>Here is a Modbus RTU Relay Module I got some time ago, but waited for time to test it. It is a Modbus 2-channel relay module is expected to be very useful device for making something Modbus compatible. It should be suitable for industrial control equipments and/or component in IoT applications.</p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/20240229_183958.jpg"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/20240229_183958.jpg" alt="20240229_183958" width="4032" height="3024" class="alignnone size-full wp-image-195584" /></a></p>
<p>Description:<br />
Specification:<br />
Power Source: DC<br />
Contact Load: Low Power<br />
Voltage: 12V</p>
<p>Modbus RTU instruction<br />
Baud rate: 9600 8 NONE 1</p>
<p><a href="https://www.electroschematics.com/modbus/">This cheap relay module arrived with no user manual, no operating instructions, no datasheets, and no technical support.</a> </p>
<p>Steps:<br />
1. Software settings communication baud rate<br />
2. Set the address (communication using the device address, the default address is 01)</p>
<p>Modbus RTU instructions<br />
Baud rate :9600 8 NONE 1</p>
<p><a href="https://www.electroschematics.com/modbus/">Modbus RTU Relay Module</a> article describes 5V version of same type of board. The article list also the following commands to control the relays on the board. </p>
<p>Relay 1 ON = 01 05 00 00 FF 00 8C 3A<br />
Relay 2 ON = 01 05 00 01 FF 00 DD FA<br />
Relay 1 OFF = 01 05 00 00 00 00 CD DA<br />
Relay 2 OFF = 01 05 00 01 00 00 9C 0A</p>
<p>After finishing the command I should get get the corresponding relay click and LED feedback and relay indicator lights up when the relay is ON.</p>
<p>I needed a software to send those codes to the device. The typical normal terminal editors like <a href="https://teratermproject.github.io/index-en.html">TeraTerm</a> and <a href="https://www.putty.org/">Putty</a> are not the right tools to do that. I need something where I can feed those HEX codes and send them out when I need. <a href="https://www.der-hammer.info/pages/terminal.html">HTerm</a> is a free terminal program for serial communication running on Windows and Linux. It supports sending messages you define (it accept input in HEX format). I installed to Windows version to a computer that run Windows 10. </p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/hterm_modbusGIF.gif"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/hterm_modbusGIF.gif" alt="hterm_modbusgif" width="891" height="599" class="alignnone size-full wp-image-195582" /></a></p>
<p>The software worked well and my card reacted to most of those commands. Everything except relay one off command worked. </p>
<p>The board tells that it is designed to work with 12V power (it has relays with 12V coils in there). For a short test it seemed to work OK when powered with 9V battery. The relays say that they can control 10A 250V AC or 10A 30V DC. The relay outputs have a changeover contacts (closes one circuit and simultaneously opens a second circuit).</p>
<p>According <a href="https://www.modbustools.com/modbus.html">Modbus protocol description</a> the data packets indicate that the default device address is 1 (0&#215;01) and the relays are controlled with Write Single Coil (0&#215;05) command. The write address for first relay is 0 (0&#215;0000) and for second relay it is 1 (0&#215;0001). The value to write to turn on relay is 0xFF00 and to turn relay off the value to write is 0&#215;0000.</p>
<p>Next test was to try a Modbus test software for controlling the relays. I used a free <a href="https://www.modbustester.com/">PowerHud Mobbus Tester</a> softwARE from <a href="https://www.modbustester.com/">https://www.modbustester.com/</a> to test Modbus communications. It worked well and could control both relays. </p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/03/powerhud2.gif"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/03/powerhud2.gif" alt="powerhud2" width="835" height="634" class="alignnone size-full wp-image-195597" /></a></p>
<p>The module also supports two digital inputs. There was lack of exact technical data on voltage levels they are designed to use and the addresses the information should be read from. But after some testing I found out that the inputs can be rad with Read Discrete Input (0&#215;02) command at addresses 0&#215;0000 for IN1 and  0&#215;0001 for IN2. </p>
<p>The inputs are connected to the power input ground</p>
<p>The inputs seemed to react so that a positive voltage of 0 to 0.6V showed state &#8220;off&#8221; and voltage of 0.7V to 12V showed state &#8220;on&#8221;. Due the lack of exact technical data I did not try higher voltage than the device nominal operating voltage. The input circuit seems to consists of a transistor driven with few resistors. I measured that the input takes around 2 mA current when you feed control voltage to it from 9V battery.</p>
<p>Information on other board that look similar but might not be exactly similar:</p>
<p>Modbus RTU Relay Module<br />
<a href="https://www.electroschematics.com/modbus/">https://www.electroschematics.com/modbus/</a></p>
<p>MODBUS RTU 2 CHANNEL RELAY MODULE FIRST TEST<br />
<a href="https://www.youtube.com/watch?v=o5cIF3TRwyg">https://www.youtube.com/watch?v=o5cIF3TRwyg</a></p>
<p>N4ROB02 2CH Micro Size MODBUS RTU RS485 Relay Board<br />
<a href="https://www.youtube.com/watch?v=P0LsmAz_VpU">https://www.youtube.com/watch?v=P0LsmAz_VpU</a></p>
<p>Modbus-Rtu 2 Relay Outputs 2 Switch Inputs TTL/ RS485 Interface Communication<br />
<a href="https://www.fruugo.fi/modbus-rtu-2-relay-outputs-2-switch-inputs-ttl-rs485-interface-communication/p-274194316-608528429?language=en&#038;ac=croud&#038;utm_source=organic_shopping&#038;utm_medium=organic">https://www.fruugo.fi/modbus-rtu-2-relay-outputs-2-switch-inputs-ttl-rs485-interface-communication/p-274194316-608528429?language=en&#038;ac=croud&#038;utm_source=organic_shopping&#038;utm_medium=organic</a></p>
<p>N4ROB02 2CH Micro Size MODBUS RTU RS485 Relay Board<br />
<a href="https://www.youtube.com/watch?v=P0LsmAz_VpU">https://www.youtube.com/watch?v=P0LsmAz_VpU</a></p>
<p>Modbus RTU 2 Way Relay Module TTL/RS485 Interface Communication with Indicator<br />
<a href="https://www.ebay.co.uk/itm/144858429900?chn=ps&#038;_ul=GB&#038;_trkparms=ispr%3D1&#038;amdata=enc%3A1n1VKqhPwR8y76HhajGXCxw84&#038;norover=1&#038;mkevt=1&#038;mkrid=710-169684-076987-9&#038;mkcid=2&#038;itemid=144858429900&#038;targetid=293946777986&#038;device=c&#038;mktype=pla&#038;googleloc=1005576&#038;poi=&#038;campaignid=20646531284&#038;mkgroupid=154544387436&#038;rlsatarget=pla-293946777986&#038;abcId=&#038;merchantid=232722533&#038;gad_source=1&#038;gclid=EAIaIQobChMIgLXm4fPEhAMV-VCRBR0IYgy8EAQYCCABEgLCAfD_BwE">https://www.ebay.co.uk/itm/144858429900?chn=ps&#038;_ul=GB&#038;_trkparms=ispr%3D1&#038;amdata=enc%3A1n1VKqhPwR8y76HhajGXCxw84&#038;norover=1&#038;mkevt=1&#038;mkrid=710-169684-076987-9&#038;mkcid=2&#038;itemid=144858429900&#038;targetid=293946777986&#038;device=c&#038;mktype=pla&#038;googleloc=1005576&#038;poi=&#038;campaignid=20646531284&#038;mkgroupid=154544387436&#038;rlsatarget=pla-293946777986&#038;abcId=&#038;merchantid=232722533&#038;gad_source=1&#038;gclid=EAIaIQobChMIgLXm4fPEhAMV-VCRBR0IYgy8EAQYCCABEgLCAfD_BwE</a></p>
<p>LC 2-way Modbus relay module<br />
<a href="http://www.chinalctech.com/m/view.php?aid=455">http://www.chinalctech.com/m/view.php?aid=455</a></p>
<p>N4ROB02 2CH Micro Size MODBUS RTU RS485 Relay Board<br />
<a href="https://www.youtube.com/watch?v=P0LsmAz_VpU">https://www.youtube.com/watch?v=P0LsmAz_VpU</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.epanorama.net/blog/2024/03/01/modbus-rtu-relay-module/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>XY-MD02 Temperature and Humidity Sensor</title>
		<link>https://www.epanorama.net/blog/2024/02/28/xy-md02-temperature-and-humidity-sensor/</link>
		<comments>https://www.epanorama.net/blog/2024/02/28/xy-md02-temperature-and-humidity-sensor/#comments</comments>
		<pubDate>Wed, 28 Feb 2024 18:23:41 +0000</pubDate>
		<dc:creator><![CDATA[Tomi Engdahl]]></dc:creator>
				<category><![CDATA[Industrial Automation]]></category>
		<category><![CDATA[Product tests]]></category>

		<guid isPermaLink="false">https://www.epanorama.net/newepa/?p=195521</guid>
		<description><![CDATA[<p>I had ordered months ago a XY-MD02 Temperature and Humidity Transmitter Detection Sensor Module Modbus SHT40 Temperature Sensor from some Chinese source (it is available from many on-line shops). Now I had finally some time to test it. Parameters: Product name: temperature and humidity transmitter DC power supply: DC 5V-30V Output signal: RS485 signal Temperature <a class="moretag" href="https://www.epanorama.net/blog/2024/02/28/xy-md02-temperature-and-humidity-sensor/">&#8594;</a></p>]]></description>
				<content:encoded><![CDATA[<p>I had ordered months ago a XY-MD02 Temperature and Humidity Transmitter Detection Sensor Module Modbus SHT40 Temperature Sensor from some Chinese source (it is available from many on-line shops). Now I had finally some time to test it.</p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/20240226_200104.jpg"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/20240226_200104.jpg" alt="20240226_200104" width="4032" height="3024" class="alignnone size-full wp-image-195537" /></a></p>
<p><a href="https://www.aliexpress.com/item/1005001475675808.html">Parameters</a>:<br />
Product name: temperature and humidity transmitter<br />
DC power supply: DC 5V-30V<br />
Output signal: RS485 signal<br />
Temperature accuracy: ±0.5℃ (25℃)<br />
Humidity accuracy: ±3%RH<br />
Temperature range: 0%RH-80%RJ<br />
Temperature resolution: 0.1℃<br />
Humidity resolution: 0.1%RH<br />
Equipment power consumption: ≤0.2W<br />
Communication address: 1-247 can be set, default 1<br />
Communication protocol: Modbus-RTU protocol and custom common protocol<br />
Baud rate: configurable, default 9600, 8-bit data, 1-bit stop, no parity</p>
<p>This product integrates the MODBUS protocol and the common protocol Using RS485 hardware interface. The user can choose the communication protocol. The product adopts industrial grade chip, high-precision <a href="https://sensirion.com/products/catalog/SHT40/">SHT40 temperature and humidity sensor</a>.</p>
<p>Wiring:<br />
<a href="https://www.aliexpress.com/item/1005001475675808.html"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/XYwiring.gif" alt="xywiring" width="793" height="278" class="alignnone size-full wp-image-195533" /></a></p>
<p>My plan was to first test it with Modbus protocol. I wired this sensor to PC using a cheap &#8220;no name&#8221; USB to RS-485 adapter. For powering the sensor I used 5V from USB port (wired to sensor with cut USB cable).</p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/20240226_195043.jpg"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/20240226_195043.jpg" alt="20240226_195043" width="4032" height="3024" class="alignnone size-full wp-image-195539" /></a></p>
<p>Here is the overview of the supported Modbus communications protocol. </p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/XYMD02modbus.gif"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/XYMD02modbus.gif" alt="xymd02modbus" width="859" height="554" class="alignnone size-full wp-image-195535" /></a></p>
<p>I think I need to read the temperature and humidity register. To use it I need some software to handle Modbus communications and help testing if it works.</p>
<p><a href="https://store.chipkin.com/products/tools/cas-modbus-scanner">CAS Modbus Scanner</a> is a free proprietary application from Chipkin Automation Systems that I used as first tool to verify that basic Modbus communications works and devices could be found on but. It&#8217;s Discover functionality allowed to find that device is there, but for some reason the software did not seem to get successfully data from it.</p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/CASModbus.gif"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/CASModbus.gif" alt="casmodbus" width="752" height="716" class="alignnone size-full wp-image-195526" /></a></p>
<p>So it seems that I needed some other tool to make communications work. <a href="https://www.modbustester.com/">PowerHud Mobbus Tester</a> from <a href="https://www.modbustester.com/">https://www.modbustester.com/</a> could read the data successfully from the sensor.</p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/PowerHud.gif"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/PowerHud.gif" alt="powerhud" width="830" height="631" class="alignnone size-full wp-image-195529" /></a></p>
<p>How to interpret data info from <a href="https://www.aliexpress.com/item/1005001475675808.html">https://www.aliexpress.com/item/1005001475675808.html</a></p>
<p><a href="https://www.aliexpress.com/item/1005001475675808.html"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/XYMD02commands.gif" alt="xymd02commands" width="942" height="695" class="alignnone size-full wp-image-195530" /></a></p>
<p>In addition to Modbus protocol, there is another protocol called common protocol. That &#8220;common protocol&#8221; is a simple ASCII protocol that can be used with any common serial port terminal program. I followed the instructions from <a href="https://accautomation.ca/xy-md02-temp-humidity-serial-uart-communication/">XY-MD02 Temp Humidity Serial UART Communication</a> article and <a href="https://accautomation.ca/humix/video/cU01bBzHXO2">video</a>. Here is the most important takeout of special Putty settings in addition to serial port (9600 BPS 8N1) needed to get communications to work:</p>
<p><a href="https://accautomation.ca/xy-md02-temp-humidity-serial-uart-communication/"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/XY-MD02-Temperature-Humidity-Serial-UART-Communication-310-min.png" alt="xy-md02-temperature-humidity-serial-uart-communication-310-min" width="452" height="442" class="alignnone size-full wp-image-195553" /></a></p>
<p>I got this other protocol to work with Putty program. The READ command reads the temperature and humidity values.</p>
<p><a href="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/XY_UART.gif"><img src="https://www.epanorama.net/newepa/wp-content/uploads/2024/02/XY_UART.gif" alt="xy_uart" width="660" height="419" class="alignnone size-full wp-image-195547" /></a></p>
<p>The common protocol has said to have an automatic upload function (connecting RS485 through the serial port adjustment tool will automatically output temperature and humidity). That can be started using command AUTO.</p>
<p>Links to more material:</p>
<p>XY-MD02 Sensor Setting – Modbus RTU Network<br />
<a href="https://accautomation.ca/xy-md02-sensor-setting-modbus-rtu-network/">https://accautomation.ca/xy-md02-sensor-setting-modbus-rtu-network/</a></p>
<p>XY-MD02 Temp Humidity Serial UART Communication<br />
<a href="https://accautomation.ca/xy-md02-temp-humidity-serial-uart-communication/">https://accautomation.ca/xy-md02-temp-humidity-serial-uart-communication/</a></p>
<p><a href=" https://www.instructables.com/XY-MD02-Temperature-and-Humidity-Sensor-Module-Mod/">https://www.instructables.com/XY-MD02-Temperature-and-Humidity-Sensor-Module-Mod/</a></p>
<p>Product pages with data:<br />
<a href="https://www.aliexpress.com/item/1005001475675808.html">https://www.aliexpress.com/item/1005001475675808.html</a></p>
<p>Videos:<br />
<a href="https://www.youtube.com/watch?v=V0_IqkWIPG0">https://www.youtube.com/watch?v=V0_IqkWIPG0</a><br />
<a href="https://www.youtube.com/watch?v=e_1QHtkOf6k">https://www.youtube.com/watch?v=e_1QHtkOf6k</a></p>
<p>Source code links:<br />
<a href="https://github.com/TitusSetiawan/XYMD02-ESP32-modbus">https://github.com/TitusSetiawan/XYMD02-ESP32-modbus</a><br />
<a href="https://github.com/cesgarma/modbus-XY-MD02">https://github.com/cesgarma/modbus-XY-MD02</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.epanorama.net/blog/2024/02/28/xy-md02-temperature-and-humidity-sensor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Electromechanical thermostat</title>
		<link>https://www.epanorama.net/blog/2021/12/04/electromechanical-thermostat/</link>
		<comments>https://www.epanorama.net/blog/2021/12/04/electromechanical-thermostat/#comments</comments>
		<pubDate>Sat, 04 Dec 2021 16:11:23 +0000</pubDate>
		<dc:creator><![CDATA[Tomi Engdahl]]></dc:creator>
				<category><![CDATA[Electrical power]]></category>
		<category><![CDATA[Industrial Automation]]></category>
		<category><![CDATA[Teardowns]]></category>

		<guid isPermaLink="false">https://www.epanorama.net/blog/?p=190249</guid>
		<description><![CDATA[<p>Here is teardown of Stego FZK 011 thermostat. Thar is an electronechanical thermostat that can control heating resistor and/or cooling fan. The thermostat is based on bimetal strip that bends based on temperature. To get sharp transition and some hysteresis there is also magnet near silver calibration adjustment screw and electrical contacts. Components on board <a class="moretag" href="https://www.epanorama.net/blog/2021/12/04/electromechanical-thermostat/">&#8594;</a></p>]]></description>
				<content:encoded><![CDATA[<p>Here is teardown of Stego FZK 011 thermostat. Thar is an electronechanical thermostat that can control heating resistor and/or cooling fan.</p>
<p><a href="https://www.epanorama.net/blog/wp-content/uploads/2021/12/20211203_123347.jpg"><img src="https://www.epanorama.net/blog/wp-content/uploads/2021/12/20211203_123347.jpg" alt="20211203_123347" width="4032" height="3024" class="alignnone size-full wp-image-190251" /></a></p>
<p>The thermostat is based on bimetal strip that bends based on temperature. To get sharp transition and some hysteresis there is also magnet near silver calibration adjustment screw and electrical contacts. Components on board are small 4700 pF capacitor for NC contact filtering and one resistor (marked as RF in circuit wiring).</p>
<p><a href="https://www.epanorama.net/blog/wp-content/uploads/2021/12/20211203_123359.jpg"><img src="https://www.epanorama.net/blog/wp-content/uploads/2021/12/20211203_123359.jpg" alt="20211203_123359" width="4032" height="3024" class="alignnone size-full wp-image-190253" /></a></p>
<p>The electrical NC contact (heater) is rated for 10A current at AC230V and NO contact (fan) for 5A. The contacts can also be used for low voltage signals (24V DC minimum 20 mA current for reliable indication).</p>
<p><a href="https://www.epanorama.net/blog/wp-content/uploads/2021/12/20211203_123616.jpg"><img src="https://www.epanorama.net/blog/wp-content/uploads/2021/12/20211203_123616.jpg" alt="20211203_123616" width="4032" height="3024" class="alignnone size-full wp-image-190254" /></a></p>
<p><a href="https://www.epanorama.net/blog/wp-content/uploads/2021/12/Screenshot_20211204-173645_Gallery.jpg"><img src="https://www.epanorama.net/blog/wp-content/uploads/2021/12/Screenshot_20211204-173645_Gallery.jpg" alt="screenshot_20211204-173645_gallery" width="1079" height="505" class="alignnone size-full wp-image-190257" /></a></p>
<p>RF had value of around 237 kohms. When wired at mains power application means about 1 mA current at 230V AC goes through the RF resistor when the heater is turned on. Around 230 mW power loss on resistor, which means some heating to bimetal strip to reduce hysteresis according to document that came with the product. According to manual the N contact connected to resistor can be left not connected if higher hysteresis is wanted than what is got when N is wired to neutrak.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.epanorama.net/blog/2021/12/04/electromechanical-thermostat/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cyber attack caused death?</title>
		<link>https://www.epanorama.net/blog/2019/10/25/cyber-attack-caused-death/</link>
		<comments>https://www.epanorama.net/blog/2019/10/25/cyber-attack-caused-death/#comments</comments>
		<pubDate>Fri, 25 Oct 2019 13:31:34 +0000</pubDate>
		<dc:creator><![CDATA[Tomi Engdahl]]></dc:creator>
				<category><![CDATA[Cybersecurity]]></category>
		<category><![CDATA[Industrial Automation]]></category>
		<category><![CDATA[Safety]]></category>

		<guid isPermaLink="false">http://www.epanorama.net/newepa/?p=184626</guid>
		<description><![CDATA[<p>For years there has been prediction when cyber incident will kill someone. It seems that it has happened. &#8220;Some of the recent cybersecurity incidents involving industrial control systems (ICS) have resulted in injury and even loss of life, according to a survey conducted by Control Systems Cyber Security Association International (CS2AI).&#8221; More: https://www.securityweek.com/some-ics-security-incidents-resulted-injury-loss-life-survey <a class="moretag" href="https://www.epanorama.net/blog/2019/10/25/cyber-attack-caused-death/">&#8594;</a></p>]]></description>
				<content:encoded><![CDATA[<p>For years there has been prediction when cyber incident will kill someone. It seems that it has happened.</p>
<p>&#8220;Some of the recent cybersecurity incidents involving industrial control systems (ICS) have resulted in injury and even loss of life, according to a survey conducted by Control Systems Cyber Security Association International (CS2AI).&#8221;</p>
<p>More:</p>
<p><a href="https://www.securityweek.com/some-ics-security-incidents-resulted-injury-loss-life-survey">https://www.securityweek.com/some-ics-security-incidents-resulted-injury-loss-life-survey</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.epanorama.net/blog/2019/10/25/cyber-attack-caused-death/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Phoenix Contact SSR teardown</title>
		<link>https://www.epanorama.net/blog/2019/02/11/phoenix-contact-ssr-teardown/</link>
		<comments>https://www.epanorama.net/blog/2019/02/11/phoenix-contact-ssr-teardown/#comments</comments>
		<pubDate>Mon, 11 Feb 2019 19:57:10 +0000</pubDate>
		<dc:creator><![CDATA[Tomi Engdahl]]></dc:creator>
				<category><![CDATA[Industrial Automation]]></category>
		<category><![CDATA[Teardowns]]></category>

		<guid isPermaLink="false">http://www.epanorama.net/newepa/?p=181379</guid>
		<description><![CDATA[<p>Here is a tear-down of ST-OV2- 12DC/ 60DC/1 – 2905022 solid state relay from Phoenix Contact. This product is old, obsolete and manufacturing has been discontinued. &#160; Solid-state relay ST-OV2- 12DC/ 60DC/1 &#8211; 2905022 is a plug-in power solid-state relay (plug to certain Phoenix Contact wiring terminals), with LED and protective circuit in input and <a class="moretag" href="https://www.epanorama.net/blog/2019/02/11/phoenix-contact-ssr-teardown/">&#8594;</a></p>]]></description>
				<content:encoded><![CDATA[<p>Here is a tear-down of <!--StartFragment--> <a href="https://www.phoenixcontact.com/online/portal/us?uri=pxc-oc-itemdetail:pid=2905022&amp;library=usen&amp;tab=1">ST-OV2- 12DC/ 60DC/1 – 2905022</a> solid state relay from Phoenix Contact. This product is old, obsolete and manufacturing has been discontinued.</p>
<p><img class="alignnone wp-image-181369 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2019/01/wpid-img_20190107_22021453829529.jpg" alt="" width="3000" height="2250" /></p>
<p>&nbsp;</p>
<p><a href="https://www.phoenixcontact.com/online/portal/us?uri=pxc-oc-itemdetail:pid=2905022&amp;library=usen&amp;tab=1">Solid-state relay ST-OV2- 12DC/ 60DC/1 &#8211; 2905022</a> is a plug-in power solid-state relay (plug to certain Phoenix Contact wiring terminals), with LED and protective circuit in input and output circuits. Here is a simplified circuit diagram (from manufacturer data) of this solid state relay model:</p>
<p>&nbsp;</p>
<p><a href="https://www.phoenixcontact.com/online/portal/us?uri=pxc-oc-itemdetail:pid=2905022&amp;library=usen&amp;tab=1"><img class="alignnone" src="https://www.phoenixcontact.com/assets/images_pr/product_drawings/large/stw1w5_04.jpg" alt="" width="408" height="186" /></a></p>
<p>This relay model has nominal input voltage of 12V DC. The relay output is designed to drive load at<!--StartFragment--> 12 &#8211; 60 V DC voltage range and maximum 1A current. <a href="https://www.phoenixcontact.com/online/portal/us?uri=pxc-oc-itemdetail:pid=2905022&amp;library=usen&amp;tab=1">More detailed data</a>: <!--EndFragment--></p>
<p><!--StartFragment--></p>
<p><strong>Input data</strong><br />
Nominal input voltage UN 12 V DC<br />
Input voltage range in reference to UN 0.8 &#8230; 1.2<br />
Input voltage range 9.6 V DC &#8230; 14.4 V DC<br />
Switching threshold &#8220;0&#8243; signal in reference to UN ≤ 0.4<br />
Switching threshold &#8220;1&#8243; signal in reference to UN ≥ 0.8<br />
Typical input current at UN 7 mA<br />
Typical response time 20 µs<br />
Typical turn-off time 200 µs<br />
Status display Yellow LED<br />
Type of protection Reverse polarity protection<br />
Surge protection<br />
Protective circuit/component Polarity protection diode<br />
Transmission frequency 500 Hz</p>
<p><strong>Output data</strong><br />
Output voltage range 12 V DC &#8230; 60 V DC<br />
Limiting continuous current 1 A (see derating curve)<br />
Surge current 5 A (t = 1 s)<br />
Peak offstate voltage 60 V DC (Collector-emitter reverse voltage)<br />
Voltage drop at max. limiting continuous current 1.2 V<br />
Output circuit 2-wire, floating<br />
Type of protection Reverse polarity protection<br />
Surge protection<br />
Protective circuit/component Polarity protection diode</p>
<p><strong>General</strong><br />
Test voltage input/output 2.5 kV AC<br />
Mounting position any<br />
Standards/regulations DIN VDE 0110b, Gr. C for 250 V DC<br />
DIN VDE 0160 (in relevant parts)</p>
<p><!--EndFragment--></p>
<p>Let&#8217;s take a closer look at the product:</p>
<p><img class="alignnone size-full wp-image-181371" src="http://www.epanorama.net/newepa/wp-content/uploads/2019/01/wpid-img_20190107_220221794889457.jpg" alt="" width="3000" height="2250" data-temp-aztec-id="2774e1f4-b8d4-481f-81ca-bf64cd7f70fe" /></p>
<p><img class="alignnone wp-image-181370 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2019/01/wpid-img_20190107_220241331600966.jpg" alt="" width="3000" height="2250" data-temp-aztec-id="988dbb14-6741-4719-944f-5ffcc2a8e086" /></p>
<p><img class="alignnone wp-image-181378 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2019/01/wpid-img_20190107_2203571888221198.jpg" alt="" width="3000" height="2250" /></p>
<p>Let&#8217;s open the case:</p>
<p><img class="alignnone size-full wp-image-181372" src="http://www.epanorama.net/newepa/wp-content/uploads/2019/01/wpid-img_20190107_220250452962964.jpg" alt="" width="3000" height="2250" /></p>
<p><img class="alignnone wp-image-181373 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2019/01/wpid-img_20190107_2203071954633971.jpg" alt="" width="3000" height="2250" /></p>
<p>A look at electronics inside. This looks quite complicated construction that has many components and two circuit boards.</p>
<p><img class="alignnone size-full wp-image-181375" src="http://www.epanorama.net/newepa/wp-content/uploads/2019/01/wpid-img_20190107_2203162138213102.jpg" alt="" width="3000" height="2250" /></p>
<p><img class="alignnone wp-image-181374 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2019/01/wpid-img_20190107_220341638979965.jpg" alt="" width="2250" height="3000" /></p>
<p><img class="alignnone size-full wp-image-181376" src="http://www.epanorama.net/newepa/wp-content/uploads/2019/01/wpid-img_20190107_2203321349790142.jpg" alt="" width="3000" height="2250" /></p>
<p><img class="alignnone wp-image-181377 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2019/01/wpid-img_20190107_220336754738734.jpg" alt="" width="2250" height="3000" /></p>
<p>The <a href="https://www.phoenixcontact.com/online/portal/us?uri=pxc-oc-itemdetail:pid=2905022&amp;library=usen&amp;tab=1">product data</a> also gives this kind of drawing that describes the circuit protection built into the relay:</p>
<p><a href="https://www.phoenixcontact.com/online/portal/us?uri=pxc-oc-itemdetail:pid=2905022&amp;library=usen&amp;tab=1"><img class="alignnone" src="https://www.phoenixcontact.com/assets/images_pr/product_drawings/large/stw2w3_04.jpg" alt="" width="134" height="408" /></a></p>
<p>Here is my hand drawing of the circuit inside SSR:</p>
<p><img class="alignnone" src="http://www.epanorama.net/newepa/wp-content/uploads/2019/02/wpid-img_20190211_1830091868630950.jpg" alt="" width="3000" height="2250" /></p>
<p>The signal input circuit is pretty basic consisting of polarity protection diode, current limiting resistor, zener diode and optocoupler LED. There is also a VDR between input pins for over voltage / surge protection. Those three zero ohms resistors make me wonder why they have used so many resistors. The reason for this could be that because there are variations of this relay also for other voltages (for example <a href="https://www.digikey.com/catalog/en/partgroup/st-ov2-series/30469">24V DC input</a> and <a href="https://www.conrad.at/de/phoenix-contact-halbleiterrelais-10-st-st-ov2-110dc-60dc1-last-strom-max-1-a-schaltspannung-max-60-vdc-509122.html">110V DC input</a>), and on those higher voltage versions there could be need to use several resistors in series (to meet voltage and/or power handling ratings needed).</p>
<p>The output side is implemented with NPN power transistor that is driven with optoisolator output amplified with one PNP transistor. The all output transistors and optoisolator output have high enough rating to handle the full output voltage. On the output there is a surge protection component between output pins (striking voltage 65-71V). Theoretically the power transistor itself could handle much more current than 1A, but I think the output is limited to 1A because of thermal constraints (just transistor inside small case). Other limiting factor is that the IN4007 diode on the output is rated only for 1A current.</p>
<p>Component data of most important components:<br />
<a href="https://alltransistors.com/transistor.php?transistor=20139">2SD843</a> NPN power transistor (Vce 80V, Ic 5A , 40W, 10 MHz, hFE 70)</p>
<p><a href="https://www.onsemi.com/pub/Collateral/BC640-D.PDF">BC640</a> PNP transistor</p>
<p><a href="https://www.vishay.com/docs/83663/sfh601.pdf">SFH601-3</a> optoisolator</p>
<p><a href="https://www.littelfuse.com/~/media/electronics/datasheets/tvs_diodes/littelfuse_tvs_diode_1_5ke_datasheet.pdf.pdf">1.5K-68CA</a> Transient Voltage Suppression Diode</p>
]]></content:encoded>
			<wfw:commentRss>https://www.epanorama.net/blog/2019/02/11/phoenix-contact-ssr-teardown/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Phoenix Contact over voltage protector</title>
		<link>https://www.epanorama.net/blog/2018/12/23/phoenix-contact-over-voltage-protector/</link>
		<comments>https://www.epanorama.net/blog/2018/12/23/phoenix-contact-over-voltage-protector/#comments</comments>
		<pubDate>Sun, 23 Dec 2018 11:44:52 +0000</pubDate>
		<dc:creator><![CDATA[Tomi Engdahl]]></dc:creator>
				<category><![CDATA[Industrial Automation]]></category>
		<category><![CDATA[Teardowns]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.epanorama.net/newepa/?p=180998</guid>
		<description><![CDATA[<p>Here is tear-down of PT 2X2-24DC-ST over voltage protector for 24V systems: PT protective connector with protective circuit for two 2-wire floating signal circuits. 24 V DC nominal voltage. HART-compatible. What is insideComponents close-upWhat was found was two dual gas discharge tubes ant two other over voltage protectors. The gas discharge tubes were connected to <a class="moretag" href="https://www.epanorama.net/blog/2018/12/23/phoenix-contact-over-voltage-protector/">&#8594;</a></p>]]></description>
				<content:encoded><![CDATA[<p>Here is tear-down of <a href="https://www.phoenixcontact.com/online/portal/us?uri=pxc-oc-itemdetail:pid=2838228&amp;library=usen&amp;tab=1">PT 2X2-24DC-ST</a><br />
over voltage protector for 24V systems: PT protective connector with protective circuit for two 2-wire floating signal circuits. 24 V DC nominal voltage. HART-compatible.</p>
<p><img class="alignnone size-full wp-image-180992" src="http://www.epanorama.net/newepa/wp-content/uploads/2018/12/wpid-img_20181219_2223591283411353.jpg" width="2250" height="3000" data-temp-aztec-id="d3e63e8e-573e-401d-8504-8db2917cbff2"><img class="alignnone wp-image-180993 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2018/12/wpid-img_20181219_222346795205296.jpg" width="2250" height="3000">What is inside<img class="alignnone wp-image-180995 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2018/12/wpid-img_20181219_2223531826402321.jpg" width="2250" height="3000"><img class="alignnone wp-image-180996 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2018/12/wpid-img_20181219_2224371218416330.jpg" width="2250" height="3000"><img class="size-full" data-wpid="1253" src="http://www.epanorama.net/newepa/wp-content/uploads/2018/12/wpid-img_20181219_2224042059388486.jpg">Components close-up<img class="alignnone wp-image-180994 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2018/12/wpid-img_20181219_2224141547955639.jpg" width="3000" height="2250" data-temp-aztec-id="bfd71218-7b71-4d6a-87c8-97b558f7378a">What was found was two dual gas discharge tubes ant two other over voltage protectors. The gas discharge tubes were connected to pins at one end (two protectors for two signal wire pairs).The contacts on other and go to flexible circuit board that has just those surgectors/zeners in it. Look like a bit of complicated electro-mechanical construction because it looks like just directly soldering the components to pins on bottom had done the same.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.epanorama.net/blog/2018/12/23/phoenix-contact-over-voltage-protector/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Surge protection terminal 2</title>
		<link>https://www.epanorama.net/blog/2018/03/30/surge-protection-terminal-2/</link>
		<comments>https://www.epanorama.net/blog/2018/03/30/surge-protection-terminal-2/#comments</comments>
		<pubDate>Fri, 30 Mar 2018 04:14:14 +0000</pubDate>
		<dc:creator><![CDATA[Tomi Engdahl]]></dc:creator>
				<category><![CDATA[Industrial Automation]]></category>
		<category><![CDATA[Teardowns]]></category>

		<guid isPermaLink="false">http://www.epanorama.net/newepa/?p=176934</guid>
		<description><![CDATA[<p>Old Phoenix Contact terminals with gas tube based surge protection. <a class="moretag" href="https://www.epanorama.net/blog/2018/03/30/surge-protection-terminal-2/">&#8594;</a></p>]]></description>
				<content:encoded><![CDATA[<p>Old Phoenix Contact terminals with gas tube based surge protection.</p>
<p><img class="alignnone wp-image-176932 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2018/03/wpid-img_20180115_084832945866934.jpg" width="3000" height="2250" data-temp-aztec-id="940ab161-e174-4250-8c7b-7f5218dd8c66"></p>
<p><img class="alignnone wp-image-176933 size-full" src="http://www.epanorama.net/newepa/wp-content/uploads/2018/03/wpid-img_20180115_0848231296822097.jpg" width="3000" height="2250" data-temp-aztec-id="3473c49c-8129-4829-8980-8e9fa2652da5"></p>
]]></content:encoded>
			<wfw:commentRss>https://www.epanorama.net/blog/2018/03/30/surge-protection-terminal-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
