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

SCC_SetMaxCurrent

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_SetMaxCurrent ( float MaxCurrent )

Description

Sets the limit for current. 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

  • MaxCurrent: Limit value to be set.

Return Values

  • 0: Not successful
  • 1: Successful

Example