Torque

Forums

Forums

Trying to add custo...
 
Notifications
Clear all

Trying to add custom PID for and Volkswagen ID.3 but fail

13 Posts
4 Users
0 Reactions
1,368 Views
(@spot2000)
Posts: 6
Active Member
Topic starter
 

Hi.

After tremendos work, I managed to extract a lot of PIDs from my ID.3.

Now the problem is how to add them into Torque as a custom PID.

For example, this PID information for receiving the active mode of the car:

Request mode, you send this extended message:
0x17fc007b 03 22 74 48 55 55 55 55

Response will be in this form:
0x17fe007b 04 62 74 48 XX aa aa aa

XX = is mode

XX = 0 => standby
XX = 1 => driving
XX = 4 => AC charging
XX = 6 => DC charging

I tried all combinations on how to put this into the custom PID in the Torque pro app, but it will not work.

Please help me.

 
Posted : 04/01/2021 9:22 pm
(@spot2000)
Posts: 6
Active Member
Topic starter
 

anyone that can help a lost one???

 
Posted : 05/01/2021 1:57 am
(@cintakc)
Posts: 1667
Noble Member
 

try this PID:

PID: 227448
Long name: Active mode
Short name: Mode
min: 0
Max: 0
scale: x1
unit:
Equation: Lookup(A::0='standby':1='driving':4='AC char'):6=' DC char')
Header: 7E2
Start:
Stop:

try with different addresses Header:
7E0, 7E1, 7E2, 7E3, 7E4, 7E5, 7E6
post the results of answers in the PID Test mode

 
Posted : 05/01/2021 8:11 am
(@spot2000)
Posts: 6
Active Member
Topic starter
 

Doesent work.

With my car you must use CAN2.0B, 29 bit ID.

So my Can request must be with the correct 29 bit ID as I wrote in my first message.

Can't Torque suppport 29 bit identifier? So I know if I must move on and look for another product?

Or is the problem that i think these are UDS CAN messages?

 
Posted : 06/01/2021 12:26 am
(@cintakc)
Posts: 1667
Noble Member
 

the standard address for a 29 bit CAN bus should look like this
0x18Dxxxxx
0x17fc007b - maybe your address is in the wrong format

still try as I suggested, let's see what the ebu answers

try this PID:

PID: 227448
Long name: Active mode
Short name: Mode
min: 0
Max: 0
scale: x1
unit:
Equation: Lookup(A::0=’standby’:1=’driving’:4=’AC char’):6=’ DC char’)
Header: fc007b
Start:
Stop:

 
Posted : 06/01/2021 11:19 am
(@chrispy)
Posts: 21
Eminent Member
 

That is a UDS request / response, it should be do-able in Torque, you just need to do the following:
Set to 29bit CAN IDs
Set transmit CAN ID to 17fc007b
Set response CAN ID to 17fe007b

This is done using AT commands which you put in the initialisation string.

I'll try and dig out the commands that you need.

You might need a good quality ELM327 device.

 
Posted : 06/01/2021 8:34 pm
(@chrispy)
Posts: 21
Eminent Member
 

I think you need the following commands...

ATD (resets everything)
ATCP 17 (sets first part of Tx ID to 17)
ATSH FC 00 7B (sets rest of Tx ID)
ATCRA 17 FE 00 7B (sets Rx ID)

There is an app called ELM chat that will let you do the commands one by one to check they work.

If you want to use PIDs that are longer than one message you'll also have to set the flow control CAN IDs to the same.

 
Posted : 06/01/2021 10:29 pm
(@spot2000)
Posts: 6
Active Member
Topic starter
 

Hi, I managed to do it all in a terminal software and with the help of the ELM327 reference manual.

But not sure how to put in the seven AT strings i need to send to be able to talk UDS in Torque.

Do you know how to separate more commands on noe row in Torque app?

 
Posted : 06/01/2021 11:20 pm
(@chrispy)
Posts: 21
Eminent Member
 

Just put \n between the commands to separate them.

What are the five you need out of interest?

 
Posted : 06/01/2021 11:24 pm
(@capp777)
Posts: 2999
Famed Member
 

If the parser is not populating the
variables correctly, you might need
to use Rx addressing to extract the
data in your equation.

 
Posted : 07/01/2021 10:42 pm
(@spot2000)
Posts: 6
Active Member
Topic starter
 

I made it work outside of Torque now, so I think I will use another tool for my purpose.

But I will try with Torque later.

 
Posted : 08/01/2021 12:41 pm
(@spot2000)
Posts: 6
Active Member
Topic starter
 

Quote from Capp777 on January 7, 2021

If the parser is not populating the
variables correctly, you might need
to use Rx addressing to extract the
data in your equation.

As you suspected, Torque don't populate the answer correctly, what do you mean with Rx addressing?

 
Posted : 17/01/2021 4:51 pm
(@capp777)
Posts: 2999
Famed Member
 

Use R0, R1, etc. in place of A, B, etc.
addressing. Test the raw hex response
to see which Rx is needed. (R8)?

Try using Lookup(R8 in Cintakc's equation
instead of Lookup(A.

 
Posted : 17/01/2021 4:58 pm
Share:

  Follow me on twitter