CAN Bitmask for 12bit Messages
Posted: Tue Dec 21, 2021 1:37 am
Hi All,
Been trying to work out the correct value for configuring my C127 to read EGT values over CAN.
I've done a lot of reading from the webinars and other forum posts but I'm stuck with getting accurate values when the message does not start at the beginning of a Byte. Below is the CAN data I need to read.
I have perfect values for EGT1, EGT3 and CJ temp. These all start perfectly at Byte 0, 3, 6 respectively. For EGT2 and EGT4 I'm getting values hundreds of degrees lower (sometimes negative).
This is my channel config:
I have tried starting at Byte 2 instead of 1 and also un-ticking "Data shifted right". I believe I'm correct with the bitmask and then dividing by 16 for these two problem channels? Must be something else I'm missing here?
Cheers!
Been trying to work out the correct value for configuring my C127 to read EGT values over CAN.
I've done a lot of reading from the webinars and other forum posts but I'm stuck with getting accurate values when the message does not start at the beginning of a Byte. Below is the CAN data I need to read.
I have perfect values for EGT1, EGT3 and CJ temp. These all start perfectly at Byte 0, 3, 6 respectively. For EGT2 and EGT4 I'm getting values hundreds of degrees lower (sometimes negative).
This is my channel config:
I have tried starting at Byte 2 instead of 1 and also un-ticking "Data shifted right". I believe I'm correct with the bitmask and then dividing by 16 for these two problem channels? Must be something else I'm missing here?
Cheers!