Secc.Receive_PreChargeReq_001
Secc.Receive_PreChargeReq_001()
PreChargeReq 수신
Secc.Receive_PreChargeReq_001()
SECC > DIN70121
PreCharge Lua API reference.
| API | 파라미터 | 반환 |
|---|---|---|
| Secc.Receive_PreChargeReq_001() | - | - |
| Secc.Get_PreChargeReq_EVTargetVoltage_Value() | - | number |
| Secc.Get_PreChargeReq_EVTargetCurrent_Value() | - | number |
Secc.Receive_PreChargeReq_001()
PreChargeReq 수신
Secc.Receive_PreChargeReq_001()
Secc.Get_PreChargeReq_EVTargetVoltage_Value()
PreChargeReq.EVTargetVoltage.Value 조회
local receivedEvTargetVoltageValue = Secc.Get_PreChargeReq_EVTargetVoltage_Value()
Secc.Get_PreChargeReq_EVTargetCurrent_Value()
PreChargeReq.EVTargetCurrent.Value 조회
local receivedEvTargetVoltageValue = Secc.Get_PreChargeReq_EVTargetVoltage_Value()
local receivedEvTargetCurrentValue = Secc.Get_PreChargeReq_EVTargetCurrent_Value()
Secc.Set_PreChargeRes_ResponseCode(responseCode)
PreChargeRes.ResponseCode 설정
local receivedEvTargetVoltageValue = Secc.Get_PreChargeReq_EVTargetVoltage_Value()
local receivedEvTargetCurrentValue = Secc.Get_PreChargeReq_EVTargetCurrent_Value()
local preChargeResponseCode = ResponseCodeType.OK
Secc.Set_PreChargeRes_ResponseCode(preChargeResponseCode)
Secc.Set_PreChargeRes_DC_EVSEStatus_EVSEStatusCode(evseStatusCode)
PreChargeRes.DC_EVSEStatus.EVSEStatusCode 설정
local evseStatusCode = DC_EVSEStatusCodeType.EVSE_Ready
Secc.Set_PreChargeRes_DC_EVSEStatus_EVSEStatusCode(evseStatusCode)
Secc.Set_PreChargeRes_EVSEPresentVoltage_Value(value)
PreChargeRes.EVSEPresentVoltage.Value 설정
local evsePresentVoltageValue = 3800
Secc.Set_PreChargeRes_EVSEPresentVoltage_Value(evsePresentVoltageValue)
Secc.Send_PreChargeRes_001()
PreChargeRes 송신
Secc.Send_PreChargeRes_001()
local preChargeResponseCode = ResponseCodeType.OK
Secc.Set_PreChargeRes_ResponseCode(preChargeResponseCode)
local evseStatusCode = DC_EVSEStatusCodeType.EVSE_Ready
Secc.Set_PreChargeRes_DC_EVSEStatus_EVSEStatusCode(evseStatusCode)
local evseIsolationStatus = IsolationLevelType.Valid
Secc.Set_PreChargeRes_DC_EVSEStatus_EVSEIsolationStatus(evseIsolationStatus)
local evseIsolationStatusSpecified = true
Secc.Set_PreChargeRes_DC_EVSEStatus_EVSEIsolationStatusSpecified(evseIsolationStatusSpecified)
local notificationMaxDelay = 0
Secc.Set_PreChargeRes_DC_EVSEStatus_NotificationMaxDelay(notificationMaxDelay)
local evseNotification = EVSENotificationType.None
Secc.Set_PreChargeRes_DC_EVSEStatus_EVSENotification(evseNotification)
local evsePresentVoltageMultiplier = -1
Secc.Set_PreChargeRes_EVSEPresentVoltage_Multiplier(evsePresentVoltageMultiplier)
local evsePresentVoltageUnit = UnitSymbolType.Unit_V
Secc.Set_PreChargeRes_EVSEPresentVoltage_Unit(evsePresentVoltageUnit)
local evsePresentVoltageValue = 3800
Secc.Set_PreChargeRes_EVSEPresentVoltage_Value(evsePresentVoltageValue)
Secc.Send_PreChargeRes_001()
0x010xFE0x80010x00000017EXIEncodedV2GMessage<?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>D9226D98FD4F4A5E</s4:SessionID>
</s3:Header>
<s3:Body>
<s1:PreChargeRes>
<s1:ResponseCode>OK</s1:ResponseCode>
<s1:DC_EVSEStatus>
<s2:EVSEIsolationStatus>Valid</s2:EVSEIsolationStatus>
<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>3800</s2:Value>
</s1:EVSEPresentVoltage>
</s1:PreChargeRes>
</s3:Body>
</s3:V2G_Message>