้็How to create xdf in function flags

Discuss anything tuning related.

Moderators: Mangus, robertisaar, dex

Post Reply
risrockmylife
Posts: 2
Joined: Sun May 26, 2019 1:04 am

้็How to create xdf in function flags

Post by risrockmylife » Thu Feb 13, 2020 7:24 am

I want create xdf in function flags [Set Sensor Enable/Disable]
- I create function flags [Address : value = 0-9] set Bit number 0x0[0-9] success
But [Address : value = more 10] set Bit number 0x0[more 10] unsuccess.

Ex. Address 0x000E >> Value = 02 [8 bit] Set flags Bit number 0x02 >> Success.
Ex. Address 0x000E >> Value = 14 [8 bit] Set flags Bit number 0x14 >> Unsucces.

How to set Value = 14 for Bit number, What is Bit number set?, I want to Set Sensor Enable/Disable.

Thank you for help.

User avatar
dex
The Ford Guy
Posts: 552
Joined: Thu Oct 07, 2004 6:38 am

Re: ้็How to create xdf in function flags

Post by dex » Fri Feb 14, 2020 2:32 am

A decimal value of 14 equates to bits 1, 2 and 3 in your flag. To set and unset these three bits you need to set the 'Bit Number' option to 'Use mask' and enter '0x0E' for the bit mask pattern value.

risrockmylife
Posts: 2
Joined: Sun May 26, 2019 1:04 am

Re: ้็How to create xdf in function flags

Post by risrockmylife » Sat Feb 15, 2020 1:49 am

Thank you for help, I create xdf success, It is perfect.

Post Reply