# null

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

# SCC\_SLAC\_SetLinkStatus

[CAPL Functions](../../CAPLfunctions.md) » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [CAPL Functions](../../CAPLfunctions.md) » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SLAC Simulation](../CAPLFunctionsSmartChargingOverview.md#SLACSim) » [Shared Functions](../CAPLFunctionsSmartChargingOverview.md#SLACSim) » SCC\_SLAC\_SetLinkStatus

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

## Function Syntax

```plaintext
long SCC_SLAC_SetLinkStatus ( long LinkStatus )
```

## Description

This function overrides the internally stored link status of the HomePlug Green PHY chip. This is useful if no hardware is present.

## Parameters

* **LinkStatus**\
  Value to be set:
  * 0: No link available
  * 1: Link is available
  * 2: Link status is unknown (chip is not responding)

## Return Values

* **0**\
  Not successful
* **1**\
  Successful

## Example

—
