Professional Documents
Culture Documents
S1120-29-1, version 6
Contents
1. Introduction ............................................................................................................................. 1
1.1 References .............................................................................................................................. 1
1.2 Document Overview ................................................................................................................. 1
2. Features.................................................................................................................................... 2
2.1 Communications....................................................................................................................... 2
2.2 Implementation Restrictions and Warnings ................................................................................ 2
3. Functions .................................................................................................................................. 3
3.1 Introduction ............................................................................................................................. 3
3.2 Binary information published via the RTDX ................................................................................ 3
3.2.1 General Description.................................................................................................... 3
3.2.2 Types of Binary Inputs ............................................................................................... 4
3.2.3 Pre-Configured Binary Inputs ...................................................................................... 4
3.3 Analog information published via the RTDX................................................................................ 5
3.3.1 General Description.................................................................................................... 5
3.3.2 Types of Analog Inputs .............................................................................................. 6
3.3.3 Pre-Configured Analog Inputs ..................................................................................... 6
3.4 Binary outputs controlled via the RTDX ...................................................................................... 7
3.4.1 General Description.................................................................................................... 7
3.4.2 Types of Binary Outputs ............................................................................................. 8
3.4.3 Pre-Configured Binary Outputs ................................................................................... 9
3.5 Analog outputs controlled via the RTDX ................................................................................... 10
3.5.1 General Description.................................................................................................. 10
3.5.2 Types of Analog Outputs .......................................................................................... 11
3.5.3 Pre-Configured Analog Outputs................................................................................. 11
3.6 Log Files ................................................................................................................................ 11
3.7 Statuses and Statistics ............................................................................................................ 12
3.8 Real-Time Traces ................................................................................................................... 15
3.9 SNMP Traps ........................................................................................................................... 15
3.9.1 Link Up/Down Traps ................................................................................................ 15
3.10 Listen Mode ........................................................................................................................... 16
4. Configuration Settings ........................................................................................................... 17
4.1 General Settings..................................................................................................................... 17
4.2 Analog Input Settings ............................................................................................................. 20
4.3 Binary Input Settings .............................................................................................................. 21
4.4 Counter Input Settings ........................................................................................................... 22
4.5 Analog Output Settings ........................................................................................................... 22
4.6 Binary Output Settings ........................................................................................................... 24
5. Multiple Instances .................................................................................................................. 26
6. Poll Cycle Management .......................................................................................................... 27
7. Protocol Management ............................................................................................................ 29
7.1 RTU Status Flags .................................................................................................................... 31
7.2 COS and ABE Counts .............................................................................................................. 31
7.3 RTU Configuration .................................................................................................................. 32
7.4 Binary Inputs ......................................................................................................................... 32
7.5 Analog Inputs ........................................................................................................................ 32
7.6 Accumulator Registers ............................................................................................................ 32
7.7 Analog Threshold Outputs ...................................................................................................... 32
7.8 Analog Outputs ...................................................................................................................... 32
7.8.1 Interactions with the end device ............................................................................... 33
1.1 References
The implementation of the VALMET TEJAS Series V master is based on the following protocol
specifications. It should be noted that some of these specifications are proprietary in nature and
cannot be disclosed to third parties without written approval from Valmet.
Series V Communication Protocol, B8300-AAA-00005, Valmet Automation Inc., January 1992.
TEJAS Scan Task, User’s Guide for series 3 and 5 RTUs, Quindar Products Limited, April 1996.
Chapter Description
2.1 Communications
The following communication features are available when connecting devices to the
SMP Gateway:
Feature Comment
Serial Ports The VALMET TEJAS Series V protocol component supports RS-232,
RS-422 and RS-485 interfaces at bit rates up to 115,200 b/s.
TCP/IP The VALMET TEJAS Series V protocol component supports TCP/IP
communications.
Multidrop Multiple instances of the VALMET TEJAS Series V protocol
component can share a single serial port, as long as different
addresses are used to identify the devices and as long as the
devices support such a feature.
Passthrough The VALMET TEJAS Series V protocol component allows for
Connections passthrough connections. Note that it is necessary to suspend link
activity to establish such a connection.
Listen Mode The VALMET TEJAS Series V master component can be configured
as a spy on a serial link. Also, listen mode can be enabled/disabled
dynamically using control operations on logical binary output points.
Serial Radios The VALMET TEJAS Series V protocol component supports
asynchronous communications using serial radios.
The current implementation of the VALMET TEJAS Series V master protocol assumes that the
information received from the RTU (analog and binary information) is valid as long as the
checksum of the message that carries the information is valid. There are no mechanisms for
determining whether this is actually true or not (mechanisms such as card statuses, converter
statuses, reference statuses, etc.).
Initially, all analog inputs in the TEJAS analog database are initialized with a value of zero and
the Communications Failure status bit set. This bit will be reset when a first value is reported
following a successful scan.
Initially all binary outputs in the TEJAS analog database are initialized with the Communications
Failure bit set. This bit is reset as soon as communication with the RTU is established.
Binary output states change as a result of the VALMET TEJAS Series V master component
receiving a control request. Each time an output point’s state changes, a new copy of it is
broadcast to other protocol components. These, in turn, use the output point’s current state
information to validate whether or not an operation on the output point can be initiated and to
monitor the operation’s execution once it has been initiated.
Output operations imply the exchange of a control request between the request initiator (slave
protocol component) and the VALMET TEJAS Series V master protocol component.
All the steps carried out to completely process a control request (both by the slave and master
protocol components) are logged in the Command Log. You can always consult the log to obtain
more information after a control request has been refused or has failed.
3.4.2 Types of Binary Outputs
VALMET TEJAS Series V master protocol components support the following types of binary
outputs.
Note that, after some time, the setpoint value, as issued by the SMP Gateway, may or may not
be the same as the actual analog reading obtained by polling the RTU analog outputs. Some of
the typical factors that could explain differences between the two values are:
The RTU has not yet been polled since the last setpoint control request.
When receiving requests to operate analog outputs, other protocol components may first consult
the analog object’s current state to determine whether or not the request will be accepted. If the
verification is positive, the component must issue an analog output request message to the
TEJAS component to actually operate the point.
3.5.2 Types of Analog Outputs
The TEJAS protocol components support the following types of analog outputs:
Control All detailed control request processing related activities, along with a
success or failure status for each individual step.
All new information received from the RTU about the current state of
the relay outputs.
COS Queue overflow Dynamic with reset The number of times that the COS-Queue
count overflow status flag has been received since
the last SMP Gateway startup or counter
reset.
Selection failure flag Dynamic The current state of the Selection Failure
status flag.
Selection failure Dynamic with reset The number of times that the Selection
count Failure status flag has been received since
the last SMP Gateway startup or counter
reset.
Table 3-9 RTU states & statistics common to all VALMET TEJAS Series V RTUs
The VALMET TEJAS Series V master also maintains scan statuses and statistics that can be
viewed using standard SMP Tools. Most of the information in this table is either configuration
information or is directly obtained from the scanning process. The significance of these statistics
is as follows:
Counters Dynamic with reset The number of times each type of request
was sent out since the last statistics reset.
Rx statistics
Remember that the basic idea in using a master component in listen mode is to spy on another
link that already controls the acquisition cycle with the RTU. Thus, the configuration of the
protocol instance used in listen mode must be compatible with the information that is exchanged
on the primary link.
Setting Description
Device Prefix A string used as a prefix for all the I/O point names supported by
the device. This prefix ensures that every I/O point name in a
system is unique. Each device monitored by a system must have its
own, unique device prefix.
Range: 1 to 19 ASCII characters
Default value: none
Listen Mode A checkmark indicates that the master protocol component is in
listen mode.
Range: checkmark / no checkmark
Default value: no checkmark
RTU Address A valid RTU number. RTU number 0 is reserved for station
broadcasts.
Range: Wesdac D20: 1 to 32,767
Others: 1 to 127
Default value: 1
RTU Type The type of RTU. This value is used to determine the appropriate
interpretation of the detailed RTU status flags. Type Wesdac D20
also specifies 2-byte address support. You choose the type in a
drop-down list.
Allowed values: Micro 1
Micro 1C
Micro 1E
Micro 1L
LANDAC
CAMDAC
WESDAC D20
Default value: LANDAC
Scan Priority Useful only when the RTU is on a multidrop link that is shared with
other RTUs. Priority 0 is the highest priority, priority 1 is normal
priority, and priorities 2 to 100 are lower priorities. See Table 5-1
for an explanation of how scanning works, based on the priority
assigned to the device.
Allowed values: 0 to 100
Default value: 1
Setting Description
Name The tag name associated with this analog input point. This name is
preceded by the device prefix, as specified in the general settings.
The device prefix, coupled with the tag name, ensures that the
point is unique among all devices managed by the system.
Range: 1 to 39 ASCII characters
Default value: none
Address Specifies the hardware address assigned to the point.
Range: 0 to 255
Default value: 0
Disabled When this setting contains a checkmark, the point is ignored by the
protocol component. You can use this flag, for example, to
temporarily eliminate points due to hardware problems.
Range: checkmark / no checkmark
Default value: no checkmark
Unipolar Defines how raw analog values should be processed. A checkmark
specifies 12-bit unipolar readings, i.e., absolute positive values,
whereas the absence of a checkmark specifies 12-bit bipolar, i.e.,
2's complement readings.
Range: checkmark / no checkmark
Default value: no checkmark
Scale Scaling factor used to convert raw 12-bit values to significant
engineering units (floating point). The following equation is used:
Floating-point value =
(raw value * scale) + offset
Range: –3.4E38 to 3.4E38, not 0.0
Default value: 1.0
Offset The processing performed to convert raw 12-bit values to
significant engineering units (floating point). The following equation
is used:
Floating-point value =
(raw value * scale) + offset
Range: –3.4E38 to 3.4E38
Default value: 0.0
SMP Deadband Only changes greater than the deadband value are reported to the
slaves, unless the value itself is smaller than the deadband (this
ensures that small variations around 0 are reported so that, for
example, reported values do not remain fixed at .01 when they are,
in fact, 0).
Range: 0.0 to 3.4E38
Default value: 0.0, which implies that all transitions, no matter
how small, are reported.
Setting Description
Name The tag name associated with this binary input point. This name is
preceded by the device prefix, as specified in the general settings.
The device prefix, coupled with the tag name, ensures that the
point is unique among all devices managed by the system.
Range: 1 to 39 ASCII characters
Default value: none
Address Specifies the hardware address assigned to the point.
Range: 0 to 255
Default value: 0
Disabled When this setting contains a checkmark, the point is ignored by the
protocol component. You can use this flag, for example, to
temporarily eliminate points due to hardware problems.
Range: checkmark / no checkmark
Default value: no checkmark
Inverted Pol. Put a checkmark to have the protocol component invert the polarity
of the binary input before proceeding with any reporting.
Range: checkmark / no checkmark
Default value: no checkmark
Setting Description
Name The tag name associated with this counter input point. This name is preceded
by the device prefix, as specified in the general settings. The device prefix,
coupled with the tag name, ensures that the point is unique among all devices
managed by the system.
Range: 1 to 39 ASCII characters
Default value: none
Address Specifies the hardware address assigned to the point.
In the range specified below for Wesdac D20, 200 represents the first
Sangamo counter.
Range: Wesdac D20: 0 to 199 (counter input)
200 to 255 (Sangamo BCD counter)
Others: 0 to 255
Default value: 0
Disabled When this setting contains a checkmark, the point is ignored by the protocol
component. You can use this flag, for example, to temporarily eliminate points
due to hardware problems.
Range: checkmark / no checkmark
Default value: no checkmark
Units A unit type (optional and used only by some of the SMP Tools).
Allowed values: As shown in the drop-down list
Default value: Undefined
Description An optional point description. Although recommended, this description is not
mandatory, since it is only used by the SMP Tools.
Range: 1 to 63 characters
Default value: none
Setting Description
Name The tag name associated with this binary output point. This name is
preceded by the device prefix, as specified in the general settings.
The device prefix, coupled with the tag name, ensures that the
point is unique among all devices managed by the system.
Range: 1 to 39 ASCII characters
Default value: none
Address Specifies the hardware address assigned to the point.
Range: 0 to 255
Default value: 0
Disabled When this setting contains a checkmark, the point is ignored by the
protocol component. You can use this flag, for example, to
temporarily eliminate points due to hardware problems.
Range: checkmark / no checkmark
Default value: no checkmark
Master Duration A checkmark indicates that the activation time specified by the
Allowed master station should be used. If there is no checkmark, the
configured RTU activation time (see Activation Time) is used.
Range: checkmark / no checkmark
Default value: checkmark
Priority Description
0 High priority RTU. The RTU has a turn every second scan. If several RTUs have
this priority, they all receive a turn on the link, followed by a single turn for the
next normal priority RTU, followed once again by a turn for all high priority
RTUs. This feature is to be used for RTUs with very high priority only.
1 Normal priority RTU. All RTUs with this priority receive an equal turn on the
link. This is the default setting.
N Low priority RTU. RTUs with this priority receive only one turn out of every N
turns that they would have received had they been normal priority RTUs.
The scanning priority can also be altered dynamically for one of the following reasons:
A logical output request has been received to place the RTU on FAST or on SLOW scan.
The scan task is engaged in activities that require a higher than normal priority. This is the
case when a SELECT output request has been issued and an EXECUTE request is pending. It
is also the case when the link is being initialized after a link reset.
The scan task has decided that the link or the RTU is not responding. The RTU is then
temporarily shifted to low priority until a first response is received.
Note that the scan task will maintain statistics on the minimum, current, and maximum time
periods between two turns on the link. These statistics, as well as the pre-configured and
currently used priority, can all be viewed using the SMP Tools.
Link initialization procedures are identical, regardless of what caused the initialization to occur.
Once a complete or partial integrity scan request has been issued, no poll requests can be issued
before a completely valid response has been received. If a valid response is not received, the
scan request must be repeated before poll requests can once again be sent out.
Immediately after the normal polling cycle is abandoned to cause a link reset, all RTU I/O points
are tagged as being defective due to communications failure.
A Fast Scan mode is entered (no delay between requests and no switch to another RTU on the
link) whenever a binary or analog control request is active or whenever a communications error
prevents a normal poll cycle from completing.
Requests for all data include the following commands: opcode 1 (analog input scan), and opcode
3 (status point scan) and opcode 28 (analog output scan). The requests may be made in several
passes for large RTU configurations to reduce the maximal size of any transaction. If so, they are
evenly distributed in time to continue providing optimal response times on exception type
information.
In the absence of any special activity, a normal Poll request is composed of the following
requests:
opcode 14 (analog change count request). This request returns the number of analog and/or
status exceptions that occurred at the RTU.
opcode 10 (or opcode 30) (status point change dump) if the RTU indicates that it has status
input exceptions.
opcode 15 (analog change dump) if the RTU indicates that it has analog input exceptions.
The following sections indicate the processing performed on data obtained from the RTUs.
Initiator request
Output point
configuration:
Direct Description of the processing
Simulated
Control Execute
confirmation
request
required
SELECT A SELECT request is transmitted to the end
device. A confirmation is sent back to the
initiator when the end device confirms the
operation, or if no response is received, after
the application layer response timer expires. If
the operation is successful, the selection timer
is started.
The output point is selected locally, i.e. no
request is sent to the end device. A
confirmation is sent back to the initiator and
the selection timer is started.
The VALMET TEJAS Series V master
component then waits for the associated
EXECUTE command before sending a DIRECT
EXECUTE request to the end device.
The output point is selected locally, i.e. no
request is sent to the end device. A
confirmation is sent back to the initiator and
the selection timer is started.
The VALMET TEJAS Series V master
component then waits for the associated
EXECUTE command before sending a SELECT
request to the end device, followed by an
EXECUTE request if the operation is completed
successfully.
Table 7-3 All possible interactions with the end device for analog output control requests
Table 7-4 All possible interactions with the end device for binary output control requests