SendTriggerMessage

SendTriggerMessage 1:

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.

SendTriggerMessage 2:

Syntax

METHOD SendTriggerMessage : BOOL
VAR_INPUT
    eRequestedMessage : E_OCPP1_MessageTrigger; 
    nConnectorId      : UDINT := 0; 
END_VAR
VAR_OUTPUT
    eStatus           : E_OCPP1_TriggerMessageStatus;
END_VAR

SendTriggerMessage 3: 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.

SendTriggerMessage 4: Inputs

Name

Type

Description

eRequestedMessage

E_OCPP1_MessageTrigger

Type of message to be triggered.

nConnectorId

UDINT

ID of the Connector of a Charge Point.

SendTriggerMessage 5: Outputs

Name

Type

Description

eStatus

E_OCPP1_TriggerMessageStatus

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.