<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Configure J1939 I/O Mapping via Scripting</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e5f3ab7ebd/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e5f3ab7ebd/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/e5f3ab7ebd/</id><updated>2025-10-24T19:00:48.722000Z</updated><subtitle>Recent posts to Configure J1939 I/O Mapping via Scripting</subtitle><entry><title>Configure J1939 I/O Mapping via Scripting</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e5f3ab7ebd/?limit=25#96b6" rel="alternate"/><published>2025-10-24T19:00:48.722000Z</published><updated>2025-10-24T19:00:48.722000Z</updated><author><name>fari</name><uri>https://forge.codesys.com/u/fari/</uri></author><id>https://forge.codesys.com49b717165559f06477251430488f6f71df8760ee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;With the latest version of Codesys, it’s now possible to import DBC files directly into the J1939 Manager, which is great. However, I’m trying to achieve the same thing programmatically and can’t find any scripting functions related to &lt;code&gt;import_dbc&lt;/code&gt; or any &lt;code&gt;host_parameter&lt;/code&gt; that would let me configure PGNs and signal mappings automatically.&lt;/p&gt;
&lt;p&gt;So far, I’ve managed to add the J1939 Manager and an ECU, and I can pass the DBC database to it, but I’m stuck when it comes to adding the signals.&lt;/p&gt;
&lt;p&gt;Has anyone figured out if this can be done through scripting?&lt;br/&gt;
(Attached is an illustration of what I am trying to accomplish programmatically).&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>