M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

Discussion and Support for MoTeC's M1 series ECUs

M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

Postby dr350 on Wed Jan 16, 2019 11:12 pm

Hi, i need help
I was reading several technical notes published in the forums, about the communication of the bus M1 to PDM and I can not find the way to select a channel in M1 and configure the correct address to send a message to PDM. (In the drop list, output resource)
In one of the technical notes gives an example.
I only found the CAN SLOT configuration on some sensors.
Only these sensors are enabled in GPR package?
Thanks, regards

output resource.png
m1 to pdm communications
output resource.png (174.45 KiB) Viewed 13238 times
dr350
 
Posts: 27
Joined: Sat Nov 23, 2013 5:35 am

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

Postby David Ferguson on Thu Jan 17, 2019 5:42 am

I suggest you read the firmware help for "ECU Transmit" This describes channels that are transmitted for PDM use, and gives enough information to configure the PDM to receive them. There may be some sample PDM configs posted on this forum.

So, if your output resource can be configured with a "PDM Byte x Mask xx" it will be transmitted for PDM use.

There is no general purpose method to transmit any arbitrary channel to the PDM, without writing custom firmware. We usually get around this by sending the data from a dash which is much more configurable. Most channels you might want to share are already transmitted by the ECU for dash/logger use. Again, if something isn't in the standard list, then custom firmware in the ECU is required.
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1362
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

Postby rntechnologies on Thu Jan 17, 2019 8:16 am

Hi dr350,
When you say 'I only found the CAN SLOT configuration on some sensors' - You should note that these are Inputs to the M1, not outputs.
Output channels such as the Coolant Fan output are the ones that have the option to select PDM Byte X Mask XX as David has mentioned.

In addition to this, you will want to enable the PDM within M1 tune, and specify the PDM base address otherwise the ECU will not transmit to the PDM.

I have attached the M1 CAN template for you to add into your PDM manager. - This will allow you to receive the default M1 PDM channels outlined in the documentation.

Thanks
Attachments
M1 CAN Messaging Template.pdm
(78.16 KiB) Downloaded 881 times
Regards,
Ryan
User avatar
rntechnologies
Pro User
 
Posts: 90
Joined: Tue Aug 07, 2018 9:45 am
Location: Australia

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

Postby dr350 on Fri Jan 18, 2019 12:55 am

Hi, thank you very much for the advice!!!
We are beginning to use these systems, it is all very new for us!!
Could it be that you do not have the options to send messages to the PDM because you do not have datalogging enabled?
Thanks,regards!!!
Attachments
logging.png
logging.png (70.93 KiB) Viewed 13198 times
dr350
 
Posts: 27
Joined: Sat Nov 23, 2013 5:35 am

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

Postby David Ferguson on Fri Jan 18, 2019 3:55 am

Datalogging enabled won't make a difference, however what firmware you are using certainly will (the firmware provides the features and options that M1 Tune displays). Our advice was based on the baseline "GP" packages, I have not looked at the "Mini R56 2008 N14B16" firmware package that you are apparently using.
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1362
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

Postby rntechnologies on Fri Jan 18, 2019 8:02 am

Hi dr350,
Do you have the following enabled with the correct BaseID and canbus?:
PDM.JPG
PDM.JPG (16.94 KiB) Viewed 13190 times


Without this set, the messages will not be sent to the PDM.

Thanks
Regards,
Ryan
User avatar
rntechnologies
Pro User
 
Posts: 90
Joined: Tue Aug 07, 2018 9:45 am
Location: Australia

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

Postby Stephen Dean on Fri Jan 18, 2019 11:42 am

Hi DR,

The MINI Firmware does not support the direct PDM CAN Messaging that you are trying to implement as it is built in the V1.3 environment and the PDM functionality was added into the the V1.4 environment.

I have added a pdf that explains the process of setting up the M1 and PDM using the MINI firmware to use CAN to control the PDM outputs.
Attachments
M1 to PDM CAN Communications GP Build V 1.3.pdf
(1.89 MiB) Downloaded 887 times
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1688
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

Postby dr350 on Wed Jan 23, 2019 5:41 am

Hi Stephen,

Thank you very much, fantastic!
With the guide I managed to transmit the messages correctly.
Now I'm going to start working with them and see how we are going to make the wiring.

Another query:
The list of channels that you have attached in the guide is a standard list, there is the possibility of adding channels such as brake pressure, or the position of the gear change, in order to get the most benefit from the transmission of data via CAN BUS and the PDM.
In this way we avoid installing SW brake, reverse, neutral.

Thank you very much to all!
Regards!
dr350
 
Posts: 27
Joined: Sat Nov 23, 2013 5:35 am

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

Postby Stephen Dean on Wed Jan 23, 2019 9:11 am

Hi,

Do you have a MoTeC Dash in the vehicle as well? This makes it easier to get the CAN Bus messages from the M1 into the PDM as you can change the 16bit length M1 messages into 8bit PDM CAN messages.

There is a Brake Switch state that is transmitted to the PDM from the M1 in the 11A message group, this is controlled by the Brake State channel in the Firmware.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1688
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: M142 CAN BUS SEND MESSAGES TO PDM (SETUP)

Postby dr350 on Thu Jan 24, 2019 10:10 pm

Hi Stephen

We have installed an AIM MXS dash with datalogger, we could send messages from dash. Did you ever do with these dash?
We would need the ecu protocol?

In the list of channels we use, is the guide that you attached, is not in (11A) the brake state.
If you are in the guide for the firmware version 1.4.

Sorry for the inconvenience, we are learning.
We thank you for the excellent advice!

regards!
Attachments
channels list.png
channels list.png (81.78 KiB) Viewed 13075 times
dr350
 
Posts: 27
Joined: Sat Nov 23, 2013 5:35 am

Next

Return to M1 ECUs

Who is online

Users browsing this forum: No registered users and 71 guests