SendTriggerMessage
With this method, an OCPP server sends a Trigger Message request to the connected OCPP client. The response from the OCPP client is processed directly within the method.
Syntax
METHOD SendTriggerMessage : BOOL
VAR_INPUT
eRequestedMessage : E_OCPP1_MessageTrigger;
nConnectorId : UDINT := 0;
END_VAR
VAR_OUTPUT
eStatus : E_OCPP1_TriggerMessageStatus;
END_VAR
Return value
Name | Type | Description |
---|---|---|
SendTriggerMessage | 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. |
Inputs
Name | Type | Description |
---|---|---|
eRequestedMessage | Type of message to be triggered. | |
nConnectorId | UDINT | ID of the Connector of a Charge Point. |
Outputs
Name | Type | Description |
---|---|---|
eStatus | The status indicates whether the Charge Point will send the requested message or not. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.