Charging over Powerline (PLC) with SLAC
ChargeLink runs complete charging sessions as the charger over real PLC hardware (HomePlug Green PHY, SLAC, control pilot) against an independent open-source EV stack, for DIN 70121, ISO 15118-2 DC/AC and ISO 15118-20 DC/AC with TLS 1.3. This needs DEVlink PLC hardware, which is not yet available; contact DEVlink for availability. This page explains how the link is built, how the charger and the vehicle run on it, the commands that check it, and the limits that apply to this claim.
How a PLC link is built
ChargeLink does not drive a PLC modem directly. It connects over the network to the relay of the DEVlink PLC hardware, which holds the modem and the control pilot, at an address such as [::1]:7500 or [fe80::1%12]:7500.
- Pairing secret. The relay accepts a ChargeLink connection only with the DEVlink PLC hardware's pairing secret: 64 hexadecimal digits in a file that you name with
--relay-secret-fileor with the environment variableCHARGELINK_RELAY_SECRET_FILE. ChargeLink never prints or records the secret. - SLAC first. A session on the PLC link starts with the SLAC matching. SDP and the charging session start once the link is established.
- Control pilot. The pilot state follows the session: state C before the cable check (DC) or after the start of power delivery (AC), and state B after the stop and at every end of the session. For ISO 15118-20 AC the duty cycle must read 5 % before the charge parameter discovery request.
The charger (EVSE) over PLC
The charger over PLC runs as two ChargeLink processes on the charger PC:
- The matching, which runs SLAC on the DEVlink PLC hardware's modem, drives the pilot and holds the link:
chargelink plc slac --role evse --relay <relay address> --relay-secret-file <file> --events --hold-s <seconds> --stop-file <file> - The charger itself, listening on the PC network adapter that is cabled to the DEVlink PLC hardware. Its SDP and V2G traffic goes over IPv6 through the hardware's bridge:
chargelink evse start --external-evcc-session --host :: --tcp-port <port> --udp-port 15118 --interface-index <adapter index> --advertise-ipv6 <the adapter's link-local address> ...
On that adapter only, allow inbound UDP 15118 and the charger's TCP port through the Windows firewall. For DC, the power stage and state C come from the simulated plant, as in every other charger session; see ChargeLink as Charger.
The vehicle (EV) over PLC
Add --plc-relay <relay address> to the vehicle command of the standard. The vehicle then runs SLAC first, then SDP and the session, with its pilot state following the session:
| Standard | Command |
|---|---|
| DIN 70121 DC | chargelink din-evcc ... --plc-relay <ADDR> |
| ISO 15118-2 DC | chargelink iso2-evcc ... --plc-relay <ADDR> |
| ISO 15118-2 AC | chargelink iso2-ac-evcc ... --plc-relay <ADDR> |
| ISO 15118-20 AC | chargelink iso20-ac-evcc ... --plc-relay <ADDR> |
| ISO 15118-20 DC | chargelink evcc activate-profile ... --plc-relay <ADDR> |
The rest of each command is as in ChargeLink as Vehicle. Without --plc-relay the session runs over Ethernet and link-local IPv6 as before.
What runs over PLC in 0.6.0, and its limits
The charger side runs over PLC with SLAC and drives the control pilot only with DEVlink PLC hardware, which is not yet available. The sessions behind this ran on prototype DEVlink PLC hardware against an EV software stack, not a vehicle, and transferred no power. They show the charging session itself (SDP, TCP, TLS and the messages) with that EV stack. The EV side's SLAC was ChargeLink's own, and the test setup set the EV-side pilot state, so there is no claim for an EV's own SLAC or pilot timing. DIN 70121 and ISO 15118-2 ran without TLS. For ISO 15118-20, which ran with mutual TLS 1.3 and test certificates, the EV software stack used a test adapter for TLS 1.3; an ISO 15118-20 EV must meet ChargeLink's TLS 1.3 requirements to connect. Without that hardware, ChargeLink runs over Ethernet and simulates the pilot. This is not a conformance result.
These sessions were repeated on this release's release candidate for all five stacks, against the EV software stack and with ChargeLink on both sides. In ISO 15118-20 DC, an EV that asked for more current than the charger's maximum was held at that maximum, and the session completed.
Details and limits
- SLAC matching rules. The EV side applies DIN 70121's SLAC matching rules in every session, for every stack. Where other SLAC rules differ (the address of the optional validation request, a sounding count of zero, the leave timer), this release does not follow them.
- Optional SLAC validation, charger side. The charger side answers the optional validation only when the EV sends it to the charger's own address. An EV that sends its second validation request to broadcast gets no answer, and its validation fails. A later release accepts both.
- Mains coexistence. The charger-side modem of the current DEVlink PLC hardware has no AC zero-cross input, so coexistence with in-home PLC on a mains line is not supported. A bench with no mains line does not need it.
- Transmit spectrum. The modems' carrier notches (tone mask) have not been measured.
- Control pilot electrical values (levels, duty-cycle accuracy, timing) are generated and read by the DEVlink PLC hardware and are not checked by ChargeLink. Pilot states E and F are not shown.
- Conformance. SLAC, PLC and control-pilot conformance cases belong to the physical layer and are not run; the PLC sessions are not a conformance result.
Check the link
| Command | What it does |
|---|---|
chargelink plc check --relay <ADDR> --role evse|ev | Connects to the relay, reads its hello, and checks the modem's firmware and its coordinator (CCo) role. --role evse is the charger, whose modem is the central coordinator; --role ev is the vehicle. Default timeout 10 s. |
chargelink plc selfcheck modem|pilot|slac --side evse|ev | A read-only self-check of the DEVlink PLC hardware: the modem, the pilot, or the matching alone, as JSON. The relay defaults to [::1]:7500. |
chargelink plc slac --role evse|ev --relay <ADDR> | Runs one SLAC matching in one role until the link has ended. --hold-s ends it a set time after the link is established; --stop-file ends a held link cleanly once the file exists; --events prints each event as one JSON line (schema chargelink.plc.slac.events.v1) with the report as the last line; --report also writes the report to a file. Default timeout 120 s. |
All plc commands accept --json, --runtime-root, --artifact-root and --license like the other ChargeLink commands.

