OCPP Driver

OCPP stands for Open Charge Point Protocol. It is often used by Electric Vehicle (EV) charging infrastructure using version 1.6J

The driver's server list MUST contain the machine with which the charger will initiate the connection. As a general rule, be sure that the charger can initiate a connection with any workstation in the server list for the driver.

Server List

Select (or create) a named server list. (Driver Server Lists) Servers for the list must be defined using the Application Configuration dialog, as described in Servers for Specific Services. Smaller sites that do not have multiple servers, or that use only the default server list, need not configure this field.

OCPP Driver tag properties - Options tab

Password

The password supplied by the charger on connection. Dots will be shown in place of the actual characters.

Use of a password is strongly recommended. If not specified, any device will be able to connect via the URL.

OCPP Users

Provide an OCPP Users tag which has been configured with a list of authorized users.

If not specified, anyone will be able to use the charger.

Heartbeat Rate

The time between heartbeat messages from the end device. Defaults to 10 seconds.

Enable Auto Rewrite

If selected, the Store Last Output Values option will also be activated. This option causes the driver to rewrite the last value written to each output, in the event that communications are lost and then restored.

Use this option only if you are certain that you want the last values to be rewritten automatically after an interruption in driver communications.

Store Last Output Values

When selected, the driver will maintain a record of the last value written to each output address. This may be useful in at least two situations:

  • For hardware that does not maintain its state during a power loss and must be restored to that state when re-started.
  • When failed hardware is replaced by a new device and you would like to start that device with the values last written to the old one.

If the last output values are stored, they may be re-written by either of two methods:

  • Automatically, when communication is restored to the device.
  • Manually by way of a button press. See, Rewrite Outputs Widget for details.

Changing this value from selected to deselected will cause all stored values to be erased immediately.

Hold

Select this to have I/O tags attached to the driver hold their last value in the event of a communication failure. If not selected, tags will have their value set to invalid on a communication failure.

Write Debug Logs to Disk

Select only when attempting to diagnose a problem.

The log file will be written to the Data folder of your application.

OCPP Driver tag properties - Communications tab

Path Portion of URL

Appended to the Full Connection URL. Refer to notes for that property.

Charge Point ID

The ID that the charger will use to identify itself along with the password on connection.

Full Connection URL

This field is for display only. The intent is to provide a starting point for the URL that you will configure in your charging device in order to connect.

Copy this and edit as required for your situation. The format is typically:

MACHINENAME/RealmName/AppGUID/Websocket/Path portion here/ChargerID

  • MachineName initializes to the name of the workstation where this tag is being configured. Use the name or canonical address of the primary server to which the charger will connect.
  • RealmName is the name of the VTScada Internet Server realm that you configured for the EV to connect to.
  • "WebSocket" is a keyword and should not be changed.
  • Path portion is any additional information that may be required so that the HTTP Server can route the request to the driver.
  • ChargerID is used to identify the charger as one that is authorized to connect.

Timeout Limit (s)

Specifies the length of time to wait before giving up on a connection attempt. Defaults to 5 seconds.