CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sun Oct 20, 2019 2:46 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Apr 18, 2019 4:15 pm 
Offline

Joined: Wed Dec 09, 2015 4:05 am
Posts: 54
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


Top
   
PostPosted: Fri May 24, 2019 7:24 pm 
Offline

Joined: Thu Jul 09, 2015 9:55 pm
Posts: 35
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.


Top
   
PostPosted: Wed Jul 10, 2019 11:45 am 
Offline

Joined: Wed Dec 09, 2015 4:05 am
Posts: 54
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


Top
   
PostPosted: Fri Aug 23, 2019 9:46 pm 
Offline

Joined: Sat Feb 27, 2016 5:01 am
Posts: 17
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited