CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

NMEA 2000 library for Codesys or some hints
https://forum.codesys.com/viewtopic.php?f=11&t=9694
Page 1 of 1

Author:  teichhei [ Thu Apr 18, 2019 4:15 pm ]
Post subject:  NMEA 2000 library for Codesys or some hints

Hi everyone,

I'm trying to get some info from a Raymarine network into a Wago PLC. I believe I have the PGN pulled out of the CAN ID correctly but now what? Does anybody have any info how exactly those fields are built and multiple messages reassembled?
I tried first on a car OBD port but that is a whole dogs breakfast if you don't know what to expect.
I'm using Wago E!Cockpit so I have to receive the 29 bit frames and deal with them. A library would be great.


Sent from my SM-G935F using Tapatalk

Author:  somlioy [ Fri May 24, 2019 7:24 pm ]
Post subject:  Re: NMEA 2000 library for Codesys or some hints

If I'm not mistaken, the NMEA2000 standard is closed and costs several grands, and as far as I know theres no such thing as NMEA2000 library. Closest thing is: https://github.com/canboat/canboat, where they have done some reverse engineering.

I think your best bet would be to use a NMEA2000-NMEA0183 converter where the latter i pure ASCII.

Author:  teichhei [ Wed Jul 10, 2019 11:45 am ]
Post subject:  Re: NMEA 2000 library for Codesys or some hints

Thanks, CANBoat had all I needed to adapt. A few things are tricky though like injecting messages to control autopilot. So much traffic it is hard to find the right messages to spoof.

Sent from my SM-G975F using Tapatalk

Author:  Maximilian_K [ Fri Aug 23, 2019 9:46 pm ]
Post subject:  Re: NMEA 2000 library for Codesys or some hints

I also believe you can set up a J1939 network in CoDeSys and add custom PGNs which you can point to the NMEA2k you want. Raymarine should have some sort of document with the common PGNs.

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/