RecvGetConfiguration
With this method, an OCPP client receives a Get Configuration request from the corresponding OCPP server. To respond to the request, the method RespGetConfiguration must be called.
Syntax
METHOD RecvGetConfiguration : BOOL
VAR_OUTPUT
hMessageId : T_OCPP_MessageId;
nKeysCount : UDINT := 0;
aKeys : ARRAY[1..Param_OCPP.nConfigKeysMax] OF T_OCPP1_ConfigKey;
END_VAR
Return value
Name | Type | Description |
---|---|---|
RecvGetConfiguration | 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. |
Outputs
Name | Type | Description |
---|---|---|
hMessageId | MessageId of the received message. | |
nKeysCount | UDINT | Number of Configuration Keys following in this message. |
aKeys | ARRAY[1..Param_OCPP.nConfigKeysMax] OF T_OCPP1_ConfigKey | List of Configuration Keys for which the value of the configuration is requested. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.