EVCC > ISO15118-2

EVCC > ISO15118-2 > WeldingDetection API

WeldingDetection Lua API reference.

WeldingDetectionReq API

API파라미터반환
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVReady(evReady)evReady-
Evcc.Get_WeldingDetectionReq_DC_EVStatus_EVReady()-boolean
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVErrorCode(evErrorCode)evErrorCode (DC_EVErrorCodeType)-
Evcc.Get_WeldingDetectionReq_DC_EVStatus_EVErrorCode()-DC_EVErrorCodeType
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVRESSSOC(evresssoc)evresssoc-
Evcc.Send_WeldingDetectionReq_001()--

WeldingDetectionRes API

API파라미터반환
Evcc.Receive_WeldingDetectionRes_001()--
Evcc.Get_WeldingDetectionRes_ResponseCode()-ResponseCodeType
Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode()-DC_EVSEStatusCodeType
Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus()-IsolationLevelType
Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified()-boolean
Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay()-number
Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSENotification()-EVSENotificationType
Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Unit()-UnitSymbolType
Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value()-number

상세 명세

Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVReady

Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVReady(evReady)

WeldingDetectionReq.DC_EVStatus.EVReady 설정

ParameterevReady
Return-
MessageWeldingDetectionReq
local weldingDetectionEvReady = true
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVReady(weldingDetectionEvReady)

Evcc.Get_WeldingDetectionReq_DC_EVStatus_EVReady

Evcc.Get_WeldingDetectionReq_DC_EVStatus_EVReady()

WeldingDetectionReq.DC_EVStatus.EVReady 조회

Parameter-
Returnboolean
MessageWeldingDetectionReq
local observedWeldingDetectionEvReady = Evcc.Get_WeldingDetectionReq_DC_EVStatus_EVReady()

Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVErrorCode

Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVErrorCode(evErrorCode)

WeldingDetectionReq.DC_EVStatus.EVErrorCode 설정

ParameterevErrorCode (DC_EVErrorCodeType)
Return-
MessageWeldingDetectionReq
local weldingDetectionEvErrorCode = DC_EVErrorCodeType.NO_ERROR
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVErrorCode(weldingDetectionEvErrorCode)

Evcc.Get_WeldingDetectionReq_DC_EVStatus_EVErrorCode

Evcc.Get_WeldingDetectionReq_DC_EVStatus_EVErrorCode()

WeldingDetectionReq.DC_EVStatus.EVErrorCode 조회

Parameter-
MessageWeldingDetectionReq
local observedWeldingDetectionEvErrorCode = Evcc.Get_WeldingDetectionReq_DC_EVStatus_EVErrorCode()

Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVRESSSOC

Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVRESSSOC(evresssoc)

WeldingDetectionReq.DC_EVStatus.EVRESSSOC 설정

Parameterevresssoc
Return-
MessageWeldingDetectionReq
local weldingDetectionEvressSoc = 81
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVRESSSOC(weldingDetectionEvressSoc)

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-
MessageWeldingDetectionRes
local expectedResponseCode = ResponseCodeType.OK
local receivedResponseCode = Evcc.Get_WeldingDetectionRes_ResponseCode()

Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode

Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode()

WeldingDetectionRes.DC_EVSEStatus.EVSEStatusCode 조회

Parameter-
MessageWeldingDetectionRes
local expectedEvseStatusCode = DC_EVSEStatusCodeType.EVSE_Ready
local receivedEvseStatusCode = Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode()

Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus

Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus()

WeldingDetectionRes.DC_EVSEStatus.EVSEIsolationStatus 조회

Parameter-
MessageWeldingDetectionRes
local expectedEvseIsolationStatus = IsolationLevelType.Valid
local receivedEvseIsolationStatus = Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus()

Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified

Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified()

WeldingDetectionRes.DC_EVSEStatus.EVSEIsolationStatusSpecified 조회

Parameter-
Returnboolean
MessageWeldingDetectionRes
local expectedEvseIsolationStatusSpecified = true
local receivedEvseIsolationStatusSpecified = Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified()

Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay

Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay()

WeldingDetectionRes.DC_EVSEStatus.NotificationMaxDelay 조회

Parameter-
Returnnumber
MessageWeldingDetectionRes
local expectedNotificationMaxDelay = 0
local receivedNotificationMaxDelay = Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay()

Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSENotification

Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSENotification()

WeldingDetectionRes.DC_EVSEStatus.EVSENotification 조회

Parameter-
MessageWeldingDetectionRes
local expectedEvseNotification = EVSENotificationType.None
local receivedEvseNotification = Evcc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSENotification()

Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Unit

Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Unit()

WeldingDetectionRes.EVSEPresentVoltage.Unit 조회

Parameter-
MessageWeldingDetectionRes
local expectedEvsePresentVoltageUnit = UnitSymbolType.Unit_V
local receivedEvsePresentVoltageUnit = Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Unit()

Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value

Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value()

WeldingDetectionRes.EVSEPresentVoltage.Value 조회

Parameter-
Returnnumber
MessageWeldingDetectionRes
local expectedEvsePresentVoltageValue = 120
local receivedEvsePresentVoltageValue = Evcc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value()

예제

WeldingDetectionReq 설정 및 전송

Script
local weldingDetectionEvReady = true
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVReady(weldingDetectionEvReady)

local weldingDetectionEvErrorCode = DC_EVErrorCodeType.NO_ERROR
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVErrorCode(weldingDetectionEvErrorCode)

local weldingDetectionEvressSoc = 81
Evcc.Set_WeldingDetectionReq_DC_EVStatus_EVRESSSOC(weldingDetectionEvressSoc)

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:iso:15118:2:2013:MsgBody" xmlns:s2="urn:iso:15118:2:2013:MsgDataTypes" xmlns:s3="urn:iso:15118:2:2013:MsgDef" xmlns:s4="urn:iso:15118:2:2013:MsgHeader">
  <s3:Header>
    <s4:SessionID>7E3CFB37BF6E6F49</s4:SessionID>
  </s3:Header>
  <s3:Body>
    <s1:WeldingDetectionReq>
      <s1:DC_EVStatus>
        <s2:EVReady>true</s2:EVReady>
        <s2:EVErrorCode>NO_ERROR</s2:EVErrorCode>
        <s2:EVRESSSOC>81</s2:EVRESSSOC>
      </s1:DC_EVStatus>
    </s1:WeldingDetectionReq>
  </s3:Body>
</s3:V2G_Message>