0 introduction, 0 commands, 1 command summary – ScanTool 5100 ECUsim User Manual
Page 4: Introduction, Commands, Command summary

ECUsim 2000/5100
4 of 13
www.obdsol.com
ECUSIMPMB
1.0 Introduction
ECUsim 2000 and 5100 are software-configurable,
stand-alone benchtop OBD simulators.
Internally, the objects (ECUs, DTCs, PIDs, and Freeze
Frames) are created dynamically at runtime, and stored in
RAM. Consequently, objects can be created and deleted
at will, but are lost after a software reset, or when power
is removed. The high-level object hierarchy is:
ECUsim
o ECUs
PIDs
Fault Sets
DTCs
Freeze Frames
When a parent object is deleted, all its child objects
are deleted as well.
ECUsim object cannot be deleted.
Certain objects can have multiple child objects. For
example, ECUsim can have multiple ECUs. In turn, each
ECU can have multiple PIDs, DTCs, and Freeze Frames.
The number of objects that can be created depends on
the size of the objects, and is limited by available RAM.
Objects have many user-settable properties (e.g.,
name, VIN, protocol preset). These properties can be set
at run-time.
Most objects are self-explanatory, and their behavior
is straightforward. Two important exceptions are the
concepts of System-Managed ECUs and Fault Sets.
System-Managed ECUs have their relevant properties
(active protocol preset, physical address, functional
address, etc) updated automatically after a protocol
switch is made (SP). Default ECUs are system-managed,
but user-created ECUs are not. This attribute is controlled
by the ESM command.
A Fault Set is a group of fault conditions, which define
what happens when the user generates a fault event (by
pressing the FAULT button, or issuing the SF command)
and when the fault event is cleared via a Mode $04 OBD
request. There are two fault sets defined for each ECU:
“no fault” (0) and “fault” (1).
2.0 Commands
2.1 Command Summary
The following tables list all available ECUsim commands. Note that while the ECUsim 5100 and the Ultimate edition of the
ECUsim 2000 support all commands, some of the commands are not available in the Standard and Professional editions.
Table 1 – General ECUsim Commands
Command
Description
S
P
U
SF on|off
“Fault” mode on/off
●
●
SI
Print device information
●
●
●
SOMM on|off
OBD bus monitoring on/off
●
●
●
SOMMT on|off
OBD timestamp printing on/off
●
●
●
SOMT header, data
Transmit OBD message
●
SP protocol_number
Set active OBD protocol preset
●
●
●
SPBR
Set OBD protocol baud rate
●
SPI
Print protocol information
●
●
●
SR
Reboot the PIM
●
●
●
Table 2 – DTC Commands
Command
Description
S
P
U
DAD ecu_id, fault_set
Delete all DTCs
●
●
DPA ecu_id, fault_set, dtc
Add pending DTC
●
●
DPDA ecu_id, fault_set
Delete all pending DTCs
●
●