SECC > ISO15118-2

SECC > ISO15118-2 > WeldingDetection API

WeldingDetection Lua API reference.

WeldingDetectionReq API

API파라미터반환
Secc.Receive_WeldingDetectionReq_001()--
Secc.Check_Received_WeldingDetectionReq()-boolean
Secc.Get_WeldingDetectionReq_DC_EVStatus_EVReady()-boolean
Secc.Get_WeldingDetectionReq_DC_EVStatus_EVErrorCode()-DC_EVErrorCodeType

WeldingDetectionRes API

API파라미터반환
Secc.Set_WeldingDetectionRes_ResponseCode(responseCode)responseCode (ResponseCodeType)-
Secc.Get_WeldingDetectionRes_ResponseCode()-ResponseCodeType
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode(evseStatusCode)evseStatusCode (DC_EVSEStatusCodeType)-
Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode()-DC_EVSEStatusCodeType
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus(evseIsolationStatus)evseIsolationStatus (IsolationLevelType)-
Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus()-IsolationLevelType
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified(isSpecified)isSpecified-
Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified()-boolean
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay(notificationMaxDelay)notificationMaxDelay-
Secc.Get_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay()-number
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSENotification(evseNotification)evseNotification (EVSENotificationType)-
Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSENotification()-EVSENotificationType
Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Multiplier(multiplier)multiplier-
Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Unit(unit)unit (UnitSymbolType)-
Secc.Get_WeldingDetectionRes_EVSEPresentVoltage_Unit()-UnitSymbolType
Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Value(value)value-
Secc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value()-number
Secc.Send_WeldingDetectionRes_001()--

상세 명세

Secc.Receive_WeldingDetectionReq_001

Secc.Receive_WeldingDetectionReq_001()

WeldingDetectionReq 수신

Parameter-
Return-
MessageWeldingDetectionReq
Secc.Receive_WeldingDetectionReq_001()

Secc.Check_Received_WeldingDetectionReq

Secc.Check_Received_WeldingDetectionReq()

WeldingDetectionReq.Received 확인

Parameter-
Returnboolean
MessageWeldingDetectionReq
local receivedWeldingDetectionReq = Secc.Check_Received_WeldingDetectionReq()

Secc.Get_WeldingDetectionReq_DC_EVStatus_EVReady

Secc.Get_WeldingDetectionReq_DC_EVStatus_EVReady()

WeldingDetectionReq.DC_EVStatus.EVReady 조회

Parameter-
Returnboolean
MessageWeldingDetectionReq
local expectedWeldingDetectionEvReady = true
local receivedWeldingDetectionEvReady = Secc.Get_WeldingDetectionReq_DC_EVStatus_EVReady()

Secc.Get_WeldingDetectionReq_DC_EVStatus_EVErrorCode

Secc.Get_WeldingDetectionReq_DC_EVStatus_EVErrorCode()

WeldingDetectionReq.DC_EVStatus.EVErrorCode 조회

Parameter-
MessageWeldingDetectionReq
local expectedWeldingDetectionEvErrorCode = DC_EVErrorCodeType.NO_ERROR
local receivedWeldingDetectionEvErrorCode = Secc.Get_WeldingDetectionReq_DC_EVStatus_EVErrorCode()

Secc.Set_WeldingDetectionRes_ResponseCode

Secc.Set_WeldingDetectionRes_ResponseCode(responseCode)

WeldingDetectionRes.ResponseCode 설정

ParameterresponseCode (ResponseCodeType)
Return-
MessageWeldingDetectionRes
local weldingDetectionResponseCode = ResponseCodeType.OK
Secc.Set_WeldingDetectionRes_ResponseCode(weldingDetectionResponseCode)

Secc.Get_WeldingDetectionRes_ResponseCode

Secc.Get_WeldingDetectionRes_ResponseCode()

WeldingDetectionRes.ResponseCode 조회

