Skip to main content
Open topic with navigation

SCC_SetMaxPower

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Simulation Data » Shared Functions » SCC_SetMaxPower

Tool Availability

Valid for:  CANoe DE  •  CANoe4SW DE

Note

This function needs a running SCC session in order to work. Make sure to call it only after the Session Setup Request message is sent.

Function Syntax

long SCC_SetMaxPower ( float MaxPower )

Description

Sets the limit for power. These limits are used in various messages for both AC and DC mode (the actual element name depends on the charging mode and the protocol version). Defaults can be set using the respective configuration file.

Parameters

  • MaxPower: Limit value to be set.

Return Values

  • 0: Not successful
  • 1: Successful

Example