Skip to main content
Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Test Functions » Shared Functions » SCC_CreateChargeParameterDiscoveryResDC_ISO

SCC_CreateChargeParameterDiscoveryResDC_ISO

Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

long SCC_CreateChargeParameterDiscoveryResDC_ISO 
( byte SessionID[], char ResponseCode[], 
long NotificationMaxDelay, char StatusCode[], 
char Notification[], long EVSEProcessing, 
float CurrentAndVoltageLimits[], 
float PeakCurrentRipple) 

Description

Creates a Charge Parameter Discovery Response message for sending, using the DC syntax.

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.
  • 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).
  • EVSEProcessing:
    • 0 if Finished
    • 1 if Ongoing
    • 2 if Ongoing_WaitingForCustomerInteraction (ISO 15118)
  • CurrentAndVoltageLimits: Electrical limit values:
    • CurrentAndVoltageLimits[0] = EVSEMaximumCurrentLimit
    • CurrentAndVoltageLimits[1] = EVSEMaximumVoltageLimit
    • CurrentAndVoltageLimits[2] = EVSEMinimumCurrentLimit
    • CurrentAndVoltageLimits[3] = EVSEMinimumVoltageLimit
    • Only for ISO 15118
    • CurrentAndVoltageLimits[4] = EVSEMaximumPowerLimit
  • PeakCurrentRipple: Peak-to-peak magnitude of the current ripple.

Optional Parameters

IndexNameTypeDescription
0MaxPowerfloatEVSEMaximumPowerLimit
1CurrentRegulation-TolerancefloatAbsolute magnitude of the regulation tolerance.
2EnergyToBeDeliveredfloatAmount of energy to be delivered in Wh.
3SAScheduleListlongSchedule / tariff list from secondary actor.
4EVSEIsolationStatuschar[]Indicates the isolation condition.

Return Values

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

Example