<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to J1939 connection between two devices</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4c2a4a5d40/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4c2a4a5d40/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/4c2a4a5d40/</id><updated>2024-05-23T17:05:19.437000Z</updated><subtitle>Recent posts to J1939 connection between two devices</subtitle><entry><title>J1939 connection between two devices</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4c2a4a5d40/?limit=25#322b" rel="alternate"/><published>2024-05-23T17:05:19.437000Z</published><updated>2024-05-23T17:05:19.437000Z</updated><author><name>tortilla</name><uri>https://forge.codesys.com/u/tortilla/</uri></author><id>https://forge.codesys.comc4c29822d952803390c24adb6d4c1e004d714bc6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;br/&gt;
I'm pretty new to CoDeSys so I don't know a lot of things yet. I have to create a connection between two devices (CANbus - J1939 connection). &lt;br/&gt;
The idea for now is to send a message from one to another (one operates on 3.5 SP11 the other one on 2.3)&lt;br/&gt;
I watched a few videos, worked with the documentation and worked with chatGPT 4o and was able to build the attached file.&lt;br/&gt;
This part is about the device on 3.5.11:&lt;br/&gt;
I'm using the J1939LocalECUDiag, TransmitParameterGroup, TransmissionTrigger Function blocks to send the message but my TransmitPG.xBusy / .xDone never turns to True and therefore my message is not sent while TransmitPG.xExcecute is True.&lt;br/&gt;
I added the two devices in the CANbus in the J1939Manager and addapted the options like I've seen in the documentation.&lt;/p&gt;
&lt;p&gt;Can anyone explain what's wrong with my code in this casse or give me advices how to properly create a connection between my two devices? &lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>