Conversion of different PID formats

There are many different PID Formats out there, but I dont understand who to convert them, autopi uses a combination of mode and code, while others sometimes use one long pid.

An example for my car I found a list of pids:

RPM is
mode=01, code=0C, header=7DF in autopi
in the linked list it is:
10000C

How do I convert them? I want to use some custom pids from that sheet, as they are not autodetected.

An example is Fuel level, the code in the sheet is:
100384

Is the code for autopi now:
mode=01, code=384, header=7DF
?

So first number = mode and other numbers = code without leading zeros?