ABB Totalflow Driver

Use the ABB Totalflow driver tag to communicate with a variety of Totalflow devices produced by ABB. This VTScada driver does not implement the full protocol required to communicate with these devices but relies instead upon a separate service "QCSI VTScada Helper" (QSCI stands for Quintessential Computing Services Inc.)

Communication Methods Supported

Totalflow RTUs are capable of different modes of communication with SCADA host systems using variants of protocol messaging. Early Totalflow RTUs, manufactured in the 1980s and 1990s, use the DB1 FCU protocol. Newer Totalflow RTUs, beginning with late model Totalflow G3 models, use the DB2 FCU, DB2 Register, and DB2 Trend protocols.

Communication protocols currently supported by the VTScada Totalflow Driver include:

Method Comments
DB1 FCU Not currently supported. Will be supported in a subsequent release.
DB1 FCU + VCI Not supported.
DB2 FCU Supported
DB2 Register Supported
DB2 Trend Supported

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.

ABB Totalflow Driver properties: Service tab

Used to configure access to the QCSI VTScada Helper service. Refer to the service’s documentation describing these settings.

Hostname

The name or IP address of the host for the QCSI VTScada Helper service. This typically run on the same server as the VTScada driver, so can be left at it’s default setting of "localhost" or 127.0.0.1

Port

The TCP/IP port number to access the QCSI VTScada Helper service. The default value of 20822 will work for most installations.

Timeout

The maximum time, measured in seconds, that the driver will wait for a response from the QCSI VTScada Helper service.

Debug Level

The debugging level for communication between the driver and the QCSI VTScada Helper service. Debug output can be found in the application’s "\Data\TraceFiles" directory. ABB Total flow driver trace files are named "Totalflow-YYYY-MM-DD.LOG" where YYYY-MM-DD represents the date on which the data was recorded to the file.

The debug output file can overridden using the application property, TotalflowLogFile. This setting will also enable debugging details from the QCSI VTScada Helper service, which generates three log files:

  • SERVICE – Logs Windows service related messages
  • CLIENT – Logs network socket related messages
  • DATA – Logs protocol related messages

The Helper service's debugging output can be found in the directory specified in the following Windows registry key:

SOFTWARE\\QCSI\\QCSI.VTScada.Service\LogPath

If this key does not exist, the directory specified in the following Windows registry key is used instead:

SOFTWARE\\Trihedral\\VTSnn\path 

where "nn" should be replaced by the current version number.

ABB Totalflow Driver properties: Device Info tab

Port

Communications port used to connect to the ABB Totalflow device. The driver supports direct serial, serial via modem, TCP/IP, and UDP/IP port tags.

Station ID

The station ID of the device. (Before multimeter devices were created, this was referred to as the meter Id.) The station ID is 1 to 10 printable characters.

Security Code

The four-character security code assigned to the device. Allowable characters are ASCII hex 30 through hex 39 (decimal characters 0 through 9).

Maximum Read Block Size

The block size that should be used when filling packets. The block is the smallest subset of a message that is CRC protected, so the block is the smallest subset that can be requested in a retry.

Packet Size

The number of bytes that are contained in a single message from the device to the host. In the DB2 protocol, the host returns an ACK for each message (packet plus header) that is received, so the larger the packet size, the fewer number of device transmissions and host acknowledgments are required.

Device Clock Time Zone

Defaults to the server's time zone.

ABB Totalflow Driver properties: Communications tab

Time-Out Limit

The time the driver will wait for a response before setting an error or retrying.

Retries

The number of times to retry a message before declaring an error.

Use only if the driver is connected to a Serial port. When using TCP/IP, do not set to any value other than 0.

Hold

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

Link Time

Time, in seconds, to send request frames.

ABB Totalflow Driver properties: Request tab

Operator ID

Required if the device is configured to record the name of the operator with each event or to use role-based access. Leave blank otherwise.

Password

If the device is configured to use role-based access, values for both Operator ID and Password are required. Leave blank otherwise.

Compress Response

A flag that indicates if the data content in the response should be compressed. This is not available with DB2 Register requests.

Flow Header

Determines if the flow header (ranging in size from 200 to 500 bytes) should be retrieved in a historical collection.

If selected, the device returns the flow header at the start of the response so that flow header fields are used for decoding the other records in the response.

If not selected, the device returns an 8-byte header before each record type in the response.

Daily Records

Select if the Daily Records should be retrieved as part of the historical collection.

Log Period Records

Select if the Log Period records should be retrieved as part of the historical collection.

Event Records

Select if the original Event records should be retrieved as part of the historical collection. This setting is mutually exclusive of New Event Records.

New Event Records

Select if the new Event records should be retrieved as part of the historical collection. This setting is mutually exclusive of Event Records.

Collecting Events

Select if the device should treat this transaction as a collection process. Devices configured to operate in conformance with Canadian measurement requirements retain all events until collection is complete. Setting this flag causes the device to mark the retrieved events as reusable so that the events are overwritten, when necessary.

History Collect Method

Determines how the historical collection is retrieved. May be one of:

0 – by recent days

1 – by start and stop sequence number

2 – by start and stop time

Maximum Days

Limits the number of days of history to collect.

 

ABB Totalflow Driver properties: Trend tab

Trend Collect Method

Determines how a Trend file is retrieved. May be one of:

0 – Days

1 – By start and stop sequence number

2 – By start and stop timestamp

Trend Directory

Sets the base folder holding the Trend file. Added to the FILE portion of the Trend datum address:

(TR:FILE:ATTRIBUTE