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 Thu Oct 17, 2019 11:56 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: J1939 Address Match
PostPosted: Thu Jul 14, 2016 8:52 pm 

Joined: Mon Feb 15, 2016 5:41 pm
Posts: 3
I am new to CoDeSys and J1939, but have been programming controllers and PLCs for a long time.

I am trying to receive messages from a joystick, but I'm not getting an address match (RX_SingleFrame.AddressMatch = false).

The header looks like this: 0x0CFDD633, which is a PGN of 0xFDD6, and an SA of 0x33, correct? Here's how I have PGN_Register set up:

i_CanDrvNbr: 1
i_PGN: 16#FDD6
i_DA: 5
o_Element: {blank}

Here's how RX_SingleFrame is set up:

i_Enable: true
i_Element: WJSL_PGN.o_Element
i_Timeout: T#250ms
i_CanDrvNbr: 1

Here's what the data looks in CANmoon:
0xCFDD633 01 00 01 00 FF 00 FF FF

What tools can I use to troubleshoot this?


Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 5 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