MICROSOL XELL - CONITEL C300 SLAVE Config. Guide For DMT
MICROSOL XELL - CONITEL C300 SLAVE Config. Guide For DMT
VERSION: 1.09
C300 Slave Protocol
Configuration Guide Rev 1
Revision History
Table Of Contents
1. INTRODUCTION................................................................................................5
1.1 PURPOSE AND S COPE OF THIS D OCUMENT ...................................................... 5
1.2 REFERENCES ................................................................................................... 5
2. THE PROTOCOL ...............................................................................................6
2.1 INTRODUCTION TO THE CONITEL C300 S LAVE P ROTOCOL .......................... 6
2.2 PHYSICAL LAYER............................................................................................ 6
2.3 LINK LAYER.................................................................................................... 6
2.3.1 Error Checking ......................................................................................7
2.3.2 BCH (Cyclic Code) for Conitel (C300).................................................7
2.4 APPLICATION L AYER ...................................................................................... 8
2.4.1 Conitel (C300) Data Typ es....................................................................8
2.4.1.1 Input Scan Data .................................................................................. 8
2.4.1.2 Analogue Input Block........................................................................ 9
2.4.1.3 Status Input Block.............................................................................. 9
2.4.1.4 MCD Input Block .............................................................................. 9
2.4.1.5 Counter Blocks ................................................................................. 10
2.4.1.6 Control Data ..................................................................................... 10
2.4.1.7 Trip/Close Digital Outputs............................................................... 11
2.4.1.8 Raise/Lower Control Outputs .......................................................... 11
2.4.1.9 Set-point Outputs ............................................................................. 11
2.4.2 Conitel (C300) Functions and Commands......................................... 11
3. THE PROTOCOL SLAVE CONFIGURATION .......................................... 13
3.1 OVERVIEW .................................................................................................... 13
3.2 CREATING T HE CONITEL C300 S LAVE P ROTOCOL C ONFIGURATION TABLES
13
3.2.1 Application Configuration Table Hierarchy....................................... 13
3.3 CONFIGURING THE CONITEL C300 S LAVE PROTOCOL GENERAL
CONFIGURATION T ABLE (CONGEN) ....................................................................... 15
3.3.1 CONGEN Quick Reference................................................................. 16
3.3.2 CONGEN Table Entries...................................................................... 17
3.3.2.1 Tag ................................................................................................... 17
3.3.2.2 Number of LRUs.............................................................................. 17
3.3.2.3 Port Number ..................................................................................... 17
3.3.2.4 Baud_Rate ........................................................................................ 17
3.3.2.5 RTS Keying...................................................................................... 17
3.3.2.6 RTS Key On Time ........................................................................... 18
3.3.2.7 RTS Key Off Time........................................................................... 18
3.3.2.8 LRU Table Start............................................................................... 18
3.4 CONFIGURING THE CONITEL C300 S LAVE PROTOCOL LOGICAL RTU
TABLE (CONLRU)................................................................................................... 19
3.4.1 Protocol Hierarchy............................................................................. 20
3.4.2 Quick Reference.................................................................................. 20
3.4.3 CONLRU Table Entry Fields.............................................................. 21
3.4.3.1 Tag ................................................................................................... 21
1. Introduction
This configuration guide is provided as a companion to the Microsol EXpert Plus
Configuration Tool Users Guide such that the two documents combined will provide
sufficient information for a technically competent user to configure the Microsol
implementation of the Conitel C300 Slave Protocol.
1.2 References
[1] Document Title: Microsol Conitel C300 Slave Interoperability Checklist.
Revision: 1.09
Author:
Source: Microsol Ltd.
[2] Document Title: Microsol Conitel C300 Slave Functional Description.
Revision: 1.09
Author:
Source: Microsol Ltd.
[3] Document Title: EXpert Plus Configuration Tool Users Guide.
Revision: 1.00
Author: Adrian Kearney
Source: Microsol Ltd.
2. The Protocol
• Connection to a Conitel C300 Protocol compatible master station via leased line
modem or radio with an RS-232 interface and synchronous data transfer.
Microsol’s configuration tool (eXpert Plus) supports a range of Conitel C300 Slave Protocol
configurations from a single Master Control Station. Additionally various configurations with
mixed XCell units (e.g. Conitel C300+Kbus+Modbus) on the same network are also
supported.
SECTION C
MSB LSB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Due to the size limitations of the Conitel C300 Slave Protocol RTU, the Microsol XCell RTU
may be configured to represent a maximum 10 Conitel C300 Slave Protocol RTU’s, this
technique is called forming logical RTU’s or LRU’s.
Error Checking
Messages that contain communications errors are not accepted by the RTU. At the
communication port, messages are checked for the following errors:
Incorrect message sync bits
A burst-error is defined as the number of binary bits between two error bits inclusive. All or
any number of bits in the burst may be in error.
5 2
The BCH code is generated by the polynomial P(X) = X + X + 1, checking on 31 bits. The
stop bit of the Conitel (C300) message structure is excluded. The method used to generate
the 31-bit coded message polynomial, F(X), is as follows:
5
The information polynomial, G(X), consisting of 26 bits (0-25) is multiplied by X to form
5
X G(X) i.e..
25 24 23 2 1
G(X) = A 25X + A24X + A23X + …….. + A2X + A1X + A0
X 5G(X) = A 25X 30 + A24X 29 + A23X 28 + …….. + A2X7 + A1X 6 + A0X5
5 5 2
X G(X) is divided by the generator polynomial P(X)=X + X + 1 to give a quotient Q(X) and
the remainder R(X).
5
The 31-bit coded message polynomial is the sum of X G(X) and R(X):
5
F(X) = X G(X) + R(X)
30 5
F(X) then has its higher order coefficients (X through X) identically equal to the coefficients
4 0
(X through X ) identically equal to the coefficients of R(X). The check symbols (26-30) then
4 0
are the R(X) coefficients (X through X ) respectively.
In checking, a received message is divided by the generator polynomial P(X). If the resulting
remainder is zero, then either no error or an undetectable error has occurred. If the
remainder is not zero, an error has been detected.
Conitel (C300) protocol supports several functions. Analogue, counter, status, and
momentary change detection status (MCD) data can be acquired from an RTU. Select-
before-operate trip/close and setpoint outputs are supported along with raise/lower control
outputs. Functions such as counter (pulse accumulator) freeze; re-set of status flags and re-
set of alarm flags can be performed.
• Analogue Inputs
• Status Inputs
1 2 3 4 5 6 7 8 9 10 11 12
There is a facility to clear the MCD. This message type is called a Reset Change Detector
Execute message (explained in detail later in this document).
Momentary change detect status or MCD requires two bits of information to describe a digital
input. The six MCD status inputs, which can be stored in a data section, are arranged as
pairs of adjacent data bits with the most significant bit representing the momentary (M)
change flag or the history of changes of the digital input. The lesser significant bit of the pair
represents the state (S) of the input. The organisation of this data is described below: -
MSB LSB
M S M S M S M S M S M S
1 2 3 4 5 6 7 8 9 10 11 12
Three configurable formats are available to define when the history bit will be set for the
digital input. These are:
• Set-point Output
Control output data is a request sent by the master to the RTU for an output by the RTU. The
request is contained in a data section of 12 bits in length and may be either a single bit
requesting a trip/close type of control, three separate fields of four bits each requesting up to
three raise/lower controls, or a 12-bit value requesting a set-point type output. The data
format is dependant upon the function code.
Each function code follows the basic format as described in chapter 2. The master request is
typically one block in length and the RTU response may be one to sixteen blocks in length.
The following sections describe each message and the format of the data in each of the
fields. When the value of a field is non-varying for the message, its value is included in the
diagram underneath the field label. When the field may have other than a specific value, the
field label is provided and the data is not specified. A typical case is the end-of-message bit,
which will be one (1) for the last message block. In the case of the SCAN DATA or FREEZE
COUNTER functions, the amount of data is variable and the end-of-message bit will only be
set in the last block.
3.1 Overview
Three protocol tables (CONGEN, CONMAP and CONLRU) are used to configure this
implementation of the Conitel C300 Slave Protocol. These must be configured on the
Conitel C300 Slave Protocol interface unit. A brief description of these tables are given in
the sections following:
configures the LRU layer of the system, and the LRU tables reference the Mapping table for
the system. This mapping table defines how the XCell points are converted to Conitel C300
points for transmission to the master station.
Shown in the diagram below is an example of how the tables relate to one another:
CONLRU2 CONMAP2
CONMAP3
CONMAP4
CONMAP5
CONMAP6
In the case above, one CONGEN record points to two LRU records. Each of these CONLRU
records uses three mapping records.
Within the Grid View of eXpert Plus, one row corresponds to one instance of the Conitel
C300 Slave Protocol. The standard XCell system allows only one instance of Conitel C300
Slave Protocol per Cell and therefore only one row of the CONGEN Table should be defined.
Parameter configuration of the CONGEN table can be done via the Grid view or using the
Property menu on the Project view. To display the CONGEN in the Grid view right-click on
CONGEN node in the Project view and select Show in Grid. To display the Property window
right-click on the CONGEN node in the Project view and select Properties. Both display
options are shown simultaneously in the following diagram.
CONGEN Table
Properties Shown In Grid
View (Below) &
Properties View (Right)
Figure 2 - CONGEN Table Shown in Both Grid View & Properties View
3.3.2.1 Tag
The ‘Tag’ field is a TEXT entry field
with a maximum length of 16
alphanumeric characters; it is only
used as an identifier for items in the
Project View. It has no other purpose
than an indicator and is not
downloaded to the Slave Protocol
RTU as part of the configuration
database.
NOTE: Tag entries longer than 16
characters will generate the error
“Download Failed” when the
configuration download is Figure 3 -CONGEN Table Property View
attempted.
3.3.2.4 Baud_Rate
The ‘Baud Rate’ field is a PICK LIST field that allows the setting of the data rate to the
Master Control Station connected to the selected communications port. The setting of this
field must be made reflecting the quality of the communications links to the Master Control
Station. The default value is 1200bps (bits per second) with the available values being:
• 600
• 1200
• 2400
• 4800
• 9600
• 19200
Sample configuration
with three CONLRU
nodes, one is shown in
the Property view (right)
and all three are shown
in the Grid view (below).
3.4.3.1 Tag
The ‘Tag’ field is a TEXT entry field
with a maximum length of 16
alphanumeric characters; it is used as
an identifier for items in the Project.
NOTE: Tag entries longer than 16
characters will generate the error
“Download Failed” when the
configuration download is
Figure 5 - CONLRU Property Box
attempted.
3.4.3.3 RTU_Address
The ‘RTU_Address’ field is a NUMERIC field that specifies the UNIQUE address within all of
the slave devices connected to the Master Control Station of this Logical RTU. The default
value of this field is 1 with a range of 1 to 254.
Figure 6 - Sample Configuration With CONMAP Entry Shown In Grid and Property Views
3.5.2.1 Tag
The ‘Tag’ field is a TEXT entry
field with a maximum length of
16 alphanumeric characters; it
is only used as an identifier for
items in the Project View. It has
no other purpose than an
indicator and is not
downloaded to the RTU as part
of the configuration database.
NOTE: Tag entries longer
than 16 characters will
generate the error Figure 7 - Sample CONMAP Table In Property View
“Download Failed” when the
configuration download is
attempted.
3.5.2.2 Group
The ‘Group’ field is a NUMERIC entry field that defines the Conitel C300 Slave Protocol
Group to which this map record is to be assigned. There are 16 Groups possible in each
Logical RTU with each Group comprising 32 12-bit words of which 31 are available for data
storage. The combination of Map_Range and the size of the individual data type MUST not
exceed the maximum storage for the remaining unallocated storage for one Group. The
default value of this field is 0 with a range of 0 to 15.
3.5.2.3 Field
The ‘Field’ field is a PICK LIST field that defines the type of XCell data to which the Conitel
C300 Slave Protocol data value is to be mapped. The default value of this field is 1-nbit data
and the range of available XCell data types can be found in Table 4 below. If a block of
sequential points is being configured in a single entry in the CONMAP then the RefTag must
refer to the first point in the sequential block.
3.5.2.4 Block
The ‘Block’ field is a NUMERIC field that defines the Data Block within the Conitel C300
Slave Protocol Group to which the point selected by the RefTag is assigned. If the
combination of Data Type (Field) and Map_Range exceeds one Block (12-bits) then the
remaining data in the Map_Range is assigned contiguous block numbers within the Group
but will NOT exceed the single Group. The default value of this field is 0 with a range of 0 to
30.
3.5.2.7 Option 1
The ‘Option 1’ field is a NUMERIC entry field that contains auxiliary data specific to certain
Conitel C300 Slave Protocol Data Types, the following list gives the ranges for each data
type. The default value of this field is 0 with a maximum permissible range of 0 to 65535.
3.5.2.7.2 Controls
Digital Outputs: Control Output Pulse Duration in milliseconds
3.5.2.8 Option 2
The ‘Option 2’ field is a NUMERIC entry field that contains auxiliary data specific to certain
Conitel C300 Slave Protocol Data Types, the following list gives the ranges for each data
type. The default value of this field is 0 with a maximum permissible range of 0 to 65535.
3.5.2.8.2 Controls
Digital Outputs: Select-Execute Valid Duration in milliseconds
Setpoint: Not Used.
Raise/Lower: Offset Value used in the calculation: Duration in ms = Base x (Offset +
Control Value)- Control Value is passed through the command.
3.5.2.9 RefTag
The ‘RefTag’ field is an
EXPERT PLUS SELECT
DIALOG field that specifies the
XCell special point (RAWDI for
internal status mapping) or I/O
data point (SDI, DDI, AIN etc.)
That is to be mapped to the
Conitel C300 Slave Protocol
data point. This entry must be
selected from a list of
configured I/O points and
special points that can be
found in the Select Instance
dialog.
5. Sample Tables
The following table and associated notes present a representative sample of the parameters that are usable with the Conitel C300 Slave Protocol Tables in
eXpert Plus. These tables are derived from a working configuration where only minor differences exist to better display the options available within the table.
For additional explanation of the field contents see the footnotes at the end of each table.
Tag Description Number of Port Baud RTS RTS Key Off Time RTS Key On Time LRU Table
LRUs Number Rate Keying Start
CONGEN Conitel Unit 1 31 COM2 9600 Disabled 0 0 02
1
The value in this field MUST accurately reflect the number of complete records in the CNLRU table
2
As DMT automatically assigns record 0 as the first LRU record this value should not be changed.
Tag Description Num of Map Tables RTU Address Poll Word Group Map Table Start Record
3
LRU_0 Unit 1 LRU 0 6 0 0 04
LRU_1 Unit 1 LRU 1 43 10 0 7
LRU_2 Unit 1 LRU 2 10 11 0 50
3
Address MUST be unique but does not have to be contiguous.
4
Map records used must be defined on this unit, and LRU blocks MUST be contiguous, here is a simple table with 59 consecutive and contiguous records but blocks can
overlap if required.
Tag Description Group Field Block Data Type Map Range Option 1 Option 2 RefTag
FEEDER_1_I Feeder 1 05 8-bit data 06 Analogue Inputs 3 0 0 FDR_1_P1I
Currents
FEEDER_1_V Feeder 1 0 8-bit data 3 Analogue Inputs 3 0 0 FDR_1_P1V
Voltages
FEEDER_1_ETRP Feeder 1 Earth 0 1-bit data 67 Digital Inputs 3 08 09 FDR_1_TRP1
Trips
FEEDER_1_BRK Feeder 1 0 2-bit data 7 MCD-A 3 0 0 FDR_1_BRK1
Breaker Status
FEEDER_1_T0_OIL Feeder 1 0 8-bit data 8 Analogue Inputs 1 0 0 FDR_1_OILT
Transformer 0
Oil Temp
5
All Feeder 1 data can be packed into Group 0 as shown.
6
The three Current readings are returned as 8-bit values therefore use the first three blocks of Group 0 (12-bits per block).
7
Different types of data are kept to separate blocks even if data does not fill block.
8
As we are not optimally packing data trip status start at bit 0 in block.
9
Trip status for feeder 1 start at SOE record 0, overall feeder status would then be SOE record 3 (0,1,2 trip status and 3 is breaker status)
Oil Temp
FEEDER_1_TCNT Feeder 1 Trip 0 32-bit data10 9 12-bit Accums 1 0 0 FDR_1_TCNT
Counter
FEEDER_1_OK Feeder 1 0 1-bit data 10 Digital Inputs 1 0 3 FDR_1_STAT
Status
10
Conitel 12-bit counters are directed to XCell 32-bit counter data.
Warning Description
C30 001 Unable to Initialise Unit
C30 050 Unable to Lock Configuration
C30 051 Unable to Release Configuration From Lock
C30 062 Corrupt Data Frame (No EOM When Expected)
C30 063 Corrupt Data Frame (Badly Formed Reply)