Professional Documents
Culture Documents
Windows SCADA
Harris 5000/6000 Scan Task
User’s Guide
____________________________________________
This manual describes the functionality and data entry requirements for
the Harris 5000/6000 scan task used in the Windows SCADA system.
The content of this manual has been carefully checked for accuracy. However, if you find
any errors, please notify Survalent Products Corporation.
Revisions
Date Description
August 23, 2005 Initial version.
April 11, 2006 Added RTU configuration switches to specify port counts.
March 9, 2007 Added communication line switch /ForceCtl (section 3.1.5, Configuration Switches).
January 18, 2010 Added RTU configuration switch "StChgChk" (section 4.1.6, Switches).
Contents
1 Introduction 1-1
4 RTU 4-1
4.1 RTU Data Fields—General ............................................................................................................ 4-1
4.1.1 RTU Address .............................................................................................................................. 4-2
4.1.2 Network ...................................................................................................................................... 4-2
4.1.3 Scout ........................................................................................................................................... 4-2
4.1.4 Status Point ................................................................................................................................. 4-3
4.1.5 Fast Scan Point............................................................................................................................ 4-3
4.1.6 Switches ...................................................................................................................................... 4-3
4.2 RTU Data Fields—Connections..................................................................................................... 4-4
4.2.1 Host Name .................................................................................................................................. 4-5
4.2.2 Host Port ..................................................................................................................................... 4-5
4.2.3 Dial-up ........................................................................................................................................ 4-5
4.2.4 RTU Data Fields—Switches....................................................................................................... 4-5
4.2.5 Port Switch Point ........................................................................................................................ 4-6
4.2.6 Switch Port after ......................................................................................................................... 4-6
4.2.7 Channel Switch Point, Switch Channel after .............................................................................. 4-7
4.3 RTU Data Fields—Statistics .......................................................................................................... 4-7
4.3.1 Percentage Communication Point............................................................................................... 4-7
4.3.2 Total Message Count .................................................................................................................. 4-8
4.3.3 Good Message Count.................................................................................................................. 4-8
4.3.4 Bad Message Count .................................................................................................................... 4-8
4.3.5 Timeout Count ............................................................................................................................ 4-8
4.3.6 Send Message Count................................................................................................................... 4-8
4.3.7 Dial-up Override Interval............................................................................................................ 4-9
4.3.8 Dial-up Status ............................................................................................................................. 4-9
4.3.9 Time of Last Good Poll .............................................................................................................. 4-9
4.4 RTU Data Fields—Scout................................................................................................................ 4-9
This document describes the operation and database requirements of the Harris 5000/6000 scan task in
the Windows SCADA system.
• Communication lines
• RTUs
• Status and controls
• Analog points
You can monitor communications between this scan task and your RTUs, using the ScanMon utility. This is
described in chapter 7.
The scan task described in this document conforms to the specifications described in the Harris
5000/6000 documents listed in Table 1-1. Chapter 8 contains a conformance profile for the Harris
5000/6000 scan task.
This manual describes the creation of certain items in the Windows SCADA database, namely
communication lines, RTUs, analog and status points. It does so in a way that is specific to the Harris
5000/6000 communication protocol, as implemented by this scan task. For additional information
regarding these database items, and the Windows SCADA database in general, you should refer to the
This document assumes you have some familiarity with the protocol involved. Terms specific to the Harris
5000/6000 protocol are used throughout, without defining them. If you need clarification, you may want to
read:
2.1 Introduction
The Harris 5000/6000 scan task consists of two layers within a single process:
This is the lower layer that provides protocol-specific-data transportation service to the application
layer.
• Application layer
This is the upper layer that schedules polling, parses responses from the RTUs, and interfaces to the
rest of the SCADA system.
All message transactions between the mater station and RTU through the scan task are based on a
“master-slave” relationship. This relationship states that RTUs respond to the master station only when
commanded by the master station. The master station will “stop-and-wait” for each RTU response
message or it will time-out before initiating another RTU message transaction. Any RTU command or
response message will be aborted if the RTU receives a new command.
Harris 5000/6000 Scan Task User’s Guide Operation of Scan Task 2-1
Windows SCADA
2.2 Initialization
At startup, and on detection of RTU restart, the scan task performs the following initialization functions:
If the RTU is a Harris 6000 series RTU, the scan task uses the “SOE time synchronization” and “SOE
time adjustment” commands to synchronize the RTU time clock.
If the RTU is a Harris 5000 series RTU, the scan task uses the “Non-SOE time synchronization”
command.
To perform an all-data-poll, the scan task uses the “analog data dump” and “status data dump”
commands.
• issues all-data polls (consisting of analog data dump and status data dump commands in
sequence)
• issues time sync commands (consisting of SOE time sync command plus time adjustment
command for Harris 6000 series RTU, or Non-SOE time sync command for Harris 5000/5500
series RTU)
• issues broadcast freeze commands followed by accumulator polls (i.e. accumulator data dump
commands)
In addition, on request from the operators and application programs, the scan task issues control and set
point commands.
Harris 5000/6000 Scan Task User’s Guide Operation of Scan Task 2-2
Windows SCADA
2.4 Status Changes
The status changes in the RTU are acquired on an exception basis by use of the Status-Change-Dump
command, which is issued after the RTU reports non-zero number of status changes in response to an
Analog/Accumulator or Status Data Dump command. The status changes in the response message are in
the order of status change occurrence.
The method of reading SOE data in sets provides a more efficient way to acquire SOE data if a lot of
SOE events happened in a short period of time. However, the RTU will reply null SOE information to a
“Send-Next-SOE-Set” command if the number of available SOE events in the RTU SOE buffer is less
than the SOE-set-size configured in the RTU.
To balance the methods of acquiring SOE data on one-at-a-time and in sets, a configurable parameter,
SOE-set-size (see section 4.1.6, Switches, for more details), is used in the master station to configure the
number of SOE events to be reported in each SOE data poll. This parameter has to be consistent with
that in the RTU.
If the RTU indicates that SOE events are available, the HARRIS 5000/6000 scan task will try “Send-Next-
SOE-Set” command first until all sets are read, and then followed by “Send-Next-SOE-Record” command
for the remaining of the SOE records.
SOE commands are supported only by the Harris 6000 series RTU.
• to one RTU, in round-robin order, at every all-data poll interval. See section 3.1.4, Polling
Parameters.
• on request by the operator (via an Activate command directed to the RTU point).
When you trigger an all-data poll by Activating an RTU point, the scan task sets the condition code of all
of the analog and status points on the RTU to telemetry failed (indicated by the letter “F” displayed beside
each point). Then, as the requested values are returned by the RTU, the telemetry failed indicators clear.
Harris 5000/6000 Scan Task User’s Guide Operation of Scan Task 2-3
Windows SCADA
2.7 Accumulators
At an interval specified by the ACCUMULATOR field of Polling Parameters on the SCADA Explorer, the
scan task broadcasts an “accumulator freeze” command to all RTUs. Because no response is expected
from the broadcast command, the command is broadcast three times to ensure that all RTUs hear the
command.
The accumulator Freeze command is supported only by the Harris 6000 series RTU.
Once the freeze broadcast is accepted (or if the RTU is Harris 5000/5500 series RTU), it is followed by an
accumulator poll. An accumulator poll consists of the accumulator data dump command.
For each accumulator value returned, the scan task computes and scales the delta, and either stores the
scaled delta into the assigned database point or adds it to the assigned database point, depending on the
point’s input format code.
Because of the required periodicity of the updates of these points, the scan task discards any values
received for these points in any messages other than these accumulator polls.
If an accumulator poll fails, the scan task updates the accumulator points on that RTU using a delta value
of zero.
The interval at which time syncs are broadcast is specified by the TIME SYNC INTERVAL field of Polling
Parameters on the Scada Explorer. See section 2.7, Accumulators.
The present SOE-Time-Adjustment amount for Harris 5000/6000 scan task is the idle time (see section
3.2.9, Idle Time) plus 100ms of RTU response delay of SOE-Time-Sync command (see page 5 of
protocol document number 34389 for more details).
2.9 Control
On a control operation, the scan task first places the RTU on fast scan, which means that after every Nth
poll, the data link layer of the scan task will re-poll the RTU on fast scan. This is so that any status
changes as a result of the control about to be performed can be reported as quickly as possible. The
parameter N, called the interleave factor, can be set via the Channel Configuration editor. See section
3.2, Communication Line Data Fields—Channel.
Next, the appropriate sequence of control messages is transmitted to the RTU. The Harris 5000/6000
protocol only supports select-before-operate control for trip/close or setpoint control. The scan task first
issues a select request. On reception of the select checkback, the scan task then issues the execute
command and expects an execute checkback from the RTU.
Harris 5000/6000 Scan Task User’s Guide Operation of Scan Task 2-4
Windows SCADA
If the scan task does not receive a select or execute checkback within a response timeout, it declares a
checkback timeout.
After the control is complete (meaning that the expected status change was either received or timed out),
the scan task takes the RTU off fast scan.
Besides, the Harris 5000/6000 protocol and therefore the scan task also only supports direct-control for
Raise/Lower control.
On a poll error, such as a timeout or a message security error, the scan task places the RTU on “error
scan”. This means that it re-polls the RTU that had the communication error after every Nth normal poll,
where “N” is a user-settable interleave factor that is usually set to one or two (see section 3.2,
Communication Line Data Fields—Channel). The RTU is maintained on error scan until a good response
is received or until the retry count expires, whereupon the RTU is declared failed.
Failed RTUs continue to be polled, but less frequently. On each round-robin poll sequence, only one failed
RTU is polled.
This feature may be used to make use of redundant terminal servers and/or redundant communication
lines, or to implement a fault-tolerant “looped” communication line. In the latter case, a break in the line
Harris 5000/6000 Scan Task User’s Guide Operation of Scan Task 2-5
Windows SCADA
would cause the scan task to poll the RTUs on one side of the break using one port, and poll the RTUs on
the other side of the break using the other port. The advantage of such an arrangement is that a single
break in the communication line causes no loss of communication with any RTU.
Harris 5000/6000 Scan Task User’s Guide Operation of Scan Task 2-6
Windows SCADA
3 Communication Line
This chapter describes how to define a communication line for the Harris 5000/6000 scan task. You
should be familiar with the discussion of communication lines in DB-401, Point Database Editing Guide
before proceeding. In this document, only the items that are specific to the Harris 5000/6000 scan task
are discussed in detail.
The SCADA Explorer is used to create or modify a communication line’s definition. The dialog box that
allows you to do that has several tabs, each of which includes different data. You will normally begin on
the General tab, which is illustrated in Figure 3-1.
3.1.1 Protocol
This is the name that identifies the protocol to be used to communicate with the RTUs connected to this
communication line. For the Harris 5000/6000 scan task, choose the name Harris 5000/6000 from the
drop-down list.
Set this flag if you want the scan task to start automatically when the SCADA system starts up, either
initially, or as the result of a failover.
This area includes fields for the communication status point (which is required) and for six other points.
You must specify points that already exist in the database.
To create the points you could abandon the editing of this communication line, and go to the desired
station in the SCADA Explorer. But you may prefer to temporarily start a second copy of SCADA Explorer,
and use it to create the necessary points.
These associated points must not be telemetered. Their values will be written by the scan task.
Therefore they will not need telemetry addresses of their own. Since they are special in this regard, you
should consider designating separate User Types for these points.
Status Point
The first Associated Point is not optional, and must be a status point. This point will be used by the
scan task to indicate the Up or Down status of the communication line.
The scan task will set the point to its normal state when the communication line is working (i.e. there
is successful communication with at least one RTU), and to the abnormal state when it is failed.
Timeout Point
The Harris 5000/6000 scan task does not make use of this analog point to count timeouts. Instead, it
uses an analog point defined on each RTU to maintain a count of timeouts for each RTU. See
section 4.3.5, Timeout Count.
Bad Messages
The Harris 5000/6000 scan task does not make use of this analog point to count bad messages.
Instead, it uses an analog point defined on each RTU to maintain a count of bad messages for each
RTU. See section 4.3.4, Bad Message Count.
Unexpected Messages
The Harris 5000/6000 scan task does not make use of this analog point to count unexpected
messages.
Channel Switch
The Harris 5000/6000 scan task does not presently support a second communication channel
(although it will switch between two ports defined on a single channel—see below). Do not specify a
point in this field.
Port Switch
The Harris 5000/6000 scan task does not make use of this status point when switching between
ports. Instead, each RTU defines a status point to indicate which port is used to communicate with
that RTU. See 4.2.5, Port Switch Point.
Various timers are specified to control the rate of certain events. Integrity (all-data) polls, accumulator
(integrated total) polls, and time synchronization commands are described in more detail in sections 2.6,
All-Data Poll, 2.7, Accumulators, and 2.8, Time Synchronization.
All Data
This is the field that specifies an all-data poll interval (in seconds). You should use this to specify how
frequently you want all-data polls on this communication line. Remember that only one RTU will
receive an all-data poll at each All Data poll interval.
Accumulator
This field specifies the interval between Accumulator Freeze commands (which precede each poll for
frozen data). If you want to retrieve frozen counters from any RTUs on this communication line, you
must define this interval.
Hourly Offset
You may offset the Accumulator polls (above) from the “top of the hour” by entering the desired
number of seconds here. Otherwise, an accumulator poll will be issued at the top of each hour, and at
the specified Accumulator interval thereafter.
In many instances, sending time sync messages to the RTUs as they request them will be sufficient.
No periodic “all stations” time sync messages will be needed, and you can leave this field blank.
This field allows you to specify certain “command line” switches to control the behavior of the scan task.
The switches supported by the Harris 5000/6000 scan task are described below. Specify each switch you
need by entering /name=value in this field. You do not need to add a space or punctuation (other than
the “/”) between switches.
/ForceCtl
This switch, when set to 1, causes a digital control command be sent to the RTU even when the RTU
is down. This is a useful feature for communication lines with poor communications.
• The select command is retried up to the user-defined number of retries. However, the operate
command is sent just once.
• If the RTU is manually set to down, the control is not issued even if the /ForceCtl switch is set to
1.
• The /ForceCtl switch does not apply to setpoint controls. Setpoints are not issued if the RTU is
down.
• The default value of this switch is 0 (i.e. don’t issue controls when the RTU is down).
/Log
The Log option specifies the scan task is to log communications to a file. The file will be created in the
folder specified when Windows SCADA was installed; the default folder is C:\Program
Files\Quindar\ScadaServer. The file name is comprised of the protocol name, the communication line
id and the current date. For example, a file from communication line 4 on May 18, 2005 would be
HARRIS4-2005-5-18.log.
The logging that you will find in this file is the same as the logging that is displayed by the ScanMon
utility.
3.2.1 Network
This specifies the type of communication network to be used. Choose COMM for communication lines
that will communicate directly through a serial port on the SCADA host (i.e. a COM port known to
Windows). Choose TCP/IP for all connections that rely on the TCP/IP network, such as serial ports on
terminal servers. Choose Use RTU only if you will be specifying the connection information individually for
each RTU (for example, if each RTU has its own IP address). Refer to DB-401 Point Database Editing
Guide for more detail.
This is a drop-down list that can be set to either Poll or Quiescent. If Poll is chosen, the scan task
performs regular round-robin exception polling. Quiescent means the scan task does not poll, but accepts
unsolicited messages from the RTUs.
The Harris 5000/6000 protocol does not support Quiescent mode. Therefore select Poll mode only.
This parameter specifies the time to wait (in milliseconds) between each poll, when operating in Poll
mode.
This parameter specifies the time to wait, in milliseconds, for a complete response from the RTU. The
time includes the transmission time of the request itself.
This specifies the minimum time delay, in milliseconds, that the scan task is to execute between all
transmissions on this communication line.
This field contains the number of times the scan task is to retry polling an RTU that is not responding,
before giving up and declaring the RTU failed. If omitted, the scan task defaults to three retries.
This parameter specifies how often the scan task is to interrupt its normal round robin polling to perform a
fast-scan poll or a retry after error. If the interleave factor is 2, for example, then the scan task will check
for fast scan or error retry requirements after every 2 normal polls.
3.2.12 Dial-Up
Dial-up communication lines are not presently supported by the Harris 5000/6000 scan task.
The communication channel provides for two communication ports. If information is provided for both
ports, the scan task can switch from one to the other if communication using the first port is not
successful. Normally, at least one port is required to create a functional communication line (except when
connections are defined for each RTU, as described in section 4.2, RTU Data Fields—Connections).
Each port corresponds to a physical or logical connection from the host computer to the communication
medium. The type of Network (see section 3.2.1, Network) determines how these fields are used. For
COMM networks, the port means a serial port attached to the host computer. For TCP/IP networks, a
port might mean a serial port on an external terminal server.
Refer to DB-401 for a detailed discussion of the Port Parameters that are not described here.
Host Name
For RS232 communication lines, this must be the name that identifies the serial port, in the form
COMn, where n is a unique number. This is the same name that Windows knows the port by.
For TCP/IP communication lines, this will usually be the name that identifies the other device that we
are communicating with over the network. It may be the RTU itself, or more commonly, a terminal
server. Alternatively, it may be a fixed IP address of the form nnn.nnn.nnn.nnn.
Host Port
For a TCP/IP connection, there will be a TCP/IP port number that must be entered here. For terminal
servers, the port number of the desired serial port should be entered. Consult the terminal server
documentation to determine which port numbers to use.
Retry Count
This field contains the number of times the scan task is to retry polling an RTU that is not responding,
before switching to the other port (if one has been defined).
To set the number of tries the Harris 5000/6000 scan task makes before switching ports, specify a
value in the definition of each RTU on this communication line. See section 4.2.6, Switch Port after.
This chapter describes how to define an RTU for the Harris 5000/6000 scan task. Only the items that are
specific to the Harris 5000/6000 scan task are included in this discussion.
The SCADA Explorer is used to create or modify an RTU’s definition. The dialog box that allows you to do
that has several tabs, each of which includes different data. You will normally begin on the General tab,
which is illustrated in Figure 4-1.
Each RTU must have a unique address on the communication line. RTU addresses do not have to be
assigned sequentially. Enter the actual Harris 5000/6000 address of the RTU here. For the Harris
5000/6000 scan task, the valid range for individual RTU numbers is 1 to 63. The scan task uses RTU
number 0 for messages broadcast to all RTUs.
4.1.2 Network
If you have specified connection information on the communication line (in section 3.2, Communication
Line Data Fields—Channel), then you should set this to Use ComLine. But if your communication line is
set to Use RTU, then you must choose TCP/IP here. This makes the fields on the Connections page
available for you to specify individual connection information for this RTU (see section 4.2, RTU Data
Fields—Connections).
4.1.3 Scout
This field is not used by the Harris 5000/6000 scan task, so leave it unchecked.
This is the name of a status point that exists in the database. This point will be used by the scan task to
indicate the communication status of the RTU. You must define this point. It is not optional.
This is the name of a status point that can be used as a switch to speed up polling of the RTU. Setting
this point to a value of “1” causes the scan task to place this RTU on “fast scan” (i.e. poll this RTU more
frequently than others, based on the interleave factor). Setting this point to a value of “0” causes the scan
task to take the RTU off fast scan.
If this field is left blank, the RTU will still be fast scanned automatically during control operations, but you
will not be able to initiate fast scan yourself.
4.1.6 Switches
This field allows you to specify certain “command line” switches to control how the scan task deals with
this RTU. The switches that are supported by the Harris 5000/6000 scan task are described below.
Specify each switch you need by entering /name=value in this field. You do not need to add a space or
other punctuation between switches.
/Type
Set this switch to 5000 if the RTU is a Harris 5000 series RTU, or 6000 if it is a Harris 6000 series
RTU. If this switch is not set, the RTU is by default considered as a Harris 6000 series RTU. The scan
task uses this switch to determine which functions are to be supported by the RTU.
/Ports
This switch is used to specify to the scan task the total number of ports that are configured in the
RTU. Set it to the correct number. If this switch is not set, the scan task will not run.
/AnPorts
This switch is used to specify the start and end analog port numbers in the RTU. The format of this
switch is:
/AnPorts=X:Y
where X is the start port number and Y is the end number. X should never be greater than Y, and Y
should never be greater than the total number of the ports specified by the /Ports switch.
/StPorts
This switch is used to specify the start and end status port numbers in the RTU. The format of this
switch is:
/StPorts=X:Y
/SetPointPorts
This switch is used to specify the start and end setpoint port numbers in the RTU. The format of this
switch is:
/SetPointPorts=X:Y
where X is the start port number and Y is the end number. X should never be greater than Y, and Y
should never be greater than the total number of the ports specified by the /Ports switch.
/SOESets
This switch is used to configure the number of SOE records to be returned on each SOE-set poll
request. It has to have the same value as that configured in the RTU.
Set this to n if n SOE events are to be reported from the RTU in one SOE-set poll. If this switch is not
set, the scan task uses 10 as its default value (the same default value as defined in the protocol
document). However, if this switch is set to 0, the scan task will not process SOE events. You can
use a 0 value of this switch to disable the SOE reporting.
/StChgChk
Setting this switch to a value of 1 causes the scan task to unconditionally follow each “Analog Data
Dump” poll by a “Status Change Check” poll. Use this only if the RTU is known to provide unreliable
status change counts in its replies to “Analog Data Dump” polls.
The dial-up parameters will only be available if you have selected a dial-up mode of Scheduled or On
Demand on the communication line that is connected to this RTU (in section 3.2.12, Dial-Up). Only these
modes allow a separate phone number for each RTU.
The connection information will only be available if you have set the Network type to TCP/IP (see section
4.1.2, Network).
This is the name or IP address that identifies the device that we are communicating with over the network
(e.g. the terminal server or RTU network interface).
For a TCP/IP connection, there will be a TCP/IP port number that must be entered here. In a terminal
server, it may correspond to the hardware port on the server (for example, port 2003 might correspond to
the 3rd terminal server port). Port numbers below 1024 are normally not used, since they are reserved for
other well-known protocols used on the network.
4.2.3 Dial-up
Refer to the discussion of Dial-up connection in DB-401, the Windows SCADA Point Database Editing
Guide, in the chapters covering communication lines and RTUs. For those cases where the RTU must
have individual dial-up parameters specified, enter them here.
This page contains information related to the port-switching feature. You may use the Browse buttons
provided to select a status point for each switch discussed below.
If this RTU is on a communication line that has two ports defined (section 3.2.13, Port Parameters), or the
RTU is on a TCP/IP network and has two connections specified (section 4.2, RTU Data Fields—
Connections), this status point is required. The point is used to show which port the RTU is currently
being polled on. When the point’s value is 0, the scan task is using the first port. When the status point’s
value is 1, the scan task is using the second port.
Whenever it wants to poll an RTU, the scan task first tries the port currently indicated by the RTU’s port
switch status point. If the poll fails, the scan task places the RTU on “error scan” and retries. If the retry
count expires, the scan task switches to the other port (and sets the RTU’s port switch status point
accordingly). If polling fails there also, after its own retries, the scan task declares the RTU failed, but
continues to poll the RTU, flipping between both ports as described above. The retry count used for port
switching is specified by Poll Retry Count in the definition of the communication line. See section 3.2.10,
Poll Retry Count.
You can force the scan task to either port by manually setting the port switch status point.
The port switch status point may be defined as a non-alarm point if you don’t want to be bothered by
alarms on this point when the scan task is constantly switching ports hunting for a dead RTU.
While the scan task is using one particular port for an RTU, it does not check the other port for availability.
Such checks can be made manually by manually setting the port switch point. If you do this, don’t forget
to remove the manual set, or the scan task will not be able to switch and ports when it needs to. If you
define the port switch point as a control point associated with a dummy scan task, then you don’t have to
worry about manual set. Alternatively, you can automate the forced switching process via a command
sequence.
Enter the number of consecutive error responses (timeouts, wrong replies, security errors, etc.) that will
be tolerated before the scan task switches from the current port to the other one (if one is defined for the
communication line the RTU is using).
The Harris 5000/6000 scan task does not presently support channel switching, so leave these fields
blank.
This is an analog point to contain a percent active communication statistic (100% means no errors have
occurred). The statistic is calculated by passing 0s and 1s through a low-pass digital filter, where 0 is
input to the filter on a communication error and 1 is input on a communication success. Errors include
timeouts, security (Checksum) errors and wrong replies.
xi +1 = (K × xi ) + ((1 − K ) × ui )
If this point is not specified, then no percent communication statistic is calculated for this RTU.
This is an analog point to contain a count of all messages received from this RTU. You can use this, in
comparison with the three counters discussed below, to evaluate the communication with this RTU.
This is an analog point to contain a count of correct messages received from the RTU. It is incremented
whenever a correctly formed reply is received, and was expected.
This is an analog point to contain a count of incorrect messages received from the RTU. The bad
message count is incremented whenever an incorrectly formed reply is received (including security
errors), or when the reply was not the one expected (either the RTU number or the function code in the
message was incorrect, for example).
This is an analog point to contain a count of communication timeout errors (no response errors). The
timeout count is incremented once each time the number of bytes of data from the RTU falls short of the
expected number.
This will be the total of all polls, control commands, setpoint commands, and broadcasts sent to this RTU.
This is not used by the Harris 5000/6000 scan task, so leave this field blank.
This is not used by the Harris 5000/6000 scan task, so leave this field blank.
This is not used by the Harris 5000/6000 scan task, so leave this field blank.
This chapter describes how to define status points on the Station Editor for the Harris 5000/6000 scan
task. The Edit Status Point dialog from the SCADA Explorer is illustrated in Figure 5-1.
• Indication only
• Control only
• Combined indication and control
depending on whether a telemetry address and any control addresses are specified for it.
5.1 Telemetry
This page defines the telemetry address, the two control addresses, and related items. You should
consider the RTU to be part of the telemetry address too, since you may have another point with the
same address on this communication line, although it is on a different RTU.
Consult DB-401, Point Database Editing Guide, for a discussion of the fields not mentioned in this
document, including the External Name and Type.
Each of the three addresses specifies the location of an input or output within the RTU, and is made up of
four fields labeled A, B, C, and D. These fields represent different things in each type of address.
The telemetry address specifies the location of the status point within the RTU. The meaning of the parts
of the address is given in Table 5-1. If this point is to be a telemetered point, select the RTU that will
provide the data, tick the checkbox for Telemetry Address, and fill in the required A, B, C, and D fields.
Below, the formats are referred to by code (ID) number, but you will select them from a list of user-defined
names. If Harris 5000/6000 is the only scan task on your system, the formats can be given names that
describe their function. But if multiple scan tasks are being
used, they may use the same format numbers for different If you are in doubt about which
purposes, so you may not be able to come up with a better format code is which, look at their
name. In that case you may prefer to name them for the ID definitions using SCADA Explorer.
numbers listed here.
Format Code 1
Format code 1 specifies normal processing of single bits. That is, received bit values of 0 and 1 are
stored in the database as 0 and 1 respectively.
Format Code 2
Format code 2 specifies inverted single bit processing. That is, received bit values of 0 and 1 are
stored in the database as 1 and 0 respectively.
These format codes allow dual-bit status points from the RTU to be mapped in four different ways into
a consistent internal database representation. The internal representation is shown in the table
below:
Note that if any read response (whether exception or all-data) reports both bits of a dual-bit point as
changed, then there will be two transitions recorded for the point.
Format Code 3
This format code specifies “low bit on = open” and “high bit on = closed”. When both bits are off, the
point is in transition.
Format Code 4
This format code specifies “low bit on = closed” and “high bit on = open”. When both bits are off, the
point is in transition.
This is equivalent to format 2 inverted. It specifies “low bit off = closed” and “high bit off = open”.
When both bits are on, the point is in transition.
Format Code 6
This is equivalent to format 4 inverted. It specifies “low bit off = open” and “high bit off = closed”.
When both bits are on, the point is in transition.
Format 7
Format 7 specifies pass-through processing for dual-bit points. Both bits received from the RTU are
stored into the database as is.
5.3 Control
The open (0) and close (1) control addresses that can be defined for each status point give the location of one
or two control relays in the RTU. The meaning of the parts of each address is given in Table 5-9. You must tick
the checkbox next to any address you intend to use.
This chapter describes how to define analog points for the Harris 5000/6000 scan task. The Edit Analog
Point dialog from the SCADA Explorer is illustrated in Figure 6-1.
The meaning of the parts of the address is given in Table 6-1. If this point is to be a telemetered point,
tick the checkbox for Telemetry Address, select the RTU that will provide the data, and fill in the required
address.
The scan task has the ability to maintain hourly, daily and monthly accumulations. To obtain these
derived accumulations, six additional points can be defined for each accumulator point, with the same
telemetry address as the primary accumulator point but with different “B” (object type) values. See
section 6.1, Telemetry Address. Note that the primary accumulator point has a “B” address of 12, 13 or
14.
Derived accumulations are produced only if the primary accumulator point is assigned format code 1 or 3
(i.e. store rate in database). See section 6.3, Input Format Code.
If you want daily accumulations, both the hourly and daily accumulation points must be defined. Similarly,
if you want monthly accumulations, you must define hourly, daily and monthly accumulation points.
To determine the appropriate scale factor and offset, you can use the two formulas below:
(2) Offset = Min engineering value - (Scale factor * Min raw value)
where the Max and Min engineering values are the values you want to see, and the Max and Min raw
values are the range of values obtained from the RTU.
Suppose, for example, that you are using a 4-20 ma transducer to measure water level in a reservoir, and
that the RTU’s D/A converter converts this to measured raw values in the range 400 to 2000. If the
minimum and maximum water levels are 100 and 200 meters respectively, then equations (1) and (2)
produce:
200 - 100
Scale Factor = _________ = 0.0625
2000 - 400
You can check your work by using the resulting scale factor and offset to convert a mid-point raw value.
In this case, a mid-point raw value of 1200 scales to the expected engineering value of 150 meters.
The zero clamp deadband is specified in engineering units, and is applied to points with format code 1 or
2 only. See section 6.3, Input Format Code.
You can use this to eliminate the annoying couple of amps or volts that often show up on a dead line
because of sensor noise or slight miscalibration. Or in a pipeline application, you can eliminate extremely
low pressure or flow readings in an empty pipe. For example, if the zero clamp deadband is 3.0, then any
input value which converts to between +3.0 and -3.0 engineering units will be clamped to zero.
6.6 Setpoints
Setpoints are defined as analog points with device class = Set-Point and with the following telemetry
addressing:
A client program called ScanMon is provided, which allows you to monitor logging from various programs
within the SCADA system. ScanMon is discussed in detail in SM-400, Survalent SCADA System
Manager’s Guide for Windows.
Once ScanMon is connected to the Harris 5000/6000 scan task for your desired communication line, it
will log all communication with one or all of its RTUs. You can use the information shown in the log to
diagnose communication difficulties you may be having, or to confirm that the SCADA system is receiving
the expected data.
For example, if your communication line has an internal ID number of 9, then the name you need is
Harris9.
Next, choose exactly what communication you want to monitor. You can specify which RTU you are
interested in, in the RTU Address field, and you can choose the type of information to include in the log
from the drop-down list Log Type.
The support for ScanMon built into the HARRIS 5000/6000 scan task includes the log types shown in
Table 7-1. The other choices you may find in the list are not intended for use with this scan task.
A sample of typical ScanMon output is shown in Figure 7-2 using Debug logging. (Lines containing “... ...
...” indicate where sections of the log have been removed so that an example of an all-data poll could be
included.)
…………….
…………………..
…………………………………
12:44:51.937 Harris9 <3172> mail from TSTAT, request 1004 (Output status)
12:44:58.953 Harris9 <3172> mail from TSTAT, request 1004 (Output status)
……………………………
12:45:03.203 Harris9 <3172> P--> ["%NORMAL", 3] "Broadcast Accum Frz"
40 0F 0F
RTU Addr:0 PAR:0 SOM:1
Notes:
• The scan tasks only log to the destination specified by the most recent ScanMon command. If
you, for example, start a ScanMon at your computer, and then someone else starts a ScanMon at
another computer, the output in your window will stop.
• On a scan table rebuild, the scan task process stops and restarts. Any ScanMon that was
previously going on will stop. If you wish to continue monitoring, you will need to start logging
again.
This chapter contains the conformance profile of the Windows SCADA implementation of the Harris
5000/6000 scan task.
In the conformance table that starts on the next page, each option that is supported by the present
implementation of the Harris 5000/6000 scan task is checked.
Harris 5000/6000 Scan Task User’s Guide Device Profile Document 8-1
Windows SCADA
1. NETWORK CONFIGURATION
Point-to-Point Multipoint-Partyline
Multiple Point-to-Point Multipoint-Star
2. PHYSICAL LAYER
Harris 5000/6000 Scan Task User’s Guide Device Profile Document 8-2
Windows SCADA
3. APPLICATION LAYER
Harris 5000/6000 Scan Task User’s Guide Device Profile Document 8-3
Windows SCADA