DIAG_INACTIVE DIAG_ACTIVE_TIMER_OFF DIAG_ACTIVE_TIMER_ON DIAG_MODE_ACTIVE Start Of Diagnostic Request
/
Appl_Diag_VN_Timer:=8sec;
Appl_Diag_VN_Timer_Status:=disabled;
Activate Appl. triggered VN;
Start Of Diagnostic Request
Start Of Diagnostic Request
/
Appl_Diag_VN_Timer:=8sec;
Appl_Diag_VN_Timer_Status:=disabled;
Start Of Diagnostic Request
Diagnostic Mode activated
Diagnostic Service Finished
End Of Diagnostic Mode
All Diagnostic Services Finished
/
Appl_Diag_VN_Timer_Status:=enabled;
Appl_Diag_VN_Timer=0
/
Deactivate Appl. triggered VN;
DIAG_DISABLED Initially Active Diagnostic VN
Activated
Initially Active Diagnostic
VN Deactivated
Figure 11: Diagnostic Application State Diagram 5.2.4.1 DIAG_DISABLED State. This is the state of the diagnostic application when the diagnostic CAN
Identifiers are not enabled and no diagnostics can take place. The diagnostic application exits this state and
enters the DIAG_INACTIVE state once a tester or a node on the link issues a wake-up which enables the
initially active diagnostic VN.
5.2.4.2 DIAG_INACTIVE State. In the DIAG_INACTIVE state, the ECU shall be capable of receiving
diagnostic messages but no diagnostic requests are currently active (i.e., the Application triggered diagnostic
VN is not active). The diagnostic application shall enter this state from the DIAG_DISABLED state after a bus
wake-up is received. The diagnostic applications shall remain in this state while the initially active diagnostic
VN is active and the application triggered diagnostic VN is inactive.
5.2.4.3 DIAG_ACTIVE_TIMER_OFF State. The diagnostic application shall enter this state from the
DIAG_INACTIVE state or the DIAG_ACTIVE_TIMER_ON state upon notification from the Network Layer that a
diagnostic request has started (Start of Diagnostic Request). A node shall enter this state from the
DIAG_MODE_ACTIVE state upon termination of Diagnostic Mode. If the diagnostic application is in the
DIAG_INACTIVE state when a diagnostic request starts, the diagnostic application shall activate the
application triggered diagnostic VN and reset and disable a diagnostic application based VN timer (further
referenced as Appl_Diag_VN_Timer). If the diagnostic application is in the DIAG_ACTIVE_TIMER_ON state
when the diagnostic request starts, then the diagnostic application shall reset and disable its
Appl_Diag_VN_Timer.
Note: “Reset” in this case means modification of the value of the timer such that 8 additional seconds shall
elapse before a timeout occurs.
CameraLoops.com