SendGetConfiguration

SendGetConfiguration 1:

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

SendGetConfiguration 2:

Syntax

METHOD SendGetConfiguration : BOOL
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:SendGetConfiguration 5: 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 6: 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.