SendGetConfiguration

SendGetConfiguration 1:

With this method, an OCPP server sends a Get Configuration request to the corresponding OCPP client. The response from the OCPP client is processed directly within the method.

SendGetConfiguration 2:

Syntax

METHOD SendGetConfiguration : BOOL
VAR_INPUT
    hStationId    : UDINT;
END_VAR
VAR_IN_OUT
    arrKeys       : ARRAY[*] OF ST_OCPP1_ConfigKeyValue; 
END_VAR
VAR_OUTPUT
    nKeysCount    : UDINT := 0;
    nUnknownCount : UDINT := 0;
END_VAR

SendGetConfiguration 3: Return value

Name

Type

Description

SendGetConfiguration

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.

SendGetConfiguration 4: Inputs

Name

Type

Description

hStationId

UDINT

Identifier of the OCPP client in the instance of the OCPP server.

SendGetConfiguration 5:SendGetConfiguration 6: Inputs/outputs

Name

Type

Description

arrKeys

ARRAY [*] OF ST_OCPP1_ConfigKeyValue

List of requested or known configuration keys for which the configuration is requested.

SendGetConfiguration 7: Outputs

Name

Type

Description

nKeysCount

UDINT

Number of the following configuration keys.

nUnknownCount

UDINT

Number of the following unknown configuration keys.

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