lincomatic
Well-known member
- Joined
- Jun 10, 2011
- Messages
- 316
Gary,
About the recipe fields, taking the example of SOC
MsgID=5BC D#=0 Mask=0F Equals=05 : D#=1,Mask=FF,Shift=2 + D#=2,Mask=C0,Shift=-6
I would interpret that as SOC = ((D1 & 0xFF) << 2) + ((D2 & 0xC0) >> 6)
But what is the meaning of D#=0 Mask=0F Equals=05 ?
TIA, Sam
About the recipe fields, taking the example of SOC
MsgID=5BC D#=0 Mask=0F Equals=05 : D#=1,Mask=FF,Shift=2 + D#=2,Mask=C0,Shift=-6
I would interpret that as SOC = ((D1 & 0xFF) << 2) + ((D2 & 0xC0) >> 6)
But what is the meaning of D#=0 Mask=0F Equals=05 ?
TIA, Sam