Conflict problem

Resolve a conflict problem ID X001F5 Possible way

'' <frame id="0x1f5" size="8">
		<value targetId="160" startbit="41" bitcount="1"></value>  <!-- Turn Signal Left -->
		<value targetId="161" startbit="40" bitcount="1"></value>  <!-- Turn Signal Right -->
		<value targetId="156" units="1/0" startbit="2" bitcount="1"></value>  <!-- Low Beam -->
		<value targetId="392" units="1/0" startbit="49" bitcount="1"></value>  <!-- Front Fog Lights -->
	    <value targetId="158" units="1/0" startbit="8" bitcount="1"></value>  <!-- Rear Fog Lights -->
	    <value targetId="155" units="1/0" startbit="36" bitcount="1"></value>  <!-- Parking Lights -->
		<value targetId="164" units="1/0" startbit="1" bitcount="1"></value>  <!-- Parking Brake -->
        <value targetId="170" offset="1" length="1" conversion="V/255*100"></value> <!-- Fuel Level -->
        <value targetId="12" units="v" offset="" length="1" conversion="v/10" ></value> <!-- Battery Voltage--> 
	</frame>
<frame id="0x01f5" endianess="big">
      <value name="0x01f5 B1" offset="0" length="1" conversion="V"></value> <!-- tassa nakyy vaihde ja jotain muuta myos -->
      <value name="GM CAN Shifter Pos+Gear" offset="1" length="5" conversion="B0+((B2*100)+(B4*100))" enum="
115:P,
214:R,
313:N,
401:D1,
402:D2,
403:D3,
404:D4,
405:D5,
406:D6,
501:S1,
502:S2,
503:S3,
504:S4,
505:S5,
506:S6,
601:M1,
602:M2,
603:M3,
604:M4,
605:M5,
606:M6,
437:D6↓,
436:D5↓,
435:D4↓,
434:D3↓,
433:D2↓,
418:D1↑,
419:D2↑,
420:D3↑,
421:D4↑,
422:D5↑,
537:S6↓,
536:S5↓,
535:S4↓,
534:S3↓,
533:S2↓,
518:S1↑,
519:S2↑,
520:S3↑,
521:S4↑,
522:S5↑,
637:M6↓,
636:M5↓,
635:M4↓,
634:M3↓,
633:M2↓,
618:M1↑,
619:M2↑,
620:M3↑,
621:M4↑,
622:M5↑"></value> <!-- Shifter pos + Gear + up/down pointer -->

      <value targetId="200" offset="1" length="1" startbit="0" bitcount="4" conversion="V" enum="15:P,14:R,13:N"></value> <!-- P,R,N + Gear -->
      <value targetId="144" offset="1" length="1" conversion="V>>4"></value> <!-- Upshift indicator -->
      <value targetId="145" offset="1" length="1" conversion="V>>5"></value> <!-- Downshift indicator -->
      <value name="0x01f5 B3" offset="2" length="1" conversion="V"></value> <!-- TUTD Gears-->
      <value targetId="141" offset="3" length="1" enum="1:P,2:R,3:N,4:D,5:S,#:err"></value> <!-- Shifter position -->
      <value name="0x01f5 B5" offset="4" length="1" conversion="V"></value> <!-- Aina 0 -->
      <value name="GM CAN TUTD Active" offset="5" length="1" conversion="V"></value> <!-- TUTD Active 1=on 0=off-->
      <value name="GM CAN P/N,R,D status" offset="6" length="1" conversion="V" enum="8:P/N,10:R,9:D"></value> <!-- Shifter pos status P/N,R,D -->
      <value name="0x01f5 B8" offset="7" length="1" conversion="V"></value> <!-- Aina 0 -->
    </frame>

    <frame id="0x02c3" endianess="big">
      <value name="0x02c3 B1" offset="0" length="2" conversion="V"></value> <!-- kun laitoin mafin takas niin tama muuttui-->
      <value name="0x02c3 B3" offset="2" length="1" conversion="V"></value> <!-- Aina 6 -->
      <value name="0x02c3 B4" offset="3" length="1" conversion="V"></value>
      <value name="0x02c3 B5" offset="4" length="2" conversion="V"></value>
      <value targetId="31" offset="6" length="1" conversion="V/2"></value> <!-- MAP kpa -->
      <value name="0x02c3 B8" offset="7" length="1" conversion="V"></value> <!-- Aina 0 -->
    </frame>

8 days and no reply …

I did not find any question, only a statement that solving an issue is possible.

Sorry, my English isn’t good. I’m asking if there’s a way to solve the problem of read the same ID. Where there are two id that are identical

