CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Thu Jul 27, 2017 1:33 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 
Offline

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:

Name: WJSL_PGN
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?

TIA!
Gyz


Top
   
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 1 guest


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