SECC > DIN70121

SECC > DIN70121 > WeldingDetection API

WeldingDetection Lua API reference.

WeldingDetectionReq API

API파라미터반환
Secc.Receive_WeldingDetectionReq_001()--

WeldingDetectionRes API

API파라미터반환
Secc.Set_WeldingDetectionRes_ResponseCode(responseCode)responseCode (ResponseCodeType)-
Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode(evseStatusCode)evseStatusCode-
Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Value(value)value-
Secc.Send_WeldingDetectionRes_001()--

상세 명세

Secc.Receive_WeldingDetectionReq_001

Secc.Receive_WeldingDetectionReq_001()

WeldingDetectionReq 수신

Parameter-
Return-
MessageWeldingDetectionReq
Secc.Receive_WeldingDetectionReq_001()

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.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode

Secc.Set_WeldingDetectionRes_DC_EVSEStatus_EVSEStatusCode(evseStatusCode)

WeldingDetectionRes.DC_EVSEStatus.EVSEStatusCode 설정

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

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.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 weldingDetectionEvsePresentVoltageValue = 120
Secc.Set_WeldingDetectionRes_EVSEPresentVoltage_Value(weldingDetectionEvsePresentVoltageValue)

Secc.Send_WeldingDetectionRes_001()

V2GTP Header

Protocol Version0x01
Inverse Version0xFE
Payload Type0x8001
Payload Length0x00000015
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:WeldingDetectionRes>
      <s1:ResponseCode>OK</s1:ResponseCode>
      <s1:DC_EVSEStatus>
        <s2:EVSEStatusCode>EVSE_Ready</s2:EVSEStatusCode>
        <s2:NotificationMaxDelay>0</s2:NotificationMaxDelay>
        <s2:EVSENotification>None</s2:EVSENotification>
      </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>