Skip to main content
Open topic with navigation

SCC_CreatePowerDeliveryReqDC_DIN

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » » V2G Test Functions » Shared Functions » SCC_CreatePowerDeliveryReqDC_DIN

Tool Availability

Valid for:  CANoe DE  •  CANoe4SW DE

Function Syntax

long SCC_CreatePowerDeliveryReqDC_DIN 
( byte SessionID[], byte StatusFlags[], 
char ErrorCode[], long ReadyToChargeState, 
long ChargingComplete )

Description

Creates a Power Delivery Request 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.
  • StatusFlags: Flags for DC_EVStatus:
    • StatusFlags[0] = EVReady
    • StatusFlags[1] = EVCabinConditioning
    • StatusFlags[2] = EVRESSConditioning
    • StatusFlags[3] = EVRESSSOC
  • ErrorCode: EVErrorCode for DC_EVStatus.
  • ReadyToChargeState: 1 if start of charging is requested, 0 if stop of charging is requested.
  • ChargingComplete: 1, if the battery is completely charged; otherwise 0.

Optional Parameters

  • Index 0: ChargingProfile
    • Type: complex
    • Description: Desired charging profile for the current charging session (i.e. maximum amount of power drawn over time).
  • Index 1: BulkChargingComplete
    • Type: long
    • Description: 1, if the bulk charging operation is complete; otherwise 0.

Return Values

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

Example