EVCC > DIN70121

EVCC > DIN70121 > WeldingDetection API

WeldingDetection Lua API reference.

WeldingDetectionReq API

API파라미터반환
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVRESSSOC(evresssoc)evresssoc-
Evcc.Send_WeldingDetectionReq_001()--

WeldingDetectionRes API

API파라미터반환
Evcc.Receive_WeldingDetectionRes_001()--
Evcc.Get_WeldingDetectionRes_ResponseCode()-string
Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value()-number

상세 명세

Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVRESSSOC

Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVRESSSOC(evresssoc)

WeldingDetectionReq.DC_EVStatus.EVRESSSOC 설정

Parameterevresssoc
Return-
MessageWeldingDetectionReq
local evresssoc = 41
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVRESSSOC(evresssoc)

Evcc.Send_WeldingDetectionReq_001

Evcc.Send_WeldingDetectionReq_001()

WeldingDetectionReq 송신

Parameter-
Return-
MessageWeldingDetectionReq
Evcc.Send_WeldingDetectionReq_001()

Evcc.Receive_WeldingDetectionRes_001

Evcc.Receive_WeldingDetectionRes_001()

WeldingDetectionRes 수신

Parameter-
Return-
MessageWeldingDetectionRes
Evcc.Receive_WeldingDetectionRes_001()

Evcc.Get_WeldingDetectionRes_ResponseCode

Evcc.Get_WeldingDetectionRes_ResponseCode()

WeldingDetectionRes.ResponseCode 조회

Parameter-
Returnstring
MessageWeldingDetectionRes
local receivedResponseCode = Evcc.Get_WeldingDetectionRes_ResponseCode()

Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value

Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value()

WeldingDetectionRes.EVSEPresentVoltage.Value 조회

Parameter-
Returnnumber
MessageWeldingDetectionRes
local receivedResponseCode = Evcc.Get_WeldingDetectionRes_ResponseCode()
local receivedEvseStatusCode = Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode()
local receivedEvsePresentVoltageValue = Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value()

예제

WeldingDetectionReq 설정 및 전송

Script
local evresssoc = 41
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVRESSSOC(evresssoc)

Evcc.Send_WeldingDetectionReq_001()

V2GTP Header

Protocol Version0x01
Inverse Version0xFE
Payload Type0x8001
Payload Length0x00000010
PayloadEXIEncodedV2GMessage

XML Example

<?xml version="1.0" ?>
<s3:V2G_Message xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.w3.org/2000/09/xmldsig#" xmlns:s1="urn:din:70121:2012:MsgBody" xmlns:s2="urn:din:70121:2012:MsgDataTypes" xmlns:s3="urn:din:70121:2012:MsgDef" xmlns:s4="urn:din:70121:2012:MsgHeader">
  <s3:Header>
    <s4:SessionID>730BB2245C5D63F5</s4:SessionID>
  </s3:Header>
  <s3:Body>
    <s1:WeldingDetectionReq>
      <s1:DC_EVStatus>
        <s2:EVReady>true</s2:EVReady>
        <s2:EVErrorCode>NO_ERROR</s2:EVErrorCode>
        <s2:EVRESSSOC>41</s2:EVRESSSOC>
      </s1:DC_EVStatus>
    </s1:WeldingDetectionReq>
  </s3:Body>
</s3:V2G_Message>