<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Device Scan </title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/862bd4c274/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/862bd4c274/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/862bd4c274/</id><updated>2025-05-26T09:57:20.068000Z</updated><subtitle>Recent posts to Device Scan </subtitle><entry><title>Device Scan </title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/862bd4c274/?limit=25#37d9" rel="alternate"/><published>2025-05-26T09:57:20.068000Z</published><updated>2025-05-26T09:57:20.068000Z</updated><author><name>qkkk</name><uri>https://forge.codesys.com/u/qkkk/</uri></author><id>https://forge.codesys.com70a8c13623ccc7fc55d20e1b19f9b6b527e7539a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I have developed a custom I/O driver in CODESYS that communicates via a Unix Domain Socket. In my DeviceDescription.xml, I have set up the following:&lt;/p&gt;
&lt;p&gt;&amp;lt;scan supported="true"&amp;gt;&lt;br/&gt;
&amp;lt;scanfbinstance fbname="IOScanDevice"&amp;gt;&lt;br/&gt;
The goal is to allow the user to scan for connected I/O modules from the CODESYS GUI ("Scan for Devices") and automatically populate the device tree with detected submodules.&amp;lt;/scanfbinstance&amp;gt;&amp;lt;/scan&amp;gt;&lt;/p&gt;
&lt;p&gt;The function block IOScanDevice is implemented in the driver library and added to the main device's FB instances. However, when I initiate the scan from the GUI, nothing appears to happen the function is not executed. &lt;/p&gt;
&lt;p&gt;Is there an example project or driver (open source or from CODESYS Forge) that demonstrates a working custom scan implementation?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>