Parameter-
MessageWeldingDetectionRes
local observedWeldingDetectionResponseCode = Secc.Get_WeldingDetectionRes_ResponseCode()

Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode

Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode(evseStatusCode)

WeldingDetectionRes.DC_EVSEStatus.EVSEStatusCode 설정

ParameterevseStatusCode (DC_EVSEStatusCodeType)
Return-
MessageWeldingDetectionRes
local weldingDetectionEvseStatusCode = DC_EVSEStatusCodeType.EVSE_Ready
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode(weldingDetectionEvseStatusCode)

Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode

Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode()

WeldingDetectionRes.DC_EVSEStatus.EVSEStatusCode 조회

Parameter-
MessageWeldingDetectionRes
local observedWeldingDetectionEvseStatusCode = Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode()

Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus

Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus(evseIsolationStatus)

WeldingDetectionRes.DC_EVSEStatus.EVSEIsolationStatus 설정

ParameterevseIsolationStatus (IsolationLevelType)
Return-
MessageWeldingDetectionRes
local weldingDetectionEvseIsolationStatus = IsolationLevelType.Valid
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus(weldingDetectionEvseIsolationStatus)

Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus

Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus()

WeldingDetectionRes.DC_EVSEStatus.EVSEIsolationStatus 조회

Parameter-
MessageWeldingDetectionRes
local observedWeldingDetectionEvseIsolationStatus = Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus()

Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified

Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified(isSpecified)

WeldingDetectionRes.DC_EVSEStatus.EVSEIsolationStatusSpecified 설정

ParameterisSpecified
Return-
MessageWeldingDetectionRes
local weldingDetectionEvseIsolationStatusSpecified = true
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified(weldingDetectionEvseIsolationStatusSpecified)

Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified

Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified()

WeldingDetectionRes.DC_EVSEStatus.EVSEIsolationStatusSpecified 조회

Parameter-
Returnboolean
MessageWeldingDetectionRes
local observedWeldingDetectionEvseIsolationStatusSpecified = Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified()

Secc.Set_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay

Secc.Set_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay(notificationMaxDelay)

WeldingDetectionRes.DC_EVSEStatus.NotificationMaxDelay 설정

ParameternotificationMaxDelay
Return-
MessageWeldingDetectionRes
local weldingDetectionNotificationMaxDelay = 0
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay(weldingDetectionNotificationMaxDelay)

Secc.Get_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay

Secc.Get_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay()

WeldingDetectionRes.DC_EVSEStatus.NotificationMaxDelay 조회

Parameter-
Returnnumber
MessageWeldingDetectionRes
local observedWeldingDetectionNotificationMaxDelay = Secc.Get_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay()

Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSENotification

Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSENotification(evseNotification)

WeldingDetectionRes.DC_EVSEStatus.EVSENotification 설정

ParameterevseNotification (EVSENotificationType)
Return-
MessageWeldingDetectionRes
local weldingDetectionEvseNotification = EVSENotificationType.None
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSENotification(weldingDetectionEvseNotification)

Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSENotification

Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSENotification()

WeldingDetectionRes.DC_EVSEStatus.EVSENotification 조회

Parameter-
MessageWeldingDetectionRes
local observedWeldingDetectionEvseNotification = Secc.Get_WeldingDetectionRes_DC_EVSEStatus_EVSENotification()

Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Multiplier

Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Multiplier(multiplier)

WeldingDetectionRes.EVSEPresentVoltage.Multiplier 설정

Parametermultiplier
Return-
MessageWeldingDetectionRes
local weldingDetectionEvsePresentVoltageMultiplier = -1
Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Multiplier(weldingDetectionEvsePresentVoltageMultiplier)

Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Unit

Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Unit(unit)

WeldingDetectionRes.EVSEPresentVoltage.Unit 설정

