PollRequest
This method must be called in order to receive incoming requests from OCPP clients.
Syntax
METHOD PollRequest : BOOL
VAR_OUTPUT
hStationId : UDINT;
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 |
---|---|---|
hStationId | UDINT | Identifier of the OCPP client in the instance of the OCPP server. |
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.