<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Set DeviceID of an IO-Link Sensor at Runtime</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f61246f7bd/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f61246f7bd/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/f61246f7bd/</id><updated>2025-04-28T13:06:05.334000Z</updated><subtitle>Recent posts to Set DeviceID of an IO-Link Sensor at Runtime</subtitle><entry><title>Set DeviceID of an IO-Link Sensor at Runtime</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f61246f7bd/?limit=25#f869" rel="alternate"/><published>2025-04-28T13:06:05.334000Z</published><updated>2025-04-28T13:06:05.334000Z</updated><author><name>atone</name><uri>https://forge.codesys.com/u/atone/</uri></author><id>https://forge.codesys.com7812671dd4493adebe74398f89ae2362bda54a6b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Answering to myself: is not possible according to the IFM support, this possibility has not been taken into account, although the interfaces and FBs in Codesys would apparently support it. So I ended up having to deactivate the sensor validation and the backup &amp;amp; restore functionality in the master and implement it in the PLC myself.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Set DeviceID of an IO-Link Sensor at Runtime</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f61246f7bd/?limit=25#e4ad" rel="alternate"/><published>2025-03-19T12:28:20.828000Z</published><updated>2025-03-19T12:28:20.828000Z</updated><author><name>atone</name><uri>https://forge.codesys.com/u/atone/</uri></author><id>https://forge.codesys.comeeb09cbe23c15e63d17ac3f002ab248ce7555736</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I need to be able to change (set) the DeviceID of an IO-Link sensor (see DeviceID.png) at runtime.&lt;/p&gt;
&lt;p&gt;I tried with both ProfinetCommon.PN_PortConfiguration and ProfinetCommon.IOL_PortConfiguration, but I get an error for both when I try to read the port configuration (see PN_PortConfiguration.png).&lt;/p&gt;
&lt;p&gt;Does one of those FBs is the right one for my purpose? Do I possibly make a mistake when assigning the parameter IOLD_ID/IOLM_ID?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>