PollRequest
This method must be called to receive incoming requests from the connected OCPP client.
Syntax
METHOD PollRequest : BOOL
VAR_OUTPUT
eAction : E_OCPP1_Action;
hMessageId : T_OCPP_MessageId;
END_VAR
Return value
Name | Type | Description |
---|---|---|
PollRequest | 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 |
---|---|---|
eAction | Type of OCPP request received from the server. | |
hMessageId | MessageId of the received message. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.