M1 and PDM CAN Communications

Discussion and support for MoTeC Power Distribution Modules

M1 and PDM CAN Communications

Postby Stephen Dean on Fri Jul 14, 2017 11:09 am

As this topic comes up regularly I have created this post and made it a sticky.

This document and the worked PDM configuration step through the process of setting up the PDM communications templates, and explain how to use the M1 PDM Resource allocations.

M1 PDM Communications.pdf
(1.28 MiB) Downloaded 2552 times


M1 Feb2016 CAN Messaging.pdm
(78.16 KiB) Downloaded 2333 times
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1726
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: M1 and PDM CAN Communications

Postby cotje on Thu Jun 21, 2018 6:27 am

Hi Stephen,

Thanks for sharing! I'm trying to achieve the same with a PDM32 and M800. Can you share some documents describing this?

I'm lost in the area of CAN address/function relationships...
cotje
 
Posts: 72
Joined: Mon Oct 07, 2013 5:50 am

Re: M1 and PDM CAN Communications

Postby adrian on Fri Jun 22, 2018 11:27 am

The M800 doesn't have a specific PDM CAN transmit so you need to use the custom datasets. With the custom datasets you can essentially send anything you like.

I have attached an example of what you could do, if you setup a custom dataset with the channels in the exact order of the below image then it will work with the attached PDM config.

You need to transmit the Custom dataset sequentially (CAN 0 Data set to 8) and the address needs to be 0x118 so set CAN 0 Address to 280.
Attachments
M800 to PDM.png
M800 to PDM.png (7.59 KiB) Viewed 49829 times
M800 CAN recieve.pdm
(32.12 KiB) Downloaded 1428 times
adrian
MoTeC
 
Posts: 719
Joined: Mon Apr 13, 2015 5:16 pm

Re: M1 and PDM CAN Communications

Postby cotje on Mon Jun 25, 2018 6:31 am

Thanks a lot Adrian! I will go and test this asap.
cotje
 
Posts: 72
Joined: Mon Oct 07, 2013 5:50 am

Re: M1 and PDM CAN Communications

Postby cotje on Sat Jan 26, 2019 7:10 am

Hi Adrian,

I got this custom-data-set to work but notice I can only enter four channels. The other issue I seem to have is the combination with my SDL3-dash which occupies CAN0. I used CAN1 for custom-data-set 2 but would like to use more channels to send to the PDM. As fas asI know I cannot move the SDL to another CAN. Am I stuck now or are there other assignment options?

TIA
cotje
 
Posts: 72
Joined: Mon Oct 07, 2013 5:50 am

Re: M1 and PDM CAN Communications

Postby Merlin on Mon Aug 26, 2024 4:56 pm

Hi Motec Team

Can we make request for Software connection via a M1 ecu into the can bus into a PDM?
we can do this now with the LTC units ...can it be done for the PDM ??

John P
Merlin
 
Posts: 55
Joined: Thu Jul 10, 2008 12:47 pm

Re: M1 and PDM CAN Communications

Postby Stephen Dean on Mon Aug 26, 2024 5:27 pm

Hi John,

This is not done as usually the device that is being used as the gateway is also powered by the PDM, this means that if the PDM is restarted to enable a change, then the gateway device is also restarted as the PDM restarts. When this happens, the communications are lost and it is possible for the PDM to be set to an inoperable state. As the UTC is powered by the laptop through the USB cable, it isn't effected by the PDM power cycling.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1726
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne


Return to PDM15 PDM16 PDM30 and PDM32

Who is online

Users browsing this forum: No registered users and 2 guests