> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionSCCCreatePreChargeResDin

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/SmartCharging/Functions/CAPLfunctionSCCCreatePreChargeResDin.md)

# SCC\_CreatePreChargeRes\_DIN

[CAPL Functions](../../CAPLfunctions.md) » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [V2G Test Functions](../CAPLFunctionsSmartChargingOverview.md#V2GTestDIN) » [Shared Functions](../CAPLFunctionsSmartChargingOverview.md#V2GTestDIN) » SCC\_CreatePreChargeRes\_DIN

**Valid for:** [CANoe DE](../../../Shared/FeatureAvailability.md) • CANoe4SW DE

## Function Syntax

```plaintext theme={null}
long SCC_CreatePreChargeRes_DIN ( byte 
SessionID[], char ResponseCode[], long 
NotificationMaxDelay, char StatusCode[], char 
Notification[], float PresentVoltage )
```

## Description

Creates a PreCharge Response message for sending.

## Parameters

* **SessionID**: 8-byte long SessionID of SCC connection, range: 0 - 0xFF FF FF FF FF FF FF FF.
* **ResponseCode**: Acknowledgment status of the message. The list of possible response codes you find on page [SCC\_SetResponseCode](CAPLfunctionSCCSetResponseCode.md).
* **NotificationMaxDelay**: Time until the vehicle is expected to react on the notification (for DC\_EVSEStatus).
* **StatusCode**: Internal state of the EVSE (for DC\_EVSEStatus).
* **Notification**: Notification about an action that the charge point wants the vehicle to perform (for DC\_EVSEStatus).
* **PresentVoltage**: EVSEPresentVoltage

### Optional Parameters

* **Index 0**:
  * **Name**: IsolationStatus
  * **Type**: char\[]
  * **Description**: Current isolation condition

## Return Values

* **1**: If successful.
* **0**: Else (message cannot be sent).

## Example

—
