# null

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/SmartCharging/Functions/CAPLfunctionSCCGetPMaxScheduleID.md)

**CAPL Functions** » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [V2G Data Queries](../CAPLFunctionsSmartChargingOverview.md#V2GDataQueries) » [EV Functions](../CAPLFunctionsSmartChargingOverview.md#V2GDataQueriesEV) » **SCC\_GetPMaxScheduleID**

# SCC\_GetPMaxScheduleID

[Valid for](../../../Shared/FeatureAvailability.md):  CANoe DE • CANoe4SW DE

**Note**

* This function applies only to the SAScheduleList of DIN 70121.
* `<InvalidValueSigned>` and/or `<InvalidValueUnsigned>` can be defined in the XML configuration.
  * These are returned if an optional numeric message parameter was queried by this function but not found.
  * See [Configuration of Vehicle SCC Nodes](../../../CANoeCANalyzer/SmartCharging/SCProcedures/SCCConfigurationVehicleSCCNodes.md) or [Configuration of Chargepoint SCC Nodes](../../../CANoeCANalyzer/SmartCharging/SCProcedures/SCConfigurationChargePointSCCNodes.md).

## Function Syntax

```plaintext
long SCC_GetPMaxScheduleID ( long Index )
```

## Description

Gets the Id of a PMaxScheduleEntry.

## Parameters

* **Index**: Index of the target SAScheduleTuple.

## Example

—

[SCC\_GetPMaxScheduleEntryData](CAPLfunctionSCCGetPMaxScheduleEntryData.md) • [SCC\_GetPMaxScheduleEntryCount](CAPLfunctionSCCGetPMaxScheduleEntryCount.md)
