FB_OCPP1_Station

FB_OCPP1_Station 1:

Syntax

FUNCTION BLOCK FB_OCPP1_Station
VAR_OUTPUT
    bBusy               : BOOL;
    bError              : BOOL;
    eErrorResult        : HRESULT;
    eErrorAction        : E_OCPP1_Action;
END_VAR

FB_OCPP1_Station 2: Outputs

Name

Type

Description

bValid

BOOL

The interface to the driver in the background exists.

bBusy

BOOL

Is TRUE as long as the function block is busy with processing.

bError

BOOL

Becomes TRUE when an error situation occurs.

eErrorResult

HRESULT

Last error present on the function block.

eErrorAction

E_OCPP1_Action

OCPP command for which the error occurred.

FB_OCPP1_Station 3: Properties

Name

Type

Access

Description

IsConnected

BOOL

Get

Status of the connection to the OCPP server.

IsPending

BOOL

Get

Waiting for completion of the request.

StationId

UDINT

Get

Identifier of the OCPP client in the instance of the OCPP server.