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

SCC_CreateCurrentDemandRes_DIN

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long SCC_CreateCurrentDemandRes_DIN 
( byte SessionID[], char ResponseCode[], 
long NotificationMaxDelay, char StatusCode[], 
char Notification[], float PresentVoltage, 
float PresentCurrent, 
byte LimitAchievedFlags[] )

Description

Creates a Current Demand Request 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.
  • 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
  • PresentCurrent: EVSEPresentCurrent
  • LimitAchievedFlags: Flags that indicate if any limit is achieved:
    • LimitAchievedFlags [0] = EVSECurrentLimitAchieved
    • LimitAchievedFlags [1] = EVSEVoltageLimitAchieved
    • LimitAchievedFlags [2] = EVSEPowerLimitAchieved

Optional Parameters

IndexNameTypeDescription
0IsolationStatuschar[]Current isolation condition.
1MaxVoltagefloatEVSEMaximumVoltageLimit
2MaxCurrentfloatEVSEMaximumCurrentLimit
3MaxPowerfloatEVSEMaximumPowerLimit

Return Values

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

Example