Reading CAN ID issue

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
Chris_MIRA
Posts: 186
Joined: Wed Jan 23, 2013 3:43 pm
Has thanked: 2 times
Been thanked: 21 times
Contact:

Reading CAN ID issue

Post by Chris_MIRA »

Hi,
Im having trouble reading a CAN ID using the component macro (see attached code, CAN_HB send macro). The problem is that I cant get the code to recognise the ID of the sent message. Ive tried using all the "Get Rx Id" options simple, high and low. The attached test programme looks for a message, gets the message ID and sends its own can message with the ID of the original received message in D0. When run, and sending a message with id 20 the id number read is 1. I was expecting a decimal 20? Is this a FC problem or am I doing something silly?
Regards,
Chris

Post Reply