If you use two β€˜frame’ properties with same CAN ID, only one of them is processed. You need to combine your frame into single β€˜frame’ segment:

<frame id="0x1f5" size="8">
		<value targetId="160" startbit="41" bitcount="1"></value>  <!-- Turn Signal Left -->
		<value targetId="161" startbit="40" bitcount="1"></value>  <!-- Turn Signal Right -->
		<value targetId="156" units="1/0" startbit="2" bitcount="1"></value>  <!-- Low Beam -->
		<value targetId="392" units="1/0" startbit="49" bitcount="1"></value>  <!-- Front Fog Lights -->
	    <value targetId="158" units="1/0" startbit="8" bitcount="1"></value>  <!-- Rear Fog Lights -->
	    <value targetId="155" units="1/0" startbit="36" bitcount="1"></value>  <!-- Parking Lights -->
		<value targetId="164" units="1/0" startbit="1" bitcount="1"></value>  <!-- Parking Brake -->
        <value targetId="170" offset="1" length="1" conversion="V/255*100"></value> <!-- Fuel Level -->
        <value targetId="12" units="v" offset="" length="1" conversion="v/10" ></value> <!-- Battery Voltage--> 
        <value name="0x01f5 B1" offset="0" length="1" conversion="V"></value> <!-- tassa nakyy vaihde ja jotain muuta myos -->
        <value name="GM CAN Shifter Pos+Gear" offset="1" length="5" conversion="B0+((B2*100)+(B4*100))" enum="
115:P,
214:R,
313:N,
401:D1,
402:D2,
403:D3,
404:D4,
405:D5,
406:D6,
501:S1,
502:S2,
503:S3,
504:S4,
505:S5,
506:S6,
601:M1,
602:M2,
603:M3,
604:M4,
605:M5,
606:M6,
437:D6↓,
436:D5↓,
435:D4↓,
434:D3↓,
433:D2↓,
418:D1↑,
419:D2↑,
420:D3↑,
421:D4↑,
422:D5↑,
537:S6↓,
536:S5↓,
535:S4↓,
534:S3↓,
533:S2↓,
518:S1↑,
519:S2↑,
520:S3↑,
521:S4↑,
522:S5↑,
637:M6↓,
636:M5↓,
635:M4↓,
634:M3↓,
633:M2↓,
618:M1↑,
619:M2↑,
620:M3↑,
621:M4↑,
622:M5↑"></value> <!-- Shifter pos + Gear + up/down pointer -->

      <value targetId="200" offset="1" length="1" startbit="0" bitcount="4" conversion="V" enum="15:P,14:R,13:N"></value> <!-- P,R,N + Gear -->
      <value targetId="144" offset="1" length="1" conversion="V>>4"></value> <!-- Upshift indicator -->
      <value targetId="145" offset="1" length="1" conversion="V>>5"></value> <!-- Downshift indicator -->
      <value name="0x01f5 B3" offset="2" length="1" conversion="V"></value> <!-- TUTD Gears-->
      <value targetId="141" offset="3" length="1" enum="1:P,2:R,3:N,4:D,5:S,#:err"></value> <!-- Shifter position -->
      <value name="0x01f5 B5" offset="4" length="1" conversion="V"></value> <!-- Aina 0 -->
      <value name="GM CAN TUTD Active" offset="5" length="1" conversion="V"></value> <!-- TUTD Active 1=on 0=off-->
      <value name="GM CAN P/N,R,D status" offset="6" length="1" conversion="V" enum="8:P/N,10:R,9:D"></value> <!-- Shifter pos status P/N,R,D -->
      <value name="0x01f5 B8" offset="7" length="1" conversion="V"></value> <!-- Aina 0 -->
    </frame>

If this is not your issue, you have to be more specific with your question to explain in detail of:

  • What are you trying to achieve
  • What is the result you are getting and why its not what you are looking for.

i swap engine my car jaguar ls3 ,I have one of the PCM readings (direction, park, fuel level, etc.) that matches the transmission ID 0x1f5, causing overlapping and irregular outputs. Ask if it’s possible to solve the problem?

If two different CAN devices are sending the same CAN frame ID, no. They will conflict.

1 Like

looks like you need a man in the middle device to change the can id on the pcm messages and forward them on the canbus so realdash will distinguish them with a different id. an arduino or esp mcu with two canbus transceivers could easily do this with some simple code.

1 Like

Also, you could use 2 different CAN connections at the same time to separate them.

1 Like

Thank you, Janem, for your quick reply.

How do I establish two CAN connections, and will the results appear on a single screen?

Just use two adapters and make two connections at the Garage. Each connection has their own XML description file.

Only issue with this approach is that sending CAN frames sends it to all active connections. This may not be what you want.