Conitel Slave Interface
Conitel Slave Interface
Conitel Slave Interface
Interface
2 SCADAPack E Conitel Slave Interface
Table of Contents
1 Technical Support
Support related to any part of this documentation can be directed to one of the following
support centers.
4 SCADAPack E Conitel Slave Interface
2 Safety Information
Read these instructions carefully, and look at the equipment to become familiar with the
device before trying to install, operate, or maintain it. The following special messages may
appear throughout this documentation or on the equipment to warn of potential hazards or to
call attention to information that clarifies or simplifies a procedure.
DANGER
DANGER indicates an imminently hazardous situation which, if not avoided, will
result in death or serious injury.
WARNING
WARNING indicates a potentially hazardous situation which, if not avoided, can
result in death or serious injury.
CAUTION
CAUTION indicates a potentially hazardous situation which, if not avoided, can
result in minor or moderate.
CAUTION
CAUTION used without the safety alert symbol, indicates a potentially hazardous
situation which, if not avoided, can result in equipment damage..
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by qualified
personnel. No responsibility is assumed by Schneider Electric for any consequences arising
out of the use of this material.
A qualified person is one who has skills and knowledge related to the construction and
operation of electrical equipment and the installation, and has received safety training to
recognize and avoid the hazards involved.
CAUTION
EQUIPMENT OPERATION HAZARD
Verify that all installation and set up procedures have been completed.
Before operational tests are performed, remove all blocks or other temporary
holding means used for shipment from all component devices.
6 SCADAPack E Conitel Slave Interface
Follow all start-up tests recommended in the equipment documentation. Store all equipment
documentation for future references.
Software testing must be done in both simulated and real environments.
Verify that the completed system is free from all short circuits and grounds, except those
grounds installed according to local regulations (according to the National Electrical Code in
the U.S.A, for instance). If high-potential voltage testing is necessary, follow
recommendations in equipment documentation to prevent accidental equipment damage.
Before energizing equipment:
Remove tools, meters, and debris from equipment.
Close the equipment enclosure door.
Remove ground from incoming power lines.
Perform all start-up tests recommended by the manufacturer.
3 Preface
Purpose
The purpose of this document is to describe the SCADAPack ER RTU driver for the Conitel protocol, and
using it for communicating with Conitel or Baker capable master station equipment.
SCADAPack ER Conitel Slave Interface 7
References
Schneider Electric SCADAPack ER-P620 Processor Hardware Manual
Glossary
The terms in this glossary are described in the context of Conitel operation on SCADAPack E RTUs.
ACRONYM DESCRIPTION
4 Overview
Conitel is a half duplex (master/slave) bit-stream protocol developed by Leeds & Northrup. It is in wide
use internationally, providing communication with RTU devices.
This document describes how the SCADAPack E firmware on the SCADAPack ER - P620 Processor
Module communicates as a slave unit on a Conitel network.
The SCADAPack ER - P620 processor interfaces to Conitel communication circuits through V.28
(RS232 level) serial interfaces (see the SCADAPack ER - P620 hardware manual for more information).
Up to 4 Conitel communication interfaces are supported simultaneously on the SCADAPack ER - P620
processor.
Operation with ITU-T V.23 or Bell-202 (FSK) interfaces for leased circuits requires the use of external
modems.
Baker protocol is a variant of Conitel, compatible at the physical and framing level, and utilizing some of
the same concepts as the Conitel protocol. The SCADAPack E firmware supports both Conitel and
Baker protocol. Although the SCADAPack E configuration selects either Conitel or Baker operation,
throughout this document the use of the both Conitel and Baker protocol is generally referred to simply
as “Conitel”. See Section Baker Protocol 30 for information specific to Baker protocol.
This document outlines the following:
Description of the Conitel and Baker protocols
Physical interfaces to the Conitel network
Mapping of Conitel data to SCADAPack E RTU points
Processing and responding to received messages in the SCADAPack E firmware
The Conitel Slave protocol is supported on multiple ports on the SCADAPack ER - P620 processor
module. Any combination of Ports 5~8 can be used. Where multiple Conitel ports are used
simultaneously, they access a single RTU Conitel configuration and mapping database.
SCADAPack ER Conitel Slave Interface 9
Physical Interface 14
1 Execute
6 --------
7 --------
8 --------
C --------
E Freeze and Scan Accumulators See Section Adding a Scan Function 20 for
mapping Accumulators to scan groups
Group
Function Supported Notes
Code
0 Unused
4 Test I/O Controller Data Bus Returns the state of the RTU's I/O
Processing CPU
6 Unused
7 Unused
C Unused
D Loop-back mode
1-4 (MSBs) Error Code See Table 5.4: Remote Status Frame Error Code
12 for error codes
6 RTU Reset has occurred Returns True (1) on the first status request after a
reset then False (0) thereafter
12 (LSB) SOE events present Set when a Conitel event is generated. Cleared
when all Conitel events are read
Error code
Description SCADAPack ER - P620 Notes
(Hex)
0 Normal Operation
2 Spare
A Spare
C I/O Controller Hardware error Set if an error is returned from RTU’s I/O
processing CPU
Control/Execute Timeout
This timer is started when a valid Trip/Close or Setpoint A/B function code is received. If the
corresponding Execute command is not received within this timeout, then the control is discarded.
SCADAPack ER Conitel Slave Interface 17
Communication Timing
The following diagrams show the relationship between the various timing parameters
For information on Post Transmission Mark (Post TM) parameters, see Section Appendix - System
Points 33 (Post Transmission Mark) 33 .
Protocol Select
Select whether the system is running Conitel or Baker protocol. Also see Section Baker Protocol 30 .
18 SCADAPack E Conitel Slave Interface
Function 9 Address
This address needs to be configured if you require the SCADAPack E firmware Conitel driver to respond
to Conitel Function 9 requests. If configured, then this RTU will respond to Function 9 requests directed
at this address.
As the SCADAPack E firmware Conitel driver can respond to multiple Conitel Station and Group
addresses (see below), this field is available to allow operation of Function 9 in conjunction with multi-
dropping of RTU’s.
Press the “Add Group” button and select Scan Fn as the Response Type. Give the response group
appropriate Conitel Station and Group numbers. A new row will be added to the table on the left. Select
this row and then the available 31 frames will be shown in the Point Mapping table on the right.
RTU points can now be added to the Scan response Point Mapping table by first selecting a Type from
the available drop-down list and then attaching an appropriate RTU database point for this type.
For a list and description of the various Conitel Point types see Table 5.7 Conitel Point Type 28 .
Press the “Add Group” button and select Trip/Close Fn as the Response Type. Give the response
group appropriate Conitel Station and Group numbers. Select this row in the response group table, and
then the available frame will be shown in the Point Mapping table on the right hand side. Trip/Close
controls can only utilize 12 control points (i.e. a single frame).
To pulse physical output points using the Trip/Close function code, two points are required in the
SCADAPack E RTU database. A main point and a partner point needs to be configured. In this case,
the pulse duration for the outputs is determined by the output point’s configured “Output Pulse Time”
attribute, which needs to be non-zero to operate correctly.
Conitel Trip/Close commands may operate as Pulse, Latch or Unlatch commands to the SCADAPack E
RTU or RTUs remote from the RTU using Conitel, depending upon the configuration of the mapped
SCADAPack E RTU points. See Table 5.5 23 .
Where SCADAPack E RTU is used as a Conitel Slave and where points on its local output modules are
used for Trip / Close commands, the 2 Trip points need to be configured as partner points in the RTU.
Only one of the two points needs to be mapped to the Trip/Close control in the RTU configuration. For
more information on partner points see the SCADAPack E Configuration Technical Reference.
Where an SCADAPack E RTU is used as a Conitel Slave and a data concentrator to other devices (e.g.
DNP3 RTUs), a partner point MAY be defined but is NOT required to be defined for Trip / Close controls.
This allows controls to be sent to remote RTU devices using either “single index” or “dual index”
addressing.
SCADAPack ER Conitel Slave Interface 23
The following table describes the result of receiving Conitel Trip / Close controls.
End node RTU / TRIP Non-zero Valid index of Timed PULSE operation on
Physical output partner point the physical output point
on RTU module (not 65535) (lowest point number of the
partner point pair)
MANDATORY
Data concentrator TRIP Non-zero 65535 (disabled) Timed DNP3 TRIP command
/ Output on sent to (single index) remote
remote RTU RTU point
Data concentrator TRIP Non-zero Valid index of Timed TRIP command sent to
/ Output on partner point (dual index) remote RTU
remote RTU (not 65535) output point equivalent to
lowest point number of the
partner point pair
Press the “Add Group” button and select Raise/Lower Fn as the Response Type. Give the response
group appropriate Conitel Station and Group numbers. Select this row in the response group table, then
the available frame will be shown in the Point Mapping table on the right hand side. Raise/Lower
controls from the master can only utilize 3 control points, as each control in the frame uses 4-bits.
For the pulse to work correctly in Raise/Lower controls, the appropriate timing parameters need also be
setup (see Section Function 9 Address & Raise/Lower Control Settings 18 [Raise/Lower Control
Settings] 18 ).
Where an RTU is used as a Conitel Slave and where points on its physical output modules are used for
R/L commands, the 2 R/L points needs to be configured as partner points in the RTU. Only one of the
two points needs to be mapped to the R/L control in the RTU configuration. For more information on
partner points see the SCADAPack E Configuration Technical Reference.
Where an SCADAPack E RTU is used as both a Conitel Slave and a data concentrator to other devices
(e.g. DNP3 RTUs), a partner point MAY be defined but is NOT required to be defined for R/L controls.
This allows controls to be sent to remote RTU devices using either “single index” or “dual index”
addressing.
The following table describes the result of receiving Conitel Raise / Lower controls.
End node RTU / RAISE Valid index of Timed PULSE operation on the
Physical output partner point physical output point (lowest point
Physical RTU (not 65535) number of the partner point pair)
module
MANDATORY
MANDATORY
Press the “Add Group” button and select Setpoint Fn as the Response Type. Give the response group
appropriate Station and Group numbers. Select this row in the response group table, and then the
available frames will be shown in the Point Mapping table on the right hand side. There are 2 separate
Analog setpoints available for each Station/Group combination. These are referred to as Setpoint A and
Setpoint B controls and they utilize different function codes in the Conitel protocol. Each setpoint may
be mapped to an SCADAPack E RTU database analog point.
Number of
Conitel Type Description Notes
bits
NIL
STATUS Frame RTU status frame (known as Conitel 12 Status frame can
Remote Status) - see Table 5.3 only be mapped
Remote Status Information 12 once in an
SCADAPack E
RTU
MCD = Momentary Change Detect. MCDA = MCD type A; MCDB = MCD type B; MCDC = MCD type C.
Notes/Restrictions 29
SCADAPack ER Conitel Slave Interface 29
5.5.1 Notes/Restrictions
The RTU’s Conitel driver performs configuration validation on start-up. RTU Error Code 3005 is generated
if a Conitel configuration is found to be invalid.
The following items describe the operation of the SCADAPack E RTU Conitel driver:
Station address 0 will be processed by the RTU as this is a broadcast address. No response will be
generated.
If the Conitel Driver encounters an error while in the process of decoding or responding to a valid
request from the master station, then it will cancel the current transmission (i.e. drop PTT).
The SOE buffer in the Conitel driver will store up to 500 events. There are 2 of these buffers, one for
the current (unreported) events, and one for the previously reported events (used with Function Code
B).
A ‘frozen accumulator’ buffer stores the last frozen accumulator values.
When FC 9 is used then the Group address becomes a sub-code. This means that the only way to
identify a device address for a FC 9 request is by using the Station address bits. However, multiple
physical devices may share the same Station address so they would respond to a FC 9 request at a
given Station address. (In many cases devices are segregated by Station address AND Group
address. In the case of FC 9 the group address is used for a different purpose, potentially causing a
problem). A separate FC 9 address configuration is provided by the SCADAPack E RTU to
overcome this. Where function code 9 is used in a system, the configuration of this field needs to be
unique between RTUs multi-dropped on the same Conitel communications link.
Accumulators that internally can have values larger than their type can represent (i.e. either larger
than 12 or 24 bits) will wrap when the limit for that type is reached. I.e. the least significant 12 or 24
bits will be presented.
If a Raise or Lower operation for a given point is already executing and concurrently a new Raise or
Lower command is received for the same point, the SCADAPack E RTU will replace the currently
executing operation with the newly received operation, as per the Conitel specification.
Raise/Lower command: A Raise command translates to a CLOSE control when mapped to other
protocols in an SCADAPack E RTU (DNP3, IEC60870-5 suite, etc). A Lower command translates to
a TRIP control.
30 SCADAPack E Conitel Slave Interface
6 Baker Protocol
The Baker Slave Protocol is very similar to the Conitel Slave Protocol. The RTU’s Conitel Driver can be
configured to interpret frames in Baker compatible format. This section outlines the differences in the
two protocols, and the aspects of the configuration that change when Baker Protocol is selected.
Address Header
The Address Header frame has 3-bits for the function code, 6-bits for the Station Address, and 3-bits for
the Set Address. The most significant bit of the station address is set aside for the execute function
code (see Section Select Execute 32 ). The functions codes specified for the first 3-bits match the
same function codes as described by the Conitel Protocol above. The 5-bit Station Address specifies
one of up to 32 RTU’s on a communication channel.
The Set Address for the Baker Protocol selects which particular set of inputs or outputs are to be
accessed. Typically, Baker protocol requires mapping as follows:
000 – AI Scan (or Control Activate)
001 – 1st set of 12 control points available for Trip/Close
010 – 2nd set…
011 – 3rd set…
100 – 4th set…
101 – 5th set…
110 – MCD and SDI Scan
111 – SDI Scan
The user should not configured other Function Codes (i.e. Raise/Lower and Setpoint functions are not
supported in Baker protocol mode)
Scan
The data types supported for the Scan function with Baker protocol are:
BIN1 – Single bit binaries
MCC – Multiple change detect
ANALOG – Signed 12-bit analog
STATUS – 12-bit Status register supported
The user should not configure other data types when using Baker protocol.
Select Execute
The most significant bit of the BAKER address bits is set aside for the EXECUTE command. This is
issued following a TRIP/CLOSE select. This effectively means the function code is a 4-bit number and
an execute command will set the first bit (along with the select function code).
For example, when a Select/Execute control is performed on the RTU, the sequence of function codes
sent to the RTU would be:
For a TRIP, fn code 0x2, followed by an EXECUTE-TRIP fn code 0x3.
For a CLOSE, fn code 0x4, followed by an EXECUTE-CLOSE fn code 0x5.
The SCADAPack E firmware manages the Baker protocol differences for Execute. The user does not
required to make any additional considerations compared with its use with Conitel protocol.
Reset
The RESET function code will send a pulse command to the mapped RTU database point. For this
control to work successfully, the point configuration for the output point needs to include a pulse time.
The Reset command will operate in the RTU without receiving an Execute command.
SCADAPack ER Conitel Slave Interface 33
57310 100 R/L Timebase Raise Lower Timebase (see Section Function 9
Address & Raise/Lower Control Settings [Raise/
Lower Control Settings] 18 )
57311 100 R/L Offset Raise Lower Offset (see Section Function 9
Address & Raise/Lower Control Settings [Raise/
Lower Control Settings] 18 )
The Post Transmission Mark parameters shown in Table 7.1 SCADAPack E Conitel Driver System
Points 33 are not brought out to the RTU Configuration software directly. In many circumstances the
default value for a port’s Post TM is sufficient (1 ms). However, if data corruption is occurring at the end
of messages, this time can be extended by setting the RTU System point for the appropriate port.
Also see communication-timing diagrams in Section Communication Timing & Protocol Select
(Communication Timing) 17 .
SCADAPack ER Conitel Slave Interface 35
Address Header 37
36 SCADAPack E Conitel Slave Interface
The PTM and Start-bit pre-pend the first Block in a message. The Start-bit is 0.
The first A Section of a message will be an address header frame (see Section Address Header 37 ),
then subsequent Sections will be data (Sections are also referred to as Frames). The A-bit will be 0 if
the A-section contains the address header or 1 otherwise for data sections.
The B Section contains data. The B-bit is zero.
The BCH is a cyclic error check algorithm, but can be conveniently calculated by XORing the values
from the following table if the corresponding bit in the message is set:
A1 12 A8 0F B1 13 B8 11
A2 09 A9 15 B2 1B B9 1A
A3 16 A10 18 B3 1F B10 0D
A4 0B A11 0C B4 1D B11 14
A5 17 A12 06 B5 1C B12 0A
A6 19 B6 0E
A7 1E A-bit 03 B7 07 B-bit 05
The EOM bit is 1 for the final Block in the message, or 0 otherwise.
SCADAPack ER Conitel Slave Interface 37
follows: