RecvTriggerMessage
With this method, an OCPP client receives a Trigger Message request from the corresponding OCPP server. To respond to the request, the method RespTriggerMessage must be called.
Syntax
METHOD RecvTriggerMessage : BOOL
VAR_OUTPUT
hMessageId : T_OCPP_MessageId;
eRequestedMessage : E_OCPP1_MessageTrigger;
nConnectorId : UDINT;
END_VAR
Return value
Name | Type | Description |
---|---|---|
RecvTriggerMessage | 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. | |
eRequestedMessage | Requested message that the Charge Point should send to the Central System. | |
nConnectorId | UDINT | ID of the Connector of a Charge Point. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.