Can M800 use CAN input data for control value?

Discussion and support for MoTeC's latest generation ECUs

Can M800 use CAN input data for control value?

Postby Harata R&D on Sun Jun 03, 2012 7:07 pm

Hello.

I use M800 for motor cycle.

Handle switch of My motor bike has Up down switch.
The switch is connected to M800 in order to output 2.5V in neutral, 5V in Up and 0V in down.

I wonder if its switch can be used for level select of traction control
and to control level of correction coefficient about IG or FI.

There are 2D logger system in my CAN network.
so I came up with the following idea:

No 1. When Up(Down) bottan is pushed Analog-data outputed by Can from terminal SV(0V) is read by 2D logger.

No 2. If Swctch is Up(5V) and 5V is sent to 2D by CAN, 2D increments arbitrary counter.
If Switch is DN (0V) and 0V is sent to 2D by CAN, 2D decrements arbitrary counter.

No 3. The arbitrary date worked out by No.2 is sent MoTec by Can-ID.
and Motec use the deta for level of date of TC


Could you tell me if M800 can use CAN input data from outside for controlling value ?
Last edited by Harata R&D on Wed Jun 06, 2012 7:19 pm, edited 2 times in total.
User avatar
Harata R&D
 
Posts: 3
Joined: Tue May 15, 2012 12:23 am

Re: Can M800 use CAN input data for control value?

Postby MarkMc on Tue Jun 05, 2012 2:30 pm

Hello,
There should be no problem recieving CAN data from an outside source into the M800 but it must be in a format that our ECU can detect.

Generally speaking the CAN data from our data loggers is sent to the ECU as a Compound message with Motorola byte order. I suppose it really would depend on how many channels you wanted to send. Do you have any CAN details from your device?
MoTeC Research Center Melbourne, Australia
User avatar
MarkMc
MoTeC
 
Posts: 545
Joined: Thu May 01, 2008 12:28 pm

Re: Can M800 use CAN input data for control value?

Postby Harata R&D on Tue Jun 05, 2012 11:44 pm

Thank you MarkMc.

MY 2Dlogger can sequential send(or recieve) any value as to CAN-ID and position from top of datafield.
I have already succeed that sent to the 2Dlogger with any 24 channels from M800.
But I don't know how to use control value(from 2Dlogger) in M800.
My 2Dlogger can not 3way handshake but maybe can aplly simple CCP.

Would you tell me detail you said "Compound message"?
User avatar
Harata R&D
 
Posts: 3
Joined: Tue May 15, 2012 12:23 am

Re: Can M800 use CAN input data for control value?

Postby MarkMc on Thu Jun 07, 2012 4:57 pm

A compound message is where the first 2 data bytes are used as an identifier so that one CAN address can have multiple data sets. Of course this leaves just 6 data bytes per identifier.

If you only wanted to send 3 x 16bit (2 byte) channels you could make sure the first 16 data bits were 0 and your second 16 data bits could be your CAN message.
MoTeC Research Center Melbourne, Australia
User avatar
MarkMc
MoTeC
 
Posts: 545
Joined: Thu May 01, 2008 12:28 pm

Re: Can M800 use CAN input data for control value?

Postby Harata R&D on Fri Jun 08, 2012 12:26 am

Thank you MarkMC.

I understand to "compound message".

And next tell me.
How to define of receiving CAN message?(CAN-ID and ID of the first 16 data bits.)
And how to define this value to table axis?
User avatar
Harata R&D
 
Posts: 3
Joined: Tue May 15, 2012 12:23 am


Return to M400, M600, M800 and M880 ECUs

Who is online

Users browsing this forum: Google [Bot] and 1 guest