Hello friends!
Pls, just for example, let me know, what kind of CAN Message should be for βIgnition ONβ :
and for " 1000 rpm" tacho value:
Thanks a lot in advance!
Hello friends!
Pls, just for example, let me know, what kind of CAN Message should be for βIgnition ONβ :
and for " 1000 rpm" tacho value:
Thanks a lot in advance!
IGNITION:
frame canId=β0x26Eβ
value targetId=β26β startbit=β0β length=β1β units=βbitβ/
RPM:
frame canId=β0x0AAβ
value name=βRPMβ offset=β4β bitcount=β16β conversion=βV/4β/
@Porsche1970 you have the parameters for the two methods mixed up, startbit / bitcount and offset / length
Ignition (Enginebit: Running suggested instead of ignition dwell targetId 26>56)
frame canId=β0x26eβ
value targetId=β56β startbit=β0β bitcount=β1β units=βbitβ
RPM:
frame canId=β0x0aaβ
value targetId=β37β offset=β4β length=β2β conversion=βV/4β
I want to set a bit varialble (like F.cut) with a source value which have several F.cut bits. so if any of the source bits are set the target var is set to true else set to false. I would use the following line to achieve this:
<value targetId="406" offset="0" length="1" units="bit" conversion="(V & 0x30) != 0"></value> <!-- F. cut -->
is it the right way, if not how to do ?
Looks correct otherwise, but 0x30 is two bits on, so it would be better to mask only one bit.
yes 2 bits, and a wants OR logic on those 2 bits.
Looks correct to me then.