<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Issue with J1939, PGN 65267 (Vehicle Position)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/47e3c3a4aa/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/47e3c3a4aa/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/47e3c3a4aa/</id><updated>2023-09-13T05:12:33.637000Z</updated><subtitle>Recent posts to Issue with J1939, PGN 65267 (Vehicle Position)</subtitle><entry><title>Issue with J1939, PGN 65267 (Vehicle Position)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/47e3c3a4aa/?limit=25#2c9e" rel="alternate"/><published>2023-09-13T05:12:33.637000Z</published><updated>2023-09-13T05:12:33.637000Z</updated><author><name>Ben Lewis</name><uri>https://forge.codesys.com/u/egret/</uri></author><id>https://forge.codesys.com56c27d8c90f443f76916bd9ca39bc1dda123e878</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a J1939 network (ISOBUS) connected to my PLC. I can receive various PGNs such as 65256 (Vehicle Direction/Speed) and 65254 (Time/Date). However, I cannot receive 65267 (Vehicle Position).&lt;/p&gt;
&lt;p&gt;PGN 65267 (VP) contains SPN 584 (Latitude) and SPN 585 (Longitude). On the network both SPNs return a value of -210 (meaning the CAN message payload is zero in both cases). The conversion settings are the default values and appear to be correct (see attached screenshot).&lt;/p&gt;
&lt;p&gt;Using a CAN analyser I can see that PGN 65267 (Vehicle Position) is being transmitted over the network with valid (non-zero) data that matches the latitude and longitude coordinates I would expect.&lt;/p&gt;
&lt;p&gt;I've created a program to read the raw J1939 data and this also returns valid data.&lt;/p&gt;
&lt;p&gt;It seems that the Codesys J1939 database has a problem with reading PGN 65267 messages. Can anybody else confirm this?&lt;/p&gt;
&lt;p&gt;I'm using Codesys Version 3.5 SP16 Patch 5.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>