by Stephen Dean on Tue Aug 20, 2024 10:36 am
Hi,
It's done through the ECU Transmit CAN Bus.
To transmit CAN messages to a MoTeC PDM set PDM CAN Bus to the CAN bus connected to the PDM. All selected output resources of the following kind: 'PDM Byte x Mask xx' are transmitted on ID 0x11A. In addition, the following messages are transmitted on ID 0x118:
•Byte 0 (Data size 8 bit, Mask FF, Divisor 1): Engine Speed in rpm/100. This will result in a value of e.g. 21 for an engine speed of 2100rpm.
•Byte 1 (Data size 8 bit, Mask FF, Divisor 1): Throttle Position in %.
•Byte 2 (Data size 8 bit, Mask FF, Divisor 1): Vehicle Speed in km/h.
•Byte 3 (Data size 8 bit, Mask FF, Divisor 1): Coolant Temperature in °C.
•Byte 4 (Data size 8 bit, Mask FF, Divisor 1): Engine Oil Temperature in °C.
•Byte 5 (Data size 8 bit, Mask FF, Divisor 1): Fuel Temperature in °C.
•Byte 6 (Data size 8 bit, Mask FF, Divisor 1): Transmission Temperature in °C.
•Byte 7 (Data size 8 bit, Mask FF, Divisor 1): Differential Temperature in °C.
And on ID 0x119:
•Byte 0 (Data size 8 bit, Mask FF, Divisor 1): Fuel Pressure in 10 delta-kPa. This will result in a value of e.g. 30 for a fuel pressure of 300 delta-kPa.
•Byte 2 (Data size 16 bit, Mask FF, Divisor 1): Steering Angle in 0.1°.
•Bit 32: True (1) if Engine State is Run.
•Bit 33: True (1) if Warning Source is not None.
•Bit 34: True (1) if Brake State is On.
•Bit 35: True (1) if Gear Neutral Switch is On.
•Bit 36: True (1) if Clutch Switch is On.
•Bit 37: True (1) if Clutch State is Disengaged.
•Bit 38: True (1) if Driver Pit Switch is On.
•Bit 39: True (1) if Engine Run Switch is On.
•Bit 40: True (1) if Driver Switch 1 is On.
•Bit 41: True (1) if Driver Switch 2 is On.
•Byte 6 (Data size 8 bit, Mask FF, Divisor 1): Driver Rotary Switch 1 (if the switch value is -1 a value of 255 will be transmitted).
•Byte 7 (Data size 8 bit, Mask FF, Divisor 1): Driver Rotary Switch 2 (if the switch value is -1 a value of 255 will be transmitted).
Stephen Dean
MoTeC Research Centre Melbourne, Australia