ISO15765:Blocks:Control DTC Setting Trigger

From MotoHawk
Jump to navigationJump to search

Woodward Custom ISO15765 Control DTC Setting Trigger

Triggers a Simulink Function-Call subsystem, when the ISO15765 Service detects a request to enable or disable the setting of diagnostic trouble codes (DTCs) via a service 0x85 request.

Block ID

ISO15765 Control DTC Setting Trigger

Library

Woodward Custom ISO15765

Description

ISO15765ControlDTCSettingTrigger.png

This block provides a trigger to the application when the Control DTC Setting service needs to be handled by the application. Usually, this should result in the application changing a setting in the fault manager such that DTCs are either no longer being set, or resuming normal DTC operation. The application may choose to accept or deny this particular request through the use of the [ISO15765ControlDTCSettingResponseSet.html ISO15765 Control DTC Setting Response Set] block.

The first output port provides a trigger or an array of triggers to the applcation. The second output port provides the DTC setting being requested. Defined values are 1 = on, 2 = off.

According to the UDS specifications, the ControlDTCSetting state must reset when the session state machine enters the default session. To accomplish this, the user is required to utilize the [ISO15765SessionStartTrigger.html session start trigger block] to detect whether the default session has been entered or the [ISO15765SessionTimeoutTrigger.html session timeout trigger block] to determine if a timeout occurred.

Block Parameters

Parameter Field Values Comments/Description
Priority Order Number When multiple triggers of the same criteria are present, this specifis which will execute first.
This trigger is inside another triggered subsystem Checkbox If the trigger is inside another triggered subsystem, this must be checked.
Trigger even when containing subsystem is disabled Checkbox If the trigger is inside another enabled subsystem, then execute this subsystem if that subsystem is enabled.