Parameterunit (UnitSymbolType)
Return-
MessageWeldingDetectionRes
local weldingDetectionEvsePresentVoltageUnit = UnitSymbolType.Unit_V
Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Unit(weldingDetectionEvsePresentVoltageUnit)

Secc.Get_WeldingDetectionRes_EVSEPresentVoltage_Unit

Secc.Get_WeldingDetectionRes_EVSEPresentVoltage_Unit()

WeldingDetectionRes.EVSEPresentVoltage.Unit 조회

Parameter-
MessageWeldingDetectionRes
local observedWeldingDetectionEvsePresentVoltageUnit = Secc.Get_WeldingDetectionRes_EVSEPresentVoltage_Unit()

Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Value

Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Value(value)

WeldingDetectionRes.EVSEPresentVoltage.Value 설정

Parametervalue
Return-
MessageWeldingDetectionRes
local weldingDetectionEvsePresentVoltageValue = 120
Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Value(weldingDetectionEvsePresentVoltageValue)

Secc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value

Secc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value()

WeldingDetectionRes.EVSEPresentVoltage.Value 조회

Parameter-
Returnnumber
MessageWeldingDetectionRes
local observedWeldingDetectionEvsePresentVoltageValue = Secc.Get_WeldingDetectionRes_EVSEPresentVoltage_Value()

Secc.Send_WeldingDetectionRes_001

Secc.Send_WeldingDetectionRes_001()

WeldingDetectionRes 송신

Parameter-
Return-
MessageWeldingDetectionRes
Secc.Send_WeldingDetectionRes_001()

예제

WeldingDetectionRes 설정 및 전송

Script
local weldingDetectionResponseCode = ResponseCodeType.OK
Secc.Set_WeldingDetectionRes_ResponseCode(weldingDetectionResponseCode)

local weldingDetectionEvseStatusCode = DC_EVSEStatusCodeType.EVSE_Ready
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode(weldingDetectionEvseStatusCode)

local weldingDetectionEvseIsolationStatus = IsolationLevelType.Valid
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatus(weldingDetectionEvseIsolationStatus)

local weldingDetectionEvseIsolationStatusSpecified = true
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEIsolationStatusSpecified(weldingDetectionEvseIsolationStatusSpecified)

local weldingDetectionNotificationMaxDelay = 0
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_NotificationMaxDelay(weldingDetectionNotificationMaxDelay)

local weldingDetectionEvseNotification = EVSENotificationType.None
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSENotification(weldingDetectionEvseNotification)

local weldingDetectionEvsePresentVoltageMultiplier = -1
Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Multiplier(weldingDetectionEvsePresentVoltageMultiplier)

local weldingDetectionEvsePresentVoltageUnit = UnitSymbolType.Unit_V
Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Unit(weldingDetectionEvsePresentVoltageUnit)

local weldingDetectionEvsePresentVoltageValue = 120
Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Value(weldingDetectionEvsePresentVoltageValue)

Secc.Send_WeldingDetectionRes_001()

V2GTP Header

Protocol Version0x01
Inverse Version0xFE
Payload Type0x8001
Payload Length0x00000016
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:WeldingDetectionRes>
      <s1:ResponseCode>OK</s1:ResponseCode>
      <s1:DC_EVSEStatus>
        <s2:NotificationMaxDelay>0</s2:NotificationMaxDelay>
        <s2:EVSENotification>None</s2:EVSENotification>
        <s2:EVSEIsolationStatus>Valid</s2:EVSEIsolationStatus>
        <s2:EVSEStatusCode>EVSE_Ready</s2:EVSEStatusCode>
      </s1:DC_EVSEStatus>
      <s1:EVSEPresentVoltage>
        <s2:Multiplier>-1</s2:Multiplier>
        <s2:Unit>V</s2:Unit>
        <s2:Value>120</s2:Value>
      </s1:EVSEPresentVoltage>
    </s1:WeldingDetectionRes>
  </s3:Body>
</s3:V2G_Message>