Page 1 of 1
Can module extension
Posted: Tue Jan 14, 2014 12:37 pm
by JFinlayson
Hi
I use can for marine NMEA 2000 which is can bus but using extended. ie 29 bit ID mode instead of 11bit, can you extend FLOWCODE 6 to access this. Having problems with ID if you can help in this matter?

Re: Can module extension
Posted: Tue Jan 14, 2014 1:35 pm
by Benj
Hello,
Yes the Flowcode component should allow standard and extended CAN ID's to work correctly.
Can you post your program so far, maybe explain your setup and detail any problems your facing and we will do our best to help.
Re: Can module extension
Posted: Wed Jan 15, 2014 1:59 pm
by JFinlayson
My computer just crashed. major failure. will attempt to recover files and post when all is up and running again
Re: Can module extension
Posted: Thu Jan 16, 2014 10:18 pm
by JFinlayson
Ok New Computer and programmer. Don't ask bit lost all data on raid drives.
Problem with ID on CAN is Flowcode 6 can not convert ULONG to string or UINT . This is a major headache at the moment. I have attached the little test programme I am playing with. It would seem from this that the 29 bit ID maybe wrong. but the major issue is the string conversion.

Re: Can module extension
Posted: Fri Jan 17, 2014 10:16 am
by Benj
Hello,
The to Hex String function will work with the ULONG and UINT variables.
The attached file should allow the string typecast command to compile correctly if you copy it into your Flowcode/CAL/PIC folder.
StringVar = string ULONGVar
Re: Can module extension
Posted: Fri Jan 17, 2014 9:18 pm
by JFinlayson
Thanks! I will try it out when time permits.

Re: Can module extension
Posted: Tue Jan 21, 2014 5:31 pm
by JonnyW
Hi.
This is most likely the protection system kicking in.
I will have a brows in our protection systems set-up to see if anything stands out.
Cheers,
Jonny
Re: Can module extension
Posted: Thu Mar 27, 2014 6:39 pm
by henker
Do you guys have this example in FC5???