3 adding dtcs, 4 adding freeze frames, 5 setting the vin and cal id – ScanTool 5100 ECUsim User Manual
Page 12: Adding dtcs, Adding freeze frames, Setting the vin and cal id

ECUsim 2000/5100
12 of 13
www.obdsol.com
ECUSIMPMB
>0100
request supported PIDs in the $01-$20 range
41 6B 10 41 00 00 18 00 01 95
>0120
request supported PIDs in the $21-$40 range
41 6B 10 41 20 00 02 00 00 5E
Notice that the PAUS command encoded the existing PID ($0C), as well as the new PIDs.
5.3 Adding DTCs
ECUs can have stored, pending, and permanent DTCs. A given DTC can be added to either a “no fault” or “fault” fault set.
A “fault” event is generated when the user presses the “FAULT” button, or enters the
SF on
command.
To add a stored DTC to the “fault” fault set, issue this command:
DSA 3, 1, P0100
report a stored DTC (P0100) after a fault event
To automatically update DTC count and MIL status:
PAUDC 3, on
enable automatic updates of stored DTC count
PAUMS 3, on
enable automatic updates of MIL status
If PID $01 does not exist, it will be automatically added to the ECU.
5.4 Adding Freeze Frames
A freeze frame belongs to a fault set, has a frame number, and may contain PIDs and DTCs. In this example, we will create
a freeze frame that will be created after a “FAULT” event, and add one DTC and one PID:
FA 3, 1, 0
create freeze frame #0 for ECU ID=3
FT 3, 1, 0, P0100
add DTC (P0100) to freeze frame #0
FPA 3, 1, 0, 0C, 0FA0
add PID (RPM) to freeze frame #0
To verify, generate a “FAULT” event, and use OBDLink to send the commands:
>02 00 00
request supported PIDs in the $01-$20 range
41 6B 10 42 00 00 40 10 00 00 27
>02 02 00
request PID $02 (which DTC generated Freeze Frame?)
41 6B 10 42 02 00 01 00 58
>02 0C 00
request PID $0C (RPM)
41 6B 10 42 0C 00 0F A0 E3
5.5 Setting the VIN and CAL ID
VIN and CAL ID are limited to 17 and 16 ASCII characters, respectively:
EV 3, “MyCustomVIN123456”
EC 3, “MyCustomCALID 12”