RespGetConfiguration

RespGetConfiguration 1:

With this method, an OCPP client responds to a Get Configuration request from the corresponding OCPP server.

RespGetConfiguration 2:

Syntax

METHOD RespGetConfiguration : BOOL
VAR_INPUT
    hMessageId    : T_OCPP_MessageId;
    nKeysCount    : UDINT := 0;
    nUnknownCount : UDINT := 0;
END_VAR
VAR_IN_OUT CONSTANT
    aKeys         : ARRAY[*] OF ST_OCPP1_ConfigKeyValue;
    aUnknown      : ARRAY[*] OF T_OCPP1_ConfigKey;
END_VAR

RespGetConfiguration 3: Return value

Name

Type

Description

RespGetConfiguration

BOOL

The method returns the return value TRUE if the call was successful. A method call is also considered successfully completed in the event of an error.

RespGetConfiguration 4: Inputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

nKeysCount

UDINT

Number of the following Configuration Keys.

nUnknownCount

UDINT

Number of the following Unknown Configuration Keys.

RespGetConfiguration 5:RespGetConfiguration 6: Inputs/outputs

Name

Type

Description

aKeys

ARRAY[*] OF ST_OCPP1_ConfigKeyValue

List of requested or known Configuration Keys.

aUnknown

ARRAY[*] OF T_OCPP1_ConfigKey

Requested Configuration Keys that are not known.

Possible errors are output at the outputs bError and hrErrorCode of the function block instance.