1 CPT
1 CPT
Substation
Central Unit
M1CPTA2005I
I 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Table of Contents
M1CPTA2005I
1CPT: Substation Central Unit II
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Table of Contents
M1CPTA2005I
III 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Table of Contents
M1CPTA2005I
1CPT: Substation Central Unit IV
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Table of Contents
M1CPTA2005I
V 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Table of Contents
M1CPTA2005I
1CPT: Substation Central Unit VI
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
1. Description
1CPT relays, together with Level 1 protection and control devices, are part of the Integrated
Substation Protection and Control System (SIPCO), operating both as Substation Central Unit
(UCS) with Integrated WEB Console and remote control terminal (RTU).
Among the general functions of the 1CPT are the following: communication with Level 1
equipment, integration of all substation control information in a common real-time database,
communication with equipment of the same or higher level with protocol emulation, execution
of programmable control functions at the substation level and ability to execute manoeuvres
with interlocking management at the substation level.
1.1 General
The 1CPT is designed to solve all communication and data processing needs with a
substation’s protection, control and metering equipment, providing new functions that make
most of the information available to these units. The 1CPT is responsible for communications
with level 1 equipment and for real-time database maintenance, incorporation of automatic
devices and logic at substation level being possible.
1CPT relays are also provided with a web server to access the Integrated Web Console (built
into the 1CPT itself) that can at the same time be accessed via web client from any substation
computer, serving the purpose of interface between user and system.
On the other hand, 1CPT relays can be used to establish communications with the remote
control office or SCADA.
The entire system can be configured through Zivergraph© software. This program enables the
system to be configured to adapt to the substation’s characteristics: equipment connected,
signals associated with each unit, representation of the information on displays, logic functions
at the substation level, desired functionality, etc.
M1CPTA2005I
1CPT: Substation Central Unit 1-2
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 1. Description
1.2 Functions
1.2.1 Communications
Communication between 1CPT relays and substation protection and control equipment is made
via standard IEC-61850 communications protocol through a network interface Ethernet 100-
BaseT.
However, communications between 1CPT relays and level 1 equipment can be established via
serial connections (fibre optic – plastic or glass- or RS-232) using conventional protocols such
as PROCOME, DNP3.0, MODBUS, IEC103, SPABUS.
It also communicates with the control station, emulating the necessary protocol in each case, to
inform the same of the events occurring at the substation and enable it to manoeuvre on its
active elements.
The technical office also communicates with the 1CPT through a modem connected to the
remote port. By using the manufacturer's program, protection data can be transparently
accessed, so that queries can be made regarding the status of the protections, etc. This
connection is also possible from the local port. This functionality is included in all 1CPT models
for equipment using the PROCOME protocol. For equipment with other protocols, it will depend
on the model.
As stated above, the Operations Console associated to the Substation Central Unit is built into
the 1CPT itself, so that the user only needs a computer with MS Windows for connection with
the web page of the 1CPT integrated console. Access to the Central Unit is via the 1CPT
Ethernet 100-BaseT interface, so that a high speed connection (above 1 Mbit/s) is needed,
which will be 100 Mbit/s within the system local area network, and several Mbit/s if access is
external via WAN from the company engineering department.
Finally, the 1CPT has an interface to obtain the standard GPS clock signal, with the ability to, on
the one hand, receive the signal delivered directly through a GPS antenna, and on the other
hand, also offer a connection to a GPS receiving device.
1.2.2 Synchronization
The 1CPT is responsible for keeping the entire system synchronized with a single clock source.
This source may be external or internal. If external synchronization is not possible, the 1CPT
uses the internal real-time clock (RTC) as a standard to synchronize the clocks of the different
equipment connected to it.
If a GPS clock is used, the 1CPT has several communications interfaces with this clock. Thus,
the 1CPT relay can be synchronized with a GPS clock using analog IRIG-B interface, serial
interface, or Ethernet interface with SNTP (Simple Network Time Protocol) synchronization
protocol. Said interfaces will be explained later.
M1CPTA2005I
1-3 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 1. Description
1.2.3 Databases
The 1CPT collects data from the substation’s IED, control and metering units and maintains a
database with this data, updated in real time (the update cycle will depend on the number of
units connected, on the communication parameters and on the protocol used). This database
supports the information of the operations console built into the 1CPT itself and all other
applications that communicate with the central unit, such as remote controls, internal tasks, etc.
The 1CPT database is stored in an internal format and is volatile, i.e., it is a copy of the level 1
equipment data. No log of this information is kept.
The 1CPT not only emulates higher-level communications protocols; it also maintains a
database in the particular format of the protocol emulated, so that it makes the higher-level
equipment think that it is communicating with a unit from the original manufacturer.
1.2.4 Commands
The 1CPT allows commands to be executed on the installation's configurable elements. The
command may originate internally (control functions, logic) or externally (Web client connected
to the 1CPT operations console, remote control). The 1CPT modifies the format of commands
between the different protocols so that the command reaches the equipment that must execute
it, regardless of the manufacturer of the equipment. Likewise, it closes the communication loop,
if the communications protocol supports this, by sending the unit’s response to an order to the
equipment from which the order originated.
1.2.5 Logic
The 1CPT has an internal task responsible for executing a fully programmable logic program by
means of certain functions: logic gates (AND, OR, NOT, etc.), flip-flop (RS, JK), commands, etc.
This logic program may be used to implement control functions at the substation level, group
signals to send to the control office, etc.
M1CPTA2005I
1CPT: Substation Central Unit 1-4
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 1. Description
However, not all signal changes occurring at the substation will be useful to the user; in other
words, not all will be defined as events. Events associated to the signal changes received are
filtered by the 1CPT, so that the integrated Web Console will only show the events the user
considers of use for the system.
Similarly, each database client task will receive all signal changes collected from the equipment,
and it will be its job to filter them, keeping those that are to its interest and discharging those
that are not.
Control room alarm management is user’s responsibility. The only thing the 1CPT does is filter
the changes and send along only those that are of interest.
1.2.9 Redundancy
In some relevant systems a redundant system must be installed. 1CPT redundancy can be of
two types: Hot-Stand-By (HSB) and Complete. In both cases, the Primary 1CPT carries out
1CPT typical functions, monitoring at the same time certain critical variables. The Secondary
1CPT stands by until a failure is detected to take over the control of the substation. The
difference rests on the fact that with Complete redundancy, both 1CPT databases are updated
all the time, whereas with HSB redundancy, the Secondary 1CPT is NOT.
M1CPTA2005I
1-5 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 1. Description
1.2.11 Self-checking
The central unit periodically checks the integrity of the hardware and the software stored on its
permanent memory devices. It also has a system that picks up any error that occurs when the
unit’s hardware is accessed, so that the system can continue operating in an emergency mode
if necessary, until the problem can be solved.
M1CPTA2005I
1CPT: Substation Central Unit 1-6
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 1. Description
1 Functions
A UCS + WEB Console C RTU + WEB Console (default option)
B RTU
2 Communications Ports
Ethernet (LAN 1 and 2) Local Port Serial Port P3-P4 Serial Port P1-P2
2 100TX – 2 x RJ45 USB 2 x FOP 2 x RS232
2 100TX – 2 x RJ45 USB 2 x FOC ST 2 x RS232
3 Optional Hardware Module
B (Keypad, Display and LEDs) + IRIG-B V123
4 Auxiliary Voltage
Power Supply Digital Inputs
2 110/125 VDC (±20%) 110 VDC
3 220/250 VDC (±20%) 250 VDC
7 Compact-Flash
0 256 Mbytes Compact-Flash
9 Enclousure Type
F 2 U x 1 19" rack
11 Finishing
- Stainless Steel + Printed Circuit Board NO Tropicalized
L Stainless Steel + Tropicalized Printed Circuit Board
M1CPTA2005I
1-7 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 1. Description
M1CPTA2005I
1CPT: Substation Central Unit 1-8
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
2. Technical Data
Terminals are provided with an auxiliary power supply the value of which is:
Note: in case of an auxiliary power supply voltage failure, terminal units can tolerate a maximum interruption
of 100ms at 110Vdc.
CPU board with microprocessor at 533MHz with industrial temperature range (includes two chips for
Ethernet Network with 100Base-T connection, Compact-Flash and master USB controller).
128 Mb of RAM.
Internal Flash Memory of 16 Mb.
Removable Compact-Flash disk of 256 Mb (expandable).
2 Ethernet Ports Type 100Base-T.
Coaxial Connector for IRIG-B123 Signal.
8 Digital Status Contact Inputs and 8 Digital Status Contact Outputs.
USB Master Port.
Front panel with HMI (Keyboard and Display) and LEDs (optional).
M1CPTA2005I
1CPT: Substation Central Unit 2-2
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 2. Technical Data
M1CPTA2005I
2-3 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 2. Technical Data
RJ45 Transmission
Signals used Pin 1 - TX+
Pin 2 - TX-
Pin 3 - RX+
Pin 4 - N/C
Pin 5 - N/C
Pin 6 - RX-
Pin 7 - N/C
Pin 8 - N/C
M1CPTA2005I
1CPT: Substation Central Unit 2-4
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
3. Standards and Type Tests
The equipment satisfies the requirements of IEC-255 (EN 21-136) at the maximum class for the
values indicated below.
3.1 Insulation
Between all circuit terminals (PS, DI’s, DO’s) 2 kV, 50/60 Hz, for 1min; or
2.5 kV, 50/60 Hz, for 1s
Between comm. ports and ground 0.5 kV, 50/60 Hz, for 1min; or
1 kV, 50/60 Hz, for 1s
M1CPTA2005I
1CPT: Substation Central Unit 3-2
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 3. Standards and Type Tests
Conducted Electromagnetic Field Disturbance IEC 61000-4-6 Class III (EN 50141)
Amplitude modulated 10 V
M1CPTA2005I
3-3 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 3. Standards and Type Tests
Power Supply Interference and Ripple IEC 60255-11 / UNE 21-136-83 (11)
< 20 % and 100 ms
Supply Voltage Polarity Reversal IEC 61131-2
The models comply with the IEC 89/336 standard of electromagnetic compatibility
M1CPTA2005I
1CPT: Substation Central Unit 3-4
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
4. Physical Architecture
4.1 General
The 1CPT is made up of several cards with different functions:
- Power Supply
- Digital Status Contact Inputs / Outputs
- Communication Ports
- IRIG-B Synchronization Interface
- Ethernet Connection
- Processor Module
- Frontal Card
4.2 Dimensions
The IEDs are fixed to enclosures of 1 19" rack width and 2 rack heights. They are designed to
be installed semi-flush mounted in panels. The enclosure is graphite grey.
- 1 terminal block with 20 terminals for the power supply and 8 digital status contact
outputs.
- 1 terminal block with 16 terminals for 8 digital status contact inputs.
M1CPTA2005I
1CPT: Substation Central Unit 4-2
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 4. Physical Architecture
4.3.2 Connectors
The equipment is supplied with a number of connectors, as follows:
- Power supply connector (B1..B3): Located on the back of the equipment, at the 20
terminal block.
- Connector for 8 digital outputs (B5..B20): Located on the back of the equipment, at the
20 terminal block.
- Connector for 8 digital inputs (A1..A16): Located on the back of the equipment, at the
16 terminal block.
- Connector RS-232 for remote control communication (P1). Located on the back of
the equipment and tagged as P1. Allows for serial communication between 1CPT and a
control station. Communication parameters may be configured for this port.
- Connector RS-232 for communication with miscellaneous equipment (P2). Located
on the back of the equipment and tagged as P2. Allows for serial communication between
1CPT and a remote or local PC running the Zivercom® application for transparent
communication with ZIV level 1 equipment. It may also be used for other protection and
recording equipment with serial interface (e.g. equipment with DNP3, etc.).
Communication parameters may be configured for this port.
- Connector for external synchronizing clock input. Located on the back of the
equipment. 1CPT equipment are provided with a BNC connector arranged for connection
to IRIG-B external synchronizing system.
- Optical fibre connectors for communication with protection and recording
equipment (P3, P4). Located on the back of the equipment. 2 pairs (TxD and RxD) of
connectors for plastic or crystal optical fibre are incorporated.
- Connection Ethernet 100 Base-T RJ-45 (LAN1 and LAN2): Located on the back of the
equipment. To connect the 1CPT to an Ethernet LAN over which communications via
TCP/IP protocol can be established. It is used for communications between the 1CPT,
among others, and IEC-61850 relays, remote control centres (via IEC 60870-5-104, TCP
DNP3.0, etc.), for access to the 1CPT Integrated Web Console via HTTP, as well as
access to its TELNET server and FTP server.
- Earthing screw. Located on the back of the equipment.
M1CPTA2005I
4-3 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 4. Physical Architecture
Figures 4.3 and 4.4 show in detail the digital input and output diagram, respectively:
Figure 4.3: Digital Inputs of the 1CPT. Figure 4.4: Power Supply and Digital Outputs of the
1CPT.
Whenever this operation is performed, the protection should be placed in the Not in Service
mode, and turned off.
There is also an additional LED to show relay Ready and there are 4 LEDs to signal user
configurable alarms.
M1CPTA2005I
1CPT: Substation Central Unit 4-4
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
5. Settings
Chapter 5. Settings
The 1CPT is a highly configurable unit, with a large number of parameters. The functions
available depend on the software model.
The 1CPT gets configuration data from some files in text mode which are generated through
Zivergraph software. Through this software, a central unit can be customized to an
installation, configuring all the necessary parameters for each function.
Except for the programmable control functions, the 1CPT has no parameters whose execution
time can be adjusted. Any modification of the parameters must be done from the Zivergraph
software, after which the 1CPT can be reconfigured with the newly modified files. As this is a
complex procedure, the parameter variation ranges and settings will not be discussed here;
they will be indicated in the Zivergraph manual and in the annexes describing the
configuration files.
The adjustable parameters for the control functions are described in the section corresponding
to each one of them.
M1CPTA2005I
1CPT: Substation Central Unit 5-2
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
6. Description of Operation
6.1 Introduction
The 1CPT’s software is made up of two independent tasks:
The Substation Central Unit or Remote Control Unit application is in charge of permanently
updating a centralised substation protection and control equipment database and allows the
Remote Control Centre and the 1CPT Integrated Web Console to gain access to said database.
This application will also implement substation level programmable logic and automatic controls.
In its own right, the Integrated Web Console application through the 1CPT web server will be in
charge of serving the different command and control screens to the various system clients.
The Substation Central Unit application includes several independent tasks carrying out specific
functions executed over a multitask environment. Many of these tasks are fixed and constitute
what is known as 1CPT core. Other tasks will be included depending on the 1CPT model and of
the loaded configuration.
The main task is to collect information from other equipment at a lower conceptual level,
process it and serve it to a higher conceptual level equipment. To do this, it uses
communications protocols which are emulated and adapted to the 1CPT’s internal structure.
There are also other tasks that provide additional functionality, giving the 1CPT great potential
for processing data from the installation.
M1CPTA2005I
1CPT: Substation Central Unit 6-4
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Each of these groups has a mnemonic that distinguishes it: ISC, digital inputs; MEA, analog
inputs; ISE, commands; CON, counters; ISS, digital output writing signals; ISM, analog output
writing signals. These identifiers are taken from the PROCOME protocol, but thanks to the
emulation of other protocols, they can be applied to all equipment connected to the 1CPT.
As an example, we can say that the open breaker signal corresponds to ISC 52 from unit 22, or
that the voltage of a bus is MEA 3 from unit 12.
• Virtual Units
In order to incorporate into the system the signals generated by the 1CPT’s different functions,
a number of internal units have been created which have no physical correspondence (i.e.,
virtual), which have these signals associated with them.
The virtual units that may be present in the 1CPT are the ones shown in Table 6.1. Both the
model and the configuration of the 1CPT determine what virtual units will be present in a certain
installation.
M1CPTA2005I
6-5 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Table 6.1 also indicates the range of signals that each of the virtual units has. Each one will be
described further on when its functionality is discussed:
These addresses are configurable but, for convenience and portability, it is recommended to
use them.
On the other hand, there may exist several remote control emulator instances to which
addresses other than the one shown in the table above must be assigned; for example, from the
address 270.
M1CPTA2005I
1CPT: Substation Central Unit 6-6
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
In addition, in order to ensure that the equipment is synchronized with reliable data, the 1CPT
itself is synchronized from different sources. The origin of these sources depends on the
configuration and on the status of the sources; there are several possibilities.
• Synchronization from the operating console
The 1CPT’s internal clock is synchronized by the user from the operating console. To do this,
the Synchronize 1CPT option from the Engineering display is used. The data entered is sent to
the 1CPT, which uses it to change its internal time and then synchronize the equipment.
The 1CPT enables setting the date and time through the HMI provided synchronization is not
being carried out through other external synchronization sources or when said synchronization
sources suffer from anomalies that hamper correct 1CPT synchronization.
M1CPTA2005I
6-7 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
First of all, on the configuration of the 1CPT there is a parameter (GPS Clock) that indicates
whether a GPS clock is connected to the 1CPT, and if so, what type it is. The types available for
the 1CPT are the following:
- IRIG-B123: this interface accepts a connection with any clock that complies with the
IRIG-B123 protocol. A coaxial connector is used.
- IKOR 232 serial (also ZIV 1GPS 232 serial): this option is used to connect a clock
specific to the IKOR company, or a ZIV clock, using their RS232 serial interface. The
clock sends time data in a serial frame with a certain format. One of the
communications ports labelled P1-P2 is used. The format of the frame is as shown in
the table below.
- SNTP: the 1CPT SNTP client is connected via Ethernet to the SNTP servers available
in the communications network and can be configured to operate in unicast mode and
in broadcast or multicast mode.
M1CPTA2005I
1CPT: Substation Central Unit 6-8
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
All of these types of clocks are mutually exclusive and only one may be connected to the 1CPT
at one time.
From a software and a hardware standpoint, all of the interfaces are available, and the one
desired is chosen through configuration.
For the serial interfaces, the communications parameters must also be configured: serial port,
speed, parity, stop bits. This is done with the Zivergraph software.
Communications problems with the GPS clock are indicated through the generation of a change
in the PROCOME 256 signal from the central virtual unit (address 257). If there is no
communication with the clock or if the data being received is not correct, a signal change with
status of 1 is generated; when communication is restored, a change to 0 is generated. During
this entire time, the system behaves as if no GPS clocks were connected, allowing
synchronization from other sources (office, console). The parameter Time Allowed with no
Interruptions controls the time passed from the moment an error situation is detected until the
respective signal is generated (this parameter will not be used by the 1CPT SNTP client).
Under certain circumstances, the time difference between the 1CPT’s internal time and the
GPS clock’s time may be more than 20 ms. In this case, there is considered to be a sync error,
and a change (activation) is generated in the PROCOME 257 signal from the central unit (257).
When this difference is less than 20 ms. another change (deactivation) is generated for that
signal. This function is configurable and can be enabled / disabled with the Deviation Error
parameter.
If the function is enabled, this sync error situation is maintained for the time marked by the
parameter Time with GPS Error before Considering it Incorrect. Once this time has elapsed,
the 1CPT’s internal clock is updated with the GPS time, and the new time is considered to be
the correct one.
If the synchronization system is via GPS clock and it is working properly, the 1CPT will not
accept another type of synchronization: operating console, control office.
There is an additional synchronization system function relating to the emulator of the PID1
remote control protocol, which will be explained in the chapter dealing with this emulator.
M1CPTA2005I
6-9 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Some synchronization systems use UTC (Universal Time Coordinated) format and, therefore,
the summer / winter time change is managed by the 1CPT. This is also carried out by the 1CPT
in systems without GPS and with some Remote Controls.
However, a number of synchronization systems operate in local time with DST (Daylight Saving
Time) information, the summer / winter time change being carried out in this instance by the
external synchronization system, notifying the 1CPT.
The daylight savings / standard time change function consists of moving the 1CPT’s time
forward or backward on a specific date at a specific time. This function is configurable and can
be disabled / enabled. The number of hours that the time must go forward / backward can also
be configured, as well as when the change should take place.
There are two parameters that relate this function to the GPS clock. One of them indicates
whether the GPS is managing the time change, or whether the 1CPT must do it, while the other
indicates whether the GPS indicates the current time period.
All of these parameters are configured through the Zivergraph® software, from the general
settings display.
The audible warning will be connected to the digital output of a unit (a level 1 equipment or the
1CPT) so that when the latter receives the command it will close the contact that will turn on the
warning. This contact will remain closed for a certain amount of time.
There is a parameter indicating whether the audible warning is enabled or not. There is no
additional functionality for acknowledgment of the warning or time settings. If necessary, this will
have to be implemented with external logic.
M1CPTA2005I
1CPT: Substation Central Unit 6-10
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
6.4 Communications
Communications are the key element of the 1CPT. The 1CPT is responsible for collecting
information from level 1 equipment and distributing it to a higher or same level equipment. In
order to perform this task, a series of communications protocols is used to adapt to the existing
or required architecture in each installation.
- Fiber Optic. Available only for serial connections. There are two reasons why this
physical medium is used: one, to isolate the 1CPT from possible damage from
overvoltages in the rest of the equipment; and two, to prevent possible interference with
communications caused by existing wires at the installations. The 1CPT has 2 fiber optic
ports, labelled as P3 and P4.
- Twisted pair Ethernet 10-100 Base-T. Used for communications over IEC-61850
Ethernet networks. The 1CPT is provided with 2 net ports with RJ-45 electrical type
interface, labelled LAN1 and LAN2.
The RS232C interface is also used to communicate with other equipment, especially when
modems are used. All of the 1CPT’s ports are isolated by means of optical couplers.
To connect the 1CPT to level 3 systems (remote control, SCADA, etc.), there are several
RS232C serial ports with DB9H connectors, with all lines available (RX, TX, CD, DTR, RTS,
CTS, etc.). Radio or telephone modems, converters (RS232-FO, RS232-RS485), etc. may be
connected to these ports. Communications between the 1CPT and level 3 systems is possible
through LAN1 and LAN2 Ethernet ports, if the protocol so requires.
In case more communications ports are needed, it is possible to connect two terminal servers
model CIC, with 9 serial ports each.
M1CPTA2005I
6-11 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
In order to carry out these functions, all different elements must be linked. 1CPT uses
communications protocols adequate for each device.
Communications with bay devices is carried out through a number of 1CPT tasks. These tasks
have been designed such that data are captured with a given speed and reliability.
CPTs interrogate devices in sequential form per port. In the configuration, each device is
assigned a port to which it is connected. In the configuration database, the device list is saved
in the same sequence as they were configured. In general, this list is not optimal from a
communications point of view, therefore, once all devices have been created into said list,
another list is generated with the port connected devices. In this way, for each port there will be
a list with the port connected devices. This list is valid both for 1CPT own ports and CIC ports.
In the second case, after some communication initialisation messages, the 1CPT waits for the
device to send any data that might be changed.
Standard IEC-61850, DNP3 e IEC-60870-5-101 is among this second type protocols. The rest
of protocols are comprised in the first type.
M1CPTA2005I
1CPT: Substation Central Unit 6-12
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The messages that make up this monitoring cycle depend to a large degree on the protocol
used to communicate with the equipment. However, in basic terms, a generic interrogation cycle
can be established, divided into three parts: initialization, continuous cycle and periodic
requests. This interrogation cycle is applied to each device and each port.
• Initialization: This procedure is used every time communication begins with a unit for the
first time or after a communications failure.
• Communications initialization.
• Time synchronization.
• Change request.
• Refresh request.
• Continuous cycle: This is the normal procedure for updating information at the substation.
• Change request and control measures.
• Periodic requests: These procedures are used periodically; the period is configurable.
• Counter request.
• Synchronization.
• Refresh request.
M1CPTA2005I
6-13 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
These cycles are applied individually to each device, except for periodic procedures, which are
applied equally to all. The periodic synchronism procedure is carried out in broadcast mode per
port, in this way, all port connected devices receive the time signal at once. As a general rule
devices are in continuous cycle and will occasionally switch to periodic cycle. Asynchronous
procedures are also individual and are only applied to affected devices.
There are variations on this interrogation cycle, resulting from the different protocols that the
1CPT uses to communicate with the equipment. 1CPT adapts to the protocol or device
distinctive features.
If a unit does not respond to a message sent by the 1CPT before a configurable period of time
has elapsed, the 1CPT will generally try to resend. However, this depends on the protocol, so
this will be explained further on. When the configured number of attempts is reached, a device
communication fail signal is generated, switching to initialisation state.
In a first stage, level 1 IEC-61850 devices are configured by the 1CPT to spontaneously send to
the 1CPT all device signal changes. The second stage is to request a complete refresh of all
bay device databases and then the 1CPT spontaneously receives the changes generated by
each configured bay device.
- Serial Communication: speed, parity, number of bits, stop bits, delay times, etc. The
Zivergraph® software lets the user configure all communications port parameters:
speed, parity, stop bits, number of bits, times. Some of these parameters are
associated with the port, and will be configured from the display corresponding to
communications and port cards.
There exist many other protocol or device parameters configured via the Zivergraph software
or in the protocol configuration file.
M1CPTA2005I
1CPT: Substation Central Unit 6-14
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The only thing the user needs to do is use the communications program with the PROCOME
unit and connect to the 1CPT by one of the methods it allows: RS-232 serial connection (P2
port), and TCP/IP Ethernet network connection (LAN1 or LAN2 ports). Once the connection
with the 1CPT is made, the user can communicate with the PROCOME unit desired. The 1CPT
routes the messages it receives from this program towards the port where the unit in question is
connected, and sends the latter’s responses towards the program.
This function is called Transparent Communication, because from the standpoint of the user
and the manufacturer’s program, the 1CPT sets a logic link between both ends.
The 1CPT has two RS232C serial ports to communicate with external equipment. This
communication takes place through a communications protocol specific to each installation. The
one that is used depends on the client’s requirements.
Communication with the level 3 system takes place through the emulation of the protocol in
question. Not only are the protocol’s own messages emulated, but to the extent possible, the
behaviour of the original equipment using the protocol is emulated. In this way, the level 3
system is made to believe that it is communicating with an original unit instead of an emulated
one.
This is not always possible, because in some cases, the protocol is designed to communicate
with a unit (RTU type), while in the case of an installation with 1CPT, it would be communicating
with a distributed system.
When emulating these protocols, the 1CPT behaves like a slave terminal, responding to
information requests from the master terminal and carrying out the commands it receives from
the latter.
Furthermore, the 1CPT features two Ethernet network interfaces which can be used for
communications with Level 3 devices, keeping the same serial interface functions. Few
protocols allow using these network interfaces for communications with level 3 systems: IEC-
60870-5-104, DNP3 and MODBUS.
M1CPTA2005I
6-15 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Also, the 1CPT features a function to add inputs to said table to expand or limit the networks
from which access to the 1CPT is enabled. Said function is configured through the Zivergraph
using the configuration file route.cfg.
Up to four inputs to be added to the 1CPT routing table can be included into the configuration
file.
If a universal communications port is required it must configured in said file. Simply add an input
with parameters 0.0.0.0 both for the target IP address and the network mask, and with said port
IP address in the gateway IP address field.
CIC features 9 serial ports with RS232 interface or fibre optic in different combinations
depending on model. Also, it features two RJ45 ports that behave as ethernet switches. It also
features a front RS232 port for maintenance and configuration.
1CPT and CIC are connected through the network ports, using the substation network or point
by point using one of the two RJ45 connectors provided for each one. In this way both devices
could be in the same cabinet or separated, even several kilometres.
The diagram below shows the way CIC is integrated with the rest of the substation devices. It is
only an example where a switch has been used to interconnect all devices with the network
interface.
M1CPTA2005I
1CPT: Substation Central Unit 6-16
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Figure 6.2 Example of CIC Integration with the rest of the Substation Devices.
The main CIC function we are interested on is to encapsulate /de-encapsulate messages into
TCP/IP frames. Internal logic connections between TCP ports and physical serial ports are
established such that everything received by a given serial port is sent via the network interface
of the applicable TCP port and the opposite, everything received by the CIC, bound for TCP
port, is sent via the associated serial port.
One of the main features of CIC is that it has remote access to serial port parameters through
protocol RFC2217. In this way, serial port communications parameters can be modified hot from
the network interface. On the other hand, it is also possible to operate on the modem control
lines and check their status as well.
In order to access CIC through the web interface, its IP address must be known beforehand. By
default, the IP address is in the range 192.168.0.1/24. If the IP address is not known, it can be
found by connecting to the front serial port through a flat cable using a terminal programme
configured to 115200,8,p,1 and then access the rest of configuration parameters via the web
interface.
Access is protected by password. There exist two different users: “guest” and “admin”. The first
user has only read access and the password is “passwd01”. The second user has all
permissions and the password is “passwd02”.
M1CPTA2005I
6-17 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
As a general rule the CIC configuration is adequate to communicate with the 1CPT,
nevertheless, the IP address might need modifying for integration into the 1CPT network. Below
are the parameters to be configured for integration into the 1CPT.
On the other hand, logic parameters must be configured with values adequate for 1CPT
requirements. Thus, the figure below shows the values.
M1CPTA2005I
1CPT: Substation Central Unit 6-18
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
- Interface: RS232 shall be selected, even if the physical interface is fibre optic.
- Baudrate: Port baud rate.
- Databits: Number of port bits. Normally, 8 is configured.
- Parity: Port parity. Normally “even” is used
- Stopbits: Configured with the value 1.
- Flow control: Configures with the value “none”. If the port connected device needs
modem control line management, it will be carried out from the 1CPT application via
protocol RFC2217.
- Protocol: “packed”. This protocol shall be used, as it is generic. It is 1CPT application
task interpreting and processing the received packets in accordance with the
configuration protocol.
- Packed time: Time, in milliseconds, of line inactivity elapsed before the packet received
can be deemed complete. When this time, from the last byte received, times out, the set
of bytes received is considered as a packet and is sent through the socket to the 1CPT.
An adequate value shall be set in view of the baud rate. Normally 10 ms is used.
- Packed size: Maximum packet size is normally 300. It must be configured above the
maximum size of the packet to be sent/received in order to use only the timeout
criterion to determine if a packet is received (Packet time).
M1CPTA2005I
6-19 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The applicable page is displayed through the link “Flow” in the menu to the left of the page.
Click the Add button in the table “Passive TCP” to add all the necessary ports, one for each
serial port.
M1CPTA2005I
1CPT: Substation Central Unit 6-20
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Although CIC allows making any connection, from the point of view of the 1CPT functionality,
each physical serial port will be associated with its corresponding TCP port. In order to safely
carry out this operation, the names given in the identifier fields in the “Flow” page must be
remembered.
Click the Add button and write the name of the serial port Identifier field in the field to the left
and the name of the TCP port Identifier field in the field to the right. Proceed in this way for all
CIC ports.
M1CPTA2005I
6-21 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
1CPT port assignment varies depending on the port functions. In some cases virtual ports are
used, as is the case for device configuration in dbase.cfg file and physical ports are used in
other cases, such as remote controls and some emulators.
At the time of stating the CIC port to be used, this requirement must be taken into account,
which must be perfectly integrated with the rest of the configuration tools, such as the
Zivergraph.
In order to ease the configuration and create mnemonic rules, CIC ports are identified with a
virtual number, such that, just looking at it, we can quickly know which CIC port is being used.
Also, in order to send data to the CIC, we must associate the TCP port to be used to send data
to the CIC with each virtual port. This TCP port is the port configured in advance in the Port field
in table “Passive TCP” of the CIC “Flow” page. This association will be made in the
“TSComs.cfg” configuration file. In this file we can configure up to two Terminal Servers. For
each of them, the assigned IP address and the port assignment to be made must be stated.
Although this is an editable file, we will work on a fixed port assignment, the contents of which is
summarised in the tables below.
We have kept the same TCP port assignment for both CIC with the purpose to ease device
maintenance in case a faulty CIC must be replaced by a new CIC; only its IP address must be
adequately configured, with no need to know whether a “First” or “Second” CIC is being
replaced.
Taking into account this virtual port numbering, let us define the way to use them in the various
files. So that, if the port to which the device is connected is identified using the logic port
number, such as in dbase.cfg, now, we just will state the virtual port directly taken from the
above table.
If the device is connected to a COM type port, the port will be indicated replacing the COMx
string by a string starting with V followed by the virtual port, namely, a string with format Vxyz.
For example, if the device is connected at the third port of the first CIC we will write V203 to
identify said port.
M1CPTA2005I
1CPT: Substation Central Unit 6-22
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
CIC implements protocol RFC2217 to be able to modify the communications characteristics and
modem line control via the TCP connection. This function can be deactivated by means of the
web server. If it is deactivated, the physical port is configured with the parameters assigned in
its configuration.
These parameters can be modified from the 1CPT through protocol RFC2217, however, this
operation is not required for all ports. As a general rule, the own CIC configuration is used.
Modem lines used are: DTR and RTS as CIC output signals and CTS and CD as input signals.
No data management is performed with them by CIC, they just notify a change of status in CTS
and CD and activates or deactivates DTR or RTS when requested from the 1CPT. This function
is only activated when the applicable 1CPT configuration file is adequately configured.
On the other hand, as is logical, in fibre optic ports no modem control line management is
performed.
The PROCOME and DNP 3.0 and IEC103 protocols allow equipment to be connected at fiber
optic ports (P3 and P4) of 1CPT or CIC. All accept more than one unit at each port, although
equipment with different protocols cannot be mixed at the same port.
IEC-61850 communications with bay devices is only available through one of the 1CPT
Ethernet ports (LAN1 or LAN2); such that the desired port must be selected in advance through
the 1CPT configuration.
6.6.1 PROCOME
PROCOME is a protocol based on European standards which is specifically designed to handle
data in electrical substation protection and control systems. All 1CPT models are equipped with
this protocol.
Equipment with the PROCOME protocol is configured as normal equipment using Zivergraph®
or the DBASE.CFG file. This equipment can only be connected at fiber optic ports (P3 and P4)
of the 1CPT of the 1CPT, or in any CIC port.
PROCOME device interrogation cycle is described in section 6.4.2.a, this status machine being
individually applied to each device. Also, several more or less simultaneous interrogation cycles
are sustained, one per port, in order to make the most of the 1CPT multi-processing capacity.
Thus, while waiting for a device response at a port, the response of other device at other port
can be processed. After the last in the list has been interrogated, it starts again with the first.
M1CPTA2005I
6-23 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
There are different priorities in the interrogation procedures. Commands and output writings are
the highest priority and Interrogation of Changes and Control Measurements, namely, the
continuous cycle procedure, the lowest priority.
If a unit does not respond to a message sent by the 1CPT before a certain (configurable)
amount of time has elapsed, given by the Communications timeout parameter (in
Zivergraph®, in the equipment properties display; in DBASE.CFG, Time parameter in General
equipment data), the 1CPT tries to resend. If it does not respond to this retry, an internal signal
is generated from virtual unit 257, indicating a communications failure with that unit, and the
1CPT goes on to the next unit.
When it is again the turn of a failed communication device, the initialisation procedure is applied
instead of the procedure that caused the failure. In this INITIALISATION status, if no response
is obtained in five consecutive cycles, it is brought out of the continuous cycle and it is
interrogated at a lower rate (every 5 times); moreover, under this situation the value of
Communications Timeout setting is not taken as waiting time, but a lower configurable time
setting is taken, Failed communication Timeout, in the Zivergraph, in the device features
screen; in dbase.cfg, parameter TimeReconex, in Device General data).
Sometimes, when there is only a single device per port, the continuous cycle could mean an
excessive communications processing load, so the interrogation rate must be decreased by
introducing delays before sending a new message. There is a configuration parameter which
indicates whether this delay should be introduced or not (Delay sending messages in
Zivergraph® and BitDelay in CENTRAL.CFG). The number of milliseconds in the delay can
also be configured (Time between interrogations in Zivergraph® and QuesTime in
CENTRAL.CFG). This time is general and is applied to all ports with PROCOME equipment.
If a unit is the only one connected to a port, the delay is introduced before each message sent
to the unit, even if the function is not enabled.
Finally, after a broadcast message (message directed to all units at one port), a certain waiting
period is required before another message is sent so the equipment can process the first one.
There is a fixed parameter (70 ms) which indicates how long the next query should be delayed
to the next unit. This time is general and is applied to all ports with PROCOME and DNP3
equipment.
M1CPTA2005I
1CPT: Substation Central Unit 6-24
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
6.6.2 DNP3
DNP3 is a generic control communications protocol widely used in the industry (www.dnp.org).
Although it is a matter of a standard procedure, there exist many data transmission alternatives,
so that there are several different implementations depending on the manufacturer. This is the
reason why an interoperability profile for each device is required in order to know if it can be
integrated into the 1CPT. This profile must be cross checked with the 1CPT profile.
Equipment with the DNP3 protocol is configured as normal equipment using Zivergraph® or the
DBASE.CFG file stating that the type of control is DNP3. This equipment can be connected at
fiber optic ports (P3 and P4) or at RS-232 serial port (P1 and P2) and to any CIC serial port.
There are certain parameters that only affect equipment with DNP3 protocol; these are
configured in Zivergraph® in the Specific DNP3 protocol data display or in the DNP3MS.CFG
file.
By default, Zivergraph® enables the InterC0, InterC1 and InterC2 parameters, leaving the rest
disabled.
M1CPTA2005I
6-25 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Fields InterC0 to InterAIC (Inter# in generic mode), accept a complex configuration to allow for
different interrogation modes. There are two interrogation cycles in the 1CPT: Refresh and
Changes. The first mode (included in the periodic Cycle, CF. 6.4.2.a) has a configurable period
through IntervRefrescoSen setting, and the second mode is included in the Continuous Cycle.
Each of the above fields controls which request is used in each cycle. Depending on the values
assigned to each field, said requests will be associated to one or both cycles. These fields will
be construed as bits fields. The value 0 means that said request is not used.
Protocol DNP3 allows, among others, two device interrogation forms: one generic, in that the
device particular data are associated to generic data: CLASS0 for static data and CLASS1,
CLASS2 and CLASS3 for changes in data. And other form in which master interrogates about
specific data: Binary Input (BI) and Analog Input (AI) for static data and Binary Input Change
(BIAC) and Analog Input Change (AIC) for change in data.
In the 1CPT every request can be associated with one or both cycles by assigning different
values to different fields. For compatibility with older devices, there exist three possibilities:
Standard Interrogation (INT_STANDARD=1), in the Refresh cycle (INT_REFRESCO=2) or in
the Change cycle (INT_CAMBIOS=4). The value to be configured for the different above-
mentioned Inter# parameters will be given by the combination, through the OR function, of the
relevant interrogation cycles.
In the Standard mode, CLASS0, Binary Input (BI) and Analog Input (AI) requests are associated
to the Refresh cycle; and CLASS1, CLASS2, CLASS3, Binary Input Change (BIAC) and Analog
Input Change (AIC) requests are associated to the Change cycle. In order to be able to activate
these interrogation modes the applicable fields will be assigned the value 1. This is the
compatibility mode with old devices that must be used by default.
If requests are to be mixed in different cycles, another bit in said field must be “activated”. Thus,
for example, if master is to interrogate for Class 0 both in the refresh cycle and change cycle,
InterC0 must be set to 5 (INT_STANDARD | INT_CAMBIOS). If master is to interrogate for
Changes in Binary Inputs both in the change cycle and the refresh cycle, InterBIC must be set
to 3 (INT_STANDARD | INT_REFRESCO).
The HUSCx parameters are used to indicate that spontaneous data sending is used by the
equipment at that port, instead of polling the 1CPT; the latter only performs periodic status
interrogation. If spontaneous data is used, the polling cycle should not be used: InterC1,
InterC2, InterC3, InterBIC and InterAIC.
M1CPTA2005I
1CPT: Substation Central Unit 6-26
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
For all other messages, no response is expected at the link level, because there is none;
however, there should be one at the application level. If a unit does not respond to a message
sent by the 1CPT before a certain (configurable) amount of time has elapsed, given by the
Maximum delay time for application level response parameter (in Zivergraph®; in the
DNP3MS.CFG file, L7ConfWaitTime), the 1CPT tries to resend it a number of times given by
the Number of retries at the application level parameter (in DNP3MS.CFG, NumRetriesL7). If
it does not respond to any of these retries, an internal signal is generated from virtual unit 257,
indicating a communications failure with that unit, and the 1CPT goes on to the next unit. This
time should be on the order of several seconds, because if the unit's configuration is large, or if
several queries are strung together in the interrogation cycle (several active InterCx or InterBIC
and InterAIC activated), the time it takes the data sent by a unit to reach the 1CPT's application
layer is on this order; thus, this fact must be taken into account.
When it is once again the turn of the unit with the communications failure, the initialization
procedure is used instead of the procedure that cause the failure.
After a broadcast message (message directed to all units at one port), you should wait a while
so that the equipment can process said message before sending another message. There is a
configuration parameter (BrdcstMsgDel in the DNP3MS.CFG file) which indicates in
milliseconds how long the next query should be delayed to the next unit. This time is general
and is applied to all ports with DNP 3 equipment.
M1CPTA2005I
6-27 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-28
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
6.6.3 IEC103
The IEC 870-5-103 protocol is a European communications standard for protection equipment.
This protocol is included on some 1CPT models. Although a standard protocol is involved, many
data have been “coded” in its private part, so there are several different implementations
depending on the manufacturer. This is why the configuration profile of every device is required
in order to be integrated into the 1CPT.
Equipment with the IEC103 protocol is configured as normal equipment using Zivergraph® or
the DBASE.CFG file. This equipment can only be connected at fiber optic ports.
For units with the PROCOME and DNP3 protocol, their data is directly assigned to the 1CPT's
internal data. For equipment with the IEC103 protocol, data types must be converted, because
this protocol is specifically for protection and the 1CPT uses control data. This assignment is
performed with the IEC103MS.CFG file.
Protocol IEC103 is a Master-Slave protocol in which the 1CPT acts as master and the relay as
slave. The interrogation mode conforms to the mode in section 6.4.2.a, it being worth
highlighting that in the continuous cycle, the interrogation is for Class 2 data and if the device
returns that it has Class 1 data with bit ACD, they are requested.
The General Interrogation procedure for IEC103 devices usually requires a long time for
completion, so a parameter is defined in the 1CPT, which controls the way the procedure is
carried out:
- RepCiclosIG: Consecutive repetitions during the general interrogation cycle. The General
Interrogation can be very long, so that segregation between the various devices is
recommended. The number of questions sent to a device in each part is given by this
parameter, the value of which varies between 2 and 100, taking 6 as default value. In
case it is configured to -1, the general interrogation will be fully executed for one device
before going on the next.
Note: For devices other than Siemens, configuring this parameter to -1 is recommended.
When information is requested from the device, it could be some time before it is available to be
sent to the master. During this time the device replies with a NAK message. There are two
generic parameters of the protocol implementation into the 1CPT, affecting all devices, that
control said time. They must be configured for the most unfavourable case.
- MaxReintNakMandos: After sending a command, the device normally takes some time to
send a reply, during which it replies with NAK messages. This parameter defines the
maximum number of times the NAK message is received before the command procedure
is deemed failed. Values vary from 3 to 200, taking 5 as default value. For AREVA P132
devices, this parameter must be configured with a high value: 30.
- MaxReintNakGI: This parameter has a meaning similar to the above, but it is used in the
General Interrogation procedure. If this maximum number of NAKs is reached during a
General Interrogation, next device will be interrogated, but next cycle the outstanding GI
for the relay in progress will be taken again. Values vary from 3 to 200, taking 5 as default
value. In case it is configured to -1, next device will not be interrogated until the General
Interrogation of the current device is completed.
M1CPTA2005I
6-29 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
On the other hand, there exist other parameters for each specific device, which control,
somehow, the interrogation mode.
- TipoReset: It denotes the type of RESET message sent to the device: 0=ResetCU and
1=ResetFCB (Endesa). Default value is 0.
- TipoReintento: It denotes the way to carry out attempts on communications failure:
0=Consecutive attempts, 1=Attempts per cycle (Endesa). Default value is 0.
- TipoCiclo: It denotes the type of cycle to be used to retrieve device data:
0=RequestDataClass2, 1=RequestDataClass1 (Endesa). Default value is 0.
- TipoRecuperaError: It denotes the method used to recover the device from error status.
Value 0 denotes that the interrogation is repeated the number of times configured, every
cycle turn. Value 1 (Endesa) denotes that, in case the communication with the device
fails, the interrogation cycle is cancelled for one minute, after which its recovery is
attempted. This procedure is carried out because SIEMENS devices take one minute to
recover after a cold start.
6.6.4 SPABUS
This protocol is included on some 1CPT models. Equipment with this protocol is configured with
an additional file named SPABUSMS.CFG. This equipment can only be connected to a COM-X
serial port.
In this case, the information provided by the equipment must be transformed. The task that
communicates with this equipment is responsible for making this conversion. To do this, it uses
the configuration file called MODULSPA.CFG. This file indicates what data will be collected
from each of the units, and how it will be mapped in the 1CPT’s internal configuration.
All of the equipment with this protocol will be connected to the same port. This means that, if a
large number of units is connected, the interrogation cycle will be slow.
M1CPTA2005I
1CPT: Substation Central Unit 6-30
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
With this protocol, data must be converted from the MODBUS format to the 1CPT’s format. The
data required to integrate MODBUS equipment into the 1CPT are in the MODBUSMS.CFG file.
The MODBUS protocol was designed for transferring simple data: digital signals and 16 or 32
bit records. The procedures and functions for data collection are well documented in the
protocol specification.
However, records can be considered as table cells in which more complex data can be stored:
settings, events, reports, etc. After all, this is a drawback from the integration point of view
because manufacturers arrange said data in the most convenient form and, as a general rule,
they are different from each other. In view of the foregoing, the MODBUS profile of the devices
to be connected to the 1CPT must be known in order to be able to analyse whether the 1CPT
will be able to interpret device available data.
1CPT can integrate devices from different manufacturers, taking into account the features of
each device.
6.6.6 IEC61850
Standard IEC61850 defines the substation communications bus, mainly to define:
- Which data are available and how to name and describe them.
- How data are accessed and interchanged between the different devices.
- How to connect the different elements to the communications networks.
One of the benefits worth mentioning of IEC61850 is to avoid the loss of context suffered by
data transmitted using standard communications protocols (DNP3.0, etc).
When a standard protocol is used data to be transmitted must be arranged within the applicable
protocol format, making use of a method to establish which data go into each message so as to
be able to use it correctly by the receiver. However, IEC61850 segregates data into groups,
these at the same time into classes and finally data are mapped into a given logic device within
a physical element. Each IEC61850 element gains access to data, without loss of context,
through a tree formed by the different data classifications.
On the one hand, the 1CPT incorporates standard IEC-61850 at substation bus level through
the communications protocol MMS and, on the other hand, makes use of IEC-61850 data
model to shape its own internal functions.
- IEC61850 Client.
- IEC-61850 Server.
M1CPTA2005I
6-31 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
IEC61850 protocol devices are configured the same than normal devices within the
Zivergraph or in file dbase.cfg. These devices can be connected to any of two 1CPT Ethernet
ports (LAN1 and LAN2). The information required to map IED IEC61850 data model into the
1CPT internal database is generated via the Zivergraphutility for IEDs IEC61850 integration
into the Central Unit. Mapping information of this type of IEDs will be incorporated into a file
.CFG specific for each IED that will be named the same as the IED. Finally, the Zivergraph
generates for the current substation the file 61850cli.cfg that includes the list of IEDs linked to
the 1CPT.
- A logic device that includes a number of logic nodes to show data of interest for other
IEDs.
- Capacity to subscribe to GOOSE-Control-Blocks of other substation IEDs to receive
GOOSE messages.
- Capacity to publish GOOSE messages, from GOOSE-Control-Blocks.
- Capacity to publish Buffered type Reports, from Report-Control-Blocks.
- Capacity to publish Unbuffered type Reports, from Report-Control-Blocks.
- Capacity to accept commands from other IEDs on IEC61850 controllable data.
Although 1CPT IEC61850 server data model is configured during the programming stage,
settings can be introduced through the 1CPT configuration file 61850srv.cfg. GOOSE message
settings to which the 1CPT is subscribed and GOOSE message settings published by the 1CPT
will be configured through the file iecgoose.ini.
M1CPTA2005I
1CPT: Substation Central Unit 6-32
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The different protocols emulated by the 1CPT to communicate with Level 3 or Level 2
equipment are the following:
The operating principle of these emulators is similar in all cases. The emulation task collects the
information from the 1CPT internal database and adapts it to the data format of the remote
control SCADA or level 2 SCADA linked to the 1CPT. When the SCADA interrogates the 1CPT,
the latter responds with a message with the data requested.
In order to perform the required conversation, a configuration file indicating how this conversion
shall be done is needed. The name of the file depends on the protocol to be emulated; however,
in general, its name will relate to the name of the protocol. This file will contain the data
necessary for the emulator, which is customized for each substation.
The files have a generic structure. Firstly, there is a block with general equipment-related
parameters. Next, the parameters necessary to adapt the information to the format expected by
the remote command are configured. This will generally consist of a table in which the name of
the remote command signal appears on one side, with the name of the 1CPT signal on the
other. The type and number of signals supported depend on the type of protocol in question.
M1CPTA2005I
6-33 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
For more complex control functions, specific code modules are implemented, which are
executed as an independent task and will be associated to a set of device input signals, a set of
internal signals and commands, a set of device output signals and device settings.
The control function requires some configuration data, such as the number of breakers, their
priority, detection times, etc. The 1CPT allows up to four independent control functions,
depending on the topology of the substation. This data is configured through the Zivergraph©
software, and the control function’s task gets the data from the tierr_x.cfg file (where x indicates
the control function module, i = 1, 2, 3, 4).
The detection method is by means of consecutively opening all of the breakers configured. After
each one is opened, there is a configurable delay in order to determine whether the alarm
disappears. If it disappears, the breaker remains open and an event is generated, indicating the
line on which the problem occurred; if, on the other hand, the alarm does not disappear, that
breaker is closed and the next one on the list is opened. If the origin of the alarm cannot be
determined by the end of the entire process, the status returns to default and an event
indicating “stopped without detection” is generated.
When there are several modules of the control function for grounds, they can be coordinated so
that they behave as a single unit when the coupling circuit breaker for both buses is closed, and
as two separate modules when it is open.
The information below refers to the control function applied to a single module; however, it can
be extended to several control functions, duplicating the settings, signals, etc.
The control function may be activated / deactivated from three different locations:
M1CPTA2005I
1CPT: Substation Central Unit 6-34
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Whatever the origin of the activation of the control function, it causes the ACT signal to take the
value 1. Deactivating the control function causes it to take the value 0.
A priority of between 1 and 50 is defined for each of the IEDs, bearing in mind the fact that there
cannot be two IEDs with the same priority. The priorities need not be consecutive; in other
words, there may be unassigned priority indexes.
Henceforth, it will be assumed that the priority indexes are consecutive, i.e., that the actual
index setting has been transformed to facilitate the operation of the control function.
The index (n) indicates the priority number assigned to each breaker.
The index (n) indicates the priority number assigned to each breaker.
6.8.1.c Settings
The control function’s settings are the following:
M1CPTA2005I
6-35 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-36
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
In the diagram above, 1 represents the open / closed condition of a breaker in the module
corresponding to the control function. The open / closed status may be detected as a change in
the open breaker signal [INT(n)_A].
In the diagram above, 2 represents the open condition of a breaker in the module
corresponding to the control function, excluding the one over which the control function is
sending commands at that moment or the closing of any of the breakers, including that one. The
open / closed status may be detected as a change in the open breaker signal [INT(n)_A].
In the diagram above, 3 represents the closed condition of a breaker in the module
corresponding to the control function, excluding the one over which the control function is
sending commands at that moment or the opening of any of the breakers, including that one.
The open / closed status may be detected as a change in the open breaker signal [INT(n)_A].
6.8.1.e Operation
The automaton is initialized with the ARR variable with value 0 and n variable with value 1, in
the E_REPOSO (default condition) status.
It exits the default status when the activation of the following function takes place:
When it exits the default status, the value 1 is given to the ARR signal and it goes to
E_T_ALAR status. In this status, a timer with the setting AJ_T_ALAR starts up.
- If function [1] is reset while timing is taking place, the automaton goes into E_REPOSO
status, after giving the ARR signal a value of 0.
- If the opening or closing of any of the breakers associated with the control function is
detected (condition 1 ), the automaton goes to E_BLQ status and gives a value of 1 to
the BLQ signal.
- In either of the above two cases, the timer stops.
- If T_OUT is detected, indicating that the timer has stopped counting, the E_T_ALAR
status is exited.
- If the SER setting associated with the breaker is NO, the index goes up, and this action
is repeated until an index whose breaker has the SER setting at YES is reached. Once
this point has been reached, signal INT(n)_A is verified to see whether it is inactive,
indicating that the breaker is closed. If this is the case, an open command will be given,
and the status will change to E_ESPERA_A. If this signal is inactive, indicating that the
breaker is already open, the index will go up by one unit and the verifications of SER
and INT(n)_A will be repeated.
In the E_ESPERA_A status, nothing happens; this is a waiting period to see whether the open
command that was issued is obeyed or fails.
- If the opening of any of the breakers associated with the control function is detected,
other than the one on which the manoeuvre is taking place, or if the closing of any of
them, including the one in question, is detected (condition 2 ), the automaton goes to
E_BLQ status and gives a value of 1 to the BLQ signal.
- If the failure of open command signal [F(n)_OA] is detected for the breaker on which the
manoeuvre is taking place, the automaton goes to E_BLQ status and gives a value of 1
to the BLQ signal.
- If the open breaker signal [INT(n)_A] is detected for the breaker on which the
manoeuvre is taking place, the automaton goes to E_T_COM status.
M1CPTA2005I
6-37 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
In E_T_COM status, the automaton starts up a timer with the setting AJ_T_COM.
- If, while in this status, the drop of the ALARMA signal is detected, the ARR signal is
deactivated, a signal that a ground has been detected on line(n) is generated, and
E_REPOSO status is entered.
- If the opening or closing of any of the breakers associated with the control function is
detected (condition 1 ), the automaton goes to E_BLQ status and gives a value of 1 to
the BLQ signal.
- If T_OUT is detected, indicating that the timer has stopping counting, the E_T_COM
status is exited, a close command is given for the breaker and E_ESPERA_C status is
entered.
In the E_ESPERA_C status, nothing happens; this is a waiting period to see whether the close
command that was issued is obeyed or fails.
- If the closing of any of the breakers associated with the control function is detected,
other than the one on which the manoeuvre is taking place, or if the opening of any of
them, including the one in question, is detected (condition 3 ), the automaton goes to
E_BLQ status and gives a value of 1 to the BLQ signal.
- If the failure of close command signal [F(n)_OC] is detected for the breaker on which
the manoeuvre is taking place, the automaton goes to E_BLQ status and gives a value
of 1 to the BLQ signal.
- If the closed breaker signal [INT(n)_C] is detected, verification is made of whether the
end has been reached, i.e., the last breaker in the sequence. If this is the case, the
automaton goes to E_BLQ status and gives a value of 1 to the BLQ signal. Otherwise,
the index goes up by one unit and the automaton goes on to the next breaker.
6.8.1.f Reset
When the ALARMA1 signal takes the value 0, the control function will exit blocked status and
will go to E_REPOSO status.
From signal 8 onwards, the “Ground detected on line(n)” signals are mapped; these are
configurable and depend on the number of bays in the bus.
M1CPTA2005I
1CPT: Substation Central Unit 6-38
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
This control function is made up of several subautomata that perform simpler tasks. These
subautomata are:
- Voltage presence / absence control function. This is responsible for determining whether
or not voltage is present in each of the elements involved: high voltage lines and medium
voltage buses.
- Control function for the definition of high voltage statuses. This processes the information
generated by the aforementioned control functions and determines the different statuses
that the high voltage pair may have.
- Control function for high voltage manoeuvres. If any of the operating conditions are met, it
performs the appropriate manoeuvres to reset the voltage in the bus where it was lost.
- Control function for medium voltage manoeuvres. This control function acts on the high
voltage lines when there is a loss of voltage in the medium voltage buses.
- Control function for switching due to protection tripping. If the loss of voltage is caused by
a protection tripping, this control function safely resets the voltage.
There is an In service setting (AJ_H_SERV). When it takes the value 1, the above control
functions will operate, and an IN SERVICE signal (H_SERV) will be activated. When it takes the
value 0, the control functions will be out of service.
The control function may be in manual or automatic mode. In manual mode, it does not operate,
and behaves as if it were out of service. In automatic mode, there are up to three modes of
operation, depending on the preference given to each line. We can supply power to the buses
through one line (Preference A), through the other (Preference B) or each bus through its
respective line (Preference AB).
Operating preferences for the control function are selected through the operating console, or
from the remote control office via the appropriate protocol. However, the selection of a
preference is made, it causes the signal associated with that preference to take the value 1,
while all the rest take the value 0, according to the table below:
During normal operation, the control functions may become blocked. Said blocking causes all
switching modules (high and medium voltage manoeuvres and switching because of
protection tripping) to simultaneously become blocked. A reset command takes them out of
this condition. This command is the same for all control functions, so if they are blocked, they
will all be reset at the same time.
M1CPTA2005I
6-39 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Each of the automata has an output that indicates the presence or absence of the controlled
voltage.
The origin of all of these measurements is configurable and are defined according to the
installation.
Each of the control functions has a voltage presence setting, and another voltage absence
setting, as well as presence time and absence time settings. The margins for each of them are
indicated below; they are the same for all voltages.
The outputs for the control function were defined in Table 6-10.
M1CPTA2005I
1CPT: Substation Central Unit 6-40
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• Operation
With regard to the figure describing the control function's operation, the following statuses have
been defined:
In the case of automata 1c and 1d, their status changes from E_AUS_V when the three
voltages used in their operation exceed the threshold value set.
The E_T_PRES status will change either when the variable measured drops below
0.95xAJ_PRES (in the case of automata 1c and 1d, it will be when any voltage drops below
0.95xAJ_PRES), or when the timer times out; in the former case, the status will return to
E_AUS_V and in the latter, it will go to E_PRES_V.
When the status goes to E_PRES_V, U will equal 1. When the variable measured drops below
the value of the AJ_AUS setting, the status changes to E_T_AUS, in which a counter with the
AJ_T_AUS setting will start up.
In the case of automata 1c and 1d, their status changes from E_PRES_V when any of the three
voltages used in their operation is lower than the threshold value set.
The E_T_AUS status will change either when the variable measured exceeds the value of
1.05xAJ_AUS (in the case of automata 1c and 1d, it will be when all of the voltages exceed the
value of 1.05xAJ_AUS), or when the timer times out; in the former case, the status will return to
E_PRES_V and in the latter, it will go to E_AUS_V.
M1CPTA2005I
6-41 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The last setting is not, strictly speaking, a setting, but a system parameter, with a fixed value of
1 second.
• Operation
With regard to the figure describing the control function's operation, the following statuses have
been defined:
At the start, the control function will be taken to E_00 status, with the output S_00 at 1 and all
others at 0.
M1CPTA2005I
1CPT: Substation Central Unit 6-42
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The status flow chart can be seen in the figure below. The flow is prompted by the changes in
the ULA, ULB and AUT_ACT signals. When it is indicated that a signal must take a value of 1
when a certain status is reached, it is understood that all the others must go to 0.
In all transitions, the AUT_ACT signal should be at 1. If AUT_ACT=0 were to occur in any
status, a transition to E_BLQ status would take place (not shown in the diagram); the latter is a
non-operating status, which would change automatically once the AUC_ACT signal was
activated.
The AUT_ACT signal is generated through a programmable logic function of some of the
database signals.
Figure 6.9 Control Function for the Definition of High Voltage Statuses.
M1CPTA2005I
6-43 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The sequence of manoeuvres is determined by the values of a set of signals, as defined further
on.
The event that starts the sequence, taking the automaton from the default status, is any one of
those listed below:
- The change in value of any of the CLOSED BREAKER signals of any of the H breakers
(or what amounts to the same thing, if any of the OPEN BREAKER or CLOSED
BREAKER signals change to 1).
- The change in value of any of the automaton’s output signals for high voltage statuses.
- The change in value of the CONTROL FUNCTION CONDITION ACTIVE signal
(AUT_ACT).
- The modification of any preference.
- The resetting of either of the 86s (86A=0 or 86B=0).
M1CPTA2005I
1CPT: Substation Central Unit 6-44
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Each signal’s index is configurable and will be determined for each substation.
At the start, the control function executes the sequence selection logic; once this has been
done, it can go to default, carry out a sequence of manoeuvres or go to blocked if any
command fails or finds no sequence to be executed.
After the pickup event, a 3 s. timer starts up for coordination with the control function for
switching because of protection tripping; once the timer has finished, the sequence to be
executed is selected.
Sequence selection, whether at the start or after a pickup event, is done according to the table
below.
In this table, the MED_ACT signal comes from the medium voltage control function, and the
way it is generated is described further on. It is used in calculating the sequence to be selected:
if this signal has a value of 1, the control function remains in the default status.
If either of the two 86s (signals 86TA and 86TB to 1) trips, this control function for high voltage
manoeuvres is prevented from operating, as if these signals are activated, the control function
for switching because of protection tripping is the one that should operate.
- If the AUT_ACT signal is activated, with its status changing to default (E_REPOSO).
- If the control function is blocked, with its status changing to blocked (E_BLQ).
If the control function for medium voltage manoeuvres or the one for switching because of
protection tripping is blocked, this control function for high voltage manoeuvres will also be
blocked. To change the status from blocked, it will be necessary to reset the control function.
M1CPTA2005I
6-45 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-46
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
In the preceding table, when DEFAULT appears in the SEQ column, it refers to sequence 0.
Each of these commands is configurable, because although the sequences are fixed, the
equipment and its configuration depend on each substation.
M1CPTA2005I
6-47 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• Execution of sequences
Each sequence of manoeuvres is made up of a number of elementary manoeuvres. The
manoeuvres are executed one after another: the next one is executed only after the previous
one has been fully completed.
If the AUT_ACT signal is found to be inactive prior to the execution of a sequence, the
sequence is interrupted and the status changes to non-operating. When this signal is once
again activated, the status changes to default (E_REPOSO).
If a manoeuvre in the sequence fails, the sequence is interrupted and the control function goes
to blocked (E_BLQ) status. The control function must be reset so that it can once again
operate.
After the execution of the last manoeuvre in the sequence, the sequence automaton stays in
default (E-REPOSO) status.
The procedure for the execution of sequences is shown in the accompanying diagram. There
are two settings associated with this procedure that determine whether a delay should be
included between two consecutive commands in the same sequence. These settings are:
When the automaton specific to the manoeuvre to be executed is entered, the command
indicated in the table of manoeuvres is sent, and the status then changes to waiting
(E_ESPERA). This status is changed by the activation of the manoeuvre failure signal or by
completing the manoeuvre. In the former case, the status changes to blocked (E_BLQ), and in
the latter, it goes on to execute the next manoeuvre, if any, or returns to the default
(E_REPOSO) status, if there are no other manoeuvres.
M1CPTA2005I
1CPT: Substation Central Unit 6-48
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-49 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
At the start, the control function executes the sequence selection logic, causing the MED_ACT
signal to take the value 0. Once this has been done, it can go to default (E_REPOSO) or carry
out a sequence of manoeuvres.
From the default (E_REPOSO) status, the trip event (that causes the control function to exit its
default (E_REPOSO) status) is the change in any UA or UB signal from 1 to 0, or the activation
of the AUT_ACT signal, in which case the control function will exit non-operating status.
Once the control function is no longer in its default (E_REPOSO) status, the sequence of
manoeuvres is decided, the same as in the control function for high voltage manoeuvres.
Once the sequence is selected, and before proceeding to execute it, a timer with the value
AJ_T_M is started. While the timing is taking place, the automaton remains in E_T_M status.
When the timeout takes place, this status changes; however, before it goes into the next one,
the continuity of the switching conditions is checked (sequence chosen). If the response is
negative, a new sequence is chosen and once again it goes to timing status (E_T_M); if it is
affirmative, the sequence of manoeuvres is executed.
Both in the case of a failure in any manoeuvre in the sequence or successful execution, the
automaton’s status changes to blocked (E_BLQ), causing the MED_ACT signal to take the
value 1 to indicate that the medium voltage control function has operated.
The blocked (E_BLQ) status can only be exited if a reset (REP) command is received; this
command makes the automaton go into its default (E_REPOSO) status.
M1CPTA2005I
1CPT: Substation Central Unit 6-50
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The automaton will change to non-operating status if the AUT_ACT signal is inactive. It will
automatically exit this status if any of the following conditions occurs:
- If the AUT_ACT signal is activated, with its status changing to default (E_REPOSO).
- If the automaton for medium voltage manoeuvres is taken out of service from the
console, with its status changing to out of service.
- If the control function is blocked, with its status changing to blocked (E_BLQ).
If the control function for high voltage manoeuvres or the one for switching because of
protection tripping is blocked, this control function for medium voltage manoeuvres will also be
blocked. To exit this blocked status, it will be necessary to reset the control function.
• Selection of sequences
The selection of the sequence of manoeuvres to be executed takes place according to the
following table. The numbers indicating the sequence of operations refer to the table of
sequences defined for the control function for high voltage manoeuvres.
The destinations of the commands issued for manoeuvres are the same as the ones in the table
defined for the control function for high voltage.
M1CPTA2005I
6-51 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The start event occurs whenever any of the 52LA_C, 52LB_C or 52LAB_C signals are
deactivated, or any of the 86TA_ACT, 86TB_ACT, ULA, ULB, DISP_DEF or AUT_ACT signals
are activated.
The start event starts up a 3-second timer; after this timer runs, it checks to see whether the two
86s have tripped simultaneously, in which case it goes to MAN (manual) and the status
changes to default. Otherwise, a manoeuvre is selected, according to the table below:
If none of the combinations from the table above are met, no sequence is selected and the
automaton's status changes to default (E_REPOSO).
Once the manoeuvre has been executed, the preferences take the value indicated in the
accompanying diagram and the automaton remains in its default condition (E_REPOSO) in
manual (MAN) status. If the execution of the manoeuvre fails, the system will be blocked, and
this situation can only be exit by means of a reset (REP) command.
M1CPTA2005I
1CPT: Substation Central Unit 6-52
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
- If the AUT_ACT signal is activated, with its status changing to default (E_REPOSO).
- If the control function is blocked, with its status changing to blocked (E_BLQ).
If the control function for high or medium voltage manoeuvres is blocked, this one for switching
because of protection tripping will also be blocked. To exit this blocked (E_BLQ) status, it will
be necessary to reset the control function.
M1CPTA2005I
6-53 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The digital signals provided by this control function are the following.
M1CPTA2005I
1CPT: Substation Central Unit 6-54
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-55 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-56
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
This control function is made up of several subautomata that perform simpler tasks. These
subautomata are:
- Voltage presence / absence control function. This is responsible for determining whether
or not voltage is present in each of high voltage lines.
- Control function for the definition of high voltage statuses. This processes the information
generated by the aforementioned control functions and determines the different statuses
that the high voltage pair may have.
- Control function for high voltage manoeuvres. If any of the operating conditions are met, it
performs the appropriate manoeuvres to reset the voltage in the bus where it was lost.
- Control function for switching due to protection tripping. If the loss of voltage is caused by
a protection tripping, this control function safely resets the voltage.
There is an In service setting (AJ_H_SERV). When it takes the value 1, the above control
functions will operate, and an IN SERVICE signal (H_SERV) will be activated. When it takes the
value 0, the control functions will be out of service.
The control function may be in manual or automatic mode. In manual mode, it does not operate,
and behaves as if it were out of service. In automatic mode, there are up to three modes of
operation, depending on the preference given to each line. We can supply power to the buses
through the line 1 (Preference 1), through the line 2 (Preference 2) or each bus through its
respective line (Preference 1-2).
Operating preferences for the control function are selected through the operating console, or
from the remote control office via the appropriate protocol. However, the selection of a
preference is made, it causes the signal associated with that preference to take the value 1, and
the value 0 for all the others, according to the following table:
During normal operation, the control functions may become blocked. Said blocking causes all
switching modules (high and medium voltage manoeuvres and switching because of
protection tripping) to simultaneously become blocked. A reset command takes them out of
this condition. This command is the same for all control functions, so if they are blocked, they
will all be reset at the same time.
M1CPTA2005I
6-57 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Each of the automata has an output that indicates the presence or absence of the controlled
voltage.
Table 6-28:Voltage Presence / Absence Control Functions Measuring Inputs and Logic
Outputs
Automaton Measure Output provided by the automaton
1a MUL1 ULA
1b MUL2 ULB
The origin of all of these measurements is configurable and are defined according to the
installation.
Each of the two control functions has a voltage presence setting, and another voltage absence
setting, as well as presence time and absence time settings. The margins for each of them are
indicated below; they are the same for all voltages.
The outputs for the control function were defined in Table 6-32.
M1CPTA2005I
1CPT: Substation Central Unit 6-58
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• Operation
With regard to the figure describing the control function's operation, the following statuses have
been defined:
The E_T_PRES status will change either when the variable measured drops below
0.95xAJ_PRES or when the timer times out; in the former case, the status will return to
E_AUS_V and in the latter, it will go to E_PRES_V.
When the status goes to E_PRES_V, U will equal 1. When the variable measured drops below
the value of the AJ_AUS setting, the status changes to E_T_AUS, in which a counter with the
AJ_T_AUS setting will start up.
The E_T_AUS status will change either when the variable measured exceeds the value of
1.05xAJ_AUS or when the timer times out; in the former case, the status will return to
E_PRES_V and in the latter, it will go to E_AUS_V.
M1CPTA2005I
6-59 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The last setting is not, strictly speaking, a setting, but a system parameter, with a fixed value of
1 second.
• Operation
With regard to the figure describing the control function's operation, the following statuses have
been defined:
At the start, the control function will be taken to E_00 status, with the output S_00 at 1 and all
others at 0.
The status flow chart can be seen in the figure below. The flow is prompted by the changes in
the ULA, ULB and AUT_ACT signals. When it is indicated that a signal must take a value of 1
when a certain status is reached, it is understood that all the others must go to 0.
M1CPTA2005I
1CPT: Substation Central Unit 6-60
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
In all transitions, the AUT_ACT signal should be at 1. If AUT_ACT=0 were to occur in any
status, a transition to E_BLQ status would take place (not shown in the diagram); the latter is a
non-operating status, which would change automatically once the AUC_ACT signal was
activated.
The AUT_ACT signal is generated through a programmable logic function of some of the
database signals.
START
Figure 6.15 Control Function for the Definition of High Voltage Statuses.
M1CPTA2005I
6-61 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The sequence of manoeuvres is determined by the values of a set of signals, as defined further
on.
The event that starts the sequence, taking the automaton from the default status, is any one of
those listed below:
- The change in value of any of the CLOSED BREAKER signals of any of the H breakers
(or what amounts to the same thing, if any of the OPEN BREAKER or CLOSED
BREAKER signals change to 1).
- The change in value of any of the automaton’s output signals for high voltage statuses.
- The change in value of the CONTROL FUNCTION CONDITION ACTIVE signal
(AUT_ACT).
- The modification of any preference.
- Resetting any of the 86 trips (86A=0 or 86B=0) or the bus differential trips (DFB1=0 or
DFB2=0).
Each signal’s index is configurable and will be determined for each substation.
In the initial stage (E_INIT), the state of the actuation signal of the automation (AUT_ACT) will
be evaluated, and in case it is deactivated, it will go to the non-actuation state
(E_NO_ACTUAC) to remain there until this signal is activated again. During this period, the
automatism will be deactivated. After the signal is activated, it will go directly to the blocking
state (E_BLOQUEO) to force the automatism to be reset in order to return to the normal
situation.
M1CPTA2005I
1CPT: Substation Central Unit 6-62
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
From this initial stage, the control function executes the sequence selection logic; once this has
been done, it can go to default, carry out a sequence of manoeuvres or go to blocked if any
command fails or finds no sequence to be executed.
After these checks, and after a wait of 3 seconds for coordination with the other control function,
it is changed to the "command sequence evaluation status" (E_EVAL_SEQ), where the first
command sequence evaluation to be executed will be performed. After it, it will reach the
"default status" (E_REPOSO) if there is no command to be executed, or execute the
corresponding maneuver sequence. If this execution is correct, it will go to the "default status",
but if the execution itself fails, it will go to the "blocking status" (E_BLOQUEO).
Once the "default status" is reached, the control function will remain there, until the activation of
the "trigger event" that announces the arrival of changes in the input signals involved in the
control function, going back to the "sequence evaluation status".
In this table, the trip of any of the two 86 (signals 86TA and 86TB to 1) prevents the activation of
this high voltage manoeuvres control function, as if these signals are activated, the control
function for switching because of protection tripping is the one that should operate.
If the control function for switching due to protection tripping is blocked, this control function for
high voltage manoeuvres will also be blocked. To change the status from blocked, it will be
necessary to reset the control function.
The selection of command sequences to be executed is described in the table below, and it can
be seen that each command sequence in the table (except the so-called "default" which has no
associated maneuver) has a specific time of execution of the command, which may be one of
the following, these being configured in the configuration file:
M1CPTA2005I
6-63 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-64
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-65 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Each command to be carried out has a code, and it will also be configurable since, although the
purpose of them is fixed from the point of view of control function in general, the equipment and
its configurations will be different in each substation.
M1CPTA2005I
1CPT: Substation Central Unit 6-66
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
If before the execution of a command, it is detected the signal of AUT_ACT inactive, the
execution is interrupted and goes to a non-actuation status (E_NO_ACTUAC). In this status,
when this signal is activated again, it always goes to the blocking status.
Associated with the execution of the command, there are four time settings that can be
associated for each particular command, and that are delayed before the command is
performed. These settings are as follows:
If the execution of the command fails, the control function system will go to the blocking state
(E_BLOQUEO). It will stay there until the control function is reset, after which it will return to the
initial state (E_INIT), starting the cycle again.
If the execution of the command is correct, the control function will go to a default state and will
stay there until the arrival of new events indicated by a "trigger event" that make the possibility
of executing some command be evaluated again.
In the following diagram of the execution of the control function, the different stages already
mentioned are appreciated.
M1CPTA2005I
6-67 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-68
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The possible cases of trip that can cause this behavior are the following:
- Relay 86 trip, due to the activation of the machine protections of one of the two
transformers. This only applies to the three breaker control function, given that in the five
breaker the transformer breaker is tripped without affecting the line or coupling breakers.
We will call these trips 86T1 and 86T2 in the table.
- Trip of the differential of one of the buses. Unlike the old version of the H control function,
in which it used the definitive trip generic signal, in this one we will use the specific trip
signals of the differential equipment of each of the buses. These trips will be called DFB1
and DFB2 in the table.
The execution methodology of this control function is similar to that of high voltage maneuvers
described above, so its state diagram is the same. In response to the start event, executes a
sequence of maneuvers, which end, always in case of correct performance, in the MANUAL
status. In case of failure of any maneuver will be passed to the BLOCKINGstatus.
- The change of value of any of the signals of CLOSED BREAKER (or what is the same
putting to 1 of any of the signals of OPEN BREAKER or CLOSED BREAKER) of any of
the breakers of the H.
- The change of value of any of the output signals of the High Voltage Manoeuvres Control
Function .
- The activation of any of the trips 86 (86A=0 or 86B=0) or the trips of the bus differential
(DFB1=0 or DFB2=0).
- The modification to any preference from the manual status.
- The change of value of the active control function condition signal (AUT_ACT).
M1CPTA2005I
6-69 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The input signals used by this control function are the following.
Table 6-37: Input Signals of the Protection Trip Switching Control Function
Input Description
52LA_CLOSED 52L1 Breaker Closed
52LB_CLOSED 52L2 Breaker Closed
52LAB_CLOSED 52L1-2 Breaker Closed
S_00 Voltage absence in both lines
S_01 Absence of voltage on line 1 and presence on line 2
S_10 Presence of voltage on line 1 and absence on line 2
S_11 Voltage presence in both lines
86T1_ACT Trafo 1 Trip 86A
86T2_ACT Trafo 2 Trip 86A
DIFF BUSES 1 Bus Differential 1 Trip
DIFF BUSES 2 Bus Differential 2 Trip
MAN Manual
AUT_ACT Control function condition active
Each signal’s index is configurable and will be determined for each substation.
In the initial stage (E_INIT), the state of the actuation signal of the automation (AUT_ACT) will
be evaluated, and in case it is deactivated, it will go to the non-actuation state
(E_NO_ACTUAC) to remain there until this signal is activated again. During this period, the
automatism will be deactivated. After the signal is activated, it will go directly to the blocking
state (E_BLOQUEO) to force the automatism to be reset in order to return to the normal
situation.
From that initial stage, the state of the other control function, the one of high voltage
maneuvers, will be checked, since if it was blocked, we would go directly to the blocking status,
since if one control function is blocked all the others are also blocked.
After these checks, and after a wait of 3 seconds for coordination with the other control function,
it is changed to the "command sequence evaluation status" (E_EVAL_SEQ), where the first
command sequence evaluation to be executed will be performed. After it, it will reach the
"default status" (E_REPOSO) if there is no command to be executed, or execute the
corresponding maneuver sequence. If this execution is correct, it will go to the "default status",
but if the execution itself fails, it will go to the "blocking status" (E_BLOQUEO).
Once the "default status" is reached, the control function will remain there, until the activation of
the "trigger event" that announces the arrival of changes in the input signals involved in the
control function, going back to the "sequence evaluation status".
The joint trigger of the two 86 (both signals 86TA and 86TB to 1) makes the control function go
directly to manual mode.
If the control function for switching due to protection tripping is blocked, this control function for
high voltage manoeuvres will also be blocked. To change the status from blocked, it will be
necessary to reset the control function.
The selection of command sequences to be executed is described in the table below. In all of
them, a wait is carried out before the execution itself, this time being the so-called “Maneuver
time” (T_MANIO).
M1CPTA2005I
1CPT: Substation Central Unit 6-70
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
L1 L1-2 L2 S00 S01 S10 S11 86T1 DFB1 86T2 DFB2 MAN ACT COMMAND
X X X X X X X X X X X X 0 -
X X X X X X X X X X X 1 1 -
L1 L1-2 L2 S00 S01 S10 S11 86T1 DFB1 86T2 DFB2 MAN ACT COMMAND
0 0 0 1 0 0 0 1 0 0 0 0 1 MAN
0 0 0 1 0 0 0 0 1 0 0 0 1 MAN
0 0 0 1 0 0 0 0 0 1 0 0 1 MAN
0 0 0 1 0 0 0 0 0 0 1 0 1 MAN
0 0 0 0 0 1 0 1 0 0 0 0 1 MAN
0 0 0 0 0 1 0 0 1 0 0 0 1 MAN
0 0 0 0 0 1 0 0 0 1 0 0 1 CLOSE L1
0 0 0 0 0 1 0 0 0 0 1 0 1 CLOSE L1
0 0 0 0 1 0 0 1 0 0 0 0 1 CLOSE L2
0 0 0 0 1 0 0 0 1 0 0 0 1 CLOSE L2
0 0 0 0 1 0 0 0 0 1 0 0 1 MAN
0 0 0 0 1 0 0 0 0 0 1 0 1 MAN
0 0 0 0 0 0 1 1 0 0 0 0 1 CLOSE L2
0 0 0 0 0 0 1 0 1 0 0 0 1 CLOSE L2
0 0 0 0 0 0 1 0 0 1 0 0 1 CLOSE L1
0 0 0 0 0 0 1 0 0 0 1 0 1 CLOSE L1
L1 L1-2 L2 S00 S001 S10 S11 86T1 DFB1 86T2 DFB2 MAN ACT COMMAND
1 0 0 1 0 0 0 1 0 0 0 0 1 -
1 0 0 1 0 0 0 0 1 0 0 0 1 -
1 0 0 1 0 0 0 0 0 1 0 0 1 MAN
1 0 0 1 0 0 0 0 0 0 1 0 1 MAN
1 0 0 0 0 1 0 1 0 0 0 0 1 -
1 0 0 0 0 1 0 0 1 0 0 0 1 -
1 0 0 0 0 1 0 0 0 1 0 0 1 MAN
1 0 0 0 0 1 0 0 0 0 1 0 1 MAN
1 0 0 0 1 0 0 1 0 0 0 0 1 -
1 0 0 0 1 0 0 0 1 0 0 0 1 -
1 0 0 0 1 0 0 0 0 1 0 0 1 MAN
1 0 0 0 1 0 0 0 0 0 1 0 1 MAN
1 0 0 0 0 0 1 1 0 0 0 0 1 -
1 0 0 0 0 0 1 0 1 0 0 0 1 -
1 0 0 0 0 0 1 0 0 1 0 0 1 MAN
1 0 0 0 0 0 1 0 0 0 1 0 1 MAN
M1CPTA2005I
6-71 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
L1 L1-2 L2 S00 S01 S10 S11 86T1 DFB1 86T2 DFB2 MAN ACT COMMAND
0 0 1 1 0 0 0 1 0 0 0 0 1 MAN
0 0 1 1 0 0 0 0 1 0 0 0 1 MAN
0 0 1 1 0 0 0 0 0 1 0 0 1 -
0 0 1 1 0 0 0 0 0 0 1 0 1 -
0 0 1 0 0 1 0 1 0 0 0 0 1 MAN
0 0 1 0 0 1 0 0 1 0 0 0 1 MAN
0 0 1 0 0 1 0 0 0 1 0 0 1 -
0 0 1 0 0 1 0 0 0 0 1 0 1 -
0 0 1 0 1 0 0 1 0 0 0 0 1 MAN
0 0 1 0 1 0 0 0 1 0 0 0 1 MAN
0 0 1 0 1 0 0 0 0 1 0 0 1 -
0 0 1 0 1 0 0 0 0 0 1 0 1 -
0 0 1 0 0 0 1 1 0 0 0 0 1 MAN
0 0 1 0 0 0 1 0 1 0 0 0 1 MAN
0 0 1 0 0 0 1 0 0 1 0 0 1 -
0 0 1 0 0 0 1 0 0 0 1 0 1 -
L1 L1-2 L2 S00 S01 S10 S11 86T1 DFB1 86T2 DFB2 MAN ACT COMMAND
1 0 1 1 0 0 0 1 0 0 0 0 1 -
1 0 1 1 0 0 0 0 1 0 0 0 1 -
1 0 1 1 0 0 0 0 0 1 0 0 1 -
1 0 1 1 0 0 0 0 0 0 1 0 1 -
1 0 1 0 0 1 0 1 0 0 0 0 1 -
1 0 1 0 0 1 0 0 1 0 0 0 1 -
1 0 1 0 0 1 0 0 0 1 0 0 1 -
1 0 1 0 0 1 0 0 0 0 1 0 1 -
1 0 1 0 1 0 0 1 0 0 0 0 1 -
1 0 1 0 1 0 0 0 1 0 0 0 1 -
1 0 1 0 1 0 0 0 0 1 0 0 1 -
1 0 1 0 1 0 0 0 0 0 1 0 1 -
1 0 1 0 0 0 1 1 0 0 0 0 1 -
1 0 1 0 0 0 1 0 1 0 0 0 1 -
1 0 1 0 0 0 1 0 0 1 0 0 1 -
1 0 1 0 0 0 1 0 0 0 1 0 1 -
M1CPTA2005I
1CPT: Substation Central Unit 6-72
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
L1 L1-2 L2 S00 S01 S10 S11 86T1 DFB1 86T2 DFB2 MAN ACT COMMAND
0 1 0 1 0 0 0 1 0 0 0 0 1 -
0 1 0 1 0 0 0 0 1 0 0 0 1 -
0 1 0 1 0 0 0 0 0 1 0 0 1 -
0 1 0 1 0 0 0 0 0 0 1 0 1 -
0 1 0 0 0 1 0 1 0 0 0 0 1 -
0 1 0 0 0 1 0 0 1 0 0 0 1 -
0 1 0 0 0 1 0 0 0 1 0 0 1 -
0 1 0 0 0 1 0 0 0 0 1 0 1 -
0 1 0 0 1 0 0 1 0 0 0 0 1 -
0 1 0 0 1 0 0 0 1 0 0 0 1 -
0 1 0 0 1 0 0 0 0 1 0 0 1 -
0 1 0 0 1 0 0 0 0 0 1 0 1 -
0 1 0 0 0 0 1 1 0 0 0 0 1 -
0 1 0 0 0 0 1 0 1 0 0 0 1 -
0 1 0 0 0 0 1 0 0 1 0 0 1 -
0 1 0 0 0 0 1 0 0 0 1 0 1 -
L1 L1-2 L2 S00 S01 S10 S11 86T1 DFB1 86T2 DFB2 MAN ACT COMMAND
1 1 0 1 0 0 0 1 0 0 0 0 1 -
1 1 0 1 0 0 0 0 1 0 0 0 1 -
1 1 0 1 0 0 0 0 0 1 0 0 1 -
1 1 0 1 0 0 0 0 0 0 1 0 1 -
1 1 0 0 0 1 0 1 0 0 0 0 1 -
1 1 0 0 0 1 0 0 1 0 0 0 1 -
1 1 0 0 0 1 0 0 0 1 0 0 1 -
1 1 0 0 0 1 0 0 0 0 1 0 1 -
1 1 0 0 1 0 0 1 0 0 0 0 1 -
1 1 0 0 1 0 0 0 1 0 0 0 1 -
1 1 0 0 1 0 0 0 0 1 0 0 1 -
1 1 0 0 1 0 0 0 0 0 1 0 1 -
1 1 0 0 0 0 1 1 0 0 0 0 1 -
1 1 0 0 0 0 1 0 1 0 0 0 1 -
1 1 0 0 0 0 1 0 0 1 0 0 1 -
1 1 0 0 0 0 1 0 0 0 1 0 1 -
M1CPTA2005I
6-73 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
L1 L1-2 L2 S00 S01 S10 S11 86T1 DFB1 86T2 DFB2 MAN ACT COMMAND
0 1 1 1 0 0 0 1 0 0 0 0 1 -
0 1 1 1 0 0 0 0 1 0 0 0 1 -
0 1 1 1 0 0 0 0 0 1 0 0 1 -
0 1 1 1 0 0 0 0 0 0 1 0 1 -
0 1 1 0 0 1 0 1 0 0 0 0 1 -
0 1 1 0 0 1 0 0 1 0 0 0 1 -
0 1 1 0 0 1 0 0 0 1 0 0 1 -
0 1 1 0 0 1 0 0 0 0 1 0 1 -
0 1 1 0 1 0 0 1 0 0 0 0 1 -
0 1 1 0 1 0 0 0 1 0 0 0 1 -
0 1 1 0 1 0 0 0 0 1 0 0 1 -
0 1 1 0 1 0 0 0 0 0 1 0 1 -
0 1 1 0 0 0 1 1 0 0 0 0 1 -
0 1 1 0 0 0 1 0 1 0 0 0 1 -
0 1 1 0 0 0 1 0 0 1 0 0 1 -
0 1 1 0 0 0 1 0 0 0 1 0 1 -
L1 L1-2 L2 S00 S01 S10 S11 86T1 DFB1 86T2 DFB2 MAN ACT COMMAND
1 1 1 1 0 0 0 1 0 0 0 0 1 -
1 1 1 1 0 0 0 0 1 0 0 0 1 -
1 1 1 1 0 0 0 0 0 1 0 0 1 -
1 1 1 1 0 0 0 0 0 0 1 0 1 -
1 1 1 0 1 0 0 1 0 0 0 0 1 -
1 1 1 0 0 0 0 1 0 0 0 1 -
1 1 1 0 0 0 0 0 1 0 0 1 -
1 1 1 0 1 0 0 0 0 0 1 0 1 -
1 1 1 0 0 1 0 1 0 0 0 0 1 -
1 1 1 0 0 0 0 1 0 0 0 1 -
1 1 1 0 0 0 0 0 1 0 0 1 -
1 1 1 0 0 1 0 0 0 0 1 0 1 -
1 1 1 0 0 0 1 1 0 0 0 0 1 -
1 1 1 0 0 0 1 0 1 0 0 0 1 -
1 1 1 0 0 0 1 0 0 1 0 0 1 -
1 1 1 0 0 0 1 0 0 0 1 0 1 -
L1 L1-2 L2 S00 S01 S10 S11 86T1 DFB1 86T2 DFB2 MAN ACT COMMAND
M1CPTA2005I
1CPT: Substation Central Unit 6-74
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-75 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-76
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-77 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-78
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
- All of the previous information for the control function for HIGH VOLTAGE STATUSES is
valid.
- All of the previous information for the control function for HIGH VOLTAGE MANEUVERS
is valid, except for the input signals to the control function, the sequences to be executed
and the operations to be performed in each sequence, reflected in the tables below (note
that preference AB is not taken into consideration when selecting the sequence to be
executed).
M1CPTA2005I
6-79 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-80
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
- All of the previous information for the control function for MEDIUM VOLTAGE
MANEUVERS is valid, except the input signals to the control function and the
sequences to be executed, which are reflected in the tables below:
M1CPTA2005I
6-81 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
- In this case, the control function for SWITCHING DUE TO PROTECTION TRIPPING
operates when the DISP_DEF signal is activated or 86A trips. In both cases, the control
function goes to manual (MAN) mode. The input signals to this control function and the
sequences to be executed are reflected in the tables below.
Table 6-47: Switching Due to Protection Tripping Control Function Input Signals
Input Origin
ULA Presence / absence of voltage on line A
ULB Presence / absence of voltage on line B
89LA_C Disconnect switch 89LA closed
89LB_C Disconnect switch 89LB closed
52AB_C Breaker 52AB closed
86TA_ACT Trip 86A
86TB_ACT (Not used)
MAN Manual
DISP_DEF Definitive trip
AUT_ACT Control function condition active
When a loss of voltage is detected on the buses, the control function opens all of the breakers
connected at that time; and after checking for voltage on the different power supply lines, it
proceeds to consecutively close each of the breakers, according to preset programming.
This control function is structured in the form of independent units: one central unit and as many
terminal units as there are high voltage breakers. The central unit of the ERAS is made up of
three independent automata: UCERAS1, UCERAS2 and UCERAS3. There is an In service /
Out of service setting, which affects all of the central unit’s automata.
The detection of an external close not generated by the ERAS at the terminals that are picked
up takes place at the ERAS’ terminals themselves. When any terminal detects this situation, it
sends a signal to the ERAS to block it.
The S_TX signal is used as an input for the terminals, which are alerted to this situation through
this signal and then proceed to reset. The ERAS (UCERAS2 control function) is reset because
this signal has been detected and the terminals have been reset.
Each of the ERAS’ terminals is made up of four automata: TERAS1, TERAS2, TERAS3 and
TERAS4. There is an IN SERVICE / OUT OF SERVICE setting for each of the terminals, which
affects all of the automata.
M1CPTA2005I
1CPT: Substation Central Unit 6-82
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
6.8.5.a UCERAS1
This automaton is responsible for controlling the Blocked statuses. When the automaton is
started, signal S_BLQ goes to 0 and signal S_CIEXT to 0, and the status changes to X_NBLQ,
described below.
• Statuses
• Contact Inputs
• Contact Outputs
M1CPTA2005I
6-83 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• Commands
• Flow Chart
6.8.5.b UCERAS2
This automaton is responsible for issuing close commands to the terminals in reset conditions,
according to the priorities set.
When the automaton is started, signal S_ARR goes to 1 and the status changes to
X_REPOSO, described below.
• Statuses
M1CPTA2005I
1CPT: Substation Central Unit 6-84
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• Contact Inputs
• Contact Outputs
• Commands
M1CPTA2005I
6-85 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• Settings
As can be seen, there are two reset time settings for each terminal: AJ_TREP(N) and
AJ_TREPLRL(N). You select one or the other depending on the type of pickup:
AJ_TREPLRL(N) is used when the S_ARRLRL signal is active.
• Flow Chart
Functions used in the status changes of the automaton:
There is a selection function that determines the next terminal to be reset, according to the
priorities set. There is a table that determines the order (M) according to the priority settings and
to the terminals in service and picked up. Only terminals that are in service and picked up are
reset. The one with the highest priority is chosen from among all the ones that are picked up
and have reset conditions.
Once the close command has been given to a terminal, a selection is made from among those
with the highest priority from the remaining ones that are picked up, bearing in mind the fact that
others with higher priority may have reached reset conditions, and these will have to be taken
into account.
In other words, the list of terminals to be reset may vary because some terminals lose reset
conditions, because others reach them (change in S_ARR(N) from 0 to 1) or because some
have been reset. A terminal that has already been reset will only get back on the list if a change
from 0 to 1 in its S_ARR(N) signal is detected.
M1CPTA2005I
1CPT: Substation Central Unit 6-86
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
6.8.5.c UCERAS3
This automaton is responsible for controlling the Excessive Reset Time. When the automaton
is started, signal S_TX goes to 1 and the status changes to X_EXREP, described below.
• Statuses
• Contact Inputs
• Contact Outputs
• Commands
• Settings
• Flow Chart
Functions used in the status changes of the automaton:
M1CPTA2005I
6-87 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
6.8.5.d TERAS1
This automaton is responsible for controlling the Blocked (BLQ) statuses. When the automaton
is started, signal S_TBLQ goes to 0 and the status changes to H_NBLQ, described below.
• Statuses
• Contact Inputs
• Contact Outputs
• Commands
• Logic
The VB signal to be used by the automaton will be determined by the position of the line
disconnect switches in the case of a double bus. Of the two voltages available, the one
corresponding to the closed disconnect switch will be used.
M1CPTA2005I
1CPT: Substation Central Unit 6-88
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
6.8.5.e TERAS2
This automaton is responsible for undervoltage opening and for detecting pickup (ARR) and
reset (REP) conditions, as well as for giving the close commands received from the ERAS
central unit.
It controls the functions for faults on buses and lines, as well as the close orders for cut-outs.
• Statuses
• Contact Inputs
M1CPTA2005I
6-89 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• Contact Outputs
The S_AVBA and S_AVBB signals will be generated from S_AVB, taking into consideration to
which bus the terminal is connected.
M1CPTA2005I
1CPT: Substation Central Unit 6-90
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• Settings
The EB, EL, AT, LRL and LRB settings may be simultaneous.
• Logic
The VB signal to be used by the automaton, as well as the 98Tt/B signal, will be determined by
the position of the line disconnect switches in the case of a double bus. Of the two voltages and
98Tt/B available, the one corresponding to the closed disconnect switch will be used.
In the case of a double bus, there will be two S_AVB signals (signal for fault on a bus). A
terminal will generate one signal or the other depending on what bar it is connected to.
Likewise, one signal or the other will be used to control the blocking automaton (TERAS1).
• Flow Chart
The following functions will be used in the description of the flow chart:
M1CPTA2005I
6-91 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
6.8.5.f TERAS3
This automaton is responsible for detecting whether bus and line voltages drop while the fault
check is being performed. This is necessary because the length of time that the voltage drop
must last in order for there to be a fault is 2 s, while the verification time is 3 s; in other words,
they are two different times that must run simultaneously.
• Statuses
• Contact Inputs
• Contact Outputs
• Logic
The VB signal to be used by the automaton, as well as the 98TtB signal, will be determined by
the position of the line disconnect switches in the case of a double bus. Of the two voltages and
98Tt/B available, the one corresponding to the closed disconnect switch will be used.
M1CPTA2005I
1CPT: Substation Central Unit 6-92
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
6.8.5.g TERAS4
This automaton is responsible for determining whether the breaker has been closed long
enough to pick up the terminal.
• Statuses
• Contact Outputs
M1CPTA2005I
6-93 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• Operation
The following table shows what these signals are and how the terminals are mapped in the
control function’s signals as a whole. The fixed digital signals are:
M1CPTA2005I
1CPT: Substation Central Unit 6-94
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-95 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
(1) UCERAS1 = automaton belonging to the ERAS control function, responsible for controlling Blocked
statuses.
(2) UCERAS3 = automaton belonging to the ERAS control function, responsible for controlling excess reset
time.
UCERAS2 = automaton belonging to the ERAS control function, responsible for issuing close commands to
the terminals in reset conditions, according to the priorities set.
M1CPTA2005I
1CPT: Substation Central Unit 6-96
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-97 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
1. These signals are NOT implemented into 1CPX-A and 1CPP-A relays.
2. Indicates that the NTP Server is in the same subnet as 1CPT. These signals are only used in 1CPT relays.
Refer to the meaning of these signals in the Annex.
3. Indicates the NTP server with which the last synchronization is made.
4. Indicates that server n sends a date and time with wrong format or not responding.
5. Indicates that server n sends a date and time with correct format but with one indication or unreliable time
flag. These signals are only used in 1CPT relays.
6. Indicates that the time difference between the time received from server n and the internal time of the central
unit exceeds the value configured in sntp.cfg, and therefore the central unit does not synchronize its internal
time with the time received from server n. These signals are only used in 1CPT relays.
M1CPTA2005I
1CPT: Substation Central Unit 6-98
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-99 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The input and output variables that may be used in the different operations are shown in the
following table:
M1CPTA2005I
1CPT: Substation Central Unit 6-100
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Apart from these variables, settings can be used in the TEMPOR, DNIVEL and CMPCONT
operations. The settings have the AJn format, where n varies between 0 and NumAjs-1, and
NumAjs is the number of settings configured. They can be used in the above operations instead
of the fixed parameters.
These settings may be modified during execution from the operating console. If fixed values are
used in the parameters of the TEMPOR, DNIVEL and CMPCONT operations, they can only be
modified from the logic editor included in Zivergraph®. However, if settings are used, they may
be changed at any time from the respective Control Function Configuration screen in the
operating console.
Setting changes take place immediately, as soon as they are sent from the operating console.
The level detectors (DNIVEL) begin operating with the new values. Any timers that were running
at that moment are reset and start counting from the beginning. In other words, if a timer is
running and it has to count 8 seconds, if any logic setting is changed (it does not necessarily
have to be the setting relating to that timer) when 6 seconds have elapsed, this timer would start
over again and would finish at the end of 14 (6+8) seconds. This overcounting only happens the
first time after a setting change, and only if the timer is running.
This logic program is created using the logic editor included in the Zivergraph® software.
The different operations that can be performed in this programming are listed below.
• OR
This is a logical OR operation with several inputs and several outputs.
M1CPTA2005I
6-101 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• AND
This is a logical AND operation with several inputs and several outputs.
• XOR
This is a logical exclusive-OR operation with several inputs and several outputs.
• NOT
This is a logical NOT operation: it negates the input and assigns that value to the respective
outputs.
• CABLE
This is an assignment, i.e., the value of the input is assigned to the different outputs.
• FFRS
This is an RS flip-flop.
M1CPTA2005I
1CPT: Substation Central Unit 6-102
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• FFJK
This is a JK flip-flop.
• COMMAND
It executes a command in the following way:
If the input signal is activated (goes from 0 to 1 or vice versa if it is negated), the command
indicated with the desired operation code is executed, and whatever value the input signal has
is assigned to the outputs.
Commands
belonging to the
LOGICA virtual
unit itself may not
be used as a
command
parameter in this
logical operation,
because it makes
no sense for a
unit to send
commands to
itself. Its
operation is
shown in figure.
• FMANDO
This is a variation of the preceding function: if the input signal is activated, the command
associated with the operation code indicated is executed, and there is a delay of the time set for
the execution of the command to see whether the test signal is activated. If it is activated during
that time, the “command executed” output signal will be activated. If it is not activated during the
time set, the “command not executed” output will be activated.
Commands belonging to the LOGICA virtual unit itself may not be used as a command
parameter in this operation, because it makes no sense for a unit to send commands to itself.
M1CPTA2005I
6-103 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• ESC
This is a function
that executes the
output writing
indicated with the
activation operation
code if the input
signal is active, or
with the
deactivation
operation code if
the input signal is
inactive. In
addition, whatever
value the input
signal has is
assigned to the
outputs.
Figure 6.21 Operation of the ESC Logical Operation.
• TEMPOR
This is a timer whose
operation is shown in
Figure 6-22.
TA and TB are
expressed in full
seconds.
• DNIVEL
This is a range evaluator
which works as follows:
M1CPTA2005I
1CPT: Substation Central Unit 6-104
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
• CONT
It is a Pulse Counter, which increases when an ascending pulse is introduced into the Q input
and resets if it receives an ascending signal from the other R input. In case both inputs activate,
a counter reset will occur.
The number of defined counters must not surpass a maximum value stipulated as 10 counters.
• CMPCONT
It is a Counter Comparator, in such a manner that a value of a counter is compared with the set
point value (Vc), fixed or declared in a logic adjustment. If the value is greater or equal to it, the
definite output signal will activate. Otherwise, said signal will deactivate.
The number of defined counter comparators must not surpass a maximum value stipulated as
10 counters.
M1CPTA2005I
6-105 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Here, the word “remote” not only stands for “distant” but also refers to a different function. Local
web clients are usually in a PC WorkStation beside the 1CPT, whereas remote web clients are
usually outside the substation. However, configurations with both consoles outside or inside the
substation are possible. The distinctive function of each are maintained no matter the physical
location.
Connection of said remote access can be: RTC line, GSM line, dedicated line and Ethernet
network. Access through direct serial connection (cable or fibre optic) is not possible and a
telephone modem is compulsory. Connection to an Ethernet network is carried out via device
internal LAN ports, with RJ45 connection.
From the functional point of view, up to six remote web clients can be connected simultaneously
to the 1CPT integrated Web Console.
Discerning between local web client and remote web clients will be carried out via the
configuration of the IP address used by the local web client in the 1CPT integrated Web
Console. The difference between IP addresses enables discerning, partly, the functions allowed
for each type of web client, as shown below.
All clients connected to the 1CPT Web Console, whether local or remote, will receive the same
events and alarms. The maximum number of alarms received is 250. The maximum number of
events can be configured, 500 being the default value. These parameters are shared by all the
1CPT integrated Console Web clients.
There is the possibility to enable (or not) command execution from remote Web clients. A
parameter within the 1CPT Web Console enables configuring different remote access functions.
For instance, a remote web client can be used as a second console to allow the execution of
commands or, on the contrary, remote web clients can be configured only for display mode (for
more information please refer to the 1CPT Web Console manual).
This remote access basically provides the same functions than the local web Client connection.
From a remote web client, the 1CPT cannot be configured with a new configuration. This
operation can only be carried out from the local web client.
Access of a Remote web client to the 1CPT Integrated Web Console via an Ethernet network
using TCP/IP protocol involves no difficulties it being enough to configure, in the 1CPT
Integrated Web Console, the IP address of the Local web Client and the parameter that enables
/ disables the capacity to execute commands from Remote web Clients (for more information
please refer to the 1CPT Web Console manual).
However, when a telephone line is used (whether RTC, GSM or dedicated), the 1CPT remote
access server must be configured stating the serial port RS-232 (COM1 or COM2) used for the
connection, as well as the type of the connection itself.
M1CPTA2005I
1CPT: Substation Central Unit 6-106
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
6.12 Commands
There is a task in the 1CPT known as MANDO which is responsible for managing commands
for different elements in the installation not associated to a specific command execution task.
The desire to perform a command may come from outside the 1CPT (of a web client connected
to the integrated operations console or remote control room console) or internally (the logic or a
control function). The final destination of the command may be a position IED (UCP) or the
1CPT. This intention is collected by the MANDO task, which processes it and routes it towards
the final destination after performing a series of checks. In case the command receiver is
associated to a specific command execution task, as is the case for IEC-61850 devices, the
command is captured and processed by the task, which, in turn, routes it towards the final
destination after performing a series of checks.
The MANDO task first checks to see whether the element is already in position. If so, the
command is not given. For this to take place, the status signal associated with the command
must be configured in Zivergraph®. If this signal is not configured, no verification takes place.
After this filter, verification is made of whether there are any blocks at the 1CPT level. If there
are block signals configured and any are active, the command will not be given. Otherwise, it
will follow its route.
If the destination is an internal logic equipment of the 1CPT, it is sent to the respective task to
be carried out. If it is an external unit, the command is sent to that unit.
If the command is external, the unit may, in turn, have its own blocking logic and command
management. As a result, we will generally obtain positive or negative confirmation of the
command being performed. In some cases, we will also obtain the reason why the command
was not performed. This information is once again received by MANDO, which processes it and
sends it back to the command requester.
The accompanying figure shows a schematic diagram of the route that commands take through
the 1CPT. Depending on the configuration and on the model of the UCP, the checks and results
may be different.
M1CPTA2005I
6-107 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
If we put an IED in local mode, we may want the rest of the IEDs associated with it (same bus,
transformer, etc.) to also be put in local mode, thus preventing operations from being performed
on them from the remote control office.
This function is standard in the 1CPT. Using configuration information, the MANDO task
monitors the status of the LOCAL / REMOTE CONTROL signals from all of the IEDs that have
been configured within a command group. Whenever any of these changes its status, MANDO
initiates commands to the rest of the IEDs, in order to put them in the same status as the one
that changed.
This control function is used to transmit signals horizontally between different units through the
1CPT, thus avoiding the need for wiring between them.
For example, bus voltage is usually measured by the unit associated with the coupling IED. This
unit’s inputs are wired to the outputs of the medium voltage transformers. This unit has the
analog value of the voltage measurements. The rest of the units connected to this bus do not
need the analog value of the voltage; they only need to know whether or not there is voltage on
the bus. This information is calculated by the coupling IED and is sent to the 1CPT through the
communications protocol. The 1CPT takes this signal and sends it to any units that need it. This
operation is performed whenever a change is detected in the originating signal: presence of
voltage on buses.
M1CPTA2005I
1CPT: Substation Central Unit 6-108
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
This functionality can be applied to a multitude of signals in the substation. The 1CPT makes it
possible to transfer signals horizontally between different bay IEDs. The use of this function
depends on the configuration and the installation.
These commands are affected by the blocking logic explained in point 6.10.1.
In the same way as the 1CPT overall task for command processing, MANDO task, operates, the
main task corresponding to the 1CPT IEC61850 module first checks whether the element is
already in position. If the answer is yes, the command is not executed. To this end the status
signal associated to the command in the Zivergraph must be configured. This check will not
take place if said signal is not configured.
After this filter, the 1CPT is checked for blocks. If there are some blocking signals configured
and any is active, the command is not executed. Otherwise, it proceeds to send the command
to said device through the applicable communications service.
The device can have in turn a blocking and command management logic. As a result, a
confirmation on whether the command has been executed or not will be received. In some
cases, the reason for command failure will also be received. Said information is again received
by the IEC61850 task, which after processing sends it back to the petitioner.
6.13 LEDs
The 1CPT has 4 configurable LEDs at the right side of the front panel. Any digital signal from
the database may be assigned to these LEDs. When the associated signal is active, the LED
will light up, while if it is not, the LED will remain off.
For each LED, the associated signal, whether it is negated and whether it is flashing can be
configured. If it is configured as flashing, it is possible to indicate the frequency of said flashing.
The reading logic of the digital inputs has a debounce filter. The status must be maintained for
at least 3 reading periods for a change to be considered valid.
M1CPTA2005I
6-109 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
There is a specific task responsible for performing the work related to this functionality.
As the 1CPT’s disk is limited in size, files are stored using a FIFO system. When a new file is
created every night at midnight, the oldest file is deleted. The number of days that the 1CPT
stores the information is, at first, configurable, but it depends on the size of the flash disk and on
the amount of information one wishes to store.
These data files are extracted through the operating console, which exports them to swap files
so that they can be easily processed using commercial software.
There are three types of logs: for meters, for counters and for changes.
Every minute at second 0, a record is saved to disk of the values of the configured
measurements stored at that moment in the database. This data is stored in a file on the 1CPT's
disk, ordered in such a way that one file is created per day with all the data for that day.
Every period at second 0, a record is saved to disk of the values of the configured counters
stored at that moment in the database. This data is stored in a file on the 1CPT's disk, ordered
in such a way that one file is created per day with all the data for that day.
The data is also ordered in daily files with the same number of days stored as for the other
types of logs.
M1CPTA2005I
1CPT: Substation Central Unit 6-110
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
- Tool menu. It contains direct access to the capture and display menus of the three types
of data captured in the 1CPT: measurement history data, counter history data, signal
history data. In turn, these menus consist of different submenus as a function on whether
a graphic type report (measurements and counters) or chart type report (measurement,
counters and signals) is to be created.
- Connection menu. Allows to specify the connection parameters to the 1CPT such as the
IP of the specific equipment together with the related user name and password.
- Work area. It is the part of the application where the selection, configuration and display
screens of the reports to be generated are shown.
M1CPTA2005I
6-111 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
In case there is an error in the relay access data or this is not available, the message below will
be displayed notifying the connection attempt error.
Otherwise, if the relay is available and a connection has been possible, the user will be notified
by means of the confirmation message below.
Once the connection is established, the user can select the type of report to be generated. In
case of signal and measurement data, the user can choose from configuring a Graphic type or
a Chart type report. In case 1CPT events are to be captured, the only possible display is Chart
type.
In parallel with the frontend of the report display, a script or daemon has been worked out for
daily capture of data measured by the remote relays. If the PC where the application is being
run contains also this script, the database will gradually be filled without the intervention of the
user. If this is not the case, the initial database together with the applicable configuration folders
will be created during the first application run.
M1CPTA2005I
1CPT: Substation Central Unit 6-112
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-113 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Once the existence of data has been checked within the required range, and having selected
the option for graphic type report generation, the Configuration screen is displayed. Here the
user sets the parameters on which the record curve will be generated.
For measurement reports, the user can set up the sampling scale (minutes, hours, days,
months or years) as well as the values to be displayed (normal values, mean values, minimum
and maximum values).
M1CPTA2005I
1CPT: Substation Central Unit 6-114
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
In the configuration window, the user can select up to a maximum of ten elements from the
ones recorded by the 1CPT.
The curve colour and the report title, in case the default title is not representative enough, can
be selected, as well as the elements to be displayed at any time.
This configuration can be changed as many times as required when generating the display
data.
M1CPTA2005I
6-115 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Every time the selected configuration is confirmed, the application will capture from the
database the records required and will draw the graphic curve based on the above defined
parameters. If the Interpolation option is deactivated, the curve will be built by sections, and
can be scrolled by means of the slider at the bottom of the screen.
M1CPTA2005I
1CPT: Substation Central Unit 6-116
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
If the Interpolation option is activated, the application will display the complete evolution of the
curve in only one screen, adjusting the sampling range as required.
M1CPTA2005I
6-117 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-118
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Configuration of report
attributes will allow the
user to select up to ten
elements from the ones
configured in the 1CPT
as well as the names to
be shown at the columns
of the charts in case the
default values were not
representative enough.
Figure 6.41 Chart Type Display of the Measurements Recorded in the 1CPT.
M1CPTA2005I
6-119 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
For chart type reports, two types of export are possible as required: PDF format or Excel
format. The same as before, configuration parameters can be entered through the submenus
located at the File menu.
M1CPTA2005I
1CPT: Substation Central Unit 6-120
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-121 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-122
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-123 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
6.17 Redundancy
6.17.1 Introduction
This section describes the operation of the Substation Control and Protection System (PCS)
with Hot Stand By, for Fibre Optic star topology with PROCOME protocol devices and network
topologies for IEC61850 protocol devices.
In view of the different criteria to refer to the various substation components, we establish that,
from now on, the term Substation Control and Protection will be used to refer to the devices
constituting it: Central Unit (1CPT) and HMI (PCD). The Central Unit itself is referred to as 1CPT
and the HMI as PCD.
In as much as the 1CPT activity status, it will be construed as active while it is interrogating
devices and communicating with the Substation Control Centre (COS), whereas it will be
construed as passive while it is in stand by.
With reference to the activity status with which 1CPT devices must start within the redundant
system, 1CPT devices can be classified as primary, it being the device that will initially under
normal circumstances start in active status (device interrogation and communication with COS)
and secondary or backup, which will start in passive mode, waiting for problems to occur or
operator command to take control.
Primary and secondary classifications are not interchangeable between both 1CPT devices,
namely, by configuration, one 1CPT device will be associated with the roll of primary whereas
the other, also by configuration, will be permanently the secondary 1CPT.
This classification extends to PCDs depending on which 1CPT they are connected to and which
is their status. Thus, the primary PCD will be connected to the primary 1CPT and will be active
if the 1CPT is active; on his part the secondary PCD will be connected to the secondary
1CPT and will be active if the 1CPT active. There exists another modality in which only one
PCD exists, which will be connected to the active 1CPT.
The figure below shows graphically the Hot Stand By redundant system architecture with
IEC61850 devices.
M1CPTA2005I
1CPT: Substation Central Unit 6-124
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Figure 6.50 Hot Standby Redundant System Architecture with IEC61850 Devices.
M1CPTA2005I
6-125 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The figure below shows the redundant system architecture using star topology, which is the
level 1 topology adopted in case of using PROCOME protocol devices.
M1CPTA2005I
1CPT: Substation Central Unit 6-126
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Figure 6.52 shows the redundant system architecture with PROCOME protocol devices
connected with star topology using Terminal Servers (CIC). This architecture will be used when
the number of 1CPT connected devices is high.
Figure 6.52 Assembly Architecture with Level 1 Star Topology using CIC.
The above figures are schematic in as much as there could exist more bay devices connected
to the 1CPT, as well as other interface elements for other devices: converters, switches, etc.
Also, other devices with other protocols connected to the 1CPT could exist using the same or
similar topology; however, these devices will not be part of the system switch over conditions.
M1CPTA2005I
6-127 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Under normal operating conditions, the primary 1CPT will be in active mode carrying out the
interrogation function on level 1 devices, execution of substation logic, execution of the different
automatic controls, communication with the remote control room, etc., whereas the secondary
1CPT will be in passive mode, receiving, on the one side, events and alarms sent by the
primary 1CPT and, on the other side, monitoring the status of the primary 1CPT and the status
of the communications between the latter and level 1 devices, in order to take control of the
substation in case the primary 1CPT goes out of service.
It must be made clear that 1CPT in passive mode, whether primary 1CPT or secondary
1CPT, will not perform substation logic, execution of the different automatic controls,
communications with the remote control room, although it will update level 1 device databases
on the part of the other 1CPT, in such a way that when switched to active it will not produce
coherence changes. The HMI associated to the passive 1CPT will show updated level 1 device
databases as well as events and alarms generated at the substation, as the active 1CPT sends
to the passive 1CPT every event and alarm generated by level 1 devices and 1CPT logic
devices.
The two Central Stations will be communicated via a configurable redundancy channel that can
be:
This communication will allow a 1CPT to know the status of another 1CPT, interchange events
and alarms received from bay devices, as well as to transmit level 1 device databases and
commands to change from a 1CPT the activity status of the other 1CPT.
In case of IEC61850 topologies, 1CPTs can also be connected through own digital input /
output signals, as a redundancy channel backup for interchanging just the status of each 1CPT.
This is useful when on the failure of the redundancy channel (serial or LAN), both 1CPTs can
know the status of the other, only one being active at any time.
M1CPTA2005I
1CPT: Substation Central Unit 6-128
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The redundancy status of the 1CPT is sent to the other 1CPT through 6 digital outputs:
- The first 3 outputs (SR1, SR2, SR3) to send the status as a 3 bit code.
- The next 3 outputs (SR1, SR2, SR3) to send the complement of said status in order to
check at the target terminal the correct operation of the outputs of the other 1CPT and
the inputs of the own 1CPT (checking that the status received through the 3 first inputs
is complementary to the status received through the next 3) thus inferring that the status
is valid and reliable.
The redundancy status of the other 1CPT is received through 6 digital inputs:
- The first 3 inputs (ER1, ER2, ER3) to receive the status as a 3 bit code.
- The next 3 inputs (ER1, ER2, ER3) to receive the complement of said status in order to
check at the target terminal the correct operation of the outputs of the other 1CPT and
the inputs of the own 1CPT thus inferring that the status is valid and reliable.
Coding the 1CPT redundancy status using 3 bits results into the following:
Figure 6.53 shows the wiring between the two CPTs to interchange the redundancy status
through digital Inputs / Outputs:
When 1CPT devices are interrogating level 1 devices and communicating with COS, they are
considered to be active, whereas if they are not performing any of these operations, they are
considered to be passive.
M1CPTA2005I
6-129 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Automatic switch over means the mechanism by which the primary 1CPT (which was in active
mode) goes out of service on any problem and consequently the secondary 1CPT (which was
in passive mode) reacts and switches to active mode, without external intervention. Under this
situation, if the primary 1CPT recovers, this will automatically switch to passive mode and both
1CPT devices will remain in this situation until the operator manually restores the system to the
normal operating condition, or until the system makes it automatically upon the occurrence of
any problems with the secondary 1CPT.
When the redundant system switches again to normal operation, where the Active 1CPT is the
primary 1CPT and the Passive 1CPT is the secondary 1CPT, is known as automatic system
reset.
The automatic switch over of the redundant system will be controlled by the following indicators:
A necessary condition, in order for the automatic redundant system switching (switch
over and reset) to operate correctly, is the permanent connection between both 1CPT
devices, allowing them to know the activity status of the other 1CPT. This condition guarantees
the stability of the system, meaning that one 1CPT is in active mode and the other in passive
mode. Otherwise, error situations could be reached (of low probability of occurrence), which
could bring the redundant system to a situation of incompetence, in which the secondary 1CPT
attempts to switch to active mode, with the primary 1CPT operating also in active mode. This
situation will be present when the secondary 1CPT, which is in passive mode, has problems in
obtaining the status of communications between it and bay devices (hardware or
communications software problems).
CPTs in active mode are in charge of interrogating bay devices, updating data sent by them to
the 1CPT real time database. Also, the active 1CPT will transfer the data received to the
associated HMI and the COS.
M1CPTA2005I
1CPT: Substation Central Unit 6-130
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
On the contrary, 1CPTs in passive mode do not interrogate bay devices and, thus, cannot keep
its real time database updated. This is the reason why it cannot respond to requests received
from the COS, nor will it have its internal logic or internal automation functions operative, nor will
it allow the execution of commands on substation bays and can just attend possible manual
switch over commands received from the associated HMI or commands received via the
connection with the 1CPT in active mode. However, it can make use of every substation event
or alarm, as they are sent by the active 1CPT provide the connection between both 1CPT
devices is operative, as well as of the level 1 device databases.
From the data sent by bay devices and received by the active 1CPT, events and alarms will be
drawn up which will be transferred to the passive 1CPT via the redundant channel (serial or
LAN), in order for both Operation HMIs to show the same information.
Both Operation HMIs will display on their event and alarm screens, events and alarms received
from their respective 1CPT devices.
In order for both Operation HMIs to show the same events and alarms, communication between
both 1CPT devices must exist sometime, so that if no communication ever exists between both
devices, the Active 1CPT must save said events and alarms in the Compact Flash. In this way,
when the communications channel between both 1CPT devices is restored, events and alarms
saved into the Flash disc of the 1CPT that has been active during the period in which said
communication did not exist, are sent to the 1CPT that was passive for this in turn to send the
same to the associated HMI.
On the other hand, it must be said that the contemplated Hot Stand By redundant system will
not transfer configuration and settings changes carried out in one Control Station to the other
Control Station, but it will the operator’s responsibility to transfer said changes from one Station
to the other. A mechanism will exist, which, based on the connection between both 1CPT
devices, will validate that both CPTs have the same configuration (except for the setting
indicating whether the 1CPT operates as primary or secondary). To that effect, it will compare
cyclic redundancy codes or CRC calculated in advance from CPTs configuration, so that if
differences between the configurations of both CPTs are detected, each 1CPT will generate its
own alarm to indicate different configurations between both 1CPT devices, which will reach on
the one hand the COS from the active 1CPT, and on the other hand both Operation HMIs.
Figures 6.54 and 6.55 describe the operation of the automatic switching mechanism, by
displaying the status diagrams that will govern the operation of each of both 1CPT devices,
displaying primary 1CPT and secondary 1CPT status diagrams respectively:
M1CPTA2005I
6-131 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
1CPT: Substation Central Unit 6-132
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
M1CPTA2005I
6-133 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
a) PICK-UP: This status is reached after rebooting the 1CPT, in which the initialisation
process of the different modules that constitute the 1CPT software are carried out.
b) LEVEL 1 COMMUNICATIONS SET UP: This status is reached when the 1CPT tries to
take control of the level 1 device network as a previous step towards the active status.
In this status the level 1 device network is surveyed to establish whether there are any
communications with any level 1 device connected to the 1CPT.
In case of IEC61850 devices, it will be checked whether there is any MMS association
established with any relay.
In case of PROCOME devices, several interrogation cycles will be used to find out the
link status of every bay device configured in the CPX, with the end purpose of
determining if communication with any bay device has been established.
c) PASSIVE: This status is reached when the 1CPT cannot switch to active status and
also when it exits the same. In this status, the 1CPT, apart from monitoring changes in
the activity status of the active 1CPT, goes into listening mode to monitor whether there
is level 1 line activity. For IEC61850 devices, the existence of any Report Control Block
(hereafter RCB) is checked, which means that the other 1CPT is in active status and
has enabled the RCBs. For PROCOME devices, it goes into listening mode to monitor,
in level 1 lines, bay device feedback in response to the interrogations of the other CPX
(that is in active status).
Not all passive 1CPT functions are operative, but on the contrary, the operability of the
internal Logic, Command and Automation modules will be disabled. Only switch over
commands from the associated HMI or commands sent by the other 1CPT via the
communications channel between both 1CPT devices will be executed, apart from
database refreshment with refresh data and changes from the other 1CPT.
The HMI associated to the Passive 1CPT, will be updated in real time, provided the
connection between both 1CPT devices is available, with the events, alarms and refresh
data sent from the active 1CPT to the passive 1CPT, via their communications
channel.
Nor will the communications with the Remote Control station be enabled.
M1CPTA2005I
1CPT: Substation Central Unit 6-134
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
In this status, the 1CPT monitors the activity of level 1 line communications (checking
whether RCBs are enabled from the other 1CPT, which means it is active) and also
monitors the status of the other 1CPT in order to be able to carry out the automatic
switching of the system, whether on a switch over basis (Primary 1CPT passive and
Secondary 1CPT active) or reset basis (Primary 1CPT active and Secondary 1CPT
passive).
d) ACTIVE: In this status the 1CPT is in charge of interrogating bay devices and
processing the feedback from the same. Therefore, in this mode all functions featured
by ZIV Central Units, such as real time Databases, Logic, Commands and Automation
will be operative.
In this status, the 1CPT transmits in real time to the Passive 1CPT, provided the
connection between both 1CPT devices is available, the events, alarms and refresh
data received from bay devices, in order for the Operation HMI associated with the
1CPT that is in passive status, to display reliable substation data. Should the
connection between both 1CPT devices be out of service, events and alarms will be
saved in the Compact Flash of the Active 1CPT until communications are restored, at
which moment said data is transferred to the Passive 1CPT, which at the same time will
send it to the Operation HMI.
In a Control Station in active mode, the PROCOME transparent system will operate
with ZIV devices, through the 1CPT.
e) DEAD: This status means 1CPT problems with the network (its IP becomes 0.0.0.0) or
with the starting (file errors detected and indicating Incomplete Start).
In this status, the 1CPT is out of service for the redundancy. Under these
circumstances, the 1CPT cannot backup the other 1CPT.
The 1CPT will automatically exit the dead status to go into the passive status once the
problem is resolved (start completed or IP address recovered).
On the other hand, in this dead status the 1CPT will not execute switch over commands
from the associated HMI or the other 1CPT received via the communications channel
between both 1CPT devices.
On the other hand, a special feature of the redundant system is that during the starting phase
the Primary 1CPT has preference over the Secondary 1CPT to set to active mode, only if the
latter is not already in this mode or has already initiated to establish communications with bay
devices. This preference for starting solves the problem of taking control of level 1
communications, that is achieved by assigning to the Secondary 1CPT a greater starting time
than the time assigned to the Primary 1CPT. In this way, once the starting of the system has
initiated, if no communications have been established between both CPTs, the Primary 1CPT
will monitor level 1 lines to determine whether there is activity with bay devices before the
Secondary 1CPT, and, as the initial situation will be of no activity with the devices (RCBs are
disabled) the Primary 1CPT will set to active status and the Secondary 1CPT will set to
passive status.
M1CPTA2005I
6-135 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The essential feature of the automatic Hot Stand By redundant system switch over mechanism
is that if the Primary 1CPT, being in the active status at a given time, switches off or goes out
of service (due to a hardware or software problem), will switch to passive or dead status and
the Secondary 1CPT must take control and switch to active status, under which it will
interrogate devices and communicate with COS.
The switch over process, from the time the Active 1CPT switches off until the system is fully
operative, can take several minutes. After a communications loss with the other 1CPT, the
Passive 1CPT checks the status of level 1 communications, in order to discern whether the
other 1CPT has switched off or their mutual communication has been lost. Other factor affecting
the switch over time is the number of devices connected to the 1CPT.
If with a 1CPT operating in active mode, the other 1CPT is initiated, whether the communication
between both 1CPT devices is in service or not, the 1CPT that is initiated must monitor the
communications with bay devices and the status of the other 1CPT (provided the
communication between both 1CPT devices is available), and if it detects activity in level 1
lines, or the status of the other 1CPT prevents it to set to active status, it will remain in passive
mode; otherwise, it will try to set to active mode, going previously, if required, through level 1
communication set up status.
Moreover, another feature of the automatic switch over mechanism is based on the search for a
non balanced state of both CPTs, namely a situation in which both devices always have
opposed activity statuses (one 1CPT in active mode and the other 1CPT in passive mode). In
this way, provided there is communication between both 1CPT devices, if one device changes
the activity status (active / passive status), then the other 1CPT must automatically set to the
status just left by the first. If it is the Primary 1CPT the 1CPT that goes from passive status to
active status, this will be referred to as automatic reset, whereas if it is the Secondary 1CPT
the 1CPT that goes from passive status to active status, this will be referred to as automatic
switch over again.
However, after an automatic switch over (Primary 1CPT in passive status or out of service,
and Secondary 1CPT in active status), which remains stable (without problems in the
Secondary 1CPT), the resetting of the redundant system (Primary 1CPT set to active status
and Secondary 1CPT set to passive status) will be manual, namely, the Primary 1CPT in
passive mode cannot switch over spontaneously to active mode (if the Secondary 1CPT is in
active mode) even if it recovers from the error situation, but operator intervention will be
required. To this end, the possibility to carry out manual Control Station switch over and reset
will be provided, through commands from the Operation HMIs.
One more feature of the redundant system is its reaction upon lack of communications with bay
devices. If the Primary 1CPT is active then it must switch over to passive mode provided the
Secondary 1CPT is not dead, and the Secondary 1CPT will set to active mode. However, if
the Secondary 1CPT is active then it will switch to passive status if the Primary 1CPT is in
passive status.
If the communications channel between both 1CPT devices is out of service and the
Secondary 1CPT is in passive mode and moreover it does not detect any activity with bay
devices through level 1 lines, then it will leave the passive status in order to attempt to take
control of bay device network, switching to level 1 communications set up status. If
communications with any bay device is not achieved, then the Secondary 1CPT will switch
back to passive status.
M1CPTA2005I
1CPT: Substation Central Unit 6-136
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
When automatic redundant system switch over or reset occurs, the 1CPT that sets to passive
mode sets the internal real time database to disabled status, and the 1CPT that sets to active
mode after updating bay device data in its real time database, will set it to enabled status for the
rest of 1CPT software modules (logic, automation, etc.). In this way, a controlled activation and
deactivation of both 1CPT devices will be guaranteed.
Any malfunction detected in the 1CPT of the Primary Central Station, causes a system
automatic switch over to the Secondary Central Station, whereas, a malfunction of the
Primary Central Station Operation HMI will not imply an automatic system switch over.
However, a manual system switch over can be made from the Secondary Operation HMI,
provided there is communication between both 1CPT. Loss of communications with the
Remote Control will not imply an automatic system switch over.
Also, provided the TCP/IP connection between both 1CPT devices is active, launching the
status change command on a 1CPT from its associated HMI will suffice, as the command will
be transferred to the other 1CPT, through their communications channel. Moreover, this
communication between both CPTs will allow that, no matter over which 1CPT the system
switch over or reset command is initially executed, the sequence of the change in activity status
will always be initiated in the active 1CPT, which is set to passive in order to prevent both
CPTs from being in active status. Then, the passive 1CPT switches to active status.
This orderly redundant system switch over or reset sequence, in which the active 1CPT sets to
passive first, and then, the passive 1CPT sets to active, will prevent the loss of changes from
level 1 devices.
As the manual switch over and reset must be able to be carried out over one 1CPT, even when
no communications exist between both 1CPT, the status of the 1CPT over which the command
is issued (passive mode o active mode) and the status of communications between both 1CPT
must be taken into account and, in case the latter is not available, the status of communications
between the 1CPT and level 1 devices.
Therefore, two situations are contemplated for the manual redundant system switch over and
reset processes as a function of the status of communications between both 1CPT devices:
a) If communications between both CPTs is established, manual switch over and reset
commands can be issued from any Operation HMI, so as to guarantee that the status
change sequence of both 1CPT devices, initiates with the setting to passive mode of
the active 1CPT followed by the setting to active mode of the passive 1CPT. This
orderly sequence will be achieved through command transfer between both CPTs.
M1CPTA2005I
6-137 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
b) If communications between both CPTs is not established, system switch over or reset
must be carried out in sequence:
If the sequence above is not taken into account, when no communications is established
between both 1CPT devices and a manual command is issued to set the passive 1CPT to
active mode the command will be blocked in case this 1CPT detects level 1 line activity, which
indicates that the other 1CPT is active at that very moment.
As for manual switch over and reset commands, it must be guaranteed that the automatic
switch over mechanism remains disabled during the whole manual switch over and reset
process, whether communications are established between both CPTs or not. In this way, the
1CPT that has manually set to passive mode is prevented from setting back again to active
mode, by the action of the automatic switch over mechanism.
Once the manual switch over or reset process is completed, the automatic switch over
mechanism will be enabled again.
Only one of the 1CPT devices (the Active 1CPT) will interrogate bay devices, enabling the
Report Control Blocks and retrieving all changes and refreshed signals, measurements and
meters allowing the execution of operations on the same. The Passive 1CPT will also be
connected to bay devices, but only to monitor level 1 activity, namely, if there are enabled
RCBs.
CPTs are continuously checking whether there is level 1 line activity or not, in order to be able
to decide whether to switch over or not when there is no communications between the 1CPTs.
To this end, the task in charge of the redundancy will ask in a continuous fashion the task un
charge of device interrogation whether there is level 1 line activity or not. The task in charge of
device interrogation will be based on the existence of enabled RCBs (only the Active 1CPT
enables the RCBs) and device MMS associations, using the following criterion:
M1CPTA2005I
1CPT: Substation Central Unit 6-138
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
In the level 1 communications set up status, the 1CPT tries to determine whether there are
communications set up with level 1 devices. To this end it checks whether there are MMS
associations established.
- It is deemed there are communications with level 1 devices when the 1CPT has
been successful in establishing any MMS association with at least one bay
device.
- It is deemed there are NO communications with level 1 devices when the 1CPT
has not been successful in establishing any MMS association with at least one
bay device.
• PROCOME Devices
Devices are wired through fibre optic links to 4CCN type ZIV concentrator / diffuser devices,
which in turn are provided with two main fibre optic ports to allow for the connection, via fibre
optic links, to the Primary 1CPT and Secondary 1CPT. In case there exist CICs, the
connections will be made to CIC FO ports.
Only the active 1CPT will carry out the control interrogation cycle over bay devices, retrieving
all changes and refreshed signals, measurements and meters; and allowing the execution of
operations on the same. Also, only the active 1CPT will allow the transparent connection of the
Zivercom© through it to get access to protections.
Both 1CPTs will receive messages from the COS through the connection to the multiplexer
device, but only the 1CPT active at that time will respond.
On the other hand, a system switch over or reset will not be possible by commands issued from
the COS, and the Operation HMI must be used for that.
As mentioned above, the loss of communications with the Remote Control will not imply
an automatic system switch over.
Also, if the 1CPT is active, the applicable HMI will be Active, namely, and it will be the only fully
functional HMI.
M1CPTA2005I
6-139 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The manual switch over or reset of both 1CPTs can be carried out from any of the Operation
HMIs provided there is communication between said devices. That is, commands to switch the
Primary 1CPT to passive mode and the Secondary 1CPT to active mode, or system reset,
switching the Primary 1CPT to active mode and the Secondary 1CPT to passive mode can
be issued either from the Primary HMI or from the Secondary HMI, no matter if they are in
active or passive mode. Of course, in case there is only one HMI, this will only be able to
switch the Active 1CPT to passive mode, which will result in the other 1CPT being switched to
active mode.
Both HMIs must allow to perform all the operations and data consultations when Active.
However, when in passive mode, commands over the substation cannot be issued, except for
redundant system switch over or reset commands.
An HMI in passive status will receive in real time, provided the connection between both 1CPTs
is operative, every new event and alarm received by the active 1CPT from bay devices or
generated by any Central Unit logic device, as well as bay device refreshed data.
The Operation HMI will be considered a non-critical system device, so that a failed Primary HMI
does not imply system switch over. This does not reduce the operational capacity of the system
for if any operation must be carried out, the redundant system can be switched over from the
Secondary HMI and, once the operation is completed, reset back the redundant system.
- Mode 1: In this mode of operation both 1CPT relays will have different IP address to
allow the simultaneous connection of web clients. Both Local Operations Consoles
will be available (Primary 1CPT console and secondary 1CPT console), only one
being Active (the active 1CPT console at that time) providing the operator with full
operativeness via Web Client connection to the IP address of the active 1CPT. The
other console remains in Passive state showing substation events and alarms via
Web Client connection to the IP address of the passive 1CPT. This mode
corresponds to the a value of 0 for the parameter TipoRedundaHSB of the
redundancy configuration file (redunda.cfg).
M1CPTA2005I
1CPT: Substation Central Unit 6-140
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Two modes of operation are available for this type of HSB redundancy:
- Mode 1: In this mode of operation, the primary 1CPT and secondary 1CPT have their
own IEC-61850 substation data bus IP address. Only one 1CPT will be Active carrying
out typical 1CPT functions, as well as monitoring given critical variables, whereas the
other 1CPT will be in stand by ready to take over control of the substation when a
failure is detected. Both 1CPT relays can gain access to a web client connection to the
Integrated Web console so that the local operator can read the status of all substation
elements, events and alarms in both operations Consoles, but commands can only be
executed and settings changed from the Active 1CPT Integrated Web Console at that
time. This mode corresponds to a value of 2 for the parameter TipoRedundaHSB of
the redundancy configuration file (redunda.cfg).
- Mode 2: In this mode of operation the primary 1CPT and secondary 1CPT share the
same MAC address and IP address (virtual addresses) within the IEC-61850
substation data bus. Virtual MAC and IP addresses will only be activated in the active
1CPT at that time and will be the addresses used within the IEC-61850 substation
data bus with the rest of substation IEDs, as well as enable the web client connection
to the Active 1CPT Web Console. Therefore, the local operator will only have access
to the Active 1CPT Web Console.
However, each 1CPT will feature its own MAC address and IP address to carry out the
rest of the tasks derived from HSB redundancy, as well as maintenance operations
over the 1CPT devices themselves.
M1CPTA2005I
6-141 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
- UsaEntSalDig: Denotes whether digital inputs and outputs are used (1) or not (0) to
interchange the redundancy status of both Central Units. If it is not configured, the
default value is 0. This parameter is only available for 1CPT.
In case of CPTs with network redundancy, the IP address of the other 1CPT will be
configured in both CPTs.
- TipoRedundaHSB: This field states the HMI connection considered for each Hot Stand
By type of redundancy (see section 6.15):
HSB type 1 redundancy:
− If it is 0 (zero), there are two HMIs, each connected to one 1CPT.
HSB type 2 redundancy (1CPT):
− If it is 2, there are two HMIs, each connected to one of the CPTs, each with
its IP and MAC address.
− If it is 3, there is only one HMI connected to the Active 1CPT at that time.
Said HMI will be connected to a single IP address that is the one taken by
the Active 1CPT at that time (as well as a single MAC address if desired). In
this way, the active 1CPT will always be perceived as a single device, with
the same IP and the same MAC.
- VirtualIP: IP address of the Active 1CPT in HSB type 2 redundancy. In case this
address is to be used, parameter TipoRedundaHSB must be 3. Otherwise this IP
address will not be used. If it is not configured, this IP address will not be used by
default. This parameter is only available for 1CPT.
IMPORTANT: in case this address is used and, furthermore, a web HMI exists,
this same IP address value must be configured in field “ServerCurrentIP” of the
web HMI configuration file “ConsoleBaseConfig.xml” (refer to the CWE -
Embedded Web HMI - manual).
M1CPTA2005I
1CPT: Substation Central Unit 6-142
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
Also, UCSConf module continuously checks IED configuration and parameterisation changes
with the data stored in the module database, highlighting the differences detected.
UCSConf module is supported by two sub-modules that cooperate with each other to provide
the function of IEC61850 configuration server. One of the two sub-modules is a part of the
Central Unit application itself and, therefore, resides in the 1CPT relay, but the other sub-
module resides in the PC that operates as substation Workstation. The UCSConf sub-module
that resides in the 1CPT is in charge of checking via IEC61850 substation bus the parameters
that maintain parameterisation and configuration revisions in each substation IED and, also,
provides functions for the validation and activation of a new CID file pre-stored in the IED.
For its part, the UCSConf sub-module (UCS-Conf.exe software), outside the 1CPT, will be the
UCSConf database manager. This will be in charge of handling the substation configuration files
(SCD file) and IED configuration files (CID file). Also, it will keep a database centralised in the
PC Workstation with the latest revisions of the substation SCD and CID files.
This second sub-module will be linked on the one hand to the sub-module that resides in the
1CPT to capture in real time revised parameterisation and configuration data of IEDs connected
to the 1CPT, and will be linked to the UCSConf web interface at the request of the operator and
transmit updated data of the UCSConf database and will be linked to the IEDs to send or
retrieve CID configuration files via FTP protocol.
After completing the IED configuration and parameterisation stage, the engineering and
configuration tool will generate the SCD file, which gathers the final CID files of all substation
IEDs, and will later be uploaded to the UCSConf module. Once the SCD file with the substation
configuration is uploaded to the UCSConf module, this will operate as configuration provider for
all substation IEDs and operators.
M1CPTA2005I
6-143 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 6. Description of Operation
The UCSConf configuration server will have a web interface with a main page accessible (via a
control button) from the System Status Overall Screen part of the Central Unit Web Console
and from the main menu.
UCSConf module screens will show the status of the UCSConf module itself and the
configurations of all substation IEDs.
Operations available to the operator from the UCSConf WEB page are:
- Uploading substation SCD file to the UCSconf database, via USB or via FTP.
- Downloading substation SCD file from the UCSconf database, via USB or via FTP.
- Uploading the CID file of a substation IED to UCSconf database, via USB or via FTP.
- Downloading the CID file of a substation IED from the UCSconf database, via USB or via
FTP.
- Transfer of the CID file of a substation IED from the UCSconf database to the IED via
FTP, validation and activation of the CID file in the IED.
- Transfer of the CID file of a substation IED from the IED itself to the UCSconf database
via FTP.
- Date and Time: allows to change relay date and time from the keyboard.
- Language: allows to change menu language as well as the language of the information
shown from the different options.
- Software Update: allows to update central unit application software (file ucs.exe),
copying it from a USB disk inserted into the relay port.
- Test Mode Activation: only available for manufacturer use.
- Password Change: allows to change the password for the relay maintenance menu.
M1CPTA2005I
1CPT: Substation Central Unit 6-144
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
7. Alphanumeric Keypad and
Display
• Default Display
As you can see in figure 7.1, the default display shows the IED model, the date and the time.
During the start-up process, an icon can appear on the upper right corner of the screen
(alternating between and ) to show that the different software modules that constitute the
relay are being initiated (as well as first update of the real time database).
Finally, to point out that if the removable USB device is connected, the corresponding icon
will appear to the right of the second line.
M1CPTA2005I
1CPT: Substation Central Unit 7-2
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 7. Alphanumeric Keypad and Display
Confirmation Key
Key ENT is used to confirm a selection or after changing settings.
Escape Key
The ESC key is used to quit a screen in case no settings changes are required or
to quit a data screen or go back to previous menus. In any case, pressing this key
the system goes back to the previous screen.
Contrast Key
Press this key to modify the contrast level of the 1CPT display.
M1CPTA2005I
7-3 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 7. Alphanumeric Keypad and Display
• Function Keys
• Equipment Model.
• UCS Software Model.
• UCS Software Version.
• UCS Software Checksum.
• Version of the multitask operating system.
• Version of the TCP library.
Next screen shows data on the rest of DLL type 1CPT modules (Dynamic Link
Library:
M1CPTA2005I
1CPT: Substation Central Unit 7-4
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 7. Alphanumeric Keypad and Display
• Operative system
drawing number.
• UCS/RTU application
drawing number.
• Drawing number of
the rest of DLL type
modules.
• Operative System
Checksum.
• UCS/RTU application Checksum.
• Checksums for the rest of DLL Type Modules.
Finally, we go back to the default display, access to which can again be gained
pressing ESC.
Pressing this key, while at 1CPT home screen, displays a screen requesting the
password to reboot the relay. After introducing the correct password, the operator
is prompted to confirm reboot, via F1 and F2 keys.
M1CPTA2005I
7-5 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 7. Alphanumeric Keypad and Display
M1CPTA2005I
1CPT: Substation Central Unit 7-6
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 7. Alphanumeric Keypad and Display
M1CPTA2005I
7-7 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 7. Alphanumeric Keypad and Display
M1CPTA2005I
1CPT: Substation Central Unit 7-8
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
8. Receiving Tests
8.1 General
Improper handling of electrical equipment is extremely dangerous; therefore, only skilled and
qualified personnel familiar with appropriate safety procedures and precautions should work
with this equipment. Damage to equipment and injury to personnel can result when proper
safety precautions are not followed. The following general safety precautions are provided as a
reminder:
• High magnitude voltages are present in auxiliary supply and metering circuits even after
equipment has been disconnected.
• Equipment should be solidly grounded before handling or operating.
• Under no circumstances should the operating limits of the equipment be exceeded
(auxiliary voltage, current, etc.).
• The auxiliary supply voltage (AC or DC) should be disconnected from the equipment
before extracting or inserting any module, otherwise damage may result.
The number, the type and the specific characteristics of the acceptance tests are model
dependent and are detailed in the following table.
Preliminary Inspection
“In Service” Test
Ports Test
1CPT
LEDs Supervision Test
Installation
Start Up
• The relay is found in perfect physical condition, all of the parts are securely attached and
no assembly fasteners are missing.
• The front board is perfectly centred and aligned.
• The protective cover and the box are in perfect condition.
• The model numbers and specifications agree with the equipment order.
M1CPTA2005I
1CPT: Substation Central Unit 8-2
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 8. Receiving Tests
8.4 Start Up
The 1CPT, by default, leaves the factory with the software and setup used for factory tests. The
software will not as a general rule coincide with the software requested by the client. Also, test
setup is not the setup required by the installation.
With the test settings, upon connection of the 1CPT, the central unit program is automatically
run, showing the date and time on the front display. Also, a continuous blinking of LEDs
associated to communication ports connected to already set up position equipment takes place.
LEDs will blink red when transmitting but no receiving. This is normal, as substation equipment
will not match equipment setup.
If the 1CPT features the integrated Web Console function, the 1CPT can be connected to a PC
via the LAN to which the 1CPT is connected, for which the PC’s MS Internet Explorer browser
must be used for connection to the 1CPT integrated Console web page. In this way the good
operation of the complete system can be checked.
After the 1CPT has been updated with final configurations and software adequate for the
system requirements, bay devices must be connected to the 1CPT and then check the proper
operation of the complete system.
The system features a method to check data coherence (models and configurations) between
the Central Unit application and the Integrated Web Console application, both installed within
the 1CPT. The method is used for checking whether the console and central unit belong to the
same substation and whether both units have been set up with the same equipment.
Communication between both equipment is established after completion of the step above,
provided the consistency process is found to be correct.
To check the proper operation of the system, first browse the 1CPT integrated Console web
page using MS Internet Explorer, where all the Central Unit Operations Console functions are
shown. Select the window SIPCO status from the main menu and check for communications
errors with the different system devices. This guarantees communication setup is satisfactory.
Once equipment has been checked for proper operation with the setup used for the test, final
setup and software adequate for the installation requirements shall be loaded. Now position
equipment may be connected to the 1CPT.
Once the 1CPT has been updated with final setup and software, the proper operation of the
system shall be tested. To this end, all possible signals the substation can generate shall be
produced checking that said signals are correctly updated on every console screen (if any) or
on the control room screens (if any). If any error should occur, the system setup shall be
checked. If the error persists, please contact your supplier.
M1CPTA2005I
8-3 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 8. Receiving Tests
Network port may be checked in two different ways. If the 1CPT model features Central Unit
with Integrated Web Console function, the 1CPT can be connected to a PC via the LAN to
which the 1CPT is connected, for which the PC’s MS Internet Explorer browser must be used
for connection to the 1CPT integrated Console web page and then check for proper connection.
Also, in the SIPCO screen check that all devices connected to the 1CPT are properly displayed.
If the 1CPT model only features the RTU function, therefore the Integrated Web Console not
being available, a PC will be connected to the 1CPT via the system LAN and a ping to the 1CPT
will be sent writing from the PC the following command: PING MMM.NNN.XXX.YYY, where
MMM.NNN.XXX.YYY is the 1CPT IP address, checking that the 1CPT responds to ICMP
messages generated by the PC PING programme.
This network port checking procedure must be repeated for the second 1CPT network port.
M1CPTA2005I
1CPT: Substation Central Unit 8-4
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 8. Receiving Tests
- 1CPT Alarm. LED lights up when a critical error occurs in the 1CPT. It is off under normal
conditions.
- Time SYNC. This LED lights on when communications with the GPS clock fail.
- Coms IEDs. This LED is on when communications with at least one level 1 device fails.
- Coms IHM. This LED is on when the 1CPT Integrated Web Console application is not
available. This LED is on at start-up, and goes off after a few seconds if the 1CPT
Integrated Web Console application initialises correctly.
If the 1CPT model features the RTU function, the default configuration of user LEDs to the left
of the relay front panel will be as follows:
- 1CPT Alarm. This LED lights on when a critical 1CPT error occurs. It is normally off.
- Time SYNC. This LED lights on when communications with the GPS clock fails.
- Coms Telem. This LED is off when starting up and lights on if after a while,
communications with the remote control is not established.
- Coms IEDs. This LED is on when communications with at least one level 1 device fails.
8.7 Installation
• Location
The location where the Terminal Unit is to be installed should meet the following minimum
conditions to ensure correct operation, long service life, ease of installation and ease of
maintenance:
• Absence of dust
• Absence of dampness
• Absence of vibration
• Adequate lighting
• Easy access
• Front panel in an upright and vertical position
Mounting should be in accordance with the instructions regarding installations in the dimension
diagram (at the end of this Instruction Manual.
• Connection
Terminal 1 should be solidly grounded to ensure disturbance filtering circuits operate properly.
The wire used for grounding these terminals should be stranded 14 AWG. Ground wire length
should be minimized and should not exceed 12”. The ground terminal of the enclosure located
on the rear panel of the equipment should also be grounded.
M1CPTA2005I
8-5 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Chapter 8. Receiving Tests
M1CPTA2005I
1CPT: Substation Central Unit 8-6
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
A. Configuration Files for CPX /
CPP / CPT
Annex A. Configuration Files for CPX / CPP / CPT
A.1 Introduction
The various files for the configuration of the central substation unit shall be documented as
follows. Many of these define digital signals, controls, writes, measurements and meters. To this
avail, its structure will be currently defined and shall be referenced each time they appear.
• DIGITAL SIGNALS (ISC)
The following data is provided:
NumISCs ,
ISC , Alarma , F_activ , F_desactiv , Neg , Bocina , (*)
(*) This is repeated for each digital signal from the device. There will be as many signals as
indicated under NumISCs.
• NumISCs: Number of digital signals from the device.
• ISC: Identifier of a digital signal from a device within the database in real time from the
Central Unit. The scope of this identifier shall be limited to the set of digital signals
associated to a device configured within the database of the Central Unit.
• Alarma: Alarm bit, which indicates if the signal is considered an alarm (1) or not (0).
• F_activ: Bit that filters activation, which indicates whether activation of the signal is
considered an incident (0) or not (1).
• F_desac: Bit that filters deactivation, which indicates whether activation of the signal is
considered an incident (0) or not (1).
• Neg: Bit that rejects alarm, which indicates if it deems the situation as alarm when the
signal adopts the value 1 (0), or when it adopts the value 0 (1).
• Bocina: Horn bit, which indicates whether the horn should sound (1) or not (0) when the
signal is activated, as long as this is considered as being an alarm (its alarm bit is set to
1). This bit shall appear, or not, in the corresponding file, depending on the version of the
application of the Central Unit. The type of horn that sounds is defined under the
configuration file “central.cfg” and shall be commented in section A.2.
M1CPTA2005I
1CPT: Substation Central Unit A-2
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• CONTROLS (ISE)
The following data is provided:
Num
ISEs ,
ISE DirEq ISC Time Neg Dir EqOK ISC DirEq
, Est , Est , , , , OK , Fail ,
(**)
(*) This is repeated for each of the device’s controls. There will be as many as indicated
under NumISEs.
(**) This is repeated for each blocking signal received from the corresponding control. There
will be as many as indicated under NumBlqs.
1
The address field for IEC61850 devices will be the internal address in the real time database of the CPT and
shall be an integer ranging from 0 to 254, which will be configured by the user and will not be related to the IP
address of the device.
M1CPTA2005I
A-3 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
o 1: It only sends a reply when it receives an answer from the relay, but if ISCOK
and/or ISCFail have been configured, it continues to wait for some time until it
receives ISCOK or ISCFail before processing the next queued command in the
process.
o 2: If the ISCOK and/or ISCFail have been configured, it sends two replies, one as
soon as confirmation is received from the relay and the second one when the
ISCOK, ISCFail receives the relay or when the timeout Time has lapsed.
If this parameter has not been configured, it adopts the value 0 as a default value.
• WRITES (ISS)
The following data is provided:
NumISSs ,
ISS , DirEq , ISC , Time , Neg , Analog , (*)
(*) This is repeated for each of the writes for the device. There will be as many as
indicated under NumISSs.
2
The address field for IEC61850 devices will be the internal address in the real time database of the CPT and
shall be an integer ranging from 0 to 254, which will be configured by the user and will not be related to the IP
address of the device.
M1CPTA2005I
1CPT: Substation Central Unit A-4
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
NumISMs ,
ISM , MEA , (*)
DirEq
(*) This is repeated for each of the analogical writes of the device. There will be as
many as indicated under NumISMs.
0,1,0,
1,1,2,
Note: the block that configures analogical writes (ISM) shall be included in the file DBASE.CFG, after the block
of configuration data for the meters belonging to the physical device, only if the existence of any analogical
write has been indicated in the block of settings of the general data belonging to the physical device.
• MEASUREMENTS (MEA)
The Central Unit can handle measurements in the following formats:
M1CPTA2005I
A-5 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
The following data is required for defining conversion slopes adjusted to engineering values:
NumMEAs ,
Pendiente , Origen , (*)
(*) This is repeated for each of the measurements carried out on the device. There will
be as many as indicated under NumMEAs.
Value_Measure
ment_Engineeri
ng =
(Value_Measure
ment_Device *
Slope ) + Origin.
• METERS (CON)
The following data is provided:
NumCONs ,
Pendiente , Origen , (*)
(*) This is repeated for each of the meters on the device. There will be as many as
indicated under NumCONs.
M1CPTA2005I
1CPT: Substation Central Unit A-6
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
The digital signals of this logic equipment can amount up to 287, 300, 324 and even 345 (as a
function of the software version used, number of digital inputs of the CPX/CPP/CPT and GPS
used). For complete table, go to section 6.9 UCS as Virtual Equipment.
M1CPTA2005I
A-7 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• PerioLectCon: Meter readings period for meters (in msec.), only for non IEC61850
devices.
• TimeWaitAfterISE: Time (in msec.) that the CPX/CPT waits after implementing a
command, as long as the latter has received a signal of implemented order and/or failure
of order associated, in order that the implemented order signal and/or order failure signal
is deactivated and does not interfere in the implementation of the next command. (If no
information is added, the default value will be 0).
• PerioLectMed: Measurement reading period for broadcast interrogation (in msec.).
• NumCiclBajoUmbMinMedOK: Number of interrogation cycles that a measure must be
under the Minimum Threshold (defined under the next parameter) to be able to store this
under BD. A value other than 0 indicates the existence of the Control of Detection and
Filtering of Peaks, or Voltage Drops, and if set to zero (which is its default value), or if no
data is added (in which case it applies the default value, 0), this command will not be
taken into account.
• UmbMinMedErr: Minimum threshold below which a measurement can be considered as
being faulty. Its default value is 20 counts, and if no data is added, this will be the default
value.
• PerioRecup: Period for retries to recover a device under error (in sec.), only for non
IEC61850 devices.
• TimePreg: Waiting time between a response and the next interrogation (in msec.), only
for non IEC61850 devices. Its minimum value is 66 msec. This timing is applied if one of
the following two conditions takes place:
- If there is only one device in a port.
- If the message delay bit (*) is set to 1.
• TimeReset: Time that the CPX takes to reset when detecting an error (in msec.). This
field is valid only for FENIX software model for CPX. Nevertheless, it does not apply to
CPT.
• (*)BitRetardo: Bit that indicates if the forwarding of messages to devices must be delayed
(1) or not (0), only for non IEC61850 devices. This is only valid for FENIX software model.
• TipoInterrog: Type of interrogation (1 = Broadcast, 2 = Changes), only for non IEC61850
devices.
• BitReint: Bit that indicates if a retry is sent (1) or whether communications are reset (0)
when an error takes place during the device interrogation cycle, only for non IEC61850
devices.
• ToutCaract: Allowable timeout between characters to consider a frame as being correct.
If the separation between two consecutive bytes of a frame should exceed this value, the
frame will be deemed as being faulty (in msec.), only for non IEC61850 devices. The
default value used will be 15 msc. For communications with GSM modems, the value to
be configured must not be under 1500.
Ex: 60000,1,1,3,10,
20000,0,
5000,
5,66,5500,0,
2,1,15,
M1CPTA2005I
1CPT: Substation Central Unit A-8
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• UCSRedund: Bit that indicates if there is a redundant (1) CPX/CPT, or not (0).
• TipoUCS(CPX/CPT): Bit that indicates the type CPX/CPT: primary (0) or secondary (1). It
is only taken into account if there is a redundant CPX/CPT (previous bit set to 1).
• TipoRed: Bit that indicates the type of device network: star (0), or double redundant ring
(1).
Ex: 0,0,0,
Ex: 1CPXA03201000WA,6,10,0,
GestionaST , NotificaST ,
NumIRQ ,
• RelojGPS: Indicates if it has a GPS clock, and the type in question. 0: Not available; 1:
IKOR Parallel PC; 2: IRIG-B; 3: IKOR series 232; 4: GC14 series 232; 5: Synchronization
to the nearest hourly quarter by Pressing Digital input; 6: SNTP 3 (does not apply to the
rest of the settings under this section).
3
The SNTP-type GPS has its own configuration file, “SNTP.CFG”, within the CPT.
M1CPTA2005I
A-9 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• ErrorDispers: Bit that indicates if there is a dispersion error in the GPS (1), or not (0).
• MaxErrGPS: Time that the GPS has an error sign in order to be assigned as being faulty
and to run the time internally. In ms. 500-300000 ms. Default value 30000 ms.
• MaxRecupGPS: Time required for correct performance of GPS clock after displaying
error sign, to be considered correct. In ms. 500-300000 ms. Default value 30000 ms.
• GPSVerificaIRQ: Time allowed without entering interruptions. In seconds. 5--> sec.
Default value 30 seconds. For type 5, this value is used for the time (in seconds) that
must lapse without a synchronism pulse before activating the communications Failure
signal with the GPS; for this case, the default value is 1800 seconds, which amounts to
30 minutes.
• Port: Serial port where the GPS will be connected (this field will only apply to types 3 and
4).
• Baudios: Baud for the serial port (this field will only apply to types 3 and 4).
• Bits: Number of data Bits (this field will only apply to types 3 and 4).
• Paridad: Type of parity (this field will only apply to types 3 and 4).
• BitsStop: Number of stop bits (this field will only apply to types 3 and 4). .
Note: the fields Port, Bauds, Bits, Parity and BitsStop shall only be applied in the cases of type 3 and 4
clocks. They must not be applied to the rest of the clocks. If these fields are configured in the case of type
1, 2 and 5 clocks, an error will arise as regards the Summer/Winter timetable.
• GestionaST: This indicates if the GPS clock handles the Summer/Winter timetable (1) or
not (0). By “handling”, this means it increases the hour during the summer and decreases
the same in the winter.
• NotificaST: This indicates whether the GPS clock informs if it is in summer or wintertime
timetable (1) or not (0).
Note: For Type 2 GPS clocks (IRIG-B), this value will currently be set to 0, even if the
IRIG-B clock could provide this information, the card processing the IRIG-B signal,
located in the central unit, FILTERS this information.
• NumEDSincro: This is the digital entry number [1-8] which is going to be used to receive
the synchronizing pulse of the nearest hourly Quarter. Synchronization only takes place
with the leading edge. This parameter must only be set for type-5 clocks.
• NumIRQ: IRQ Number used for communicating with the GPS IRIGB. For CPXs that end
in 2WA, the value is 12; and for those that end in 3WA, the value is 7.
Ex: 3,1,30000,30000,COM4,9600,e,8,1,1,1,12,
M1CPTA2005I
1CPT: Substation Central Unit A-10
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• Coherencia: Bit that indicates whether information on the coherent system must be
activated (1) or not (0).
• CoherenciaAlr: Bit that indicates whether alarm coherent system must be activated (1) or
not (0). It does not currently have an associated functionality. Default value, 0.
• NumMaxSuc: Maximum number of events that are stored in the Central Unit files. By
default, this stores 500 events. The maximum number of accumulated events is limited to
2000.
• NumCambDes(*): Maximum number of changes for a signal in the Central Unit’s real time
database, within the time configured within the setting "TimeActDes" to deactivate it
(block it).
• NumCambAct(*): Maximum number of changes for a signal, in the Central Unit’s real time
database, within the time configured in the setting "TimeActDes" to activate it when it was
previously deactivated.
• TimeActDes(*): Time (in sec.) for activation/deactivation of signals due to excessive
number of changes on the UCS.
(*) If any of the above three values should be configured to 0, the functionality for
blocking/unblocking of signals due to excessive number of changes on the UCS is deactivated.
Ex:
1,0,500,10,10,2,
TipoBocina ,
DirEq , ISE , DCO ,
Ex:
0,
30,0,2,
4
In IEC61850 devices, the field of address for the device shall be the internal address of the device as per the
real time database of the CPT, and shall be an integer ranging from 0 and 254, to be configured by the user and
will not be related to the IP address of the same.
M1CPTA2005I
A-11 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Ex: 308,4,1,257,300,0,
M1CPTA2005I
1CPT: Substation Central Unit A-12
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
A-13 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Below are data of the different devices configured sequentially. The following data are display
for each physical device:
• General Physical Device Data for CPX/CPP models: [Line 6]
Ex:10,1,200,100,16,2,7,1,0,1,1,50,0,
M1CPTA2005I
1CPT: Substation Central Unit A-14
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
5
In IEC61850 devices the field of the device address will be the internal address of the device in the CPT real
time database, and will be an integer between 0 and 254, that will be configured by the user and has nothing to
do with the IP address of the same.
6
Equipment whose Control field is configured to 0, will not be introduced within the Central Unit interrogation
control cycle; although they will be accessible by means of a transparent protection communication with the
Zivercom© program.
M1CPTA2005I
A-15 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
1CPT: Substation Central Unit A-16
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
A-17 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
NumHistoricos , NumDiasHist ,
Ex: 3, 183,
Then, the different history records generated are configured in sequence. The following data will
be given as a function of the type of history record:
TipoHist ,
NumMEAs ,
DirEq , MEA , Descripción , (*)
(*) It repeats for each applicable history record. There will be as many as shown in
NumMEAs.
M1CPTA2005I
1CPT: Substation Central Unit A-18
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
TipoHist ,
NumCONs ,
IntMuestreo ,
DirEq , CON , Descripción , (*)
(*) It repeats for each applicable history record meter. There will be as many as shown in
NumCONs.
TipoHist ,
NumISCs ,
DirEq , ISC , F_activ , F_desactiv , (*)
(*)It repeats for each applicable history record signal. There will be as many as shown in
NumISCs.
M1CPTA2005I
A-19 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
1CPT: Substation Central Unit A-20
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
A-21 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
NumAjs ,
Tipo , VDefecto , VMin , VMax , Paso ,
(*) It repeats for each setting. There will be as many as shown in NumAjs.
7
Logic settings change screen is not available in the CPT embeded WEB MMI.
M1CPTA2005I
1CPT: Substation Central Unit A-22
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
A-23 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
When referring to a negated signal the symbol “\” is used before the signal in the form: [256,\10]
(signal 10 from device 256 negated).
Input and Output variables that can be used with their format are shown in Table A-1:
Besides these variables, settings can be used in TEMPOR and DNIVEL operations. Settings
format is AJn where n varies between 0 and NumAjs-1. These can be used in the above
mentioned operations instead of fixed parameters.
The different programming operations are given below. As a general rule, when an operation
has several inputs, for example one AND, the AND of the first two inputs is made and an
intermediate output is obtained. Then the AND of this intermediate output is made with the third
input and a second intermediate output is obtained. Then the AND of this second intermediate
output is made with the fourth input and so on until the final output is obtained. This end value is
assigned to all outputs with the operation in question.
• OR: [line 6]
It is a logical OR operation with a number of inputs and outputs.
Format: OR<[ISC][ISC]…>(ISC)(ISC)…
Ex: OR<[256,1][256,11][256,12]>(256,0)
M1CPTA2005I
1CPT: Substation Central Unit A-24
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• AND: [line 7]
This is a logical AND operation with several inputs and several outputs.
Format:AND<[ISC][ISC]…>(ISC)(ISC)…
Ex: AND<[1,8][7,8][3,40][9,8][11,8][8,8][5,40][14,8]…
…[17,8]>(256,13)
• XOR: [line 4]
This is a logical exclusive-OR operation with several inputs and several outputs.
Format:XOR<[ISC][ISC]…>(ISC)(ISC)…
Ex: XOR<[10,8][11,8][12,8]>($,0)
Format:NOT<[ISC]>(ISC)(ISC)…
M1CPTA2005I
A-25 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Format:CABLE<[ISC]>(ISC)(ISC)…
Ex: CABLE<[20,8]>($,0)(256,40)
Format:FFRS<[ISC_R][ISC_S]>(ISC)(ISC)…
Ex: FFRS<[10,8][10,9]>($,0)(256,40)
Format:FFJK<[ISC_J][ISC_K]>(ISC)(ISC)…
Ex: FFJK<[10,8][10,9]>(256,40)
M1CPTA2005I
1CPT: Substation Central Unit A-26
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
If the input signal [ISC] is activated (goes from 0 to 1 or vice versa if it is negated) the command
[ISE] is executed with {DCO} and whatever value the input signal [ISC] has is assigned to the
outputs.
Commands
belonging to the
LOGICA device
itself may not be
used as ISE
parameter in this
logic operation,
because it makes
no sense for a
device to send
commands to
itself. The
operation is shown
in figure A.2:
Format:MANDO<[ISC][ISE]{DCO}>(ISC)(ISC)…
Commands belonging to the LOGICA device itself may not be used as a command parameter in
this logical operation, because it makes no sense for a device to send commands to itself.
Format:FMANDO<[ISC][ISE][ISC_T]{DCO}>(ISC_FAIL)(ISC_OK)
Ex: FMANDO<[256,1][10,0][10,8]{2}>(256,40)(256,9)
8
This function is only implemented in 1CPX-A.
M1CPTA2005I
A-27 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Format:ESC<[ISC][ISS]{DCO_ON,DCO_OFF}>(ISC)(ISC)…
Ex: ESC<[10,8][10,0]{2,1}>(256,40)
Format:
TEMPOR<[ISC]{TA}{TB}>(ISC)(ISC)
where TA and TB are expressed in full seconds. Any of these values can be replaced by
settings if desired.
Ex: TEMPOR<[1,105]{0}{10}>($,1)
TEMPOR<[10,0]{12}{AJ0}>(256,5)
M1CPTA2005I
1CPT: Substation Central Unit A-28
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Any of the parameters VC, VMAX and VMIN can be replaced by a setting.
Ex: DNIVEL<[10,5]{0.8}{0.5}{1}>(256,9)($,1)(256,10)
DNIVEL<[10,7]{AJ6}{AJ8}{AJ3}>(256,8)($,2)(256,15)
Format:DEACT<[ISC][ISC]…>(ISC)(ISC)…
Ex: DEACT<[10,8][11,8][12,8]>($,0)
M1CPTA2005I
A-29 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
The number of defined counters must not surpass a maximum value stipulated as 10 counters.
Format:CONT<[ISC_Q][ISC_R]>(CON)
Ex: CONT<[256,2][256,3]>(256,0)
The number of defined counter comparators must not surpass a maximum value stipulated as
10 comparators.
It is a logic counter.
Format: CMPCONT<[CON]{Vc}>(ISC)
Ex: CMPCONT<[256,0]{AJ0}>(256,6)
CMPCONT<[100,0]{100}>(100,45)
CMPCONT<[256,0]{9999}>(100,75)
CMPCONT<[100,1]{AJ8}>(256,7)
The code of the logic in this file has the following limitations:
M1CPTA2005I
1CPT: Substation Central Unit A-30
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
A-31 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
For easy command execution, devices are grouped into UCPs groups and slave master groups.
File format is:
• Configuration Data of UCP Groups: [Lines 2-17]
NumGrps ,
Num UCPs ISE
, ini ,
DirUCP ISE DCO ISE DCO (*) (**)
, local , local , telem , telem ,
(*) It repeats for each UCP in the group in question. There will be as many as shown in
NumUCPs.
(**)It repeats for each UCP group. There will be as many as shown in NumGrps.
M1CPTA2005I
1CPT: Substation Central Unit A-32
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
NumMaestras ,
DirMaestra ,
Mando? ISE ISE Num
, locMae , telMae , EsclaMan ,
DirEsclaMan ISE DCO ISE DCO (*) (***)
, locEsc , locEsc , telEsc , telEsc ,
Escritura? ISC Neg Num
, , , EsclaEscr ,
DirEsclaEscr , ISS , DCO_ON , DCO_OFF , (**)
(*) It repeats for each Command slave. There will be as many as shown in NumEsclaMan.
(**) It repeats for each Write slave. There will be as many as shown in NumEsclaEscr.
(***) It repeats for each master. There will be as many as shown in NumMaestras.
M1CPTA2005I
A-33 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
1CPT: Substation Central Unit A-34
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
NumTarjs ,
TarjNum Num
, Ports ,
PortNum Veloc Tipo Bits Bits Est Tipo
, , Par , Datos , Stop , Ini , Port ,
(*) It repeats for each applicable card port. There will be as many as shown in NumPorts.
(**) It repeats for each existing communications card. There will be as many as shown in
NumTarjs.
M1CPTA2005I
A-35 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
To configure the remote port (port 7) two more parameters are added which are related to the
MODEM initialization function. This function consists of sending periodically an initialization
chain to the MODEM provided there is no connection, namely, provided the CD signal of the
CPX/CPT is not active. Therefore, it is important that this signal is hard wired through the
MODEM to CPX/CPT connection cable. These parameters are:
Port Veloc Tipo Bits Bits Est Tipo Tout Msg Tout
Num , , Par , Datos , Stop , Ini , Port , Cnx , Init , Caract ,
• ToutCnxRemota: Time with no connection that defines the transmission period of the
initialization chain to the modem. It is measured in seconds and the range is 1 ∞. The
function is disabled if the value is 0 or negative and the chain is never sent to the modem;
in this case nor the following parameter is read. This time starts timing from the initial
moment and every time the deactivation of the CD line is detected.
• MsgInitModem: Modem initialization chain. Maximum chain size is 49 characters and
must not contain the comma character (,) in within. This chain of characters is sent every
ToutCnxRemota seconds to the MODEM provided telephone connection is not
established. If parameter ToutCnxRemota takes the value 0 or is negative, it must not be
set.
For the remote port, parameter ToutCaract must be set to a value noticeably greater than that
for the other ports if GSM modems are used. Due to a special feature of wireless telephone
networks, messages can be segregated into several parts during the transmission. In order for
the CPX/CPT to accept these messages this parameter must be set to a value of several
seconds. The exact value must be figured out by a hit and miss procedure as it greatly depends
on countries and network saturation.
The CPT has two optic fibre ports to communicate with devices, so only the two first ports will
be configured. If the remote port will also be used, port number 7 will be configured. Field
NumPorts will be configured as per these considerations; it takes a value of 3 when the remote
port is configured, and 2 when not configured.
M1CPTA2005I
1CPT: Substation Central Unit A-36
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
A-37 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
NumLeds ,
IndLed , DirEq , Isc , Negada , Modo , Time_ON , Time_OFF , (*)
(*) It repeats for each CPX/CPT LED to be configured. There will be as many as shown in
NumLeds.
M1CPTA2005I
1CPT: Substation Central Unit A-38
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
(*) It repeats for each CPX/CPT hardware card that features digital inputs.
• HabilEDi: Enables change collection on the ith CPX/CPT digital input (0: ED not enabled,
1: ED enabled).
M1CPTA2005I
A-39 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
InterrupSLIP ,
NivelMonitor ,
Ex: 128,
0
• Data on Test Messages on HMI Status and User and Password Request:
[Lines 4-6]
MsjConsOcup ,
MsjUsuario ,
MsjPassword ,
• MsjConsOcup: Message for engaged local HMI (maximum number of characters: 39).
• MsjUsuario: Message for user name request (maximum number of characters: 19).
• MsjPassword:
Usuario ,
Password ,
Ex: ZIV,
ZIV,
M1CPTA2005I
1CPT: Substation Central Unit A-40
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
MsjAceptado ,
MsjDenegado ,
Ex: ACCEPTED,
ACCESS DENIED,
ModoTrabajo , TimeoutConex ,
TimeRespModem , NumRings ,
• ModoTrabajo: This number indicates whether working in normal mode (0), Windows 95
(1), dedicated line (2), or TRAME mode (3).
• TimeoutConex: Connection timeout (in msec.).
• RetCarTrame: Time gap between characters send to the TRAME. If the working mode is
ModoTrame, the gap between messages sent to the TRAME must be equal to this
setting. If the mode is not TRAME configured as 0 (Zero). Expressed in milliseconds.
Typical value 200.
• TimeEsperaReset: Time delay for internal modem initialisation before sending
CmdModemInit. Expressed in milliseconds. Typical value: 2000.
• TimeChgCtrlModem: Time delay for the modem to detect the change of the signal DTR
when the connection is to be closed. Expressed in milliseconds. Typical value: 900.
• TimeRespModem: Modem response time (in msec.).
• NumRings: Number of rings of the modem before picking up.
Ex: 0,60000,200,2000,900
15000,1,
ComReset ,
ComInicio ,
Ex: ATZ,
ATE0V1X1M0S0=0,
M1CPTA2005I
A-41 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
IndTxtLlamadaEnt ,
IndNumLlamadaEnt ,
Ex: RING,
2,
• Data on Modem pick up Commands, Switching from Transparent to
Command Mode, Modem Hang up and Pick up and Start Dialogue with other
Modem: [lines 17-20]
DescolgModem ,
ModoTran-ModoCom ,
ColgModem ,
DialOtroModem ,
Ex: ATH1,
+++,
ATH0,
ATA,
IndTxtCxEstabl ,
IndNumCxEstabl ,
IndTxtRespOK ,
IndNumRespOK ,
Ex: CONNECT,
1,
OK,
0,
M1CPTA2005I
1CPT: Substation Central Unit A-42
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• Data on the Dialling Command and the Telephone Number: [Line 25]
ComMarcado , NumTeléfono ,
Ex: ATDT0,4157922,
ScriptConex ,
Ex: IBMNET.SCP
M1CPTA2005I
A-43 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
1CPT: Substation Central Unit A-44
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• VirtualIP: IP address of the Active CPT in HSB type 2 redundancy. In case this address
is to be used, parameter TipoRedundaHSB must be 3. Otherwise this IP address will not
be used. If it is not configured, this IP address will not be used bydefault. This parameter
is only available for CPT.
IMPORTANT: in case this address is used and, furthermore, a web HMI exists, this same
IP address value must be configured in field “ServerCurrentIP” of the web HMI
configuration file “ConsoleBaseConfig.xml” (refer to section A.22.2 of the LCWE0904A-
Embedded Web HMI manual).
• VirtualMAC: MAC address of the Active CPT in HSB type 2 redundancy. In case this
MAC address is to be used, parameter TipoRedundaHSB must be 3. Otherwise this MAC
address will not be used. If the IP address but not its MAC address of the active CPT is to
be changed, the “NONE” value will be configured. If it is not configured, this MAC address
will not be used by default. This parameter is only available for CPT.
• TimeAbortSocket: Socket abort timeout.
• TimeRespCPX: Response time of the other CPX/CPT.
• TimePasiva: Maximum time (in seconds) to wait in start mode for the other CPT to
complete the start-up process and determine in this way whether it switches to active or
passive. If it is not configured, the default value is 30. This parameter is only available for
CPT.
• TimeArranqueFrio: Time (in minutes) to determine whether after switching to active, CPT
starting is cold (must reject device changes previous to the first refresh) or hot. If the CPT
database has not been updated for more than this time, it will be considered a cold start.
If this function is not to be used, it must be configured to –1. If it is not configured, the
default value is -1. This parameter is only available for CPT.
Ex: 132,0,0,1,
128.127.60.15,
31000,3,128.127.60.1,00e0ab029006,
30,6,60,1440,
M1CPTA2005I
A-45 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
1CPT: Substation Central Unit A-46
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
SocketRemota ,
ResetOperativo ,
Mandos ,
Ex: 32009,
1,
0,
SocketServidor , ToutSockServ ,
MandosServ ,
Ex: 32010,30,
0,
M1CPTA2005I
A-47 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
1CPT: Substation Central Unit A-48
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Also, CPT models count on a file autorun.cfg to configure IP addresses of Central Unit ethernet
ports at operating system level, therefore, before running the Central Unit application itself.
IP1 = DirIP1Value
NETMASK1 = NetMask1Value
DHCP1 = DHCP1Value
IP2 = DirIP2Value
NETMASK2 = NetMask2Value
DHCP2 = DHCP2Value
IP2 =
NETMASK2 =
DHCP2 = 1
9
DHCP: Dynamic Host Configuration Protocol to obtain the network configuration automatically from a network
server.
M1CPTA2005I
A-49 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
1CPT: Substation Central Unit A-50
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• TimeoutSocketPROCOME: PROCOME socket timeout (in sec.). The default value is 300
seconds.
• TimeoutSocketMONITOR: MONITOR socket timeout (in sec.). The default value is 300
seconds.
• NetMask1: Subnet mask of first network adapter (only available for CPT models).
• NetMask2: Subnet mask of second network adapter (only available for CPT models).
• DefaultGateway: IP address associated to the default Gateway (only available for CPT
models).
• IndexLAN_GW: Network adapter index associated to the default Gateway (only available
for CPT models).
• DirDNS_LAN1: IP address of the DNS server associated to the first network adapter (only
available for CPT models).
• DirDNS_LAN2: IP address of the DNS server associated to the second network adapter
(only available for CPT models).
IMPORTANT: As the default Gateway can also be configured through a routing input
within route.cfg file, in order to obtain the desired operation of the Central Unit routing
table, it is recommended to configure the default Gateway only in one of the two files,
route.cfg or tcp.cfg, but never in both files.
Ex: 128.127.60.26,
32000,
32001,
32002,
32003,
60000,60000,
7600,
300,
300,
255.255.0.0,0,
128.127.60.250,1,
0,0,
M1CPTA2005I
A-51 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Voltage Presence / Absence Control Function. This control function is at the same time
segregated into four additional control functions. There will be a control function for each of the
voltages involved in the H control function operation. All of them have the same structure.
Every control function has a voltage presence setting and a voltage absence setting, as well as
a voltage presence time setting and a voltage absence time setting.
Control Function for the Definition of High Voltage Status. This control function, together
with the above control function, defines the status of the high voltage pair.
Control function settings are the stability time, switch time and equality delay time (the latter is
fixed).
Medium Voltage Switchgear Control Function. Control function settings are configured in
order to operate system medium voltage circuits. Two parameters are needed, one to activate
the control function and the other for medium voltage switching time.
High Voltage Switchgear and Protection Trip Switching do not have user parameterised
settings and are therefore transparent.
Settings of these subcontrollers are saved in this file. File format is as follows:
• List of Control Functions that Pick up: [Lines 2-9]
BitArrPRESMULA ,
BitArrPRESMULB ,
BitArrPRESUA ,
BitArrPRESUB ,
BitArrESTALTA ,
BitArrMANALTA ,
BitArrMANMEDIA ,
BitArrCONDISP ,
M1CPTA2005I
1CPT: Substation Central Unit A-52
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• BitArrPRESMULA: This bit indicates whether the line A voltage presence control function
activates (1) or not (0).
• BitArrPRESMULB: This bit indicates whether the line B voltage presence control function
activates (1) or not (0).
• BitArrPRESUA: This bit indicates whether the busbar A voltage presence control function
activates (1) or not (0).
• BitArrPRESUB: This bit indicates whether the busbar B voltage presence control function
activates (1) or not (0).
• BitArrESTALTA: This bit indicates whether the high voltage status control function
activates (1) or not (0).
• BitArrMANALTA: This bit indicates whether the high voltage switchgear control function
activates (1) or not (0).
• BitArrMANMEDIA: This bit indicates whether the medium voltage switchgear control
function activates (1) or not (0).
• BitArrCONDISP: This bit indicates whether the protection trip switching control function
activates (1) or not (0).
Ex: 1,//PRESMULA
1,//PRESMULB
0,//PRESUA
0,//PRESUB
1,//ESTALTA
1,//MANALTA
1,//MANMEDIA
1,//CONDISP
• Servicio: This bit indicates whether H control function settings can be changed from the
HMI (1) or not (0).
• V_NominalAlta: Nominal voltage level to detect high voltage presence/absence.
• ExisteEspera: Enables the delay time between commands in the same sequence.
• TimeEspera: Configurable delay time (in milliseconds) between commands in the same
sequence.
• TipoAutoHY. Indicates the type of control function to be activated: 1 = H Control Function;
2 = and Control Function. Default value: 1.
• ISCDefecto: Digital signal identifier that reflects the default status of the H control function
(set to manual by default).
Ex: 0,30.0,1,2000,1,
7,
M1CPTA2005I
A-53 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
DirEq , MEA ,
NivelPresencia , NivelAusencia ,
TimePresencia , TimeAusencia ,
• DirEq: Address of the device that measurement MULA belongs to, within the Central Unit
database.
• MEA: Identifier of said measurement.
• NivelPresencia: Voltage presence level (in % of Vnominal). The range of possible values
is 50-100, the default value being 80%. Step is 0.1%.
• NivelAusencia: Voltage absence level (in % of Vnominal). The range of possible values is
0-70, the default value being 50%. Step is 0.1%.
• TimePresencia: Voltage presence delay time (in msec.). The range of possible values is
500-5000, default value being 1000 milliseconds. Step is 100 milliseconds.
• TimeAusencia: Voltage absence delay time (in msec.). The range of possible values is
500-5000, default value being 1000 milliseconds. Step is 100 milliseconds.
Ex: 1,0,
80.0,50.0,
1000,1000,
DirEq , MEA ,
NivelPresencia , NivelAusencia ,
TimePresencia , TimeAusencia ,
• DirEq: Address of the device that measurement MULB belongs to, within the Central Unit
database.
• MEA: Identifier of said measurement.
• NivelPresencia: Voltage presence level (in % of Vnominal). The range of possible values
is 50-100, the default value being 80%. Step is 0.1%.
• NivelAusencia: Voltage absence level (in % of Vnominal). The range of possible values is
0-70, the default value being 50%. Step is 0.1%.
• TimePresencia: Voltage presence delay time (in msec.). The range of possible values is
500-5000, default value being 1000 milliseconds. Step is 100 milliseconds.
• TimeAusencia: Voltage absence delay time (in msec.). The range of possible values is
500-5000, default value being 1000 milliseconds. Step is 100 milliseconds.
Ex: 1,1,
80.0,50.0,
1000,1000,
M1CPTA2005I
1CPT: Substation Central Unit A-54
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
DirEq_B , MEA_B ,
DirEq_C , MEA_C ,
DirEq_BC , MEA_BC ,
NivelPresencia , NivelAusencia ,
TimePresencia , TimeAusencia ,
• DirEq_B: Address of the device that phase B measurement belongs to, within the Central
Unit database.
• MEA_B: Identifier of phase B measurement.
• DirEq_C: Address of the device that phase C measurement belongs to, within the Central
Unit database.
• MEA_C: Identifier of phase C measurement.
• DirEq_BC: Address of the device that phase BC measurement belongs to, within the
Central Unit database.
• MEA_BC: Identifier of phase BC measurement.
• NivelPresencia: Voltage presence level (in % of Vnominal). The range of possible values
is 50-100, the default value being 80%. Step is 0.1%.
• NivelAusencia: Voltage absence level (in % of Vnominal). The range of possible values is
0-70, the default value being 50%. Step is 0.1%.
• TimePresencia: Voltage presence delay time (in msec.). The range of possible values is
500-5000, default value being 1000 milliseconds. Step is 100 milliseconds.
• TimeAusencia: Voltage absence delay time (in msec.). The range of possible values is
500-5000, default value being 1000 milliseconds. Step is 100 milliseconds.
Ex: 14,1,
14,1,
14,1,
80.0,50.0,
1000,1000,
DirEq_B , MEA_B ,
DirEq_C , MEA_C ,
DirEq_BC , MEA_BC ,
NivelPresencia , NivelAusencia ,
TimePresencia , TimeAusencia ,
• DirEq_B: Address of the device that phase B measurement belongs to, within the Central
Unit database.
• MEA_B: Identifier of phase B measurement.
• DirEq_C: Address of the device that phase C measurement belongs to, within the Central
Unit database.
• MEA_C: Identifier of phase C measurement.
• DirEq_BC: Address of the device that phase BC measurement belongs to, within the
Central Unit database.
M1CPTA2005I
A-55 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Ex: 14,2,
14,2,
14,2,
80.0,50.0,
1000,1000,
TimeEstabilidad ,
TimeConmutación ,
TimeEsperaIgualdad ,
• TimeEstabilidad: Stability time (in msec.). The range of possible values is 0-300000, the
default value being 60000 milliseconds. Step is 100 milliseconds.
• TimeConmutación: Switch time (in msec.). The range of possible values is 0-10000, the
default value being 5000 milliseconds. Step is 100 milliseconds.
• TimeEsperaIgualdad: Equality Delay Time (It is FIXED: 1000 msec.).
Ex: 60000,
5000,
1000,
Servicio , V_NominalMedia ,
TimeConmutación ,
Ex: 1, 13.0,
5000,
M1CPTA2005I
1CPT: Substation Central Unit A-56
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
NumMandos ,
DirEq , ISE , DCO , (*) (**)
(*) It repeats for each command i the corresponding sequence. There will be as many as
shown in NumCommands.
(**) It repeats for each sequence of MANALTA controller. There will be 22 sequences (0-21)
that will be listed below.
A table with 22 sequences is displayed. For the H Control Function said sequences are:
Ex: # SEQUENCE 0
1, //Num. Commands
260,9,2,
# SEQUENCE 1
…
# SEQUENCE 21
1, //Num. Commands
260,13,2,
M1CPTA2005I
A-57 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
For the case of the Y Control Function, the sequences are as follows:
M1CPTA2005I
1CPT: Substation Central Unit A-58
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
(*) It repeats for each H control function digital signal. There will be 23 signals listed below.
• DirEq: Address of the device that the signal belongs to, within the Central Unit database.
• ISC: Signal Identifier.
M1CPTA2005I
A-59 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
For the case of the Y Control Function, the signals are as follows:
Ex: 1,46,
1,246,
…
20,2,
DirEq , ISC ,
• DirEq: Address of the device that the signal belongs to, within the Central Unit database.
• ISC: Digital signal Identifier.
Ex: 256,0,
M1CPTA2005I
1CPT: Substation Central Unit A-60
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
A-61 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Voltage Presence / Absence Control Function. This control function is at the same time
segregated into two additional control functions. There will be a control function for each of the
voltages involved in the H2 control function operation. The two control functions have the same
structure.
Every control function has a voltage presence setting and a voltage absence setting, as well as
a voltage presence time setting and a voltage absence time setting.
Control Function for the Definition of High Voltage Status. This control function, together
with the above control function, defines the status of the high voltage pair.
Control function settings are the stability time, switch time and equality delay time (the latter is
fixed).
High Voltage Switchgear and Protection Trip Switching do not have user parameterised
settings and are therefore transparent.
M1CPTA2005I
1CPT: Substation Central Unit A-62
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Settings of these subcontrollers are saved in this file. File format is as follows:
• List of Control Functions that Pick up: [Lines 2-9]
In this AUTOH2 version, three of the existing control functions in the previous version do
NOT exist. They are the following:
BitArrPRESMULA ,
BitArrPRESMULB ,
BitArrPRESUA , This control function does NOT exist in AUTOH2. It is ALWAYS
configured to 0
BitArrPRESUB , This control function does NOT exist in AUTOH2. It is ALWAYS
configured to 0
BitArrESTALTA ,
BitArrMANALTA ,
BitArrMANMEDIA , This control function does NOT exist in AUTOH2. It is ALWAYS
configured to 0
BitArrCONDISP ,
• BitArrPRESMULA: This bit indicates whether the line A voltage presence control function
activates (1) or not (0).
• BitArrPRESMULB: This bit indicates whether the line B voltage presence control function
activates (1) or not (0).
• BitArrPRESUA: This control function does NOT exist in AUTOH2. It is ALWAYS
configured to 0.
• BitArrPRESUB: This control function does NOT exist in AUTOH2. It is ALWAYS
configured to 0.
• BitArrESTALTA: This bit indicates whether the high voltage status control function
activates (1) or not (0).
• BitArrMANALTA: This bit indicates whether the high voltage switchgear control function
activates (1) or not (0).
• BitArrMANMEDIA: This control function does NOT exist in AUTOH2. It is ALWAYS
configured to 0.
• BitArrCONDISP: This bit indicates whether the protection trip switching control function
activates (1) or not (0).
Ex: 1,//PRESMULA
1,//PRESMULB
0,//PRESUA
0,//PRESUB
1,//ESTALTA
1,//MANALTA
0,//MANMEDIA
1,//CONDISP
M1CPTA2005I
A-63 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• Servicio: This bit indicates whether H control function settings can be changed from the
HMI (1) or not (0).
• V_NominalAlta: Nominal voltage level to detect high voltage presence/absence.
• ExisteEspera: Enables the delay time between commands in the same sequence. In this
case the AUTOH2 will ALWAYS be enabled (at 1).
• TimeEspEntreMandos: Configurable delay time (in milliseconds) between commands in
the same sequence. Its default value is 2000 ms
• TipoAutoHYH2. Indicates the type of control function to be activated: 1 = H Control
Function; 2 = and Control Function; 3 = H2 Control Function. The default value is 3, and it
will be a fixed value in this file
• ISCDefecto: Digital signal identifier that reflects the default status of the H control function
(set to manual mode by default).
Ex: 0,30.0,1,2000,3,
7,
DirEq , MEA ,
NivelPresencia , NivelAusencia ,
TimePresencia , TimeAusencia ,
• DirEq: Address of the device that measurement MULA belongs to, within the Central Unit
database.
• MEA: Identifier of said measurement.
• NivelPresencia: Voltage presence level (in % of Vnominal). The range of possible values
is 50-100, the default value being 80%. Step is 0.1%.
• NivelAusencia: Voltage absence level (in % of Vnominal). The range of possible values is
0-70, the default value being 50%. Step is 0.1%.
• TimePresencia: Voltage presence delay time (in msec.). The range of possible values is
500-5000, default value being 1000 milliseconds. Step is 100 milliseconds.
• TimeAusencia: Voltage absence delay time (in msec.). The range of possible values is
500-5000, default value being 1000 milliseconds. Step is 100 milliseconds.
Ex: 10,0,
80.0,50.0,
1000,1000,
The values of the percentage settings and voltage presence and absence times will
only be configured in this section associated to Line 1, since in the case of Line 2 they
will ALWAYS be the same.
• Configuration Data of Line 2 Voltage Presence/Absence Control Function
(PRESMULB): [Lines 18-20]
DirEq , MEA ,
NivelPresencia , NivelAusencia ,
TimePresencia , TimeAusencia ,
• DirEq: Address of the device that measurement MULB belongs to, within the Central Unit
database.
• MEA: Identifier of said measurement.
• NivelPresencia: Voltage presence level (in % of Vnominal). The range of possible values
is 50-100, the default value being 80%. Step is 0.1%.
M1CPTA2005I
1CPT: Substation Central Unit A-64
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• NivelAusencia: Voltage absence level (in % of Vnominal). The range of possible values is
0-70, the default value being 50%. Step is 0.1%.
• TimePresencia: Voltage presence delay time (in msec.). The range of possible values is
500-5000, default value being 1000 milliseconds. Step is 100 milliseconds.
• TimeAusencia: Voltage absence delay time (in msec.). The range of possible values is
500-5000, default value being 1000 milliseconds. Step is 100 milliseconds.
Ex: 11,1,
80.0,50.0,
1000,1000,
The values of the percentage settings and voltage presence and absence times in this
section will ALWAYS be the same as those defined in the previous section.
The first three lines refer to three measurements (of phases B, C and BC), so they will be
configured with the only existing measurement associated with the presence/absence of voltage
on Line A control function, which has been previously configured. We will do the same with the
levels of presence and absence, and their associated times, which we will also take from said
control function.
DirEq_B , MEA_B ,
DirEq_C , MEA_C ,
DirEq_BC , MEA_BC ,
NivelPresencia , NivelAusencia ,
TimePresencia , TimeAusencia ,
Ex: 10,1,
10,1,
10,1,
80.0,50.0,
1000,1000,
M1CPTA2005I
A-65 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
The first three lines refer to three measurements (of phases B, C and BC), so they will be
configured with the only existing measurement associated with the presence/absence of voltage
on Line B control function, which has been previously configured. We will do the same with the
levels of presence and absence, and their associated times, which we will also take from said
control function.
DirEq_B , MEA_B ,
DirEq_C , MEA_C ,
DirEq_BC , MEA_BC ,
NivelPresencia , NivelAusencia ,
TimePresencia , TimeAusencia ,
Ex: 14,2,
14,2,
14,2,
80.0,50.0,
1000,1000,
TimeEstabilidad ,
TimeConmutación ,
TimeEsperaIgualdad ,
• TimeEstabilidad: Stability time (in msec.). The range of possible values is 0-300000, the
default value being 60000 milliseconds. Step is 100 milliseconds.
• TimeConmutación: Switch time (in msec.). The range of possible values is 0-10000, the
default value being 5000 milliseconds. Step is 100 milliseconds.
• TimeEsperaIgualdad: Equality Delay Time (It is a FIXED value: 1000 msec.). This setting
is NOT CONFIGURABLE. It is for information only, and will NOT be displayed on the
HMI's control function settings screen.
Ex: 60000,
5000,
1000,
The first configuration parameter indicates that the control function is in service, so we will set
the default value to 0. The second one indicates the nominal value for detecting Medium
Voltage presence/absence, so we will configure it, for example, with the default value of 13 KV.
As for the third parameter, which was the switching time associated with that control function,
we will configure it to the default value of 5000 ms.
M1CPTA2005I
1CPT: Substation Central Unit A-66
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Servicio , V_NominalMedia ,
TimeConmutación ,
Ex: 0, 13.0,
5000,
NumMandos ,
DirEq , ISE , DCO , (*) (**)
(*) It repeats for each command i the corresponding sequence. There will be as many as
shown in NumCommands.
(**) It repeats for each sequence of MANALTA controller. There will be 8 sequences (0-7)
that will be listed below.
A table with 8 sequences is displayed. For the H2 Control Function said sequences are:
M1CPTA2005I
A-67 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Ex:14,//Num. Commands
0,260,8,500,0,260,-1,260,-1,0,0,0, //activate pref1 from Panel
1,260,9,500,0,260,-1,260,-1,0,0,0, //activate pref2 from Panel
2,260,10,500,0,260,-1,260,-1,0,0,0,//activate pref12 from Panel
3,260,7,500,0,260,-1,260,-1,0,0,0, //auto to manual from Panel
4,260,-1,500,0,260,-1,260,-1,0,0,0,//reset auto from Panel
5,260,8,500,0,260,-1,260,-1,0,0,0, //activate pref1 from Remote
Control
6,260,9,500,0,260,-1,260,-1,0,0,0, // activate pref2 from Remote
Control
7,260,10,500,0,260,-1,260,-1,0,0,0,// activate pref12 from Remote
Control
8,260,7,500,0,260,-1,260,-1,0,0,0, //auto to manual from Remote
Control
M1CPTA2005I
1CPT: Substation Central Unit A-68
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
(*)It repeats for each H control function digital signal. There will be 23 signals listed
below.
• DirEq: Address of the device that the signal belongs to, within the Central Unit database.
• ISC: Signal Identifier.
M1CPTA2005I
A-69 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
DirEq , ISC ,
• DirEq: Address of the device that the signal belongs to, within the Central Unit database.
• ISC: Digital signal Identifier.
TimeLineasAcopl , TimeEspReposBloq ,
• TimeLineasAcopl: Time of Coupled Lines (in msec.). The range is 100-30000, default value
5000 ms. step 100 ms.
• TimeEspReposBloq: Blocking Reset Time Delay (in msec.). The range is 100-5000, default
value 2000 ms. step 100 ms.
M1CPTA2005I
1CPT: Substation Central Unit A-70
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• Configuration Data of the REST of Digital Signals (from Input 24 to 38) used
by the Control Function in the Signals of the Sequences: [line 92-106]
• DirEq: Address of the equipment to which the signal belongs, within the Central Unit
database.
• ISC: Identifier of the signal.
In the case of H2 Control Function, these are the 15 remaining signals, which will be
configured with signals that do not belong to the automation.
Table A-17:
24. Bus Differential 1 Trip
25. Bus Differential 2 Trip
26. VT Trip Line 1
27. VT Trip Line 2
28. Disconnector Switches Closed
29. Goose Subscription Failure
30. 51 Trip Line 1
31. 51 Trip Line 2
32. 51 Trip Transformer 1
33. 51 Trip Transformer 2
34. 51 Trip Link
35. Key 69 Line 1
36. Key 69 Line 2
37. Key 69 Coupling
38. SF6 Trip
M1CPTA2005I
A-71 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
1CPT: Substation Central Unit A-72
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
A-73 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
The purpose of this control function is to detect, upon activation of the resistive ground alarm,
the medium voltage line that caused the problem. To this end, a sequence of openings is
initiated according to a programmed priority. It will be stopped when detecting alarm
deactivation after an open command, keeping the breaker open and blocking the close
operation.
The name of these files is “tierr_i.cfg”, with i equal to 1, 2, 3, … and will be associated to the
virtual devices with PROCOME address 259, 262, 263, … respectively.
Servicio ,
TimeArranque ,
TimeComprobación ,
NumPosiciones ,
• Servicio: This setting indicates whether the control function is in service (1) or not (0).
• TimeArranque: Control function pickup time, after alarm detection (in sec.). The range of
possible values is 0-600, the default value being 60 seconds. Step is 1 second.
• TimeComprobación: Open line check time (in sec.). The range of possible values is 0-10,
the default value being de 5 seconds. Step is 1 second.
• NumPosiciones: Number of bays controlled by the control function.
Ex: 1,
20,
5,
2,
Note: the Resistive Ground control function has 8 fixed and consecutive digital signals, with ISC indexes going
from ISC_0 to ISC_7. The following table shows the 8 digital signals and associated function:
M1CPTA2005I
1CPT: Substation Central Unit A-74
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
(*) It repeats for each bay. There will be as many as shown in NumBays.
• DirEq_A: Address of the device that the open command corresponding to the bay p
breaker belongs to.
• ISE_A: PROCOME label of open command.
• DCO_A: DCO of open command.
• DirEq_C: Address of the device that the close command corresponding to the bay p
breaker belongs to.
• ISE_C: PROCOME label of close command.
• DCO_C: DCO of close command.
ISC , (*)
(*) It repeats for each bay. There will be as many as shown in NumBays.
• ISC: PROCOME label (of logic ground control function) of bay p ground detection signal.
Ex: 13,22,2,
M1CPTA2005I
A-75 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• InterruptServ: This bit indicates whether a bay breaker is in service (1) or out of service
(0). There will be as many as shown in NumPosiciones.
DirEqDisp64 , ISCDisp64 ,
DirEqAlrTR , ISCAlrTR ,
• DirEqDisp64: Address of the device that the Trip Relay 64 Módulo 1 Disconnected signal
belongs to.
• ISCDisp64: PROCOME label of said signal.
• DirEqAlrTR: Address of the device that Alarma Tierra Resistente Barras Módulo 1 signal
belongs to.
• ISCAlrTR: PROCOME label of said signal.
Prioridad , (*)
(*) It repeats for each bay. There will be as many as shown in NumPosiciones.
Ex: 1, //Bay1
2, //Bay2
Identificación , (*)
(*) It repeats for each bay. There will be as many as shown in NumPosiciones.
M1CPTA2005I
1CPT: Substation Central Unit A-76
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
PrioMódulo ,
• PrioMódulo: Module priority. The range of possible values is 0,1,2. If the setting is 0,
there is no coordination. If it is set to 1, this control function is the first to start detecting
the source of the fault. If it is set to 2, it waits for the other to finalise before starting. For
these operations to be carried out an external logic is needed to define every situation of
the control functions.
DirEqAcopl , ISC_Acopl ,
• DirEqAcopl: Address of the device that the tie breaker signal belongs to.
• ISC_Acopl: PROCOME label of the tie breaker closed signal.
NumPosAdic ,
DirEq_A , ISC_Abierto , DirEq_C , ISC_Cerrado , (*)
(*) It repeats for each additional bay. There will be as many as shown in NumPosAdic.
Ex: 3,
12, 45, 12, 46,
14, 45, 14, 46,
15, 37, 15, 38,
M1CPTA2005I
A-77 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
1CPT: Substation Central Unit A-78
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
Servicio ,
TimeDesconex ,
BloqAutomático ,
NumTerminales ,
• Servicio: This bit indicates whether the Eras control function is in service (1) or not (0).
• TimeDesconex: Disconnection timeout (in sec.). The range of valid values is 0-10. Step is
1 second.
• BloqAutomático: This bit indicates whether the automatic blocking option after
disconnection is activated (1) or not (0).
• NumTerminals: Number of Eras control function terminals.
Ex: 1,
5,
0,
3,
• Prioridad: Terminal priority. The range of valid values is 1-20. Step is 1. There will be as
many as shown in NumTerminals.
M1CPTA2005I
A-79 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
DirEq_98TtBA , ISC_98TtBA ,
DirEq_98TtBB , ISC_98TtBB ,
DirEq_VBA , ISC_VBA ,
DirEq_VBB , ISC_VBB ,
DirEq_BLQ , ISC_BLQ ,
• DirEq_98TtBA: Address of the device that signal Trip del automático de Tensión de
Barras A belongs to.
• ISC_98TtBA: PROCOME label of said signal.
• DirEq_98TtBB: Address of the device that signal Trip del automático de Tensión de
Barras B belongs to.
• ISC_98TtBB: PROCOME label of said signal.
• DirEq_VBA: Address of the device that signal Tensión en Barra A belongs to.
• ISC_VBA: PROCOME label of said signal.
• DirEq_VBB: Address of the device that signal Tensión en Barra B belongs to.
• ISC_VBB: PROCOME label of said signal.
• DirEq_BLQ: Address of the device that signal Entrada de Bloqueo belongs to.
• ISC_BLQ: PROCOME label of said signal.
M1CPTA2005I
1CPT: Substation Central Unit A-80
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
NumTerminales ,
Ex: 3,
Now, configuration data of all virtual terminals (one after the other) are included. The
information below will be given for each virtual terminal:
M1CPTA2005I
A-81 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
(*) It repeats as many times as there are connections of bay devices with ISCs (15 times).
• DirEq: Address of the bay device that the ISC signal in question belongs to.
• ISC: PROCOME label of said signal ISC
M1CPTA2005I
1CPT: Substation Central Unit A-82
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• DirEqAp: Address of the device that the open command of the physical terminal belongs
to.
• ISEAp: PROCOME label of said open command.
• DCOAp: DCO of said open command.
• DirEqCi: Address of the device that the close command of the physical terminal belongs
to.
• ISECi: PROCOME label of said close command.
• DCOCi: DCO of said close command.
EnServicio ,
Prioridad ,
NivelTension1 ,
DosBarras ,
EnergBarras ,
EnergLinea ,
AcoplamTens ,
ReserLinea ,
ReserBarra ,
TimeReposTerm ,
TimeReposLRL ,
TimeSubtensLR ,
NombTerminal ,
• EnServicio: Indicates whether the terminal is in service (1) or out of service (0).
• Prioridad: Terminal priority. Possible values are 1-20.
• NivelTension1: Voltage level: 1 = YES, 0 = NO.
• EnergBarras: Busbar energizing: 1 = YES, 0 = NO.
• EnergLinea: Line energizing: 1 = YES, 0 = NO.
• AcoplamTens: Voltage coupling: 1 = YES, 0 = NO.
• ReserLinea: Reserve to line: 1 = YES, 0 = NO.
• ReserBarra: Reserve to busbar: 1 = YES, 0 = NO.
• TimeReposTerm: Terminal reset time (in sec.). The range of valid values is 3-30. Step is
1 second.
• TimeReposLRL: Reset time due to (in sec.). The range of valid values is 3-60. Step is 1
second.
• TimeSubtensLR: Undervoltage time LR (in sec.). The range of valid values is 0-10. Step
is 1 second.
• NombTerminal: Terminal description (maximum number of characters: 15).
M1CPTA2005I
A-83 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
1CPT: Substation Central Unit A-84
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• ExisteHorarioST: Indicates whether the Central Unit handles summer / winter time (1) or
not (0).
• LocalTimeOffset: Local time offset with respect UTC time, expressed in hours, (Madrid is
in the UTC+1 time zone, therefore, LocalTimeOffset will be 1). For noninteger offsets, the
values will be floating point numbers, namely, if the time zone is UTC+3:30, the value will
be 3.50. The range of this setting is -12.00 to +13.00. Only available in CPT relays.
• UCSUsaHoraUTC: Indicates whether the Central Unit operates with UTC time (1) or local
time (0). If this parameter is not configured, it takes the value of 0 by default. Only
available in CPT models.
IMPORTANT: IEC 61850 operates with time tags in UTC 10 format and also puts forward
the standard SNTP 11 to carry out device time synchronisation, that also uses UTC time
and date. In this case, LocalTimeOffset and UCSUsaHoraUTC must be configured for the
Central Unit to convert UTC time tags transmitted by IEC 61850 relays into time tags in
accordance with the local time of the country where the Central Unit is installed, that will
be set via LocalTimeOffset. This conversion from UTC time into local time will only be
carried out when UCSUsaHoraUTC is set to 1.
Ex: 1,0,0,
• Data on the Date and Time in which the Change to Summer or Winter Time will
be Produced: [Line 4]
• IdDiaVer: This parameter indicates whether the change to summer time is carried out the
first (1), second (2), third (3), fourth (4) or last (0) day “DiaSemanaVer” of the month (see
Example in next page).
• DiaSemanaVer: Day of the week in which the change to summer time is carried out:
(1=SUNDAY, 2=MONDAY, 3=TUESDAY, 4=WEDNESDAY, 5=THURSDAY, 6=FRIDAY,
7=SATURDAY).
10
UTC: Universal Time Coordinated
11
SNTP: Simple Network Time Protocol (RFC 2030)
M1CPTA2005I
A-85 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• MesVer: Month in which the change to summer time is carried out (1-12).
• HoraVer: Time at which the change to summer time is carried out (0-23).
• IdDiaInv: This parameter indicates whether the change to winter time is carried out the
first (1), second (2), third (3), fourth (4) or last (0) day “DiaSemanaInv” of the month.
• DiaSemanaInv: Day of the week in which the change to winter time is carried out:
(1=SUNDAY, 2=MONDAY, 3=TUESDAY, 4=WEDNESDAY, 5=THURSDAY, 6=FRIDAY,
7=SATURDAY).
• MesInv: Month in which the change to winter time is carried out (1-12).
• HoraInv: Time at which the change to winter time is carried out (0-23).
• NumHoras: Amount of hours the clock is put forward or backward in summer or winter
respectively.
Ex: 0,1,3,2,0,1,10,3,1,
Example: with these data, considering the current year is 2002, the dates of change to summer
and winter times will be:
Summer: last (0) sunday (1) of March (3) at 2.00h (2) Day:31/03/2002 At 02:00h
becomes 03:00h.
Winter: last (0) sunday (1) of October (3) at 3.00h (3) Day:27/10/2002 At 03:00h
becomes 02:00h.
[1] # The Central Unit handles summer / winter time (0) or not.
[2] 1,0,0,
[3] #IdDiaVer,DiaSemVer,MesVer,HoraVer,IdDiaInv,DiaSemInv,MesInv,HoraInv,Num
Horas,
[4] 0,1,3,2,0,1,10,3,1,
M1CPTA2005I
1CPT: Substation Central Unit A-86
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
PuertoCOM , Velocidad ,
• PuertoCOM: CPX/CPP/CPT serial port the modem is connected to for remote access.
Port data are fixed: 9600 baud, no parity, 8 data bits and 1 stop bit.
• Velocidad: Baud rate (in bps) associated to the remote access port. If it is not configured,
the default value is 9600.
Ex: COM2,115200,
TipoServicio , NumLineasComandosModem ,
Comando , (*)
(*) It repeats as many times as commands are necessary to initialise the modem
(NumLineasComandosModem times).
Ex: 1,4,
at+cicb=0<cr>,
at+cbst=0,0,1<cr>,
at+ifc=2,2<cr>,
at&D1<cr>,
M1CPTA2005I
A-87 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
NumEntradas ,
DirIPDest ,
MaskDest ,
DirIPGateway , (*)
IFNet ,
M1CPTA2005I
1CPT: Substation Central Unit A-88
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
A-89 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
The file is segregated into four parts: Configuration of the Central Unit as SNTP server,
configuration of the Central Unit as Broadcast SNTP client, configuration of the Central Unit as
Unicast SNTP client and configuration of SNTP general parameters.
ServerRole , ServerStartAtBegin ,
IsServerMcast , McastAddress , McastPeriod , McastIgnoreTLC ,
• ServerRole: Indicates whether the Central Unit operates as SNTP server (1) or not (0).
• ServerStartAtBegin: Indicates whether the Central Unit is to operate as SNTP server from
the start (1) or not (0). The option to configure by default will be that the Central Unit be a
server from the start (1). The option of not being a server from the start (0) is reserved for
the cases in which the Central Unit must only be SNTP server under certain conditions to
be checked in operation (not implemented).
• IsServerMcast: Indicates whether the multicast/broadcast SNTP server for the periodic
transmission of synchronisation messages is activated (1) or not (0). Even if this setting is
not active, when the CPT switches from not synchronised to synchronised, and vice
versa, a spontaneous multicast/broadcast synchronisation message will be sent to its
clients to reflect the new situation.
• McastAddress: IP address of the multicast/broadcast SNTP server used both for periodic
synchronisation transmissions and spontaneous transmissions.
• McastPeriod: States how often (in msec) the multicast/broadcast server will send a SNTP
synchronisation.
• McastIgnoreTLC: Indicates whether the multicast/broadcast SNTP server sends
synchronisations (1) or not (0) when the time is not reliable.
Ex: 1,1,
0,255.255.255.255,10000,1,
M1CPTA2005I
1CPT: Substation Central Unit A-90
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• Data to Configure the Central Unit as Broadcast SNTP Client: [See Example,
Line 12]
• IsClientBcast: Indicates whether the Central Unit operates as Broadcast SNTP client (1)
or not (0). The Central Unit will only admit broadcast synchronisers from server
configured in the list of Unicast servers (see next configuration lines).
• BcastT2off: Time (in msec.) without receiving a correct broadcast synchronisation to
consider the Broadcast client not reliable (offline). Configure 0 to state that this
parameter will not be used, namely, that once the Central Unit considers this parameter
reliable (online), it will never switch to non reliable. Maximum setting is 1000 (excluding
said 0).
• BcastT2on: Time (in msec.) receiving correct broadcast synchronisations to consider the
Broadcast client reliable (online). Configure 0 to state that this parameter will not be used
and the Central Unit will switch to consider the Broadcast client reliable immediately after
the first synchronisation received. Minimum setting is 1000 (excluding said 0).
Ex: 0,0,0,
• Data to Configure the Central Unit as Unicast SNTP Client: [See Example,
Line 17-21]
NumServers ,
IPServer , (*)
(*) It repeats for each SNTP server the Central Unit is connected to as Unicast client. There
will be as many as shown in NumServers.
• IsClientUcast: Indicates whether the Central Unit operates as Unicast SNTP client (1) or
not (0).
• Refresh: Time (in msec.) between synchronisations with SNTP servers. Minimum setting
is 10000.
• ConRetries: Number of connection attempts with each SNTP server. Maximum setting is
10.
• RecRefresh: Time (in msec.) between synchronisations with SNTP servers after a failed
synchronisation. It is applicable when the connection with ALL servers has failed. This
parameter must be less or equal than “Refresh”.
• Threshold: Time difference (in msec.) between the time received from the server and the
internal time of the Central Unit above which the Central Unit does not synchronise its
internal time with the time received from the server. Default value is 0. Minimum setting is
1000 (excluding said 0).
M1CPTA2005I
A-91 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
• UcastT2on: After a SNTP server has dropped, if recovery is detected (response with
reliable time), a number of correct Unicast synchronizing attempts must take place
(response with reliable time) before considering said server reliable (online) and therefore
synchronising the Central Unit with its time. Said number of Unicast attempts is figured
out by dividing "UcastT2on" by "Refresh". If the result is not an integer, it is rounded to
the next higher integer.
Ex1: UcastT2on = 10000; Refresh = 10000 => NumIntentos = 10000 / 10000 = 1.
Ex2: UcastT2on = 12000; Refresh = 10000 => NumIntentos = 12000 / 10000 = 1.2 = 2.
In this way, if upon receiving a reliable time from a SNTP server, said server is to be
considered reliable (online) immediately, "UcastT2on" = "Refresh" must be configured.
Minimum setting is 10000 and this must be greater or equal than “Refresh”.
• UcastT2off: If the Central Unit is being configured by a SNTP server and the server has
dropped or is sending not reliable time, a number of Unicast synchronisation attempts
must take place while the server is dropped or sending not reliable time before
considering the server not reliable (offline). Said number of Unicast attempts is figured
out by dividing "UcastT2off" by "Refresh". If the result is not an integer, it is rounded to
the next higher integer.
Ex1: UcastT2off = 10000; Refresh = 10000 => NumIntentos = 10000 / 10000 = 1.
Ex2: UcastT2off = 12000; Refresh = 10000 => NumIntentos = 12000 / 10000 = 1.2 = 2.
In this way, if upon the drop of a SNTP server or receiving not reliable time, said server is
to be considered not reliable (offline) immediately, "UcastT2off" = "Refresh" must be
configured. Minimum setting is 10000 and this must be greater or equal than “Refresh”.
• SegWaitAnswerSrv: SegWaitAnswerSrv Number of timeout seconds for SNTP server
response. Default value is 1 second. Maximum allowable value depends on other values
previously configured.
[if (ConRetries > 0) then MaxSegWaitAnswerSrv= RecRefresh / ConRetries]
• NumServers: Number of SNTP servers the Central Unit can connect to in Unicast client
mode. Maximum number of servers is 10 (primary SNTP server and secondary SNTP
servers).
• IPServer: IP address of the server the Central Unit is to be connected to in Unicast client
mode.
Ex:
1,10000,3,10000,0,20000,30000,
1,
2,
128.127.160.159,
128.127.160.160,
M1CPTA2005I
1CPT: Substation Central Unit A-92
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
IgnoreLI2Sync , FollowLI ,
TrazasSNTP ,
• IgnoreLI2Sync: Indicates whether the SNTP client (Unicast / Broadcast) will synchronise
(1) or not (0) with the time received from the SNTP server when the latter is tagged as not
reliable time (“Leap Indicator” equals 3).
• FollowLI: Indicates whether the SNTP client (Unicast / Broadcast) is considered
synchronised (online) or not synchronised (offline) following exactly the “Leap Indicator”
(LI) of the time received from the SNTP server (1) or using the configured online and
offline times (“BcastT2on”, “BcastT2off”, “UcastT2on” and “UcastT2off”).
• TrazasSNTP: Indicates whether traces of SNTP module to file activate (1) or deactivate
(0). The trace file is saved in the memory (\\temp\sntp.log).
Ex: 0,0,
0,
M1CPTA2005I
A-93 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
(**) It repeats for each Terminal Server to be configured. There will be as many as
shown in NumTS.
(*) It repeats for each Terminal Server Port to be configured. There will be as many as
shown in NumPuertos.
• DirIP: IP address of the Terminal Server (CIC). It is used by the CPT to carry out TCP
connections. If the IP address is within the LAN1 range, the connections will be carried
out using said interface. If it is within the LAN2 range, the connections will be carried out
using this other interface. In case the ranges coincide, LAN1 will be used.
• NumPuertos: Number of ports to be configured in the Terminal Server. The 9 available
ports will be configured by default.
• PuertoVirtual: States the logic port number assigned to each Terminal Server port. They
must be configured in consecutive order, with no skips, namely, the first line is for the first
port, the second line for the second port, etc. The values to take down here are the ones
shown in the following table.
• PuertoTCP: Number of the TCP port that the corresponding physical port is associated to
in the CIC. As a general rule the values to be used are shown in the following table, but, if
the configuration of the installation network so requires, these can be changed to other
values provided the same numbers are placed in this file and the CIC configuration.
M1CPTA2005I
1CPT: Substation Central Unit A-94
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
# TSCOMS.CFG
# NumTS, Timeout,
2,10,
#For each Terminal Server the block below is configured.
# IP, Num ports,
128.127.88.77,9,
# Virtual port, TCP port,
201,1001,
202,1002,
203,1003,
204,1004,
205,1005,
206,1006,
207,1007,
208,1008,
209,1009,
# IP, Num ports,
128.127.88.78,9,
# Virtual port, TCP port,
211,1001,
212,1002,
213,1003,
214,1004,
215,1005,
216,1006,
217,1007,
218,1008,
219,1009,
M1CPTA2005I
A-95 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex A. Configuration Files for CPX / CPP / CPT
M1CPTA2005I
1CPT: Substation Central Unit A-96
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
B. Configuration of Protocol
Emulators
Annex B. Configuration of Protocol Emulators
B.1 Introduction
This Enclosure contains a description of the configuration files for the different protocol
emulators that can be included in the CPX/CPP/CPT software.
Electricity companies have a communication mechanism with electrical substations that enables
them access to part of the information from the same, and this, in turn, enables them to
manoeuvre certain elements. One of the most important characteristics of the CPX/CPP/CPT is
that it enables external access to substation data in order that the previously described
operations can be carried out.
The communications’ mechanism used by each of the electricity companies varies quite a lot,
even within the same company. Generally speaking, all communications are carried out via
series, albeit the physical environment usually varies: radio waves, carrier waves, optic fibre,
etc. In the end, the interphase with the CPX/CPP/CPT is translated into a series RS-232
connector, which connects with the CPX/CPP/CPT on one side and with a modem on the other.
Communication with control offices is also possible through a TCP/IP link on Ethernet.
The main difference lies on the communications’ protocol used for linking both devices. In order
to be able to connect to these devices, the CPX/CPP/CPT must not only implement the
communications’ protocol in question, but must also emulate certain functionality characteristics
that are associated to this protocol. This functionality is supported in the CPX/CPP/CPT via a
protocol emulator.
A configuration file is associated to each of these protocols, which is used to link data within the
CPX/CPP/CPT database with data from the database of the electricity company.
The following sections will provided a detailed explanation of each of these configuration files.
M1CPTA2005I
1CPT: Substation Central Unit B-2
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 1,
0,1,0,0,0,
Ex: 3,3,
• Puerto: Communications Port. Possible values are COM1, COM2, COM3 and COM4.
• Veloc: Baud rate. It can use the following values 2400, 4800, 9600 and 19200 baud.
• TipoPar: Type of parity. It can use values ‘N’ or ‘n’ (none); ‘O’, ‘o’, ’i’, ‘I’ (odd number);
‘E’,‘e’, ‘p’, ‘P’ (even number).
• NumBits: Number of bits. Possible values are 7 and 8 bits.
• NumStop: Number of stop bits. It can use values 1 and 2.
Ex: COM1,1200,e,8,1,
M1CPTA2005I
B-3 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• RxRTSon: Time lapsed from the moment a message is received until the RTS is
activated ( in ms; from 0-32767, in 11 ms increments).
• RTSon: Time that the RTS remains ON before transmitting (in ms; from 0-32767, in 11
ms increments).
• RTSoff: Time that the RTS remains OFF after transmitting (in ms; from 0-32767, in 11 ms
increments).
• CTS: Indicates activation (1) or not (0) of the CTS command.
• ErrorTel: Time lapsed before remote control error is issued (in sec.).
• NivelMonitor: Trace monitoring level.
Ex: 200,100,100,0,90,0,
NumOrdenes ,
Dir101 , DirEq , ISE , (*)
(*) This repeats for each remote control single command. There will be as many as indicated
under NumOrdenes. They will be arranged in ascending order of Dir101.
NumComandos ,
Dir101 , DirEq , ISEsubir , ISEbajar , MEA , (*)
(*) This repeats for each remote control tap change command. There will be as many as
indicated under NumCommands. They will be displayed in ascending order of Dir101.
M1CPTA2005I
1CPT: Substation Central Unit B-4
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumSD ,
Dir101 , DirEq , ISC , COT , GRUPO , (*)
(*) This repeats for each single remote control contact type signal. There will be as many as
indicated under NumSD. They will be arranged in ascending order of Dir101.
NumSD ,
Dir101 , DirEq , ISC_OFF , ISC_ON , ISC_DESC ,
(*) This repeats for each remote control double contact signal. There will be as many as
indicated under NumSD. They will be arranged in ascending order of Dir101.
M1CPTA2005I
B-5 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(*) This repeats for each remote control measurement. There will be as many as indicated
under NumMeds.
M1CPTA2005I
1CPT: Substation Central Unit B-6
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
VBA, LINF, LISUP, VMAX and VMIN parameters must be configured in scaled engineering
values, i.e., within the scale determined by the Escala parameter.
In order to obtain the conversion ratio from the 12 bit digital values sent by the relays to the
engineering values used by this IEC-102 remote control profile, the VMAX and VMIN
parameters must be enabled and configured. Thus, two new parameters, Corr and Offset, will
be calculated internally in the Central Unit from the values configured for VMAX and VMIN. This
two new parameters define, for each measurement, the conversion ratio that will enable the
conversion of the 12 bit digital values sent by the relays into the engineering values used by this
IEC-102 remote control profile prior to being translated to the scale defined by the Escala
parameter. Once the conversion to engineering values has been made, the measurement value
is translated to the scale defined by the Escala parameter.
Parameters VBAMin and VBAMax in primary values (please, bear in mind that scaled values
will be configured in the file between VMAX and VMIN) are different for each type of
measurement:
M1CPTA2005I
B-7 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumConts ,
Dir101 , DirEq , CON , GRUPO , (*)
(*) This repeats for each remote control counter. There will be as many as indicated under
NumConts. They will be arranged in ascending order of Dir101.
NumComandos ,
Dir101 , DirEq , ISEsubir , ISEbajar , MEA , Paso , (*)
(*) This repeats for each remote control set point change command. There will be as many as
indicated under NumCommands. They will be arranged in ascending order of Dir101.
M1CPTA2005I
1CPT: Substation Central Unit B-8
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumAsocCausales ,
COT_PROCOME , COT_CEI101 , (*)
(*) This repeats for each causal association. There will be as many as indicated under
NumAsocCausales.
M1CPTA2005I
B-9 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-10
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[87] 7001,22,0,20,
[88] 7002,22,1,20,
[89] 7003,22,2,20,
[90] 7004,22,3,20,
[91] # Set point control commands
[92] 2,// Num. Commands
[93] # DIR101,DIR,ISEsubir,ISEbajar,MEA,Tab,
[94] 8001,17,2,3,1,205,
[95] 8002,21,2,3,1,205,
[96] # Causal associations
[97] 4,// Num. Causal assoc.
[98] # COT Procome, COT CEI101
[99] 128,48,// Unknown
[100] 129,49,// Protection
[101] 130,50,// Control function
M1CPTA2005I
B-11 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 1,
0,1,0,0,0,0,
Ex: 14,
• Puerto: Communications Port. Possible values are COM1, COM2, COM3 and COM4.
• Veloc: Baud rate. It can use the following values 2400, 4800, 9600 and 19200 baud.
• TipoPar: Type of parity. It can use values ‘N’ or ‘n’ (none); ‘O’, ‘o’, ’i’, ‘I’ (odd number);
‘E’,‘e’, ‘p’, ‘P’ (even number).
• NumBits: Number of bits. Possible values are 7 and 8 bits.
• NumStop: Number of stop bits. It can use values 1 and 2.
Ex: COM1,9600,e,8,1,
• RTSon: Time that the RTS remains ON before sending (in msec.).
• RTSoff: Time that the RTS remains OFF before sending (in msec.).
• CTS: CTS activation (1) or not (0).
• ErrorTel: Delay time for issuing a remote control error signal (in sec.).
• NivelMonitor: Trace monitoring level (0,1,2, or 3).
• CDOff: Time elapsed since the last character of the frame is received until the RTS is
activated.
Ex: 22,22,0,60,0,99,
M1CPTA2005I
1CPT: Substation Central Unit B-12
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumOrdenes ,
Dir101 , DirEq , ISE , (*)
(*) This repeats for each remote control command. There will be as many as indicated under
NumOrdenes. They will be arranged in ascending order of Dir101.
NumSD , DirSeñOverflow ,
Dir101 , DirEq , ISC , (*)
(*) This repeats for each remote control digital signal. There will be as many as indicated
under NumSD. They will be arranged in ascending order of Dir101.
M1CPTA2005I
B-13 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumMeds , Escala ,
Dir101 , DirPar , Dir , Med , Corr , Ope1 , Ope2 , Ope3 , Ope4 ,
(*) This repeats for each remote control measurement. There will be as many as indicated
under NumMeds.
VBA, LINF, LISUP, VMAX and VMIN parameters must be configured in scaled engineering
values, i.e., within the scale determined by the Escala parameter.
M1CPTA2005I
1CPT: Substation Central Unit B-14
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
When the use of VMAX and VMIN parameters is enabled, the value configures in the file
“cei101.cfg” for Corr is not used. In this case, the value of this parameter is calculated internally
by the Central Unit from the values configured for VMAX and VMIN parameters. Also, a
parameter, Offset, is calculated.
With Corr and Offset, the conversion ratio to convert the 12 bit digital values sent by relays into
engineering values used by this IEC-101 remote control profile, before being translated into the
scale defined by the Escala parameter, is obtained. Once the conversion into engineering
values has been made, the measurement value is translated to the scale defined by the Escala
parameter.
NumConts ,
Dir101 , DirEq , CON , (*)
(*) This repeats for each remote control counter. There will be as many as indicated under
NumConts. They will be arranged in ascending order of Dir101.
M1CPTA2005I
B-15 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-16
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-17 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
This profile is used, among others, for the following customers/SCADAS: Endesa, Siemens,
ABB, and Enersul. As regards Enersul, there are a series of parameters that must be configured
in accordance with SCADA’s requirements. These parameters will be displayed at the end of
the document.
Should CEI870-5-104 also be used, file GW104101.CFG, described under section B.2.8, must
also be configured in accordance with data describing the data sizes that are displayed further
on.
Ej: 13,
0,1,0,0,0,1, // Remote Control Communications failure
1,1,0,0,0,1, //ISC Command NOT available
2,1,0,0,0,1, //ISC Local Command Blocking
3,1,0,0,0,1, //spare
4,1,0,0,0,1, //spare
5,1,0,0,0,1, // Client 1 connected or disconnected
6,1,0,0,0,1, //Client 2 connected or disconnected
7,1,0,0,0,1, //Client 3 connected or disconnected
8,1,0,0,0,1, //Client 4 connected or disconnected
9,1,0,0,0,1, //Client 5 connected or disconnected
10,1,0,0,0,1, //Client 6 connected or disconnected
11,1,0,0,0,1, //Client 7 connected or disconnected
12,1,0,0,0,1, //Client 8 connected or disconnected
M1CPTA2005I
1CPT: Substation Central Unit B-18
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The default values, if nothing is configured for the above-mentioned sizes, are as follows:
Parameter Size
DirEnlaceLength 2
DirAsduLength 2
CotLength 2
DirObjLength 3
Note: If the 104 interface is configured this must be done in balanced mode in the “TipoEnlace” (LinkType)
parameter described below.
Ex: 111,111,126,0,1,2,2,2,3,
If there is no 104 interface, the type of 101 link to use must be configured. There are two
possibilities: serial connection with one or two ports and network interface (encapsulated).
If a RS232 serial connection is used, the configuration parameters are as follows. If two ports
are used, two lines must be configured, one for each port.
• Puerto: Communications port. Possible values are COM1, COM2, COM3 and COM4.
• Veloc: Baud rate. Possible values are 600, 1200, 2400, 4800, 9600 and 19200 baud.
• TipoPar: Type of parity. It can take the values ‘N’ or ‘n’ (none); ‘O’ or ‘o’, (odd number); ‘E’
or ‘e’, (even number).
• NumBits: Number of bits. Possible values are 7 and 8 bits.
• NumStop: Number of stop bits. Possible values are 1 and 2.
• TamañoFIFO: Is the size of FIFO in bytes. Possible values are 1, 4, 8, 14 or 0 (FIFO not
used). Default value is 1.
Ej: COM1,1200,e,8,1,1,
Ej2: COM1,1200,e,8,1,1,
COM2,1200,e,8,1,1,
M1CPTA2005I
B-19 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
If instead a network connection is used, namely, IEC101 messages are encapsulated in TCP/IP
packets, the configuration parameters are as follows. It is imperative that NumPortsCEI101B is
configured as 1.
DirIP , PuertoTCP ,
.. ToutEntreCaracteres ,
• TimeLineaIdle: Minimum time lapse (in msec.) between successive transmissions to the
control facility. This is known as “idle line time”.
• TimeWait: Delay time (in msec.) from the moment the transmission is due until RTS sets
to ON (provided RTSon is other than 0), or else, delay time (in msec.) from the moment
the transmission is due until the transmission begins (if RTSon is set to 0). Default value
is 0.
• RTSon: Delay time from the moment RTS sets to ON until transmission begins (in msec.).
Default value is 0, which means RTS will never set to ON and, therefore, the transmission
will start immediately after TimeWait times out.
WARNING: If the RTS control line is not to be used, setting this parameter to 0 is
mandatory.
• RTSoff: Delay time (in msec.) between the moment of transmission until RTS sets to
OFF. Default value is 0, which means the RTS line will not be used.
• CTS: Indicates whether the CTS line is checked (1) or not (0) before transmitting. Default
value is 0.
• ErrorTel: Delay time (in sec.) before remote control error is issued. Default value is 60
seconds. Not used for the Balanced mode of the protocol.
• NivelMonitor: Trace monitoring level. Default value is 0.
• TimeCambMando: Timeout (in sec.), from command completion, to label the associated
changes with non spontaneous cause. Default value is 1 second.
• TimeoutSel: Timeout in seconds to automatically deselect a previously selected
command. It only has meaning when commands are run through the SELECT AND
EXECUTE method. Default value is 10 seconds.
• TimeEntreConsig: Delay time (in msec) between two successive set point commands.
Default value is 22 milliseconds.
• RTSAlwaysON: Indicates whether the RTS line must always be set to ON (1) (e.g., for
the balanced case when the CPX/CPP RTS is hard wired to the CTS of the control
facility) or not (0). If not configured, the default value is 0.
M1CPTA2005I
1CPT: Substation Central Unit B-20
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• DSR: Indicates whether the DSR line must be checked (1) or not (0). If not configured,
the default value is 0.
• TimePuertoNoActivo: Timeout for (in seconds) for a port to be deemed non active and
switch to receive the adequate message through the other port. By default, the value will
be 0. This parameter is used in dual communications port configurations.
• PermisoSincronizar: Indicates whether synchronizations are enabled from the control
facility. The value 1 indicates they are enabled. The value 0 indicates they are not
enabled. This parameter must be configured in accordance with the rest of remote
controls, since synchronizations may only be supported from one source.
• ToutEntreCharacters: Timeout between characters to reject a frame (if 0, the value
calculated internally taking into account the port features: baud rate, bits,..) is used. By
default, this value will be 0, namely, the value calculated internally is used.
Ex: 35,0,0,0,0,60,0,1,10,22,0,0,10,1,0,
… , NoEnviaASDU70Inicio , TipoPerfil ,
M1CPTA2005I
B-21 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 0,0,3,3000,1000,10,1,0,1,0,0,0,0,
.. ModoRTUSincro ,
• GestionaST: Indicates if the control facility sends the updated date and hour with
summer/winter time change (1) or not (0). Default value is 1.
• NotificaST: Indicates if the control facility sends the ST bit, indicating the summer/winter
time (1), or not (0). Default value is 1.
• TimeAjusteSync: Timeout (in msec) to adjust the time synchronization to compensate for
possible clock drift, channel delays, etc. Default value, 0.
• CfgTimeSinSincro: Time elapsed without RTU being synchronized by the control facility
in order that the RTU is considered NOT SYNCHRONIZED (in seconds). If this is
configured as 0, it entails that the time lapsed without synchronizing is not checked
(which is the default option).
• EnviaConfSincroSiGPSOK: Indicates if (ACT_CON) confirmation is sent (1), or not (0) to
a synchronization request (ASU 103), when the CPX/CPP is being correctly synchronized
by a GPS. By default, not sent (value set to 0).
• ModoRTUSincro: Indicates how the CPX is considered from the point of view of
synchronization with respect to the remote control. If the value is 0, when there is no
communication with the remote control, the CPX will be considered as being Non-
Synchronized. If the value is 1, the communications failure will not indicate CPX Not
Synchronized. Default value, 0.
Ex: 1,1,-11,0,0,0
.. CausaResetEnvioCiclico , ThresCalcCycle ,
M1CPTA2005I
1CPT: Substation Central Unit B-22
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• TimeCiclo2: Indicates after how many seconds data is captured during cycle 2. Default
value is 12 seconds.
• TimeDespGI: Some of the measurements are sent to the control facility and, some time
after a General Interrogation (TimeDespGI) and after this, optionally, this is done in a
cyclic manner after a certain time lapse (TimeCicloDespGI). An example of this is the
measurements sent 12 seconds after a GI and, after this, they are sent periodically every
hour. It is indicated in seconds and its default value, if not configured, is 12 seconds.
• TimeCicloDespGI: See previous parameter. It is indicated in seconds and, if not
configured, the default value is 0, namely, measurements are only sent after a General
Interrogation and not periodically after.
• CausaResetEnvioCiclico: Possible causes for resetting the seconds timer for cyclic
transmission. Possible values are:
- 0: Never reset.
- 1: Reset upon receiving a synchronization from the control facility.
By default, if not configured, set to 1.
• ThresCalcCycle: Number of seconds for the Threshold algorithm calculation period. If the
value is 0, this function is not used. The value ranges between 0 and 3600. It is used in
Hidrocantábrico.
Ex: 1,4,12,12,0,1,0,
(*) It repeats for each remote control single command. There will be as many as indicated
under NumOrdenes. They will be arranged in ascending order of Dir101.
• NumOrdenes: Number of Remote Control Single Commands type ON=Pulse, OFF=Do
Nothing.
• EjecSingle: Indicates if the single commands (both ON=Pulse, OFF=Do Nothing and
ON=Pulse, OFF=Pulse) are being run using DIRECT EXECUTE (0) or SELECT AND
EXECUTE (1). Default value is 1.
• CommandActTerm: Indicates if single command end of activation (ACT_TERM) is sent
(1) or not (0). By default, End of Activation is sent (TRUE=1).
• Dir101: Address of 101 protocol single command.
• DirEq: Address of the equipment that the CPX/CPP command belongs to.
• ISE: PROCOME label of the CPX/CPP command.
• Dco: Value of the CPX/CPP command Dco. Note: This field will only exist if the
command DCO configuration (CfigDco) is enabled. Otherwise, the DCO_ON will be
assumed.
• DirEqOn: Address of the equipment that the digital signal ISCon belongs to.
• ISCon: PROCOME label of the digital signal that indicates the command activation.
• DirEqOff: Address of the equipment that the digital signal ISCoff belongs to.
• ISCoff: PROCOME label of the digital signal that indicates the command deactivation.
• DirEqDes: Address of the equipment that the digital signal ISCdes belongs to.
• ISCdes: PROCOME label of the digital signal that indicates lack of information on the
status of the command.
M1CPTA2005I
B-23 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumOrdenes ,
Dir101 , DirEq , ISEon , DcoOn , ISEoff , DcoOff , … (*)
... DirEqOn , ISCon , DirEqOff , ISCoff , DirEqDes , ISCdes ,
(*) It repeats for each remote control single command. There will be as many as indicated
under NumOrdenes. They will be arranged in ascending order of Dir101.
(*) This repeats for each remote control double command. There will be as many as indicated
under NumOrdenes. They will be arranged in ascending order of Dir101.
M1CPTA2005I
1CPT: Substation Central Unit B-24
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(*) This repeats for each remote control tap change command. There will be as many as
indicated under NumCommands. They will be arranged in ascending order of Dir101.
M1CPTA2005I
B-25 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• DcoSubirToma: Value of the CPX/CPP command Dco On. Note: This field will only
exist if the command DCO configuration (CfigDco) is enabled. Otherwise, the
DCO_ON will be assumed.
• ISEbajar: PROCOME label of the CPX/CPP lower the tap command.
• DcoBajarToma: Value of the CPX/CPP command Dco On. Note: This field will only
exist if the command DCO configuration (CfigDco) is enabled. Otherwise, the
DCO_ON will be assumed.
• MEA: PROCOME label of CPX/CPP measurement where the tap is read.
(*) It repeats for each remote control single contact signal. There will be as many as indicated
under NumSD. They will be arranged in ascending order of Dir101.
M1CPTA2005I
1CPT: Substation Central Unit B-26
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumAla ,
Dir101 , DirEq , ISC , (*)
(*) It repeats for each remote control single contact signal. There will be as many as indicated
under NumAla. They will be arranged in ascending order of Dir101.
• NumAla: Number of remote control alarm signals. If they should not exist, (as is the case
for Chilectra) they are configured as 0.
• Dir101: Address of 101 protocol alarm digital signal.
• DirEq: Address of the equipment that the associated CPX/CPP digital signal belongs to.
• ISC: PROCOME label of the CPX/CPP digital signal.
Ex: 0, // NumAla,
NumSD , TipoASDUCambioDoble ,
Dir101 , DirEq , ISC_OFF , ISC_ON , ISCdesconocido , Grupo , (*)
(*) It repeats for each remote control double contact signal. There will be as many as indicated
under NumSD. They will be arranged in ascending order of Dir101.
M1CPTA2005I
B-27 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(*) It repeats for each remote control tap. There will be as many as indicated under
NumTomas. They will be arranged in ascending order of Dir101.
M1CPTA2005I
1CPT: Substation Central Unit B-28
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumMeds , TipoASDUMedidas ,
Dir101 , Dir , Med , VBA , VMAX , VMIN , FondoEscala , ..
(*) This repeats for each remote control measurement. There will be as many as indicated
under NumMeds.
M1CPTA2005I
B-29 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
In order to obtain the conversion ratio from the digital values sent by the relays to the
engineering values used by this IEC60870-5-101 protocol profile, VMAX, VMIN, FondoEscala
and Offset must be adequately configured. In this way, two new parameters, Pendiente and
Desplazamiento, are calculated internally in the Central Unit from the values configured for
VMAX, VMIN, FondoEscala and Offset. These two new parameters define, for each
measurement, the conversion ratio that will enable the conversion of the digital values sent by
the relays into the engineering values used by this protocol profile.
VMAX - VMIN
where Pendiente = -----------------------
FondoEscala
With this method, if the difference is maintained for a given time, it is sent to the SCADA even if
the change is small.
The current value of the measurement is taken periodically and the difference is calculated with
the last transmitted value. The difference is added to the accumulated value of the previous
differences. If this value exceeds a settable value, threshold, the current value is sent to the
SCADA and is taken as the new reference value. To calculate the accumulated value, the sign
of the difference is taken into account, however, to compare with the threshold, it is not.
If a value keeps constant for a given time, its accumulated value increases in proportion to the
difference, reaching, at last, the threshold value.
M1CPTA2005I
1CPT: Substation Central Unit B-30
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Event channel activation with threshold means that the event channel connected to the object is
not activated immediately when the value is updated in the process database. Instead, a certain
type of algorithm is used to calculate when the activation is to happen.
The purpose of thresholding is to lower the load of frequent event channel activations, for
example in cases where the event channel is used to send the value to another control station
via a slow communication channel. Event channel activation with threshold applies to analog
input signals. There is a variable called “threshold attribute” defined in the application which
implements the threshold. The value of this variable is set and can be changed by the user.
The algorithm used is an integrating threshold algorithm that works like this:
When AI (Analog Input) is updated and the new value differs from the last reported value (the
value of AI at the time of last activation), the threshold integral is set to zero and threshold
calculation is started.
On each calculation cycle (100 ms in current implementation) the time integral of the difference
between AI and the reported value is added to the threshold integral. For example, if the
reported value is 240.0 and AI is 243.0, value 0.3 is added to the integral.
If the absolute value of the integral reaches or exceeds the threshold attribute value, the
associated event channel is activated and the threshold calculation is stopped.
The algorithm guarantees that if the value is changed once and then stays in that new value,
the change is sooner or later reported.
Assigning a new value to threshold attribute does not restart the possible on-going threshold
calculation. The algorithm always uses the current value of threshold.
M1CPTA2005I
B-31 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Primary (left) y-axis represents the analog input value, here without unit. Secondary (right) y-
axis is the time integral of the analog input value. The value of the threshold attribute in this
example is 0,5. When the value of the threshold reaches or exceeds he value of 0,5, an event
channel is activated and the threshold calculation is reset.
M1CPTA2005I
1CPT: Substation Central Unit B-32
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
- Set point command by raise/lower the set point control function: after receiving a set
point change command, the Central Unit starts a control function to find out the number of
times to raise/lower the set point value to reach the desired value. This mode will be
applied for commands on CPUs that do not allow direct set point commands (only allow
raise/lower set point commands). Each set point command by control function is
associated two commands (raise and lower set point) and a measurement where the set
point can be read.
- Direct set point command: a direct command is run upon the CPU in order to set the set
point to a value. Each direct set point command is associated an analog output write in
order to write the set point value to the CPU and a measurement where the set point can
be read.
(*) It repeats for each set point change command by raise/lower the set point control function.
There will be as many as indicated under NumCommandsAutom. They will be arranged in
ascending order of Dir101.
(**) It repeats for each direct set point change command. There will be as many as indicated
under NumCommandsDirect. They will be arranged in ascending order of Dir101.
M1CPTA2005I
B-33 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Paso: Allows calculating the number of times the raise or lower the set point command
must be run to reach the required set point value, as follows:
|Current_Value-Required_Value|
Number of command runs = ----------------------------------------------
Paso
Default value is 205.
Ex: 1,1,49,1,
35000,104,2,2, 3,2, 1, 205,
35001,10,0,0,
(*) This repeats for each remote control counter. There will be as many as indicated under
NumConts. They will be arranged in ascending order of Dir101.
M1CPTA2005I
1CPT: Substation Central Unit B-34
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• [BLQ_19] The Next Line of the Configuration File will only be Configured if the
Protocol is UNBALANCED
This will be used to configure whether the different data that can be sent to the control facility
are sent as response to a Class 1 or Class 2 data request
... TIPODATOCONFTESTCOMMAND ,
• EI: Indicates if the “End of initialization” (ASDU 70) is sent as class 1(1) or class 2 (2).
Default value is 1.
• ACT_CON_GI: Indicates if the “General Interrogation” (ASDU 100) activation
confirmation (ACT_CON) is sent as class 1 (1) or class 2 (2). Default value is 2.
• GI_DATA: Indicates if data sent as response to “General Interrogation” (ASDU’s 1, 3, 5,
and/or 11) are sent as class 1(1) or class 2 (2). Default value is 2.
• ACT_TERM_GI: Indicates if a “General Interrogation” (ASDU 100) end of activation
(ACT_TERM) is sent as class 1(1) or class 2 (2). Default value is 2.
• ACT_CON_SYNC: Indicates if a “Synchronization” (ASDU 103) activation confirmation
(ACT_CON) is sent as class 1(1) or class 2 (2). Default value is 1.
• ACT_CON_SC: Indicates if the “Single Command” (ASDU 45) activation confirmation
(ACT_CON) is sent as class 1(1) or class 2 (2). Default value is 2.
• ACT_TERM_SC: Indicates if the “Single Command” (ASDU 45) end of activation
(ACT_TERM) is sent as class 1(1) or class 2 (2). Default value is 2.
• ACT_CON_DC: Indicates if the “Double Command” (ASDU 46) activation confirmation
(ACT_CON) is sent as class 1(1) or class 2 (2). Default value is 2.
• ACT_TERM_DC: Indicates if the “Double Command” (ASDU 46) end of activation
(ACT_TERM) is sent as class 1(1) or class 2 (2). Default value is 2.
M1CPTA2005I
B-35 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 1,2,2,2,1,2,2,2,2,2,2,2,1,1,2,2,2,1,2,2,2,2,2,2,
M1CPTA2005I
1CPT: Substation Central Unit B-36
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-37 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[17]
[18] # Address of RTU to emulate
[19] 111,111,126,0,1,2,2,2,3 // Link address, ASDU address,
FrameMaxLenght,
[20] # Port communications parameters
[21] COM1,1200,e,8,1,1,
[22] # Time to set RTS to ON, time from RTS ON to tx (msec),
[23] # time from end of tx to set RTS to OFF (msec), Control CTS (on/off),
[24] # remote control error (sec), monitor, Command Change Time(sec),
[25] # Command Selection Time, Time between set points, RTSAlwaysON, Control
DSR
[26] 35,0,0,0,0,60,0,1,10,22,0,0,10,1,
[27] # Link Type, Number of link level retries, Timeout between
[28] # retries (msec), Maximum number of changes, NumMaxCambAntIntGen,
[29] # DesechaCambSiOV,,EnviaASDU70SiOV, CfgDco, SenalesCOTComandoRemoto,
[30] 0,0,3,3000,1000,10,1,0,1,0,0,
[31] # GestionaST,NotificaST,TimeAjusteSync,CfgTimeSinSincro,
EnviaConfSincroSiGPSOK,
[32] 1,1,-11,0,0,
[33] #
MaxCapt,Ciclo1,Ciclo2,TimeDespGI,TimeCicloDespGI,CausaReseteoEnvioCiclic
o,
[34] 1,4,12,12,0,1,
[35] # ------------------------------------------------------------
[36] [36]# OBJECT TYPE | ADDRESS RANGE
[37] # ------------------------------+------------------------------
[38] # Single Dig. St. | 00001 - 06999
[39] # Double Dig. St. | 07000 - 09999
[40] # Analog Measurements | 10000 - 19999
[41] # Tap position) | 10000 - 19999 ???
[42] # Int. Tot. Meas. (counters) | 20000 - 29999
[43] # Single commands | 33000 - 33999
[44] # Double commands | 30000 - 32999
[45] # Analog set point commands | 35000 - 39999 ???
[46] # Tap change commands | 40000 - 44999
[47] # ------------------------------+------------------------------
[48] # In this section there is a table that defines the address range
[49] # of the different types of profile objects
[50] ####################
[51] # Commands
[52] [52]2,1,1, // Num of single commands ON, Type of run,
CommandActTerm,
[53] # Association of DIR101,DIR,ISE,ISCon,ISCoff,ISCdes
[54] # it is essential to arrange DIR101
[55] # in ascending order
[56] # DIR 101 is the address of COMMAND type objects
[57] # DIR,ISE are the PROCOME address and the 7IRD command that runs the
command
[58] # ISCon is the ISC that indicates the command activation (E.g.:OPEN)
[59] # ISCoff is the ISC deactivation (E.g.:CLOSED)
[60] # ISCdes indicates (E.g.: UNKNOWN)
[61] 33000,10,1,2, 10,87, 10,93, 10,-1,
[62] 33001,10,4,2, 10,88, 10,94, 10,-1,
[63] ####################
[64] 1, // Num of single commands ON/OFF
[65] # Single ON/OFFtype commands are run through single commands
[66] # so that two single commands must be configured for each
[67] # single ON/OFF command
[68] # Association of DIR101,DIR,ISEon,ISEoff,ISCon,ISCoff,ISCdes
[69] # it is essential to arrange DIR101
[70] # in ascending order
[71] 34000,10,1,2, 4,2, 10,87, 10,88, 10,-1,
[72] ####################
M1CPTA2005I
1CPT: Substation Central Unit B-38
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-39 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-40
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
This emulator is used for Coelba, Iberdrola Distribución and Iberdrola Generación (META
profile) profiles. It fully complies with the Coelba profile, while the implementation does not
comply with the latest version of Iberdrola Distribución profile, but it corresponds to versions
previous to the adoption of 104 profile.
It is not fully implemented for Iberdrola Generación (META) profile: Commands, counters or set
points are not supported.
Ex: 2,
0,1,0,0,0,1,
1,1,0,0,0,1,
Ex: 3,10007,
M1CPTA2005I
B-41 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(*) It repeats for each port. There will be as many ports as indicated under NumPuertos.
• NumPuertos: Number of ports to communicate with the control facility. Default setting is
2.
• Puerto: Communications port. Possible values are COM1, COM2, COM3 and COM4 for
CPX relays. For CPP and CPT relays, possible values are COM1 and COM2. By default
they are configured as COM1 and COM2.
• Veloc: Baud rate. It can take the values 600, 1200, 2400, 4800, 9600 and 19200 baud.
Default setting is 9600.
• TipoPar: Type of parity. It can take the following values:
‘N’ or ‘n’ = None.
‘O’, ‘o’, ‘I’ or ‘i’ = Odd.
‘E’, ‘e’, ‘P’ or ‘p’ = Even.
By default, it will configured as even.
• NumBits: Number of bits. Possible values are 7 and 8 bits. Default setting is 8.
• NumStop: Number of stop bits. Possible values are 1 and 2. Default setting is 1.
• TamañoFIFO: Size of FIFO in bytes. Possible values are 1, 4, 8, 14 or 0 ( FIFO not
used). Default value is 1.
Ex: 2,
COM1,1200,e,8,1,1,
COM2,1200,e,8,1,1,
• General Data Related to Modem Line Control and Various Times used by the
Central Unit: [refer to example, line 17]
TimeCDon , TimeCDoff , TimeRTSon , TimeRTSoff , SwCTS , SwCDTx , …
• TimeCDon: Timeout (in msec.) for CD ON in order for data received to be deemed good.
Default value will be 0.
• TimeCDoff: Timeout (in msec.) waiting for transmission before CD sets to OFF. If
SwCDTx is 0, it will always wait. If SwCDTx is 1 and the time for CD to OFF times out, the
transmission will be aborted. Default value will be 100.
M1CPTA2005I
1CPT: Substation Central Unit B-42
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• TimeRTSon: Timeout (in msec.) to start the transfer from the time RTS sets to ON. If
SwCTS is 0, it will always wait and, when it times out, the transmission begins. If SwCTS
is 1, this is the Timeout for CTS to set to ON. If this time times out, CTS remains OFF,
and the transmission is aborted. Default value will be 100.
• TimeRTSoff: Timeout (in msec.) for RTS to set to OFF after transmission. In case
RTSAlwaysOn is 1, it always waits, but at the end of transmission RTS will not be set to
OFF. Default value will be 11.
• SwCTS: Indicates whether the CTS line is checked (1) or not (0) before transmission.
Default value will be 1.
• SwCDTx: Indicates whether the CD line is checked (1) or not (0) for transmission. If
checked, CD must be set to OFF before transmission. Default value will be 1.
• SwCDRx: Indicates whether the CD line is checked (1) or not (0) for receiving. If checked,
the CD must be set to ON for TimeCDon milliseconds to start receiving data. Default
value will be 1.
• RTSAlwaysOn: Indicates if the RTS always remains set to ON (1) or on the contrary it
sets to ON and to OFF before and after transmission respectively. Default value will be 0.
• TimeErrTelem: Timeout (in sec.) before issuing remote control communications error.
Default value will be 60.
• TimePortNoActivo: Timeout (in sec.) without receiving messages through one port to be
able to switch to the other communications port. Default setting is 10.
• NivelTraza: Trace monitoring level by the screen. The value 0 disables traces and this is
the value to be configured by default.
• TimeCambMando: Timeout (in sec.), from command completion, to label the associated
changes with non spontaneous cause. Default value will be 10.
• TimeSel: Timeout (in sec.) to automatically deselect a previously selected command. It
only has sense when commands are run with the SELECT AND EXECUTE method.
Default value is 10 seconds.
• TimeEntreConsig: Timeout (in msec) between two consecutive set point commands.
Default value is de 22 milliseconds.
• RRLResetClase2: Indicates if, after receiving a Reset Remote Link, class 2 data queues
must be reset (1) or not (0). Default setting is 1.
• TimeEntreMsjTF (for Iberdrola profile only): Timeout (in sec.) between file transfer
messages to abort the transfer. Default setting is 60.
• TimeTotalTF (for Iberdrola profile only): Timeout (in sec.) to abort a file transfer. Default
setting is 300.
• MaxSegmPorSeccion (for Iberdrola profile only): Maximum number of segments of each
section that will be sent in the file transfer. Default setting is 10.
• TimeVigilaEstIntermToma: Timeout (in sec.) for the Central Unit to monitor the
intermediate status of a capture (wrong value, namely, no capture or simultaneous
capture). When this times out with the capture to wrong value, it will be sent as invalid to
the control facility. If not configured, the default value is 10 seconds.
• PermisoSincronizar: Indicates if the control facility is (1) or is not (0) enabled to
synchronize the Central Unit. Only one of those control facilities which will interrogate the
Central Unit may have this parameter set to 1. The rest of them will have it set to 0. If
more than one protocol is configured as possible synchronization source, the protocol
which started first in the Central Unit will be the only one to enable the corresponding
control facility synchronize the Central Unit. Default setting is 1.
• MaxNumReintSeccion (for Iberdrola profile only): Maximum number of section send
retries to abort file transfer. They are retries, therefore one section will be sent
“MaxNumReintSeccion” + 1 times. The range is 1..100. If not configured, the default
value is 2 retries.
M1CPTA2005I
B-43 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• MaxNumReintFichero (for Iberdrola profile only): Maximum number of file send retries to
abort file transfer. They are retries, therefore one file will be sent “MaxNumReintFichero”
+ 1 times. The range is 1..100. If not configured, the default value is 2 retries.
• ToutChar: Timeout between characters to reject a frame. If configured to 0, the timeout
between characters will be the one calculated internally by the Central Unit, adapted to
each baud rate. If not configured, the default value is 0.
• PerfilProtocolo: Indicates the protocol profile to be emulated: 0 (Iberdrola) or 1 (Coelba).
If not configured, the default value is 0 (Iberdrola).
• PerfilMeta: Indicates if the protocol profile to be emulated is Distribución de Iberdrola (0)
or generation, META profile, (1). Default value is 0 (Distribución)
PerfilProtocolo PerfilMeta
Coelba 1 0
Iberdrola Distribución 0 0
Iberdrola Generación (META) 0 1
Ex:
0,500,500,11,1,1,1,0,60,5,0,10,10,22,0,60,2100,5,10,1,2,2,0,0,0,
• Data on the Size of the Different Data Queues: [refer to example, line 19]
TamColaClase1 , TamColaClase2 , TamColaComandos , TamColaÓrdenes ,
• TamColaClase1: Size of class 1 data queue. Once class 1 data number has been
attained, a queue overflow will occur and data will not be stored until an application Reset
is received. It will be configured by default as 1000.
• TamColaClase2: Size of each of class 2 data queues. Once the number of class 2 data
has been attained, data will not be stored until there is space in the queue for more data.
It will be configured by default as 1000.
• TamColaCommands: Size of the command queue. This is the maximum number of
nonprocessed commands (data requests) that the Central Unit can store. It will be
configured by default as 10.
• TamColaÓrdenes: Size of the command queue. It is the maximum number of commands
pending confirmation that the Central Unit is capable of processing. By default, it will be
configured as 3.
Ex: 1000,1000,10,3,
M1CPTA2005I
1CPT: Substation Central Unit B-44
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
... DiffTimeParaLanzar ,
SincroSNTP
• GestionaST: Indicates if the control facility sends the updated date and hour with
summer/winter time change (1) or not (0). Default value is 1.
• NotificaST: Indicates if the control facility sends the ST bit, indicating the summer/winter
time (1), or not (0). Default value is 1.
• TimeAjusteSincro: Timeout (in msec) to adjust the time synchronization to compensate
for possible clock drift, channel delays, etc. Default value, 0.
• FuenteSincro (CPX/CPP-A relays only): Indicates the default synchronizing source:
0=Protocol, 1=External clock. Default setting is 0.
• TimeSincroKO (CPX/CPP-A relays only): Timeout (in sec.) without receiving
synchronizations to deem the Central Unit NOT synchronized. Default setting is 2100.
• TimeSincroOK (CPX/CPP-A relays only): Timeout (in sec.) receiving correct
synchronizations from the external clock to deem the Central Unit synchronized. Default
setting is 3.
• DiffTimeParaLanzarSincroSNTP: Time difference (in msec.) between the time received
by protocol and the internal time of the Central Unit, under which a multicast/broadcast
SNTP synchronization is not sent when the Central Unit is synchronized by control
facility. This parameter has meaning only if the Central Unit is configured as SNTP
server. If not configured, the default value is 0.
Ex: 1,1,0,0,2100,5,0,
... TimeEsp ,
InfoRetorno
(*) It repeats for each remote control single command. There will be as many as indicated
under NumOrdenes. They will be arranged in ascending order of Dir101.
M1CPTA2005I
B-45 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• DirEq: Address of the equipment (CPU) that the command belongs to within the Central
Unit database.
• ISE: Central Unit command identifier.
• DCO: DCO with which the ISE command of the DirEq equipment will be run. Default
value will be 2.
• DirEqOn: Address of the equipment (CPU) that the ISCon digital signal belongs to within
the Central Unit database.
• ISCon: Digital signal identifier that indicates the command activation. If this signal is not
to be used, it will be configured in this field with the value –1.
• DirEqOff: Address of the equipment (CPU) that the ISCoff digital signal belongs to within
the Central Unit database.
• ISCoff: Digital signal identifier that indicates the command deactivation. If this signal is
not to be used, this field will be configured as –1.
• DirEqDes: Address of the equipment (CPU) that the ISCdes digital signal belongs to
within the Central Unit database.
• ISCdes: Digital signal identifier that indicates lack of information on the status of the
command. If this signal is not to be used, this field will be configured as –1.
• TimeEspInfoRetorno: Timeout (in sec.), from command completion, to label the
associated changes (signals On, Off and Des) with non spontaneous cause. If not
configured, the default value is “TimeCambMando”.
Ex: 3,0,62501,
30001,22,12,2,22,0,22,1,22,9,5,
30251,12,0,2,12,78,12,76,12,9,10,
30252,12,1,2,12,79,12,77,12,9,15,
NumOrdenes , Ejec ,
Dir101 , DirEq , ISEon , DCOon , ISEoff , DCOoff , ...
... TimeEsp ,
InfoRetorno
Each remote control double command is associated to two Central Unit commands. It is
essential to put Dir101s in ascending order: [refer to example, lines 50-55]
M1CPTA2005I
1CPT: Substation Central Unit B-46
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 3,0,
35001,12,0,2,1,2,12,80,12,0,12,4,5,
35002,12,6,2,7,2,12,81,12,0,12,4,10,
35003,12,8,2,9,2,12,82,12,0,12,4,15,
NumComandos , Ejec ,
Dir101 , DirEq , ISEsubir , DCOsubir , ...
... TimeEsp ,
InfoRetorno
(*) This repeats for each remote control tap change command. There will be as many as
indicated under NumCommands. They will be arranged in ascending order of Dir101.
M1CPTA2005I
B-47 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• DCOsubir: DCO with which the ISEsubir command of DirEq equipment (to raise the tap)
will be run. Default value will be 2.
• ISEbajar: Central Unit command identifier to lower the tap.
• DCObajar DCO with which the ISEbajar command of DirEq equipment (to lower the tap)
will be run. Default value will be 2.
• MEA: Measurement identifier of the Central Unit where the tap is read.
• TimeEspInfoRetorno: Timeout (in sec.), from command completion, to label the first tap
change with non spontaneous cause. If not configured, the default setting is
“TimeCambMando”.
Ex: 2,0,
45001,17,4,2,5,2,1,15,
45002,21,4,2,5,2,1,20,
- Set point command by raise/lower the set point control function: after receiving a set
point change command, the Central Unit starts a control function to find out the number of
times to raise/lower the set point value to reach the desired value. This mode will be
applied for commands on CPUs that do not allow direct set point commands (only allow
raise/lower set point commands). Each set point command by control function is
associated two commands (raise and lower set point) and a measurement where the set
point can be read.
- Direct set point command: a direct command is run upon the CPU in order to set the set
point to a value. Each direct set point command is associated an analog output write in
order to write the set point value to the CPU and a measurement where the set point can
be read.
... TimeEsp ,
InfoRetornoA
(*) It repeats for each set point command by raise/lower the set point control function. There
will be as many as indicated under NumCommandsAutom. They will be arranged in ascending
order of Dir101.
(**) It repeats for each direct set point command. There will be as many as indicated under
NumCommandsDirect. They will be arranged in ascending order of Dir101.
M1CPTA2005I
1CPT: Substation Central Unit B-48
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
| Current_Value-Required_Value |
Number of command runs = --------------------------------------------------
Paso
Default value is 205.
• TimeEspInfoRetornoA: Timeout (in sec.) for the set point to reach the value requested
from the control facility. When this time times out, if the value is not reached, a failed
command completion will be reported to the control facility. If not configured, the default
value is 127.
• Dir101D: Address of the direct command within protocol IEC-101.
• DirEqD: Address of the equipment (CPU) the analog output write belongs to and the
measurement in the Central Unit database.
• ISM: Analog output write identifier of the Central Unit to write the set point value to the
CPU.
• MedD: Measurement identifier of the Central Unit where the set point is read.
IMPORTANT: If set points are not standard (TipoASDU other than 48) or MedA
measurement is floating format (refer to FormatoMed parameter in “DBASE.CFG”), this
measurement must be configured in the measurements section (Configuration data of
remote control measurements) in order to know the full scale and correction factors
and so be able to scale the set point. If the measurement is not configured, the UCS will
issue an error and the remote control will not start.
M1CPTA2005I
B-49 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• TimeEspInfoRetornoD: Timeout (in sec.) to receive the command completion from the
CPU. When this time times out, if the command completion is not received from the CPU,
a failed command completion will be reported to the control facility. If not configured, the
default value is 127.
Ex: 2,0,50,2,
40001,17,2,2,3,2,0,205,30,
40001,21,2,2,3,2,0,205,35,
40001,10,0,0,5,
40002,11,0,0,10,
(*) It repeats for each remote control single contact signal. There will be as many as indicated
under NumSD. They will be arranged in ascending order of Dir101.
• NumSD: Number of remote control single contact signals (excluding system information
signals).
• DirSeñOverflow: Address of the signal that indicates that class 1 queue is totally full (it
will be configured with the value 60001). The rest of system information signals will be
consecutive :
60002: Queue X% full (half full) signal .
60003: File transfer active signal.
60004: Periodic and spontaneous change signal.
60005: Central Unit (RTU) synchronized signal.
60006: Synchronizing source signal.
NOTE: For Coelba profile, there only exist system signals 60001 and 60002.
• X%:% at which class 1 queue X% full signal is generated. For Iberdrola profile, if wrongly
configured (valid limits are 20% to 95%) the default value (70%) will be taken.
• Y%: % at which class 1 queue X% full (near empty) signal is generated. For Iberdrola
profile, if wrongly configured (valid limits are 0% to 80%) the default value (30%) will be
taken.
• TimeCambioPeriodico (for Iberdrola profile only): Indicates how often (in seconds) the
periodic and spontaneous change 60004 is generated. Default setting is 0.
• Dir101: Address of the single contact digital signal within protocol IEC-101.
• DirEq: Address of the equipment (CPU) that the associated digital signal belongs to,
within the Central Unit database.
• ISC: Central Unit digital signal identifier.
• Neg: Indicates if the digital signal is negated (1) or not (0) to send it to the control facility.
If not configured, the default value is 0.
Ex: 3,60001,70,30,1440,
1,10,0,0,
2,10,1,0,
3,10,2,0,
M1CPTA2005I
1CPT: Substation Central Unit B-50
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumSD ,
Dir101 , DirEq , ISCabierto , ISCcerrado , ISCunknown , Neg , (*)
(*) It repeats for each remote control double contact signal. There will be as many as indicated
under NumSD. They will be arranged in ascending order of Dir101.
Ex: 3,
10001,22,10,11,-1,0,
10002,22,12,13,0,0,
10003,22,14,15,0,0,
NumTomas ,
Dir101 , DirEq , MEA , UCSVigilaE , UsaValor , Value , (*)
stInterm TomaErronea TomaErronea
(*) It repeats for each remote control tap. There will be as many as indicated under
NumTomas. They will be arranged in ascending order of Dir101.
M1CPTA2005I
B-51 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 2,
20001,17,1,0,0,0,// RTV IEC61850
20002,21,1,1,1,0,// RTN PROCOME
M1CPTA2005I
1CPT: Substation Central Unit B-52
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Offset: Offset that allows to convert Central Unit database measurement values into IEC-
101 measurement values. Default value is 0.0.
• Ope1: VBA parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to 1.
• Ope2: PBA parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to 0.
• Ope3: LINF parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to 0.
• Ope4: LISUP parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to
0.
• Ope5: VMAX parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to
0.
• Ope6: VMIN parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to 0.
• VBA: Band Value, indicates the minimum variation between two measurement values in
order for the new value to be sent to the control facility. It is configured in rate per unit (1
= 100%).
Iberdrola default values are:
- 0.1%: For voltage measurement (V), LV (VOLT).
- 0.2%: For active power (P), reactive power (Q), temperature (T), distance-to-fault
(DFAL) measurements.
- 0.8%: For current measurements (I).
- 2%: For set point voltage measurements (VCON).
• PBA: Band Period, is the timeout to deem the measurement valid for transmission (not
used).
• LINF: Low Limit, is the value below which the alarm status occurs (not used).
• LISUP: High Limit, is the value above which the alarm status occurs (not used).
• VMAX: Maximum Value, is the engineering value of the maximum value that the user
sensor can deliver to the capture card (not used).
• VMIN: Minimum Value is the engineering value of the minimum value that the user
sensor can deliver to the capture card (not used).
• FondoEscalaSup: Upper equipment measurement full scale. Default value is 4095 for
16bit measurements 32767 for float measurements.
Values to be configured for:
- PROCOME: 4095.
- DNP3: 32767.
- IEC61850: Maximum measurement value (“rangeC$max” attribute) (i.e. 7 A, 132
kV..).
• FondoEscalaInf: Lower equipment measurement full scale. If not configured, the default
value is 0.
Values to be configured for:
- PROCOME: 0 (for single pole measurement) or –4095 (for bipolar measurement).
- DNP3: 0 (for single pole measurement) or –32767 (for bipolar measurement).
- IEC61850: Minimum measurement value (“rangeC$min” attribute) (i.e. 0 A, -132
kV..).
IMPORTANT: FondoEscalaSup must be greater than FondoEscalaInf. If this is not
configured this way, the UCS will issue an error and the remote control will not start.
M1CPTA2005I
B-53 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
This protocol implementation only uses the VBA (band value) parameter. The Corr and Offset
factors will be used for example to convert to floating point (ASDU 13) 16 bit whole
measurements (i.e. PROCOME accounts ):
M1CPTA2005I
1CPT: Substation Central Unit B-54
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 4,2,13,1.0,
15001,22,0,0.009768,80.0,1,0,0,0,0,0,0.02,0,0,0,0,0,4095,0,0,
15002,23,1,0.032234,0.0,1,0,0,0,0,0,0.002,0,0,0,0,0,4095,-4095,0,
15005,24,2,1.0,0.0,1,0,0,0,0,0,0.008,0,0,0,0,0,7.0,0.0,0,
15006,25,3,1.0,0.0,1,0,0,0,0,0,0.002,0,0,0,0,0,132.0,-132.0,0,
(*) This repeats for each remote control counter. There will be as many as indicated under
NumConts. They will be arranged in ascending order of Dir101.
Ex: 4,60,60,1,1,
25001,22,0,
25002,22,1,
25003,22,2,
25004,22,3,
M1CPTA2005I
B-55 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• IOAIniEstSim: Initial IOA for single signals. If not configured, the default value is 1.
• IOAIniEstSist: Initial IOA for system signals. If not configured, the default value is 60001.
• IOAIniEstDob: Initial IOA for double signals. If not configured, the default value is 10001.
• IOAIniMed: Initial IOA for analog measurements. If not configured, the default value is
15001.
• IOAIniTom: Initial IOA for taps. If not configured, the default value is 20001.
• IOAIniCont: Initial IOA for counters. If not configured, the default value is 25001.
• IOAIniOrdSim: Initial IOA for single commands. If not configured, the default value is
30001.
• IOAIniOrdDob: Initial IOA for double commands. If not configured, the default value is
35001.
• IOAIniOrdConsig: Initial IOA for set point change commands. If not configured, the default
value is 40001.
• IOAIniOrdPaso: Initial IOA for tap change commands. If not configured, the default value
is 45001.
Ej: 1,60001,10001,15001,20001,25001,30001,35001,40001,45001,
M1CPTA2005I
1CPT: Substation Central Unit B-56
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 0,0,10,
[17] # TamColaClase1,TamColaClase2,TamColaComandos,TamColaOrdenes,
[18] 1000,1000,10,3,
[19] # CCGestionaST,CCNotificaST,AjusteSync,FuenteSincro(0=Proto,1=GPS),
[20] # TimeSincroKO(seg),TimeSincroOK(seg),DiffTimeParaLanzarSincroSNTP,
[21] 1,1,0,0,2100,5,0,
[22] # ------------------------------------------------------------
[23] # TYPE OF OBJECT | RANGE OF ADDRESSES
[24] # ------------------------------+------------------------------
[25] # Simple Dig. St. | 00001 – 10000
[26] # Double Dig. St. | 10001 – 15000
[27] # Analogical Measurements | 15001 – 20000
[28] # Collection position (taps) | 20001 – 25000
[29] # Int. Tot. Measure. (meters) | 25001 – 30000
[30] # Simple orders | 30001 – 35000
[31] # Double orders | 35001 – 40000
[32] # Analogical set point | 40001 – 45000
[33] # Collect. Reg. Commands (taps) | 45001 – 50000
[34] # System Information | 60001 - 65535
[35] # ------------------------------+------------------------------
[36] ###############################################
[37] # SIMPLE COMMANDS (ON=Pulse, OFF=Pulse) #
[38] ###############################################
[39] # NumOrdenes,TipoEjec(0=EJEC.DIRECTA,1=SEL+EJEC),OrdenConmutaFteSincro,
[40] 3,0,62501,
M1CPTA2005I
B-57 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[41] #
Add101,DIR,ISE,DCO,DIRon,ISCon,DIRoff,ISCoff,DIRdesc,ISCdesc,TimeEspInfo
Ret,
[42] 30001,22,12,2,22,0,22,1,22,9,5,
[43] 30251,12,0,2,12,78,12,76,12,9,10,
[44] 30252,12,1,2,12,79,12,77,12,9,15,
[45] ###################
[46] # COMANDOS DOBLES #
[47] ###################
[48] # NumOrdenes,TipoEjec(0=EJEC.DIRECTA,1=SEL+EJEC),
[49] 3,0,
[50] # Add101,DIR,ISEon,DCOon,ISEoff,DCOoff,DIRon,ISCon,DIRoff,ISCoff,
[51] # DIRdesc,ISCdesc,TimeEspInfoRet,
[52] 35001,12,0,2,1,2,12,80,12,0,12,4,5,
[53] 35002,12,6,2,7,2,12,81,12,0,12,4,10,
[54] 35003,12,8,2,9,2,12,82,12,0,12,4,15,
[55] ###################################
[56] # COMANDOS DE REGULACION DE TOMAS #
[57] ###################################
[58] # NumComandos,TipoEjec(0=EJEC.DIRECTA,1=SEL+EJEC),
[59] 2,0,
[60] # Add101,Dir,ISESubir,DCOsubir,ISEBajar,DCObajar,MEAToma,TimeEspInfoRet,
[61] 45001,17,4,2,5,2,1,15,
[62] 45002,21,4,2,5,2,1,20,
[63] ######################################
[64] # SET POINT REGULATION COMMANDS #
[65] ######################################
[66] #
NumComandosAutom,TipoEjec(0=EJEC.DIRECTA,1=SEL+EJEC),ASDU,NumComandosDir
ect,
[67] 2,0,50,2,
[68] #
Add101,DIR,ISESubir,DCOsubir,ISEBajar,DCObajar,MEAConsigna,Paso,TimeEspI
nfRet,
[69] 40001,17,2,2,3,2,0,205,30,
[70] 40002,21,2,2,3,2,0,205,35,
[71] # Add101,DIR,ISM,MEAConsigna,TimeEspInfRet,
[72] 40003,10,0,0,5,
[73] 40004,11,0,0,10,
[74] ###################
[75] # SIMPLE SIGNALS #
[76] ###################
[77] # Note: The address of the Overflow signal is 60001. After this signal
[78] # the rest of the info. Signals come from the system:
[79] # 60002 -> Queue full to x%.
[80] # 60003 -> Transf. Files active.
[81] # 60004 -> Periodic change.
[82] # 60005 -> RTU synchronized.
[83] # 60006 -> Source of synchronization.
[84] # NumSignals,AddSignalOverflow,%Lleno,%Vacio,TimeCambioPeriodico(s),
[85] 3,60001,70,30,1440,
[86] # Add101,DIR,ISC,Neg,
[87] 1,10,0,0,
[88] 2,10,1,0,
[89] 3,10,2,0,
[90] ##################
[91] # SENALES DOBLES #
[92] ##################
[93] # NumSenalesDobles,
M1CPTA2005I
1CPT: Substation Central Unit B-58
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[94] 3,
[95] # Add101,DIR,ISCoff,ISCon,ISCdesc,Neg,
[96] 10001,22,10,11,-1,0,
[97] 10002,22,12,13,0,0,
[98] 10003,22,14,15,0,0,
[99] #########
[100] # TOMAS #
[101] #########
[102] # NumTomas,
[103] 2,
[104] #
Add101,DIR,MEA,UCSVigilaEstInterm,UsaValorTomaErronea,ValorTomaErronea,
[105] 20001,17,1,0,0,0,// RTV IEC61850
[106] 20002,21,1,1,1,0,// RTN Procome
[107] ###########
[108] # MEDIDAS #
[109] ###########
[110] # NumMedidas,TimeCapturaMedidas(s),TipoASDU,PorcentajeOverflow,
[111] 4,2,13,1.0,
[112] #
Add101,DIR,MEA,Corr,Offset,Ope(6),VBA,PBA,Lmax,Lmin,Vmax,Vmin,FondoEscal
aSup,
[113] # FondoEscalaInf,UCSGestionaOverflow,
[114] 15001,22,0,0.009768,80.0,1,0,0,0,0,0,0.02,0,0,0,0,0,4095,0,0,//VCON
Procome
[115] 15002,23,1,0.032234,0.0,1,0,0,0,0,0,0.002,0,0,0,0,0,4095,-4095,0,//V
Procome
[116] 15005,24,2,1.0,0.0,1,0,0,0,0,0,0.008,0,0,0,0,0,7.0,0.0,0, //I float
[117] 15006,25,3,1.0,0.0,1,0,0,0,0,0,0.002,0,0,0,0,0,132.0,-132.0,0, //V float
[118] ##############
[119] # CONTADORES #
[120] ##############
[121] # NumCont,TiempoCapturaEspontanea(min),TiempoCapturaHistorico(min),
[122] # MinutoIniCapt,bCapturaInicial,
[123] 4,60,60,1,1,
[124] # Add101,DIR,CON
[125] 25001,22,0,
[126] 25002,22,1,
[127] 25003,22,2,
[128] 25004,22,3,
[129] ##############
[130] # IOAs RANGE#
[131] ##############
[132] # EstSim,EstSist,EstDob,Med,Toma,Cont,OrdSim,OrdDob,OrdConsig,OrdPaso,
[133] 1,60001,10001,15001,20001,25001,30001,35001,40001,45001,
[134] #
[135] ############################################
[136] # GESTIÓN ACTIVACIÓN/DESACTIVACIÓN SEÑALES #
[137] ############################################
[138] # NumCambDesact,NumCambAct,TimeActDesac(s),
[139] 0,5,5,
M1CPTA2005I
B-59 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
In “gw104101.cfg” data related to IEC 870-5-104 and IEC 870-5-101 profile interfaces are
configured.
• Link Layer Configuration Data
GWLinkAdd , GWTamLinkAdd , GWTipoLinkAdd , MaxPrimaryRetries ,
EX: 128,2,1,1,100,255,0,0,
Ex: 128,2,2,
M1CPTA2005I
1CPT: Substation Central Unit B-60
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• APCI Data for Communications with SCADA using Single Socket Connection
• Port104: IP port to communicate with SCADA using IEC 104 protocol. The set value is
2404.
• ApciK: Value of parameter k: maximum difference between sequence numbers to send a
status variable. The range is 1 to 32767.
• ApciW: Value of parameter w: Last acknowledgement after receiving type 1 w APDUs.
The range is 1 to 32767.
• ApciT1: Timeout for response to a SEND or TEST type APDU transmission. The range is
1 a 255 seconds.
• ApciT2:Timeout for confirmation in case of messages with no data. ApciT2 < ApciT1. The
range is 1 a 255 seconds
• ApciT3: Timeout to send type S frames in case of long inactive periods: ApciT3 > ApciT1.
The range is 1 a 255 seconds.
• SendTest: Indicates if a Test message must be sent to SCADA after ApciT3 times out
without receiving any message from the same. Value: 0 = No message sent; 1 =
Message sent. Default value is 0.
Ex: 2404,20,8,15,10,20,1,
192.168.14.12,1,
• APCI Data for Communications with SCADA using Multiple Socket Connection
[MULTIPLE SOCKETS]
NumSockets , ChkIPDest ,
DirIPOrigen , Port104 , ApciK , ApciW , ApciT1 , ApciT2 , ApciT3 ,
• [MULTIPLE SOCKETS]: Label that identifies the configuration section of the APCI data
for communication with SCADA by means of multiple sockets.
• NumSockets: Number of sockets used for communication with SCADA. The maximum
number of sockets simultaneously connected to the Central Unit is limited to 8.
M1CPTA2005I
B-61 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 2,0,
10.27.67.102,2404,20,8,15,10,20,10.27.67.100,1,255.255.255.0,
255.255.255.255,2404,20,8,15,10,20,192.168.14.12,2,
The file becomes as follows for the case of communications with SCADA using a single socket:
M1CPTA2005I
1CPT: Substation Central Unit B-62
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The file becomes as follows for the case of communications with SCADA using multiple
sockets:
M1CPTA2005I
B-63 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
- Signal 0: Indicates communications failure with the control facility of the Remote
Control.
- Signal 1: Indicates whether a point of the Remote Control is blocked, a
signal/measurement is blocked by oscillator,
- Signals 2,3,4 : Spare
- Signals 5-12: Indicate which Client is connected or disconnected. 8 Clients can be
connected as a maximum.
o Signal 5: Indicates that Client 1 is connected or disconnected.
o Signal 6: Indicates that Client 2 is connected or disconnected.
o Signal 7: Indicates that Client 3 is connected or disconnected.
o Signal 8: Indicates that Client 4 is connected or disconnected.
o Signal 9: Indicates that Client 5 is connected or disconnected.
o Signal 10: Indicates that Client 6 is connected or disconnected.
o Signal 11: Indicates that Client 7 is connected or disconnected.
Ex: 13,
0,1,0,0,0,1,
1,1,0,0,0,1,
2,1,0,0,0,1,
3,1,0,0,0,1,
4,1,0,0,0,1,
5,1,0,0,0,1,
6,1,0,0,0,1,
7,1,0,0,0,1,
8,1,0,0,0,1,
9,1,0,0,0,1,
10,1,0,0,0,1,
11,1,0,0,0,1,
12,1,0,0,0,1,
M1CPTA2005I
1CPT: Substation Central Unit B-64
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 3,10007,1,
(*) It repeats for each port. There will be as many ports as indicated under NumPuertos.
• NumPuertos: Number of ports to communicate with the control facility. Default setting is
2.
• Puerto: Communications port. Possible values are COM1, COM2, COM3 and COM4 for
CPX relays. For CPX relays, possible values are COM1 and COM2. By default, they are
configured as COM1 and COM2.
• Veloc: Baud rate. It can take the values 600, 1200, 2400, 4800, 9600 and 19200 baud.
Default setting is 9600.
• TipoPar: Type of parity. It can take the following values:
‘N’ or ‘n’ = None.
‘O’, ‘o’, ‘I’ or ‘i’ = Odd.
‘E’, ‘e’, ‘P’ or ‘p’ = Even.
The default setting is even.
• NumBits: Number of bits. Possible values are 7 and 8 bits. Default setting is 8.
• NumStop: Number of stop bits. Possible values are 1 and 2. Default setting is 1.
• TamañoFIFO: Is the size of FIFO in bytes. Possible values are 1, 4, 8, 14 or 0 (FIFO not
used). Default value is 1.
Ex: 2,
COM1,1200,e,8,1,1,
COM2,1200,e,8,1,1,
Note: If the 104 interface is configured, these port data will be ignored by the application, since it works
through LAN.
M1CPTA2005I
B-65 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• General Data Related to Modem Line Control and various Times used by the
Central Unit: [refer to example, line 17]
TimeCDon , TimeCDoff , TimeRTSon , TimeRTSoff , SwCTS , SwCDTx , …
• TimeCDon: Timeout (in msec.) for CD ON in order for data received to be deemed good.
Default value will be 0.
• TimeCDoff: Timeout (in msec.) waiting for transmission before CD sets to OFF. If
SwCDTx is 0, it will always wait. If SwCDTx is 1 and the time for CD to OFF times out, the
transmission will be aborted. Default value will bebe500.
• TimeRTSon: Timeout (in msec.) to start the transfer from the time RTS sets to ON. If
SwCTS is 0, it will always wait and, when it times out, the transmission begins. If SwCTS
is 1, this is the Timeout for CTS to set to ON. If this time times out, CTS remains OFF,
and the transmission is aborted. Default value will be 500.
• TimeRTSoff: Timeout (in msec.) for RTS to set to OFF after transmission. In case
RTSAlwaysOn is 1, it always waits, but at the end of transmission RTS will not be set to
OFF. Default value will be 11.
• SwCTS: Indicates whether the CTS line is checked (1) or not (0) before transmission.
Default value will be 1.
• SwCDTx: Indicates whether the CD line is checked (1) or not (0) for transmission. If
checked, CD must be set to OFF before transmission. Default value will be 1.
• SwCDRx: Indicates whether the CD line is checked (1) or not (0) for receiving. If checked,
the CD must be set to ON for TimeCDon milliseconds to start receiving data. Default
value will be1.
• RTSAlwaysOn: Indicates if the RTS always remains set to ON (1) or on the contrary it
sets to ON and to OFF before and after transmission respectively. Default value will be 0.
• TimeErrTelem: Timeout (in sec.) before issuing remote control communications error.
Default value will be 60.
• TimePortNoActivo: Timeout (in sec.) without receiving messages through one port to be
able to switch to the other communications port. By default is set to 10.
• NivelTraza: Trace monitoring level by the screen. The value 0 disables traces and this is
the value to be configured by default.
• TimeCambMando: Timeout (in sec.), from command completion, to label the associated
changes with non spontaneous cause. Default value will be 10.
• TimeSel: Timeout (in sec.) to automatically deselect a previously selected command. It
only has sense when commands are run with the SELECT AND EXECUTE method.
Default value is10 seconds.
M1CPTA2005I
1CPT: Substation Central Unit B-66
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• TimeEntreConsig: Timeout (in msec) between two consecutive set point commands.
Default value is de 22 milliseconds.
• RRLResetClase2: Indicates if, after receiving a Reset Remote Link, class 2 data queues
must be reset (1) or not (0). By default is set to 1.
• TimeEntreMsjTF: Timeout (in sec.) between file transfer messages to abort the transfer.
By default is set to 60.
• TimeTotalTF: Timeout (in sec.) to abort a file transfer. By default is set to 300.
• MaxSegmPorSeccion: Maximum number of segments of each section that will be sent in
the file transfer. By default is set to 10.
• TimeVigilaEstIntermToma: Timeout (in sec.) for the Central Unit to monitor the
intermediate status of a capture (wrong value, namely, no capture or simultaneous
capture). When this times out with the capture to wrong value, it will be sent as invalid to
the control facility. If not configured, the default value is10 seconds.
• PermisoSincronizar: Indicates if the control facility is (1) or is not (0) enabled to
synchronize the Central Unit. Only one of those control facilities which will interrogate the
Central Unit may have this parameter set to 1. The rest of them will have it set to 0. If
more than one protocol is configured as possible synchronization source, the protocol
which started first in the Central Unit will be the only one to enable the corresponding
control facility synchronize the Central Unit. Default setting is 1.
• MaxNumReintSeccion: Maximum number of section send retries to abort file transfer.
They are retries, therefore one section will be sent “MaxNumReintSeccion” + 1 times. The
range is 1..100. If not configured, the default value is 2 retries.
• MaxNumReintFichero: Maximum number of file send retries to abort file transfer. They
are retries, therefore one file will be sent “MaxNumReintFichero” + 1 times. The range is
1..100. If not configured, the default value is 2 retries.
• ToutChar: Timeout between characters to reject a frame. If configured to 0, the timeout
between characters will be the one calculated internally by the Central Unit, adapted to
each baud rate. If not configured, the default value is 0.
Ex: 0,500,500,11,1,1,1,0,60,5,0,10,10,22,0,60,2100,5,10,1,2,2,0,
• Data on the Size of the Different Data Queues: [refer to example, line 19]
TamColaClase1 , TamColaClase2 , TamColaComandos , TamColaÓrdenes ,
• TamColaClase1: Size of class 1 data queue. Once class 1 data number has been
attained, a queue overflow will occur and data will not be stored until an application Reset
is received. Default setting is 1000.
• TamColaClase2: Size of each of class 2 data queues. Once the number of class 2 data
has been attained, data will not be stored until there is space in the queue for more data.
Default setting is 1000.
• TamColaCommands: Size of the command queue. This is the maximum number of
nonprocessed commands (data requests) that the Central Unit can store. Default setting
is 10.
• TamColaÓrdenes: Size of the command queue. It is the maximum number of commands
pending confirmation that the Central Unit is capable of processing. Default setting is 3.
Ex: 1000,1000,10,3,
M1CPTA2005I
B-67 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
... DiffTimeParaLanzar ,
SincroSNTP
• GestionaST: Indicates if the control facility sends the updated date and hour with
summer/winter time change (1) or not (0). Default value will be 1.
• NotificaST: Indicates if the control facility sends the ST bit, indicating the summer/winter
time (1), or not (0). Default value will be 1.
• TimeAjusteSincro: Timeout (in msec) to adjust the time synchronization to compensate
for possible clock drift, channel delays, etc. Default value will be 0.
• FuenteSincro (CPX/CPP-A relays only): Indicates the default synchronizing source:
0=Protocol, 1=External clock. Default setting is 0.
• TimeSincroKO (CPX/CPP-A relays only): Timeout (in sec.) without receiving
synchronizations to deem the Central Unit NOT synchronized. Default setting is 2100.
• TimeSincroOK (CPX/CPP-A relays only): Timeout (in sec.) receiving correct
synchronizations from the external clock to deem the Central Unit synchronized. Default
setting is 3.
• DiffTimeParaLanzarSincroSNTP: Time difference (in msec.) between the time received
by protocol and the internal time of the Central Unit, under which a multicast/broadcast
SNTP synchronization is not sent when the Central Unit is synchronized by control
facility. This parameter has meaning only if the Central Unit is configured as SNTP
server. If not configured, the default value is 0.
Ex: 1,1,0,0,2100,5,0,
... TimeEsp ,
InfoRetorno
(*) It repeats for each remote control single command. There will be as many as indicated
under NumOrdenes. They will be arranged in ascending order of Dir101.
M1CPTA2005I
1CPT: Substation Central Unit B-68
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 3,0,62501,
30001,22,12,2,22,0,22,1,22,9,5,
30251,12,0,2,12,78,12,76,12,9,10,
30252,12,1,2,12,79,12,77,12,9,15,
NumOrdenes , Ejec ,
Dir101 , DirEq , ISEon , DCOon , ISEoff , DCOoff , ...
... TimeEsp ,
InfoRetorno
(*) This repeats for each remote control double command. There will be as many as indicated
under NumOrdenes. They will be arranged in ascending order of Dir101.
M1CPTA2005I
B-69 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• DCOon: DCO with which the ISEon command of DirEq equipment (double command
activation) will be run. Default value will be 2.
• ISEoff: Central Unit command identifier corresponding to double command deactivation.
• DCOoff: DCO with which the ISEoff command of DirEq equipment (double command
deactivation) will be run. Default value will be 2.
• DirEqOn: Address of the equipment (CPU) that the ISCon digital signal belongs to within
the Central Unit database.
• ISCon: Digital signal identifier that indicates the double command activation (ISEon
command activation). If this signal is not to be used, this field will be configured as –1.
• DirEqOff: Address of the equipment (CPU) that the ISCoff digital signal belongs to, within
the Central Unit database.
• ISCoff: Digital signal identifier that indicates the double command deactivation (ISEoff
command activation). If this signal is not to be used, it will be configured in this field with
the value –1.
• DirEqDes: Address of the equipment (CPU) that the digital signal ISCdes belongs to,
within the Central Unit database.
• ISCdes: Digital signal identifier that indicates lack of information on the status of the
double command. If this signal is not to be used, this field will be configured as –1.
• TimeEspInfoRetorno: Timeout (in sec.), from command completion, to label the
associated changes (signals On, Off and Des) with non spontaneous cause. If not
configured, the default setting is “TimeCambMando”.
Ex: 3,0,
35001,12,0,2,1,2,12,80,12,0,12,4,5,
35002,12,6,2,7,2,12,81,12,0,12,4,10,
35003,12,8,2,9,2,12,82,12,0,12,4,15,
NumComandos , Ejec ,
Dir101 , DirEq , ISEsubir , DCOsubir , ...
... TimeEsp ,
InfoRetorno
(*) This repeats for each remote control tap change command. There will be as many as
indicated under NumCommands. They will be arranged in ascending order of Dir101.
M1CPTA2005I
1CPT: Substation Central Unit B-70
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• DCOlower: DCO with which the ISElower command of DirEq equipment (to lower the tap)
will be run. Default value will be 2.
• MEA: Measurement identifier of the Central Unit where the tap is read.
• TimeEspInfoRetorno: Timeout (in sec.), from command completion, to label the first tap
change with non spontaneous cause. If not configured, the default setting is
“TimeCambMando”.
Ex: 2,0,
45001,17,4,2,5,2,1,15,
45002,21,4,2,5,2,1,20,
- Set point command by raise/lower the set point control function: after receiving a set
point command, the Central Unit starts a control function to find out the number of times
to raise/lower the set point value to reach the desired value. This mode will be applied for
commands on CPUs that do not allow direct set point commands (only allow raise/lower
set point commands). Each set point command by control function is associated two
commands (raise and lower set point) and a measurement where the set point can be
read.
- Direct set point command: a direct command is run upon the CPU in order to set the set
point to a value. Each direct set point command is associated an analog output write in
order to write the set point value to the CPU and a measurement where the set point can
be read.
... TimeEsp ,
InfoRetornoA
M1CPTA2005I
B-71 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(*) It repeats for each set point command by raise/lower the set point control function. There
will be as many as indicated under NumCommandsAutom. They will be arranged in ascending
order of Dir101.
(**) It repeats for each direct set point command. There will be as many as indicated under
NumCommandsDirect. They will be arranged in ascending order of Dir101.
|Current_Value-Required_Value|
Number of command runs = ----------------------------------------------
Paso
Default value is 205.
• TimeEspInfoRetornoA: Timeout (in sec.) for the set point to reach the value requested
from the control facility. When this time times out, if the value is not reached, a failed
command completion will be reported to the control facility. If not configured, the default
value is 127.
• Dir101D: Address of the direct command within protocol IEC-101.
• DirEqD: Address of the equipment (CPU) the analog output write belongs to and the
measurement in the Central Unit database.
M1CPTA2005I
1CPT: Substation Central Unit B-72
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• ISM: Analog output write identifier of the Central Unit to write the set point value to the
CPU.
• MedD: Measurement identifier of the Central Unit where the set point is read.
IMPORTANT: If set points are not standard (TipoASDU other than 48) or MedA
measurement is floating format (refer to FormatoMed parameter in “DBASE.CFG”), this
measurement must be configured in the measurements section (Configuration data of
remote control measurements) in order to know the full scale and correction factors and
so be able to scale the set point. If the measurement is not configured, the UCS will issue
an error and the remote control will not start.
• TimeEspInfoRetornoD: Timeout (in sec.) to receive the command completion from the
CPU. When this time times out, if the command completion is not received from the CPU,
a failed command completion will be reported to the control facility. If not configured, the
default value is 127.
• UCSGestionaCmndTerm: Indicates whether the UCS monitors the value of the
measurement associated to the set point to generate a command completion (1) or,
conversely, the relay generates said command completion (0). With IEC61850 protocol,
the relay generates the command completion, but not with the rest of protocols. If not
configured, the default value is 0.
Ex: 2,0,50,2,
40001,17,2,2,3,2,0,205,30,
40001,21,2,2,3,2,0,205,35,
40001,10,0,0,5,0,
40002,11,0,0,10,0,
(*) It repeats for each remote control single contact signal. There will be as many as indicated
under NumSD. They will be arranged in ascending order of Dir101.
• NumSD: Number of remote control single contact signals (excluding system information
signals).
• DirSeñOverflow: Address of the signal that indicates that class 1 queue is totally full (it
will be configured with the value 60001). The rest of system information signals will be
consecutive :
60002: Queue X% full (half full) signal.
60003: File transfer active signal.
60004: Periodic and spontaneous change signal.
60005: Central Unit (RTU) synchronized signal.
60006: Synchronizing source signal.
• X%: % at which the X% full class 1 queue (queue half full) signal is activated. If wrongly
configured (valid limits range from 20% to 95%), the default value (70%) will be
configured.
M1CPTA2005I
B-73 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Y%: % at which the X% full class 1 queue (queue half empty) signal is deactivated. If
wrongly configured (valid limits range from 0% to 80%), the default value (30%) will be
configured.
• TimeCambioPeriodico: Indicates how often (in seconds) the periodic and spontaneous
change 60004 is generated. Default setting is 0.
• Dir101: Address of the single contact digital signal within protocol IEC-101.
• DirEq: Address of the equipment (CPU) that the associated digital signal belongs to,
within the Central Unit database.
• ISC: Central Unit digital signal identifier.
• Neg.:Indicates if the digital signal is negated (1) or not (0) to send it to the control facility.
If not configured, the default value is 0.
Ex: 3,60001,70,30,1440,
1,10,0,0,
2,10,1,0,
3,10,2,0,
NumSD , bGestion4Estados ,
Case 1) If 3 single signals associated to the Double Signals are selected, they must be
configured as follows:
M1CPTA2005I
1CPT: Substation Central Unit B-74
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Case 2) If 4 single signals associated to the Double Signals are selected, they must be
configured as follows:
(*) It repeats for each remote control double contact signal. There will be as many as indicated
under NumSD. They will be arranged in ascending order of Dir101.
or
NumTomas ,
Dir101 , DirEq , MEA , UCSVigilaE , UsaValor , Valor , bUCS , LimSupT , (*)
stInterm Toma Toma Gestiona oma
Erronea Erronea TomaOV OV
(*) It repeats for each remote control tap. There will be as many as indicated under
NumTomas. They will be arranged in ascending order of Dir101.
M1CPTA2005I
B-75 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 2,
20001,17,1, 0,0,0,// RTV IEC61850
20002,21,1, 1,1,0, 1,23,// RTN PROCOME
M1CPTA2005I
1CPT: Substation Central Unit B-76
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(*) This repeats for each remote control measurement. There will be as many as indicated
under NumMedidas.
• Ope1: VBA parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to 1.
• Ope2: PBA parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to 0.
• Ope3: LINF parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to 0.
• Ope4: LISUP parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to
0.
• Ope5: VMAX parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to
0.
• Ope6: VMIN parameter use indicator: 0 = Not in use; 1 = In use. It will be configured to 0.
• VBA: Band Value, indicates the minimum variation between two measurement values in
order for the new value to be sent to the control facility. It is configured in rate per unit (1
= 100%).
Iberdrola default values are:
- 0.1%: For voltage measurements (V), LV (VOLT).
- 0.2%: For active power (P), reactive power (Q), temperature (T), distance-to-fault
(DFAL) measurements.
- 0.8%: For current measurements (I).
- 2%: For set point voltage measurements (VCON).
M1CPTA2005I
B-77 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• PBA: Periodo de Banda, is the timeout to deem the measurement valid for transmission
(not used).
• LINF: Límite Bajo, is the value below which an alarm status is issued (not used).
• LISUP: Límite Alto, is the value above which an alarm status occurs (not used).
• VMAX: Valor Máximo, is the engineering value of the maximum value that the user
sensor can deliver to the capture card (not used).
• VMIN: Valor Mínimo, is the engineering value of the minimum value that the user sensor
can deliver to the capture card (not used).
• FondoEscalaSup: Upper equipment measurement full scale. Default value is 4095,
which is the upper full scale for our PROCOME CPUs.
Values to be configured for:
- PROCOME: 4095.
- DNP3: 32767.
- IEC61850: Maximum measurement value (attribute “rangeC$max”) (i.e. 7 A, 132
kV..).
• FondoEscalaInf: Lower equipment measurement full scale. If not configured, the default
value is 0.
Values to be configured for:
- PROCOME: 0 (for single pole measurement) or –4095 (for bipolar measurement).
- DNP3: 0 (for single pole measurement) or –32767 (for bipolar measurement).
- IEC61850: Minimum measurement value (attribute “rangeC$min”) (i.e. 0 A, -132
kV..).
IMPORTANT: FondoEscalaSup must be greater than FondoEscalaInf. If this is not
configured this way, the UCS will issue an error and the remote control will not start.
• UCSGestionaOverflow: Indicates whether the measurement overflow is managed by the
Central Unit (1) or the CPU (0) If not configured, the default value is 1 for compatibility
with our PROCOME CPUs. For CPUs that manage measurement overflows (i.e.
IEC61850) this parameter will be configured to 0.
This protocol implementation only uses the VBA (band value) parameter .
The Corr and Offset factors will be used for example to convert to floating point (ASDU 13) 16
bit whole measurements (i.e. PROCOME accounts):
M1CPTA2005I
1CPT: Substation Central Unit B-78
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 4,2,13,1.0,
15001,22,0,0.009768,80.0,1,0,0,0,0,0,0.02,0,0,0,0,0,4095,0,0,
15002,23,1,0.032234,0.0,1,0,0,0,0,0,0.002,0,0,0,0,0,4095,-4095,0,
15005,24,2,1.0,0.0,1,0,0,0,0,0,0.008,0,0,0,0,0,7.0,0.0,0,
15006,25,3,1.0,0.0,1,0,0,0,0,0,0.002,0,0,0,0,0,132.0,-132.0,0,
M1CPTA2005I
B-79 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(*) This repeats for each remote control counter. There will be as many as indicated under
NumConts. They will be arranged in ascending order of Dir101.
Ex: 4,60,60,1,1,
25001,22,0,
25002,22,1,
25003,22,2,
25004,22,3,
• IOAIniEstSim: Initial single signal IOA. If not configured, the default value is 1.
• IOAIniEstSist: Initial system signal IOA. If not configured, the default value is 60001.
• IOAIniEstDob: Initial double signal IOA. If not configured, the default value is 10001.
• IOAIniMed: Initial analog measurement IOA. If not configured, the default value is 15001.
• IOAIniTom: Initial tap IOA. If not configured, the default value is 20001.
• IOAIniCont: Initial counter IOA. If not configured, the default value is 25001.
• IOAIniOrdSim: Initial single command IOA. If not configured, the default value is 30001.
• IOAIniOrdDob: Initial double command IOA. If not configured, the default value is 35001.
M1CPTA2005I
1CPT: Substation Central Unit B-80
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• IOAIniOrdConsig: Initial set point change command IOA. If not configured, the default
value is 40001.
• IOAIniOrdPaso: Initial tap change command IOA. If not configured, the default value is
45001.
Ex: 1,60001,10001,15001,20001,25001,30001,35001,40001,45001,
Ex: 0,0,3,1000,
M1CPTA2005I
B-81 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-82
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[54] 30251,12,0,2,12,78,12,76,12,9,10,
[55] 30252,12,1,2,12,79,12,77,12,9,15,
[56] ###################
[57] # DOUBLE COMMANDS #
[58] ###################
[59] # NumOrdenes,TipoEjec(0=EJEC.DIRECTA,1=SEL+EJEC),
[60] 3,0,
[61] # Add101,DIR,ISEon,DCOon,ISEoff,DCOoff,DIRon,ISCon,DIRoff,ISCoff,
[62] # DIRdesc,ISCdesc,TimeEspInfoRet,
[63] 35001,12,0,2,1,2,12,80,12,0,12,4,5,
[64] 35002,12,6,2,7,2,12,81,12,0,12,4,10,
[65] 35003,12,8,2,9,2,12,82,12,0,12,4,15,
[66] ###################################
[67] # TAP CHANGE COMMANDS #
[68] ###################################
[69] # NumCommands,TipoEjec(0=EJEC.DIRECTA,1=SEL+EJEC),
[70] 2,0,
[71] # Add101,Dir,ISERaise,DCOraise,ISELower,DCOlower,MEAToma,TimeEspInfoRet,
[72] 45001,17,4,2,5,2,1,15,
[73] 45002,21,4,2,5,2,1,20,
[74] ######################################
[75] # SET POINT CHANGE COMMANDS #
[76] ######################################
[77] #NumCommandsAutom,TipoEjec(0=EJEC.DIRECTA,1=SEL+EJEC),ASDU,NumCommandsDir
ect,
[78] 2,0,50,2,
[79] #
Add101,DIR,ISERaise,DCOraise,ISELower,DCOlower,MEAConsigna,Paso,TimeEspIn
fRet,
[80] 40001,17,2,2,3,2,0,205,30,
[81] 40002,21,2,2,3,2,0,205,35,
[82] # Add101,DIR,ISM,MEAConsigna,TimeEspInfRet,UCSGestionaCmndTerm,
[83] 40003,10,0,0,5,0,
[84] 40004,11,0,0,10,0,
[85] ###################
[86] # SINGLE SIGNALS #
[87] ###################
[88] # NOTA: The address of the overflow signal is 60001. After this
[89] # comes the rest of system information signals:
[90] # 60002 -> Queue x% full.
[91] # 60003 -> File transfer active.
[92] # 60004 -> Periodic change.
[93] # 60005 -> RTU synchronized.
[94] # 60006 -> Synchronization source.
[95] # NumSignals,AddSignalOverflow,%Lleno,%Vacio,TimeCambioPeriodico(s),
[96] 3,60001,70,30,1440,
[97] # Add101,DIR,ISC,Neg,
[98] 1,10,0,0,
[99] 2,10,1,0,
[100]3,10,2,0,
[101]##################
[102]# DOUBLE SIGNALS #
[103]##################
[104]# NumSenalesDobles,
[105]3,1,
[106]# Add101,DIR,ISCoff,ISCon,ISCdesc,Neg,
[107]10001,22, 10,11,12,13, 0,
[108]10002,22, -1,14,15,-1, 0,
M1CPTA2005I
B-83 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[109]10003,22, 16,17,18,19, 0,
[110]#########
[111]# TAPS #
[112]#########
[113]# NumTomas,
[114]2,
[115]# Add101,DIR,MEA,UCSVigilaEstInterm,UsaValorTomaErronea,ValorTomaErronea,
[116]20001,17,1,0,0,0,// RTV IEC61850
[117]20002,21,1,1,1,0,1,63,// RTN Procome
[118]###########
[119]# MEASUREMENTS #
[120]###########
[121]# NumMeasurements,TimeCapturaMeasurements(s),TipoASDU,PorcentajeOverflow,
[122]4,2,13,1.0,
[123]#
Add101,DIR,MEA,Corr,Offset,Ope(6),VBA,PBA,Lmax,Lmin,Vmax,Vmin,FondoEscala
Sup,
[124]# FondoEscalaInf,UCSGestionaOverflow,
[125]15001,22,0,0.009768,80.0,1,0,0,0,0,0,0.02,0,0,0,0,0,4095,0,0,//VCON
Procome
[126]15002,23,1,0.032234,0.0,1,0,0,0,0,0,0.002,0,0,0,0,0,4095,-4095,0,//V
Procome
[127]15005,24,2,1.0,0.0,1,0,0,0,0,0,0.008,0,0,0,0,0,7.0,0.0,0, //I float
[128]15006,25,3,1.0,0.0,1,0,0,0,0,0,0.002,0,0,0,0,0,132.0,-132.0,0, //V float
[129]##############
[130]# COUNTERS #
[131]##############
[132]# NumCont,TiempoCapturaEspontanea(min),TiempoCapturaHistorico(min),
[133]# MinutoIniCapt,bCapturaInicial,
[134]4,60,60,1,1,
[135]# Add101,DIR,CON
[136]25001,22,0,
[137]25002,22,1,
[138]25003,22,2,
[139]25004,22,3,
[140]##############
[141]# IOAs RANGE #
[142]##############
[143]# EstSim,EstSist,EstDob,Med,Toma,Cont,OrdSim,OrdDob,OrdConsig,OrdPaso,
[144]1,60001,10001,15001,20001,25001,30001,35001,40001,45001,
[145]#
[146]############################################
[147]# SIGNAL ACTIVATION/DEACTIVATION MANAGEMENT #
[148]############################################
[149]# NumCambDesact,NumCambAct,TimeActDesac(s),
[150]0,5,5,
[151]####################
[152]# BALANCED DATA#
[153]####################
[154]# TipoEnlace(0=Bal;1=NoBal),DirTXFisica(0=A->B;1=B->A),ReintN2,TimeoutN2,
[155]0,0,3,1000,
M1CPTA2005I
1CPT: Substation Central Unit B-84
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Parameter Size
DirEnlaceLength 2
DirAsduLength 2
DirObjLength 3
CotLength 2
Ex: 111,111,126,0,0,3,0,2,2,3,2,
M1CPTA2005I
B-85 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
PeriodoClase2 and PeriodoRapidoClass parameters are related. They are only valid for
unbalanced mode. Both of them determine how often a Class2 request must be sent to the RTU
to collect the information available. The first is used to create a slow cycle, in seconds, in such a
way that the RTU does not become saturated. The second, on the contrary, is used when a
faster information updating cycle is required.
PeriodoClase2 is used for the first versions of the emulator and it predominates over the other.
If the value is set to 0, class2 requests are not sent (This value is not highly recommended
since remote control data will not be collected). If set to a value equal or greater than 1, it is
used as period to send class 2 requests to the RTU. An adequate value could be 1 or 2
seconds. If set to -1, it means this function is not used and the possibility of using the fast cycle
is open.
Si PeriodoClase2 is set to -1, PeriodoRapidoClass defines the class 2 request sending cycle to
the RTU. If set to -1, this function is not to be used. If a value equal or greater than 100 is set, it
is used as the period for sending class 2 requests to the RTU.
Ex: 60,1,0,10,100,
M1CPTA2005I
1CPT: Substation Central Unit B-86
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Puerto: Communications port. Possible values are COM1, COM2, COM3 and COM4.
• Veloc: Baud rate. It can take the values 600, 1200, 2400, 4800, 9600 and 19200 baud.
• TipoPar: Type of parity. It can take the values ‘N’ or ‘n’ (none); ‘O’ or ‘o’, (odd number); ‘E’
or ‘e’, (even number).
• NumBits: Number of bits. Possible values are 7 and 8 bits.
• NumStop: Number of stop bits. Possible values are 1 and 2.
• TamañoFIFO: Is the size of FIFO in bytes. Possible values are 1, 4, 8, 14 or 0 ( FIFO not
used). Default value is 1.
Ex: COM1,9600,e,8,1,1,
• TimeWait: Delay time (in msec.) from the moment the transmission is due until RTS sets
to ON (provided RTSon is other than 0), or else, delay time (in msec.) from the moment
the transmission is due until the transmission begins (if RTSon is set to 0). Default value
is 0.
• RTSon: Delay time from the moment RTS sets to ON until transmission begins (in msec.).
Default value is 0, which means RTS will never set to ON and, therefore, the transmission
will start immediately after TimeWait times out.
WARNING: If the RTS control line is not to be used, setting this parameter to 0 is
mandatory.
• RTSoff: Delay time (in msec.) between the moment of transmission until RTS sets to
OFF. Default value is 0, which means the RTS line will not be used.
• CTS: Indicates whether the CTS line is checked (1) or not (0) before transmitting. Default
value is 0.
Ex: 0,0,0,0,
M1CPTA2005I
B-87 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(*) It repeats for each remote control single command. There will be as many as indicated
under NumOrdenes. They will be arranged in ascending order of Dir101.
(*) This repeats for each remote control double command. There will be as many as indicated
under NumOrdenes. They will be arranged in ascending order of Dir101.
M1CPTA2005I
1CPT: Substation Central Unit B-88
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumComandos ,
Ex: 0,//Num.ComandosRegulPaso,
NumSD , DirSeñalOV ,
Dir101 , ISC , Alr , (*)
(*) It repeats for each remote control single contact signal. There will be as many as indicated
under NumSD. They will be arranged in ascending order of Dir101.
NumSD ,
Dir101 , ISC_OFF , ISC_ON , ISCdesconocido , (*)
(*) It repeats for each remote control double contact signal. There will be as many as indicated
under NumSD. They will be arranged in ascending order of Dir101.
Ex: 1, // NumSD
7000,16,17,18,
M1CPTA2005I
B-89 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumTomas ,
Ex: 0,
NumMeds ,
Dir101 , Med , Corrección , Offset , (*)
(*) It repeats for each protocol measurement. There will be as many as indicated under
NumMeds.
NumComandos ,
Ex: 0,
M1CPTA2005I
1CPT: Substation Central Unit B-90
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(*) It repeats for each protocol counter. There will be as many as indicated under NumConts.
They will be arranged in ascending order of Dir101.
ASDU Description
1 M_SP_NA_1: Single-point information without time tag
3 M_DP_NA_1: Double-point information without time tag
9 M_ME_NA_1: Measured value, normalized value
11 M_ME_NB_1: Measured value, scaled value
13 M_ME_NC_1: Measured value, short floating point number
15 M_IT_NA_1: Integrated totals
30 M_SP_TB_1:Single-point information with time tag CP56Time2a
31 M_DP_TB_1: Double-point information with time tag CP56Time2a
37 M_IT_TB_1: Integrated totals with time tag CP56Time2a
45 C_SC_NA_1: Single Command
46 C_DC_NA_1: Double Command
70 M_EI_NA_1: End of Initialization
100 M_IC_NA_1: Interrogation command
103 M_CS_NA_1: Clock synchronization command
199 M_LI_NA_1: Loss of information (private, AMPLA profile)
M1CPTA2005I
B-91 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-92
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 2,
0,1,0,0,0, // Comm. Failure at Application level
1,1,0,0,0, // Comm. Failure at Link level
NumTotInstanc , DNP3DirIp ,
M1CPTA2005I
B-93 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• DNP3PortTCPIP: TCP/IP Port that is used for communications with the Master. As
regards DNP3 TCP/IP it has been defined with the value 20000. As IP address, the one
defined under file tcp.cfg is used.
• DNP3KeepAlive: This parameter indicates if the slave (CPX/CPP/CPT) forwards Keep
Alive type of messages (Request Link Status) to keep communication with Master active
after a period of inactivity with the same. The period of inactivity is determined by means
of parameter ErrorTel (defined further on). By default, it will be set to 0 (false), hence this
function will not be enabled.
• NumLAN: LAN number to be used for communication via TCP/IP. LAN addresses are
defined under file “TCP.CFG” and, for example, as regards CPT devices, which have two,
it will be 1 or else, 2. The default value is 1, associated to LAN1.
• NumTotInstanc: This field will only make sense when dealing with communications via
main TCP/IP multi-instanciable (in the case of DNP3TipoCom=2). This indicates the total
number of instances (both the main only one, and secondary) associated to this main
instance. In the rest of the cases, it must be configured to 0, as default value.
• DNP3DirIp: IP address of DNP3 slave. In the event that no address is configured, the IP
from the central unit (CPX) will be used, or that associated to the LAN adapter that has
been configured (CPT).
This data shall always be configured, but it will only be used if communication is made through
serial port (TipoCom parameter).
• Puerto: Communication Port. Possible values are COM1, COM2 and COM3.
• Veloc: Baud rate. Possible values are 300, 600, 1200, 2400, 4800, 9600 and 19200 baud.
• TipoPar: Type of parity. It can use values ‘N’ or ‘n’ (none); ‘O’, ‘o’, ’i’, ‘I’ (odd number); ‘E’, ‘e’,
‘p’, ‘P’ (even number)..
• NumStop: Number of stop bits. Possible values are 1 and 2 bits.
Ex: COM1:4800,n,8,1,
M1CPTA2005I
1CPT: Substation Central Unit B-94
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 33,11,11,60,0,
• Data regarding the Address of the Master and the Level of Monitorization of
Traces: [Line 12]
DirMTU , NivelMonitor ,
Ex: 1,0,
ReintentosN2? , NumReintentosN2 ,
ReintentosN7? , NumReintentosN7 ,
• ReintentosN2?: Bit that indicates if retries have been configured at link level (1) or not (0).
• NumReintentosN2: Number of retries at link level. This makes sense if the field
ReintentosN2? Is set to 1.
• ReintentosN7?: Bit that indicates if retries have been configured at application level (1) or
not (0).
• NumReintentosN7: Number of retries at application level. This makes sense if the field
ReintentosN7? Is set to 1.
Ex: 0,0,
1,3,
• TimeEspConfN2: Maximum timing awaited for a confirmation at link level (in msec.).
• TimeEspConfN7: Maximum timing awaited for a confirmation at application level (in
msec.)
• TimeoutSelectMando: Timing that the selection of a command is kept before receiving
the activation message. After this time has lapsed, the command is deselected (in
seconds. Minimum value = 1 sec. Default value = 5 sec.).
M1CPTA2005I
B-95 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 1000,1000,5,5,
NumOrdenes , MandosDobles ,
(*)This is repeated for each of the remote control orders. There will be as many as indicated
under NumOrdenes
This is repeated for each of the remote control orders. There will be as many as indicated under
NumOrdenes.
M1CPTA2005I
1CPT: Substation Central Unit B-96
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
If the command has been configured as double command (Double =1), when an order is
received from the master with the CODE=Code1 value, command DirEq1-EtiqISE1-Dco1 will be
implemented. If, on the contrary, an order with CODE=Code2 value is received, the other
command will be implemented: DirEq2-EtiqISE2-Dco2.
NumSeñales MaxCambISC ,
Index , DirEq , EtiqISC , (*)
(*) This is repeated for each signal from the remote control. There will be as many as
indicated under NumSeñales.
M1CPTA2005I
B-97 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(*) This is repeated for each of the remote control’s measurements. There will be as many as
indicated under NumMedidas.
To configure the functionality of the forwarding of date and hour to the master, the data required
is described in the following table:
M1CPTA2005I
1CPT: Substation Central Unit B-98
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Base don a specific object (index) address, the above six elements will be configured, in the
same order and without leaving gaps. These values do not generate changes and are only
forwarded to the master when requested by the photo (Analog Inputs or Class 0), hence the
Band and ScaleFund parameters are not used.
NumConts ,
Index , DirEq , EtiqCON , (*)
(*)This is repeated for each of the remote control meters. There will be as many as
indicated under NumConts.
M1CPTA2005I
B-99 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumDatosClass1 , TipoDefC1 ,
Index , TipoC1 , (*)
(*) It repeats for each information associated to class 1. There will be as many as indicated
under NumInfoClase1.
Important Note: DIFFERENT TYPES OF DATA MAY NOT BE MIXED IN THE SAME CLASS.
• Use the old configuration under which all the digital signals were sent for the sake of
compatibility.
Ex1: 0,1,// Class1: sending ALL digital signals
M1CPTA2005I
1CPT: Substation Central Unit B-100
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumDatosClass2 , TipoDefC2 ,
Index , TipoC2 , (*)
(*) It repeats for each information associated to class 2. There will be as many as indicated
under NumInfoClase2.
Important Note: DIFFERENT TYPES OF DATA MAY NOT BE MIXED IN THE SAME CLASS.
• Use the old configuration under which all the digital signals were sent for the sake of
compatibility.
Ex1: 0,2,// Class2: sending ALL the measurements
M1CPTA2005I
B-101 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumDatosClass3 , TipoDefC3 ,
Index , TipoC3 , (*)
(*) It repeats for each information associated to class 3. There will be as many as indicated
under NumInfoClass3.
Important note: DIFFERENT TYPES OF DATA MAY NOT BE MIXED IN THE SAME CLASS.
• Use the old configuration under which all the digital signals were sent for the sake of
compatibility.
Ex1: 0,2,// Class3: sending ALL the measurements
M1CPTA2005I
1CPT: Substation Central Unit B-102
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• HabActivoDesact: Indicates if this function is enabled (1), or not (0). If it is not, the DNP3
task will always be active.
• TimeElimCmb: Timing in seconds that a change in the Temporary Pending Changes
must remain in the queue when the DNP3 task is in Inactive status.
• TimeEspEvalISCAct: Timeout for in seconds before starting the DNP3 task, in order to
“give time” to the other remote to start-up and have the status that the other remote is in
after the start-up, to be able to decide if this task must be started in active or inactive
mode.
• DirISCActiv: Address of the device that the indicative signal belongs to, which stipulates if
the remote must be commuted to the active status if it was not in the latter, or, which is
the same thing, that the “other remote” is inactive. This signal will be calculated in the
logia, based on other signals.
• IscISCActiv: Index of the signal that indicates that the remote has to be commuted to the
active status if it were not in the latter, or, which is the same thing, that the “other remote”
is inactive.
• NegISCActiv: Negation of the signal that indicates that the remote must be commuted to
the active status.
M1CPTA2005I
B-103 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Each remote control analog output write is associated a CPX/CPT analog output write: [lines
56-61]
NumEscrsAna ,
Index , DirEq , EtiqISM , Pendiente , Origen , (*)
(*) This repeats for each remote control analog output write. There will be as many as
indicated under NumEscrsAna.
• NumEscrsAna: Number of
remote control remote
control analog output
writes.
• Index: Index of the remote
control analog output write.
• DirEq: Address of the
equipment that the
CPX/CPT analog output
write belongs to.
• EtiqISM: PROCOME label
of the CPX/CPT analog
output write.
• Pendiente (a): Slope of the
conversion line (by default
is 1). Refer to Figure B.1.
• Origen (b): Origin of the
conversion line (by default
is 0). Refer to Figure.
Figure B.2: Analog Output Write Conversion Line.
M1CPTA2005I
1CPT: Substation Central Unit B-104
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-105 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-106
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 100,1,
Ex: COM2,4800,n,8,1,
• RTSon: Timing that indicates that RTS is maintained ON before transmitting (in msec.).
• RTSoff: Timing that indicates that RTS is maintained OFF after transmitting (in msec.).
• CDoff: Waiting time for deactivation of the carrier (in msec.).
Ex: 66,11,11,
M1CPTA2005I
B-107 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
ReintentosN2? , NumReintentosN2 ,
NumReintentosN7 , MaxTamBufTX MaxTamBufRX ,
• ReintentosN2?: Bit that indicates if retries are configured at link level (1) or not (0).
• NumReintentosN2: Number of retries at link level. It makes sense if the ReintentosN2?
field is set to 1.
• NumReintentosN7: Number of retries at application level.
• MaxTamBufTX: Size of the transmission buffer. This is the maximum number of
characters that can be transmitted in the application layer. The minimum value is 249 and
by default, it is 255. This parameter affects all the DNP3 master ports in the same
manner.
• MaxTamBufRX: Size of reception buffer. It is the maximum number of characters that can
be received in the application layer. The minimum value is 512, and by default, the value
is 2048. This parameter affects all the DNP3 master ports in the same manner.
Ex: 0,0,
1,255,2048,
• TimeEspConfN2: Maximum timing that a response is awaited at link level (in msec.).
• TimeEspConfN7: Maximum timing that a response is awaited at application level. If
speed is slow and/or the device holds a lot of data, this timing will have to be increased
because the forwarding timing for all the data through the series line will have to be taken
into account. (in msec.).
Ex: 1000,4000,
Ex: 50,60,1,
M1CPTA2005I
1CPT: Substation Central Unit B-108
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumPort ,
PortNum , InterC0 , InterC1 , InterC2 , InterC3 , InterBI , InterBIC ,
(*) It will be repeated for each port that has DNP3 devices connected. There will be as many
lines as indicated under NumPort.
• NumPort: Number of ports with DNP3 devices connected. The desired interrogation
procedure must be defined for each of the ports.
• PortNum: Port number wherein the interrogation procedure defined by the rest of the
parameters in the line is going to be applied.
• InterC0: If value differs from 0, the type of interrogation is effected by means of CLASS0
message requesting data. If value is 0, this interrogation does not take place.
• InterC1: If value differs from 0, the type of interrogation is made through the CLASS1
message requesting data. If value is 0, this interrogation does not take place.
• InterC2: If value differs from 0, the type of interrogation is made through CLASS2 request
for data message. If value is 0, this interrogation does not take place.
• InterC3: If value differs from 0, the type of interrogation is made through CLASS3 request
for data message. If value is 0, this interrogation does not take place.
• InterBI: If value differs from 0, the type of interrogation is made through the message
requesting Binary Entries. If value is 0, this interrogation does not take place.
• InterBIC: If value differs from 0, the type of interrogation is made through a message
requesting changes in Binary Entries. If value is 0, this interrogation does not take place.
• InterAI: If value differs from 0, the type of interrogation is made through a message
requesting Analogical Entries. If value is 0, this interrogation does not take place.
• InterAIC: If value differs from 0, the type of interrogation is made through a message
requesting Changes in Analogical Entries. If value is 0, this interrogation does not take
place.
• HUSC1: If value is 1, the unsolicited messages are enabled for Class1 data. If value is 0,
this enabling does not take place.
• HUSC2: If value is 1, the unsolicited messages are enabled for Class2 data. If value is 0,
this enabling does not take place.
• HUSC3: If value is 1, the unsolicited messages are enabled for Class3. If value is 0, this
enabling does not take place.
• INterCounter: Indicates the way counter interrogation is made. If set to 0 it is through
Frozen Counter. If set to 1 it is through current values (Binary Counter). Default value: 0.
• Sincro: Indicates whether port synchronization is enabled (Value 0) or not (Value 1). If not
enabled, synchronizations are not sent to any of the port equipment. By default: Value 0.
Fields InterC0 to InterAIC (Inter#, in generic mode), support complex configuration to enable
different interrogation modes. The CPT has two periodic interrogation cycles: Refresh and
Changes. The period of the first can be configured through IntervRefrescoSen, and the second
is a continuous cycle. Each of the fields above control the request to be used in each cycle.
Depending on the values assigned to each of the fields, the request will be associated to one or
both cycles. These fields are construed as bit fields. The value 0 indicates the request is not
used.
M1CPTA2005I
B-109 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The DNP3 protocol enables, among other, two ways to interrogate the equipment: one generic
way by which the equipment associates individual data to generic data: CLASS0 for static data
and CLASS1, CLASS2 and CLASS3 for data changes and other way by which the master
interrogates for specific data: Binary Input (BI) and Analog Input (AI) for static data and Binary
Input Change (BIAC) and Analog Input Change (AIC) for data changes.
The CPT can associate each request to one or both cycles by allocating different values to
different fields. Three possibilities exist for the sake of compatibility with older equipment:
Standard Interrogation (INT_STANDARD=1), in the Refresh cycle (INT_REFRESCO=2) or in
the Changes cycle (INT_CHANGES=4). The setting value of the Inter# parameters above will
be given by the combination, through the OR function, of the selected interrogation cycles.
In the Standard mode, the Refresh cycle is associated the CLASS0 requests, Binary Input (BI)
and Analog Input (AI); and the Changes cycle is associated the CLASS1, CLASS2, CLASS3
requests, Binary Input Change (BIAC) and Analog Input Change (AIC). In order to be able to
activate these interrogation modes the applicable fields will be set to 1. This is the compatibility
mode with older equipment and the one to be used by default.
If requests are to be mixed in different cycles, another bit must be “activated” in this field. Thus
for example: if the master is to interrogate for Class 0 both in the Refresh cycle and changes
cycle, InterC0 must be set to 5 (INT_STANDARD | INT_CHANGES). If the master is to
interrogate for Binary Input Changes both in the Changes cycle and the refresh cycle, InterBIC
must be set to 3 ((INT_STANDARD | INT_REFRESCO).
Ex: 2,
1,1,1,1,0,0,0,0,0,0,0,0,0,0,
2,0,0,0,0,1,1,1,1,0,0,0,0,0,
In the example, there are two ports with DNP3 equipment connected. Ports are 1 and 2. An
interrogation procedure is defined for all the equipment in that port. Thus, port 1 is used to
interrogate for Class 0 for signal refresh and for Class1 and Class 2 for changes; port 2 is used
to interrogate for Read Binary Input (BI) and Analog Input (AI) for signal refresh and Read
Binary Input Change (BIC) and Analog Input Change (AIC) for changes.
Ex: 2,
1,1,0,0,0,0,0,0,0,1,1,0,0,0,
2,1,1,1,0,5,1,5,1,0,0,0,0,0,
Port 1 is used to interrogate for Class 0 for signal refresh and Unsolicited Class 1 (HUSC1) and
Class 2 (HUSC2) are enabled for changes. Port 2 is used to request for Class0, BI and AI for
signal refresh and for Class1, Class2, BI, BIC, AI and AIC for Changes cycle.
M1CPTA2005I
1CPT: Substation Central Unit B-110
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumEquip ,
DirEquipo , Obj_BI , Var_BI , Qual_BI , Obj_AI , Var_AI , Qual_AI ,
Qual_AIC , (*)
(*) This repeats for each Equipment whose individual cycle is to be configured. There will be
as many lines as indicated under NumEquip.
• NumEquip: Number of equipment whose interrogation cycle is to be configured. The
interrogation procedure must be defined for each equipment.
• DirEqupo: Address of the equipment to be configured. It must match an address
configured indbase.cfg.
• Obj_BI: Value of the object used for interrogation of Binary Inputs. Default value: 1
(BINARY_INPUT)
• Var_BI: Value of the variation used in for interrogation of Binary Inputs. Possible values
are:0 = VAR_ALL, 1 = VAR_SINGLE_BIT, 2 = VAR_WITH_STATUS. Default value is 0:
VAR_ALL.
• Qual_BI: Value of Qual field in the interrogation of Binary Inputs. Default value: 6
(QUAL_ALL).
• Obj_AI: Value of the object used for interrogation of Analog Inputs. Default value: 30
(ANALOG_INPUT).
• Var_AI: Value of the variation used in interrogation of Analog Inputs. Possible values are:
0 = VAR_ALL, 1 = VAR_ANALOG_32BITS, 2 = VAR_ANALOG_16BITS, 3 =
VAR_ANALOG_32B_WO_FLAG, 4 = VAR_ANALOG_16B_WO_FLAG. Default value is
0: VAR_ALL.
• Qual_AI: Value of the field Qual in the interrogation of Analog Inputs. Default value: 6
(QUAL_ALL).
• Obj_BIC: Value of the object used for interrogation of Binary Input Changes. Default
value: 2 (BINARY_CHANGE)
• Var_BIC: Value of the variation used for the interrogation of Binary Input Changes.
Possible values are: 0 = VAR_ALL, 1 = VAR_CHANGE_WITHOUT_TIME, 2 =
VAR_CHANGE_WITH_TIME, 3 = VAR_CHANGE_WITH_REL_TIME. Default value is 0:
VAR_ALL.
• Qual_BIC: Value of the field Qual in the interrogation of Binary Input Changes. Default
value: 6 (QUAL_ALL).
• Obj_AIC: Value of the object used for interrogation of Analog Input Changes. Default
value: 32 (ANALOG_CHANGE)
• Var_AIC: Value of the variation used for the interrogation of Analog Input Changes.
Possible values are: 0 = VAR_ALL, 1 = VAR_ANALOG_32B_WO_TIME, 2 =
VAR_ANALOG_16B_WO_TIME, 3 = VAR_ANALOG_32B_WITH_TIME, 4 =
VAR_ANALOG_16B_WITH_TIME. Default value is 0: VAR_ALL.
• Qual_AIC: Value of the field Qual in the interrogation of Analog Input Changes. Default
value: 6 (QUAL_ALL).
Ex: 2,
10,1,0,6,30,0,6,2,1,6,32,1,6,
20,1,1,6,30,1,6,2,1,6,32,0,6,
M1CPTA2005I
B-111 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The example below shows how the complete file looks like. The values configured here are
given only as an example and must not taken as reference for configuration. If in doubt, the
default values in the text above must be taken.
M1CPTA2005I
1CPT: Substation Central Unit B-112
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The file allows two configuration modes. They differ in the configuration of the own virtual
signals. In the old format, only one block of own digital signals is configured, with only one
signal. In the new format, other blocks of digital signals and measurements that can be updated
from SCADA through the applicable functions are configured.
These blocks refer to own signals of the virtual equipment MODBUS. Formerly, this equipment
had a digital signal associated to the master communications status (1= FAILURE; 0=OK) and
now more digital signals can be defined that are updated through function 15. The first signal
(index 0), is still reserved for master communications status.
Own MODBUS equipment analog signals can also be defined that are updated b SCADA
through function 16 (PresetMultipleRegister).
Both digital signals and measurements can be used as input signals in other tasks and
modules.
NumISCs ,
ISC , Alarma , F_activ , F_desactiv , Neg , Bocina , (*)
(*) It repeats for each device digital signal. There will be as many as shown in NumISCs.
Ex: 1,
0,1,0,0,0,1,
M1CPTA2005I
B-113 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-114
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
DirEsclavo , TipoComModbus ,
• DirEsclavo: Address of the central unit slave. It is the address of the slave that must be
included in master requests transmitted to the central unit.
• TipoComModbus: Indicates the type of communication used to connect to the
RemoteControl: 0 = Serial, 1 = MODBUS TCP or 2 = MODBUS over TCP/IP. (Namely,
MODBUS RTU encapsulated in packets TCP/IP). The default value is 0, this is, via serial
port.
• Puerto: Puerto: Communications port. Normal values are COM1 and COM2, but in case
communications are through the Terminal Server, the associated serial virtual port can be
defined here, beginning with the letter ‘V’ (e.g., V201,V202,…,V209). .
• Veloc: Baud rate. it can take the values 600, 1200, 2400, 4800, 9600, 19200 and 38400
bauds.
• TipoPar: Type of parity. It can use values ‘N’ or ‘n’ (none); ‘O’, ‘o’, ’i’, ‘I’ (odd number);
‘E’,‘e’, ‘p’, ‘P’ (even number).NumBits: Number of bits. Possible values are 7 and 8 bits.
• NumStop: Number of stop bits. It can take the values 1 and 2.
In these two cases associated to a TCP/IP port, two new parameters will be defined instead of
the ones related to the serial communications port.
• Puerto: TCP port used to connect to the master. The default value is 502.
• DirIP: IP address of the interface to be used to communicate with the MODBUS master. If
this parameter is not configured, the IP address of the CPT will be used.
• NumLan: Number of the CPT’s LAN adapter used to communicate with the MODBUS
control facility. By default, the central default LAN adapter is selected.
• NetMask: Network mask applied to DirIP. If not configured, the default value is
255.255.0.0. [This parameter exists since emulator version 03.02]
M1CPTA2005I
B-115 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• TimeWait: Time elapsed (in msec.) from the moment the transmission is due until RTS
switches to ON (provided RTSon is other than–1), or time elapsed (in msec.) from the
moment the transmission is due until the transmission is started (if RTSon equals–1).
Default value is 0.
• RTSon: Time RTS keeps to ON before transmission (in msec.). Default value is –1,
which means RTS will not ever switch to ON so it will be transmitted immediately after
TimeWait times out.
ATTENTION: If the RTS control line is not to be used, this parameter must be set to
-1.
• RTSoff: Time elapsed (in msec.) from the transmission until RTS switches to OFF.
Default value is –1, which means that the RTS line will not be used. As a general rule it
is configured to –1 if RTS has been configured to –1, but this time can also be configured
to a value other than –1, RTSon having been configured to –1: it would be used to make
the salve wait this time RTSoff after transmitting (the RST would switch to OFF after this
time times out, status in which it already was after setting RTSon to -1).
ATTENTION: This parameter cannot be set to–1 if RTSon has been set to a value
other than –1, as the RTS will always be ON.
• TimeoutComs: Time (in sec.) the central unit must be without receiving a correct
message to issue a master communications error, that is, to generate the signal of
master communications failure configured in this same file. Default value is 60 seconds.
• NivelMonitor: Trace monitoring level. Default value is 0.
Ex: 0,-1,-
1,60,0,
• [BLQ 5] Data on Digital Signals by which the Master Interrogates the Central
Unit: Lines 13-17]
(*) It repeats for each digital signal handled by the master. There will be as many as shown in
NumISCs.
These signals must be read with MODBUS function 2 (READ INPUT STATUS).
M1CPTA2005I
1CPT: Substation Central Unit B-116
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Offset default value is 0, in case the validations are not implemented through Function
02, but otherwise the same value as NumISCs is set, for said validations to go “behind”
the signals themselves, although this criterion is only for guidance.
ATTENTION: This value must be higher than the Modbus Address of the last ISC
signal, as otherwise signal overlapping will occur.
OffsetValidacISCs > DirModbusISC1 + NumISCs
• NegValidacISCs: Negation of ISC signal validation. In case the value is one, the value of
said validations is reversed at the time of sending via communications.
• DirModbusISC: MODBUS address of the digital signal (decimal).
ATTENTION: Signals must begin with zero, must be arranged in ascending order of
MODBUS address and be consecutive..
• Dir: Address of the device the digital signal belongs to.
• ISC: Label of the digital signal.
• NegISC: Negation of the specific ISC signal, for sending via communications.
NumISEs ,
DirModbusISE , Dir , ISE , (*)
(*) It repeats for each master command. There will be as many as shown in NumISEs.
These commands will be executed with MODBUS function 5 (FORCE SINGLE COILS).
M1CPTA2005I
B-117 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(*)It repeats for each measurement handled by the master. There will be as many as shown in
NumMEAs.
These measurements can be read with the MODBUS function 4 (READ INPUT REGISTERS),
and function 3 (READ HOLDING REGISTERS). ATTENTION: If the same function is used to
request both measurements and counters, mixed information MAY NOT be sent. Namely,
measurement information and counter information may not be sent together in the same
packet.
M1CPTA2005I
1CPT: Substation Central Unit B-118
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 4,512,1,4, //
NumMEAs,OffsetValidacMEAs,NegValidacMEAs,FuncEspPetMEAs,
8192,1,0, 1.0,0.0,// DirModbusMEA1,Dir1,Mea1,Fa,Fb,
8193,1,1, 1.0,0.0,// Measurement 2
8194,2,0, 1.0,0.0,// Measurement 3
8195,2,1, 1.0,0.0,// Measurement 4
• [BLQ 8] Data on Counters by which the Master can interrogate the Central
Unit: Lines 29-33]
(*) It repeats for each counter handled by the master. There will be as many as shown in
NumCONs.
These measurements can be read with the MODBUS function 4 (READ INPUT REGISTERS),
and function 3 (READ HOLDING REGISTERS). ATTENTION: If the same function is used to
request both measurements and counters, mixed information MAY NOT be sent. Namely,
measurement information and counter information may not be sent together in the same
packet
M1CPTA2005I
B-119 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• NumBytesCON: Number of Bytes of the Counters. Two possible values are differentiated:
2 Byte Counters (Integer) and 4 Byte Counters (Long value). In the latter case, it must be
taken into account that as the Modbus protocol uses the integer as basic communication
unit, two Modbus addresses must be reserved to define a single counter. This is why, that
in this case, said Modbus Addresses would be all even or all odd (See Example 2
attached). Default value is 2 (See Example 1 attached).
• FuncEspPetCONs: Special Modbus function to be used for Counter request. By default
or omission it is set to the standard value READ_HOLDING_REGISTER(3).
• DirModbusCON: MODBUS address of counter (decimal).
ATTENTION: Counters must be arranged in ASCENDING order of the MODBUS
address, with no need for said addresses to be consecutive.
ATTENTION: In case NumBytesCON is 4, these addresses must be defined as all
even or all odd (See Example 2 attached).
• Dir: Address of the device that the counter belongs to.
• CON: Counter label.
Ex1: 4,3000,0,2,3,,
/NumCONs,OffsetValidacCONs,NegValidacCONs,NumBytesCON,
FunEspPetCONs
Ex2: 4,3000,0,4,3
//NumCONs,OffsetValidacCONs,NegValidacCONs,NumBytesCON,FunEsp
PetCONs,
8320,1,0, // DirModbusCON1 (Long )
8322,1,1, // Counter Long 2
8324,2,0, // Counter Long 3
8326,2,1, // Counter Long 4
NumISMs ,
DirModbusISM , Dir , ISM , (*)
(*) This repeats for each command run by the master. There will be as many as indicated
under NumISMs.
These commands are run with the MODBUS function 6 (PRESET SINGLE REGISTER).
M1CPTA2005I
1CPT: Substation Central Unit B-120
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• NumISMs: Number of analog commands that can be run by the master. By default is 0.
• DirModbusISM: MODBUS address of the analog command (decimal).
ATTENTION: Commands must be arranged in ascending order of the MODBUS
address.
• Dir: Address of the equipment that the command belongs to.
• ISM: Label of the analog command of the level 1 equipment.
• [BLQ 10] Data on the digital signal status allocation block of virtual MODBUS
equipment
In this block the way to handle the digital signals of MODBUS equipment is defined.
• DirIniModbus: MODBUS address of the beginning of the digital signal block. These
addresses must be different from the ones defined in block [BLQ 5]
• NumSignals: Number of digital signals to be handled.
• ISCIni: Starting ISC of the virtual MODBUS equipment where digital signal statuses are to
be mapped. NOTE: Reserve at least the first digital signal for communications failure with
the master.
Ex: 1000,23,10,
• [BLQ 11] Data on the Digital Signal Value Allocation Block of Virtual
MODBUS Equipment
In this block the way to handle analog signals of the MODBUS equipment is defined.
• DirIniModbus: MODBUS address of the beginning of the analog signal block. These
addresses must be different from the ones defined in the block [BLQ 7].
• NumSignals: Number of digital signals to be handled.
• MEAIni: Starting MEA of the virtual MODBUS equipment where analog signal values are
to be mapped.
Ex: 2000,5,0,
M1CPTA2005I
B-121 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[1] # MODBUS.CFG file for the Configuration of the slave MODBUS task
[2] #
[3] # Signal data of virtual MODBUS equipment 20,0,0,10,0
[4] # Digital signals
[5] 20,
[6] 0,1,0,0,0,1,
[7] 1,0,0,0,0,0,
[8] 2,0,0,0,0,0,
[9] 3,0,0,0,0,0,
[10] 4,0,0,0,0,0,
[11] 5,0,0,0,0,0,
[12] 6,0,0,0,0,0,
[13] 7,0,0,0,0,0,
[14] 8,0,0,0,0,0,
[15] 9,0,0,0,0,0,
[16] 10,0,0,0,0,0,
[17] 11,0,0,0,0,0,
[18] 12,0,0,0,0,0,
[19] 13,0,0,0,0,0,
[20] 14,0,0,0,0,0,
[21] 15,0,0,0,0,0,
[22] 16,0,0,0,0,0,
[23] 17,0,0,0,0,0,
[24] 18,0,0,0,0,0,
[25] 19,0,0,0,0,0,
[26] # Commands
[27] 0,
[28] # output writes
[29] 0,
[30] # Measurements
[31] 10,
[32] 1.0,0.0,
[33] 1.0,0.0,
[34] 1.0,0.0,
[35] 1.0,0.0,
[36] 1.0,0.0,
[37] 1.0,0.0,
[38] 1.0,0.0,
[39] 1.0,0.0,
[40] 1.0,0.0,
[41] 1.0,0.0,
[42] # Counters
[43] 0
[44] # Central Unit slave address
[45] 14,
[46] # Communications data
[47] COM1,9600,n,8,1,
[48] # General data of master communications
[49] 0,-1,-1,60,0,
[50] # Digital signals
[51] 3,1000,1,// NumISCs, OffsetValidacISCs,NegValidacISCs
[52] 0,1,0,// Addr MODBUS, Addr, ISC
[53] 1,2,0,
[54] 2,2,2,
[55] # Commands
[56] 2, // Num. Commands
[57] 512,1,0,// Addr MODBUS, Addr, ISE
M1CPTA2005I
1CPT: Substation Central Unit B-122
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[58] 513,1,1,
[59] # Measurements
[60] 3,2000,1,// NumMEAs, OffsetValidacMEAs,NegValidacMEAs
[61] 8192,1,0,// Addr MODBUS, Addr , MEA
[62] 8193,1,1,
[63] 8194,2,0,
[64] # Counters
[65] 3,3000,1,2, // NumCONs, OffsetValidacCONs, NegValidacCONs,
NumBytesCON
[66] 8320,1,0,// Addr MODBUS, Addr, CON
[67] 8321,1,1,
[68] 8322,2,0,
[69] # Configuration of analog commands -
[70] 2,
[71] 52,1,0,
[72] 53,1,0,
[73] # Configuration of the digital signal handling block
[74] 1000,23,10,
[75] # Configuration of the analog signal handling block
[76] 2000,5,0,
[77]
M1CPTA2005I
B-123 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
For MODBUS-Serial communication, this section is configured through the following line of
parameters:
Ex: COM1,19200,I,8,1,
or P1,
or V201,19200,I,8,1,
• DirIPSlave: Is the TCP-IP address of the MODBUS-TCP slave the MODBUS-TCP master
is to be connected to.
• PortTCPSlave: TCP port available in the MODBUS-TCP slave for the Master to establish
the TCP/IP connection.
• NumLAN: LAN number to be used for the communications via TCP/IP. In case of CPT
devices two LAN ports are available identified by indexes 1 and 2, the default value being
index 1 associated to LAN1. For CPX devices, this parameter must be set to 1.
• IsMODBUSSobreTcpIp: Indicates whether the MODBUS protocol is MODBUS over
TCP/IP (1) or MODBUS TCP/IP (0). Default value is 0 (MODBUS TCP/IP).
Ex: 192.168.194.36,80,1,0,
M1CPTA2005I
1CPT: Substation Central Unit B-124
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• RTSon: Time that RTS remains set to ON before transmitting (in msec.) in case of the
SERIAL MODBUS. This parameter will be used as timeout before sending a new
message to the MODBUS slave in case of the MODBUS-TCP.
• RTSoff: Time that RTS remains set to OFF after the transmission (in msec.) in case of the
SERIAL MODBUS. This parameter is used as timeout after sending each message to the
MODBUS slave in case of the MODBUS-TCP.
• TimeRX: RTU reception timeout (in msec.). Valid for all messages but broadcast
messages, in which case ToutSincroBroadcast is taken.
Note: For RFL equipment, a timeout of at least 200ms must be configured (recommended 300ms), in
case there is only one RFL equipment in the facility, or 700ms (recommended 1500ms), in case there are
two RFL equipment. If there are more RFL equipment connected, the minimum timeout value that
guarantees a correct communication must be determined.
• NumReint: Number of communication attempts with the device.
• NivelMonitor: Trace monitoring level.
Ex: 0,0,500,2,0,
• TimeExplMed: Measurement exploration time (in sec.). It states how often measurement
exploration takes place.
• TimeExplCon: Counter exploration time (in sec.). It states how often counter exploration
takes place.
• TimePulso: Command pulse time (in msec.). In case of SEPAM, this value must be very
low, as it is the time between “Select” and “Operate” writes, and must be set only to 50
msec.
• TimeExpGenerico: This parameter is not used currently.
• TimeSincro: Device synchronisation time (in sec.). Incorporated in SEPAM devices.
Default value is 25 seconds.
• TimeEsperaTrasReset: Timeout after the loss of communications with SEPAM, NP-800
and AMS-7001 devices. It also applies to the start of CPX/CPP/CPT. This setting is
expressed in seconds. During this time, CPX/CPP/CPT keeps “keep-alive”
communications with the relay to guarantee that, when this time times out, relay DBs are
ready with actual device data. Default value is 60 seconds (1 minute).
• ToutSincroBroadcast: Timeout for the reception of synchronisation broadcast messages.
Default value is 22 msec.
• TimeExpEntDig: Digital input exploration time (in sec.). States how often digital signals
are explored in SEPAM, NP-800 and AMS-7001 devices.
• HabPetPermMed: This parameter allows enabling permanent measurement request to
the MODBUS slave, and also, it disables automatically periodic measurement requests.
Ex: 20,60,50,0,25,60,22,0,0,
M1CPTA2005I
B-125 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• RTU Data
DirPrimerEqLog ,
NumRTUs , TipoDeRTUs , ModoDeTransmisión ,
• DirPrimerEqLog: Address of the first equivalent logic device within the Central Unit
database.
• NumRTUs: Number of RTUs to be incorporated as devices.
• TipoDeRTUs: Type of RTU. Can be T-DAM(0), Generic(1), Micom(2), Sepam(3), NP-
800(4), CMS-7004(5), AMS-7001(6) or RFL(7). T-DAM by default.
Ex: 100,
4,0,0,
For MODBUS equipment, two blocks must be configured. In the first block the parameters
related to the logic equipment to be incorporated into the database are configured. In the
second block, the parameters required to map MODBUS signals to database signals are
configured.
In view of the great variety of MODBUS equipment profiles existing in this signal mapping block,
it varies from another, so that different formats are established as a function of model /
manufacturer of the equipment. Some equipment can be configured on the basis of generic
profile whereas specific profiles have been defined for other equipment.
M1CPTA2005I
1CPT: Substation Central Unit B-126
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Dir , N_ ISC , ISC Max , N_ ISE , ISE Max , N_ ISS , ISS Max , N_ MEA ,
TipoDe , FormatoM ,
RTU edidas
• Dir: RTU address. The address of the equivalent logic device will be (DirPrimerEqLog +
Dir).
• N_ISC: Number of RTU digital signals.
• ISCMax: Highest label of any ISC of the RTU in question.
• N_ISE: Number of RTU commands.
• ISEMax: Highest label of any ISE of the RTU in question.
• N_ISS: Number RTU output writes RTU.
• ISSMax: Highest label of any ISS of the RTU in question.
• N_MEA: Number of RTU measurements.
• N_CON: Number of RTU counters.
• DirEqRemoto: Address of the device of the ISC that states the RTU is in Remote Control
mode. It can be its own address or the address of other device, such as “logica” device.
• ISCRemoto: ISC of the device defined in the above column that defines whether the RTU
being configured is in remote control mode. This ISC [DirEqRemoto, ISCRemoto] must
be active for the execution of remote commands.
• ISCFail: Identifier of the command failure signal. In this case said ISC belongs to the RTU
that is being configured at this time.
• Puerto: Serial communications port used to communicate with the RTU. Possible values
are COM1 and COM2. In case no value is configured for this parameter, the port COM1
will be taken as default.
• Note: This parameter is not used in 32bit equipment (CPX and CPT). Nevertheless, it must be given a
value, recommended to be the same as for the previously configured serial port (e.g. COM1).
• N_ISM: Number of RTU analog output writes (only available for Generic type RTUs).
• TipoDeRTU: Type of RTU. In case the value is different from the previously read
TipoDeRTUs, the value of TipoDeRTU prevails.
NOTE: This parameter is only useful for CMS-7004 and AMS-7001 relays, since these are the only types
of equipment which are allowed to share the same serial port. In all other cases, all equipment
connected to the same serial port must be of the same type.
• FormatoMediddas: Indicates if these measurements will be dealt with at database level
as 16 bit integer values with sign (0) or as floating point values (1). By default is set to 0.
Depending on the format of equipment measurements, a conversion is made that may
result in loss of accuracy. For example, if the equipment sends 32 bit measurements that
are stored in a 16 bit register, information may be lost if the value of this measurement is
greater than 32637.
M1CPTA2005I
B-127 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex:Example1:
The ISC that determines whether the device is set to Remote Control mode is of its
own. Specifically ISC [1,21].1, 65,64, 16,15, 1,0, 6, 1, 1,21, 0, , 0, 0,
0,
Example2:
The ISC that determines whether the device is set to Remote Control mode is defined
in the “logica” device. Specifically ISC [256,504].
1, 65,64, 16,15, 1,0, 6, 1, 256,504, 0, , 0, 0, 0,
Settings must be configured for each signal group defined in the line above as has been
described in the CPT/CPX manual, Annex A, section 1.
• Data on RTU Digital Signals (ISCs)
They are configured as explained in section A.1. [lines 23-29]
Table B-1:Note: For RFL relays, ISC numbers must match the applicable trip codes, which are:
In RFL equipment, trips imply that the associated ISC switches to ‘1’, which later must return to the value ‘0’
through the LOGIC.
M1CPTA2005I
1CPT: Substation Central Unit B-128
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-129 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
CASE A) T-DAM type RTU: BCD Measurement (MeaBCD) is defined. In any case there will
only be one measurement per RTU. The first value must be TRUE or FALSE to specify whether
said measurement will exist or not.
NumM
ExisteB IscB IscBC IscB IscBC IscBCD IscBC IscBC IscBC
, eaBC , , , , , , , ,
CD CD0 D1 CD2 D3 4 D5 D6 D7
D
Ex: 1,6,1,2,3,4,5,6,-1,-1,
M1CPTA2005I
1CPT: Substation Central Unit B-130
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The following blocks are configured for each of these types. Each of these sets up a rule for
mapping signals/ Modbus data to database signals. As many blocks as required can be defined
taking into account that each refers to a basic type of signals (digital, measurements, counters,
commands), mixing signals in the same block not being allowed.
NumModLog ,
DirModulo , Numero , Tipo , DirDatoIni , Funcion , Data , …
Num Orden Formato
… , , FactorEscalado , , (#)
Registros Registros Registros
(#) There will be as many rows as there are modules in the RTU. In case of Micom type RTUs
there will only be a single Module, so the value of NumModLog must always be 1.
M1CPTA2005I
B-131 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Type Function
2 02, ReadInputRegister
3 03, ReadHoldingRegister
4 04, ReadAnalogRegister
5 05, WriteSingleCoil
6 06, WriteSingleReg
50 07, ReadHighSpeed8Bits
The table above is used as a reference for most of GENERIC MODBUS. The normal
function to read digital inputs of equipment is 2 (ReadInputRegister) although, some
equipment map digital signals to Holding Registers, so function 3 must be configured in
lieu of function 2. In this case, there exist a difference that must be taken into account:
the size of an Input Register is one bit whereas the Holding Register is 16. When defining
Numero, the number of digital signals to be read must be indicated in both cases. In case
of Input Registers, this will match the number of registers, whereas for Holding Registers
it will not. The CPT, when requesting the equipment for data, sets this value to the actual
number of MODBUS registers to be read.
For example. The table shows the way to configure reading the 16 digital signals to be
mapped to the first signals of the database. In the first case they will be read as Input
Register and in the second as Holding Register.
In the first case the equipment will be requested to read registers 100 to 116, whereas in
the second case it will only be requested to read register 3745.
• Data: For command modules, the code to be sent to the device will be configured: 0 =
Coil OFF and 65280=0xFF00 = Coil ON. Default value is 0.
• NumRegistros: Number of MODBUS registers (1 register = 2 bytes) that a measurement
or counter consists of. Possible values are 1 or 2 (by default 1). This parameter is only
considered for the case of measurements and counters.
Note: For CMS-7004 relays 5 registers (10 bytes) are always requested for each measurement,
regardless the value set for this parameter.
M1CPTA2005I
1CPT: Substation Central Unit B-132
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• OrdenRegistros: In case the number of registers in this module is 2, it indicates the order
in which registers are processed. It can take the values 0 or 1 (by default 0): 0 to indicate
that the most significant register (MSR) is received first, and 1 to indicate that the register
received first is the least significant register (LSR). As a rule, the order of the registers is
usually MSR-LSR, namely, this setting must be 0.
• Factorscalado: Scaling factor used for 2 register measurements. For all other cases, this
parameter is not taken into account. Measurement value are obtained by dividing the
value received from the RTU by the scaling factor. By default, is 1.0.
• FormatoRegistro: This parameter indicates the way read equipment registers are being
processed. The values are shown in the table below and is only applicable when Tipo is
set to 3 (Counters) or 4 (Measurements). Default values are indicated in bold type for
each type in the applicable tables. If an inadequate value is set for each type then the
default value indicated in the table is taken.
FormatoRegistro
Value Meaning Nº of Registers
0 32-bits WITH sign 2
1 32-bits Floating point 2
2 16-bits PROCOME 1
3 16-bits WITH sign 1
4 16-bits WITHOUT sign 1
5 32-bits WITHOUT sign 2
6 24-bits WITH sign 2
7 24-bits WITHOUT sign 2
8 32-bits MOD 10000 2
The 32-bit Modulo 10000 format is used to process some registers sent by SATEC model
PM172 equipment. The manual explains it as below:
The short energy registers 287-294, and 301-302 are transmitted in two contiguous 16-bit
registers in modulo 10000 format. The first (low order) register contains the value mod 10000,
and the second (high order) register contains the value/10000. To get the true energy reading,
the high order register value should be multiplied by 10,000 and added to the low order register.
[SATEC-PM172; page 12]
M1CPTA2005I
B-133 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The table below describes the possible values and their and their explanation for Tipo = 4
(measurements):
FormatoMedidas
NumRegistros FormatoRegistros
0 (Signed 16 bits) 1 (Short floating point)
The table below describes the possible values and their and their explanation for Tipo = 3
(counters):
M1CPTA2005I
1CPT: Substation Central Unit B-134
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
In case of SEPAM, neither digital outputs (ISS) nor counters (CON) are defined. In case of NP-
800 and AMS-7001, apart from digital outputs (ISS) and counters (CON), commands (ISE) are
not defined either.
• Data on Inputs Connected to RTU: [Line 84]
• NumBlqEntradas: Number of Input Blocks. The Input blocks themselves are described
from this number.
M1CPTA2005I
B-135 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• NumBlqMedidas: Number of Measurement Blocks that follow. The following fields will be
defined per Block:
• DirIniMODBUS: Starting MODBUS address of the first measurement of a given block.
• Numero: Number of correlative Measurements in a given block.
• MEAIni: Identifier of the starting MEA of the logic device from which (including itself)
modbus measurements of a given block are mapped.
Note: TipoMeaN parameters are only used in SEPAM equipment (not in NP-800 or AMS-7001).
• TipoMeaN: From now on, the specific types of these N measurements pertaining to a
given block, are declared in sequential order as a function of the number of
measurements defined in the field “Numero”. The different types defined until now are:
- Type 16NS: It is defined with the value 4 in the configuration file. It is a 16 bit value
without sign. This poses a problem, as it is saved with sign in Dbase, and so it has
been decided to divide it by 2 in order to save it in the database. Then, for displaying it
on the HMI or sending it to any remote control, the saved value must be multiplied by
two to obtain the actual value. Currents and voltages are examples of these types of
measurements.
- Type 16O: It is defined with the value of 5 in the configuration file. It is a 16 bit value
with sign and 8000h range. This entails that the actual value –32768 is coded as
0000h. The actual value 0 is coded as 8000h. The actual value 32767 is coded as
FFFFh. Active power and reactive power are examples of this type of measurement.
M1CPTA2005I
1CPT: Substation Central Unit B-136
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-137 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-138
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-139 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[54] 31,0,1,1,0,0,
[55] # Numero de ISE
[56] 0,
[57] # Numero de ISS
[58] 0,
[59] # Numero de MEA
[60] 0,
[61] # Numero de CON
[62] 0,
[63] # Modules: NumModLog (Micom type)
[64] # DirIniModbus,Number of integers to be requested,Type of
Module,DirISCInicial
[65] 1,
[66] 3016,10,3,0,
M1CPTA2005I
1CPT: Substation Central Unit B-140
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[37] 14,0,1,1,0,0,
[38] 15,0,1,1,0,0,
[39] 16,0,1,1,0,0,
[40] 17,0,1,1,0,0,
[41] 18,0,1,1,0,0,
[42] 19,0,1,1,0,0,
[43] 20,0,1,1,0,0,
[44] 21,0,1,1,0,0,
[45] 22,0,1,1,0,0,
[46] 23,0,1,1,0,0,
[47] 24,0,1,1,0,0,
[48] 25,0,1,1,0,0,
[49] 26,0,1,1,0,0,
[50] 27,0,1,1,0,0,
[51] 28,0,1,1,0,0,
[52] 29,0,1,1,0,0,
[53] 30,0,1,1,0,0,
[54] 31,0,1,1,0,0,
[55] # Number of ISE
[56] 0,
[57] # Number of ISS
[58] 0,
[59] # Number of MEA
[60] 0,
[61] # Number of CON
[62] 0,
[63] # Modules: NumModLog (Micom type)
[64] # DirIniModbus,Number of integers to ask,Type of Module,DirISCInicial
[65] 4,
[66] // DirModulo, Num, Tipo, DirDatoIni, Funcion,
[67] 0, 16,4, 0,4,0,1,0, 1,0,// Measurement,
[68] 20, 8,4,18,4,0,2,1,100,0,// Measurement
[69] 0, 5,3, 0,3,0,1,0, 1,0,// Counter
[70] 0, 3,2, 0,2,0,1,0, 1,0,// Digital Signals
M1CPTA2005I
B-141 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-142
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[53] #
ISE,DirEqEst,ISCEst,Time,Negada,DirEqOK,IscOK,DirEqBAD,IscBAD,
doble, n blqs,dir,isc,neg,..,
[54] # DirEq=DirLocal=32+1
[55] 0,33,-1,4000,0,33,-1,-1,-1,0,0,0,0,0, // O- ABRIR INTOR DESDE REMOTO
[56] 1,33,-1,4000,0,33,-1,-1,-1,0,0,0,0,0, // O- CERRAR INTOR DESDE REMOTO
[57] 2,33,-1,4000,0,33,-1,-1,-1,0,0,0,0,0, // O- ABRIR SECC. B1 DESDE REMOTO
[58] 3,33,-1,4000,0,33,-1,-1,-1,0,0,0,0,0, // O- CERRAR SECC. B1 DESDE
REMOTO
[59] 4,33,-1,4000,0,33,-1,-1,-1,0,0,0,0,0, // O- ABRIR SECC. B2 DESDE REMOTO
[60] 5,33,-1,4000,0,33,-1,-1,-1,0,0,0,0,0, // O- CERRAR SECC. B2 DESDE
REMOTO
[61] 6,33,-1,4000,0,33,-1,-1,-1,0,0,0,0,0, // O- 79 FUERA DE SERVICIO DESDE
REMOTO
[62] 7,33,-1,4000,0,33,-1,-1,-1,0,0,0,0,0, // O- 79 EN SERVICIO DESDE REMOTO
[63] 8,33,-1,4000,0,33,-1,-1,-1,0,0,0,0,0, // O- COG. FUERA SERVICIO DESDE
REMOTO
[64] 9,33,-1,4000,0,33,-1,-1,-1,0,0,0,0,0, // O- COG. EN SERVICIO DESDE
REMOTO
[65] ##
[66] # Number of ISSs
[67] 0,
[68] ##
[69] # Number of MEAs
[70] 4,
[71] # Factors a,b
[72] 1.0000000,0.0000000, // MEASUREMENT DE INTENSIDAD (Tipo_16NS)
[73] 1.0000000,0.0000000, // MEASUREMENT DE TENSIÓN (10KV/110V) (Tipo_16NS)
[74] 1.0000000,0.0000000, // POTENCIA ACTIVA (Tipo_16O)
[75] 1.0000000,0.0000000, // POTENCIA REACTIVA (Tipo_16O)
[76] ##
[77] # Number of CONs (Factors a,b)
[78] 0,
[79] #1.0,0.0,
[80] ###################################################
[81] # MODELO SEPAM S81 LOGIC DEVICE 1:
[82] ## ISC
[83] # Nº groups, [Addr. memory(in decimal), Nº group signals, 1st ISC]
,[...],[...],...
[84] # 0xC100=49408, 0xC8F0=51440, 0xC9CE=51662
[85] 3, 49408,41,0, 51440,122,41, 51662,29,163,
[86] ## ISE
[87] # DirSelectISEIni, DirOperateISEIni, NumMandos, DirISEIni,
[88] # Addr. memory (in decimal), nº group signals, 1ª ISE,
[89] # DirSelect=0C870=51312 - DirOperate=0xC8B0=51376
[90] 51312,51376,10,0,
[91] ## MEA
[92] # DirModbusMEA (en decimal), NumMEAs, MEAProcoEquiv,
(TipoMea1,TipoMea2,...,TipoMeaN,)
[93] # 0xFB80=64384
[94] 2, 64384,4,0,4,4,5,5, 64285,1,4,4,
M1CPTA2005I
B-143 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-144
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-145 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-146
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[49] ##
[50] # NumBlqGenericos
[51] 13,
[52] # DirIni, Number, Type, IdxProcome, Function, Data,
[53] 77,1,4,0,3,0,1,0,1,
[54] 86,1,4,1,3,0,1,0,1,
[55] 95,1,4,2,3,0,1,0,1,
[56] 107,1,4,3,3,0,1,0,1,
[57] 113,1,4,4,3,0,1,0,1,
[58] 122,1,4,5,3,0,1,0,1,
[59] 374,1,4,6,3,0,1,0,1,
[60] 383,1,4,7,3,0,1,0,1,
[61] 392,1,4,8,3,0,1,0,1,
[62] 617,1,4,9,3,0,1,0,1,
[63] 680,1,4,10,3,0,1,0,1,
[64] 743,1,4,11,3,0,1,0,1,
[65] 806,1,4,12,3,0,1,0,1,
M1CPTA2005I
B-147 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-148
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-149 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-150
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 1,
0,1,0,0,0,
Ex: 66,0,1,0,0,
M1CPTA2005I
B-151 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• TC1: Waiting time between the last bit received from reception and the setting of the RTS
prior to transmission.
• TC2: Waiting time between the setting of the RTS up to the forwarding of the first
Transmission bit (timing for the activation of the PTT in communication via Radio).
• TC3: Timing that the RTS is maintained after Transmitting the last bit of the frame.
Ex: 250,200,200,
• CM1: Number of accounts for the handling of the value of a measurement as a change.
The default value is 7 accounts.
• TFC: Timing for communication failure (in minutes). The range of solid values is 1-200.
• TSL1: Timing for silence on line (in sec.), which is the time that has lapsed since a correct
message was received, even if not addressed to the same. The default value is 20
seconds.
• TM1: Maximum validity time for the selection of a command (in sec.). The default value is
30 seconds.
• TS3: Time employed by the Remote terminal to be progressively set as regards date/hour
sent by slow synchronization (in minutes). The default value is 1 minute.
• IntervSincro: Interval of time lapsed between two consecutive updates for the hour in a
slow synchronization process (in sec.). The TS3 value is divided between this value in
order to calculate the steps to be undertaken in this process. The default value is 15
seconds.
• DispersionPID1: Maximum time difference between the PID1 time and the GPS or UCS
time in order to begin to use the PID1 time instead of GPS. In Sec.
• TS2: Difference in time between the SCADA and the CPX/CPT time in order to admit
slow synchronization (in msec.). The default value is 120 msec.
• TipoRTU: Type of RTU that defines communication with SCADA (COSINOR=0 and
SIEMENS=1). The default value is 0.
• Tac: Timeout between characters to consider a different frame (in msec). This parameter
is only used in CPX-A. For CPX-B, this parameter is read but not in use (a timeout
between characters is used that is calculated automatically as a function of the serial port
baud rate).
Ex: 8,5,120,30,1,15,60,120,44,0,
M1CPTA2005I
1CPT: Substation Central Unit B-152
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Puerto: Communication port. Possible values are COM1, COM2 and COM3 for CPX
models. For CPP models possible values are COM1 and COM2.
• Veloc: Baud rate. Possible values are 110, 150, 300, 600, 1200, 2400, 4800, 9600 baud.
• TipoPar: Type of parity. It can apply values ‘N’ or ‘n’ (none); ‘O’, ‘o’, ’i’, ‘I’ (odd number);
‘E’, ‘e’, ‘p’, ‘P’ (even number).
• NumBits: Number of bits. Possible values are 5,6,7 and 8 bits.
• NumStop: Number of stop bits. It can apply values 1 and 2.
• TamFIFO: Number of characters to be used to programme the UART’s FIFO. This
parameter is used to ensure that no characters are lost during excess workloads in the
CPX/CPP. Nevertheless, if TAC parameter is used, it must be adjusted to value 1
because, if this is not implemented, communication failures will take place.
Ex: COM1,600,I,8,2,1,
Punto , Minuto ,
• Punto: Identification of the signal to be used. The point identification is used, which is a
consecutive number commencing from the first signal obtained from the first group of the
first module, consecutively numbered until the last contact. If the Point value is -1, this
functionality is disabled.
• Minuto: Number of interval minutes between two changes of signal. Each Minuto
generates a change in the signal identified as Punto. The status of the signal alternates
with each change. The range for this field is 1 ... 1440 minutes.
Ex: 3,60,
Ex: 1,10,10,10,
M1CPTA2005I
B-153 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Data Related to the Number of Modules for each of the Timings included in the
Remote Control: [Line 16]
Ex: 2,1,1,1,1,
NumModCnt ,
ModNum , NumGrps ,
GrpNum , NumCnts ,
DirEq , ISC , Neg , (*) (**) (***)
(*) This is repeated for each group contact. There will be as many as indicated under
NumCnts.
(**) This is repeated for each group from the corresponding to the contact module. There will
be as many as indicated under NumGrps.
(***) This is repeated for each of the remote control contact modules. There will be as many as
indicated under NumModCnt.
M1CPTA2005I
1CPT: Substation Central Unit B-154
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumModAcu ,
ModNum , NumGrps ,
GrpNum , NumAcus , (***)
DirEq , CON , (*) (**)
(*) This is repeated for each accumulator of the group in question. There will be as many as
indicated under NumAcus.
(**) This is repeated for each group of the corresponding accumulator module. There will be
as many as indicated under NumGrps.
(***) This is repeated for each module of accumulators in the remote control. There will be as
many as indicated under NumModAcu.
NumModMed ,
ModNum , NumGrps ,
GrpNum , NumMeds , (***)
DirEq , MEA , Correccion , Offset , (*) (**)
(*) This is repeated for each measurement of the group in question. There will be as many
as indicated under NumMeds.
(**) This is repeated for each group from the corresponding measurement module. There will
be as many as indicated under NumGrps.
(***) This is repeated for each module of the remote control measurements. There will be as
many as indicated under NumModMed.
M1CPTA2005I
B-155 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Correction and Offset factors are applied to measurement values in accounts forwarded by the
devices to the Central Unit, in order to obtain these values in PID1 protocol format and finally be
transmitted to the Control Centre.
In addition, based on the values calculated under the PID1 protocol format, the PID1 emulator
from the Central Unit will obtain the difference between the current value and the previous value
for each measurement in order to compare the same against the value of the CM1 parameter
(number of accounts in the PID1 protocol format, for handling as a change in the value of a
measurement), which indicates if the measurement has changed the number of accounts
indicated by the parameter.
Since measures are coded in 12 bits (just the same as Procome protocol used for the
communication of control with level 1 devices) in the PID1 protocol profile implemented in the
Central Unit, values 1.0 and 0.0 are used as Correccion and Offset factors, respectively.
M1CPTA2005I
1CPT: Substation Central Unit B-156
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumModMan ,
ModNum , NumGrps ,
GrpNum , NumMans , (***)
DirEq , ISE , DirEqBlq , ISCBlq , NegBlq , (*) (**)
(*) This is repeated for each command from the group in question. There will be as many as
indicated underNumMans.
(**) This is repeated for each group from the corresponding command module. There will be as
many as indicated under NumGrps.
(***) This is repeated for each of the command modules from the remote control. There will be
as many as indicated under NumModMan.
NumModSal ,
ModNum , NumGrps ,
GrpNum , NumSal , (***)
DirEq , ISM , (*) (**)
(*) This is repeated for each measurement for the group in question. There will be as many as
indicated under NumSal.
(**) This is repeated for each group from the corresponding module of measurements. There
will be as many as indicated under NumGrps.
M1CPTA2005I
B-157 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
(***) This is repeated for each module of measurements from the remote control. There will be
as many as indicated under NumModSal.
M1CPTA2005I
1CPT: Substation Central Unit B-158
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[25] …
[26] 19,21,0, // 64 T-2:ALARM BUCHHOLZ (TPP)
[27] # ---- Second Group
[28] 1,64, // GrpNum, Num_Cnt
[29] 19,25,0, // 65 T-2:A. OIL LEVEL (TPP)
[30] 19,28,0, // 66 T-2:REGUL. ANOMALY (TPP)
[31] …
[32] 11,100,0, // 128 L-4 13:LOW GAS PRESSURE
[33] # * SECOND MODULE
[34] …
[35] # **** ACCUMULATOR MODULES
[36] 1, // Number of Accumulator modules
[37] # * FIRST MODULE
[38] 1,2, // ModNum, Num_Grp
[39] # ---- First Group
[40] 0,4, // GrpNum, Num_Acu
[41] 2,0, // P ENTRANTE T-1
[42] 2,2, // Q INCOMING T-1
[43] 2,3, // Q OUTGOING T-1
[44] 3,0, // P INCOMING T-2
[45] # ---- Second Group
[46] 1,2, // GrpNum, Num_Acu
[47] 3,2, // Q INCOMING T-2
[48] 3,3, // Q OUTGOING T-2
[49] #
[50] #
[51] # **** MEASUREMENT MODULES
[52] 1, // Number of Measurement modules
[53] # * FIRST MODULE
[54] 1,3,// ModNum, Num_Grp
[55] # ---- First Group
[56] 0,8, // GrpNum, Num_Med
[57] 1,0,1.0,0.0, // V LINEA 1 30kV
[58] 1,1,1.0,0.0, // V LINEA 2 30kV
[59] …
[60] 7,2,409.6,0.0, // TAP T-2 (max 9--4096/10=409.6)
[61] # ---- Second Group
[62] 1,8, // GrpNum, Num_Med
[63] 7,1,0.956522,0.0, // SET POINT VOLTAGE T-2
[64] 3,1,1.0,0.0, // ACTIVE POWER T-2
[65] …
[66] 9,0,1.0,0.0, // INTENSITY L-2
[67] # ---- Third Group
[68] …
[69] #
[70] # **** COMMAND MODULES
[71] 1, // Number of Command modules
[72] # * FIRST MODULE
[73] 1,2, // ModNum, Num_Grp
[74] # ---- First Group
[75] 0,64, // GrpNum, Num_Man
[76] # DirEq, ISE, BLQ: EqIsc, BLQ: ISC, Neg
[77] # 0,0,0,0,0,// 0 Reserve for remote control reasons
[78] 1,8,0,0,0, // 1 OPEN 52-1 30kV
[79] 1,5,0,0,0, // 2 CLOSE 52-1 30kV
[80] …
[81] 16,3,0,0,0, // 64 L-9:TRANSITION TO AUTOMATIC
[82] # ---- Second Group
M1CPTA2005I
B-159 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-160
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 1,
0,1,0,0,0,
NumTR ,
Ex: 55,
• Puerto: Communication port. Possible values are COM1, COM2 and COM3 for the CPX
models. For CPP model possible values are COM1 and COM2..
• Veloc: Baud rate. Possible values are 110, 150, 300, 600, 1200, 2400, 4800, and 9600
baud.
• TipoPar: Type of parity. It can apply values ‘N’ or ‘n’ (none); ‘O’, ‘o’, ’i’, ‘I’ (odd number);
‘E’, ‘e’, ‘p’, ‘P’ (even number).
• NumBits: Number of bits. Possible values are 5,6,7 and 8 bits.
• NumStop: Number of stop bits. It can apply values 1 and 2.
• NumPorts: Number of ports used for communications with the control room. Default value
= 2. Value 1 will be assigned FOR THE CPP. If there are 2 ports, only the first one will be
indicated, COM1; the other one is assigned internally to COM2.
Ex: COM1,600,N,8,2,2,
M1CPTA2005I
B-161 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• TimeRTS_CTS: Waiting time as from the onset of the RTS up to the onset of the CTS (in
msec.).
• TimeCTS_TD: Waiting time as from the onset of the CTS until the first Transmission bit is
forwarded (in msec.).
• TimeTD_RTS: Maintenance time for the RTS after transmitting the last bit from the frame
(in msec.).
• NumCaractFF: Number of FF characters to be added to the queue of the message.
Ex: 60,60,60,2,
• Data Related to the Number of Modules for each of the Timings Set Up in the
Remote Control: [Line 14]
Ex: 2,2,1,1,100,
NumModED ,
ModNum , NumEDs ,
DirEq , ISC , (*) (**)
(*) This is repeated for each digital entry in the module. There will be as many as indicated
under NumEDs.
(**) This is repeated for each digital input module. There will be as many as indicated under
NumModED.
M1CPTA2005I
1CPT: Substation Central Unit B-162
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumModCon ,
ModNum , NumCons ,
DirEq , CON , (*) (**)
(*) This is repeated for each meter from the corresponding module. There will be as many as
indicated under NumCons.
(**) This is repeated for each of the remote control’s meter modules. There will be as many as
indicated under NumModCon.
NumModMed ,
ModNum , NumMeds ,
DirEq , MEA , Factor_a , Factor_b , (*) (**)
(*) This is repeated for each measurement from the corresponding module. There will be as
many as indicated under NumMeds.
(**) This is repeated for each measurement module. There will be as many as indicated under
NumModMed.
M1CPTA2005I
B-163 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The ratio for converting the 12 bit digital values forwarded by the relays is obtained through
parameters Factor_a and Factor_b (range –4096 to +4095) to the engineering values handled
by the SEVCO remote control profile.
Since measurements from this remote control profile are forwarded as digital values coded with
an 11 bit length word, parameters Factor_a and Factor_b will have to be configured with values
1.0 and 0.0 respectively. Thus, and by means of an internal processing undertaken within the
Central Unit, the 12 bit measurements forwarded by relays are only transferred to an 11 bit
coding to obtain measurement values within the range of the SEVCO remote control profile
(range -2048 to +2047).
NumModMan ,
ModNum , NumMans ,
DirEqAb , ISEAb , DirEqCe , ISCCe , DCOAb , DCOCe , (*) (**)
(*) This is repeated for each command from the corresponding module. There will be as many
as indicated under NumMans.
(**) This is repeated for each of the remote control’s command module. There will be as many
as indicated under NumModMan.
M1CPTA2005I
1CPT: Substation Central Unit B-164
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• DCOAb: Operation code to be forwarded to the device so that it will open the switch. This
code depends on the destination device for the command. Value 2 will be used for
PROCOME devices. For other devices, this will depend on the specific device.
• DCOCe: Operation code that must be forwarded to the device so that it will close the
switch. This code depends on the destination device for the command. Value 2 will be
used for PROCOME devices. For other devices, this will depend on the specific device.
M1CPTA2005I
B-165 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[34] 10,3,
[35] 10,4,
[36] 10,5,
[37] # **** MEASUREMENT MODULES
[38] 2, // Number of Measurement modules
[39] # * FIRST MODULE
[40] 0,16,// ModNum, Num_Med
[41] 0,0,1,0,
[42] 0,0,1,0,
[43] …
[44] 0,0,1,0,
[45] # * SECOND MODULE
[46] 1,5, // ModNum, Num_Grp
[47] 0,0,1,0,
[48] 18,1,1,0,
[49] …
[50] 0,0,1,0,
[51] # **** COMMAND MODULES
[52] 1, // Number of Command modules
[53] # * FIRST MODULE
[54] 0,16, // ModNum, Num_Man
[55] # ---- First Group
[56] # DirEqAb, ISEAb, DirEqCe, ISECe
[57] 0,0,0,0,
[58] 10,12,10,9,//D01
[59] 12,12,12,9,//D03
[60] …
[61] 0,0,0,0,
M1CPTA2005I
1CPT: Substation Central Unit B-166
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Lines that are preceded in the configuration file by a '#' symbol and the information presented in
each line after a '//' symbol, are comments whose only objective is that of clarifying the meaning
of each group of parameters. In fact, the file should always be self-explanatory.
Due to system requirements, parameters for each section must be configured by placing Wisp+
in ascending order and its numbers (i.e. first 1,1,; and after 1,2, etc.).
A comma must be placed after each parameter (even after the last parameter on each line).
Ex: 1,
0,1,0,0,0,
Ex: 24,0,200,0,
M1CPTA2005I
B-167 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Puerto: Communications Port. Possible values are COM1, COM2, COM3 and COM4 for
CPX models.
• Veloc: Baud rate. Possible values are 2400, 4800, 9600 and 19200 baud.
• TipoPar: Type of parity. It can apply values ‘N’ or ‘n’ (none); ‘O’, ‘o’, ’i’, ‘I’ (odd number);
‘E’, ‘e’, ‘p’, ‘P’ (even number).
• NumBits: Number of bits. Possible values are 7 and 8 bits.
• NumStop: Number of stop bits. It can apply values 1 and 2.
Ej: COM1,1200,e,8,1,
• RTSon: Timing that the RTS is maintained ON before transmitting (in msec.).
• RTSoff: Timing that the RTS is maintained OFF after transmitting (in msec.).
• ErrorTel: Timing before an error message is issued from the remote control (in sec.).
• DespachoSincroST: Indicates if the control facility synchronizes with the Central Unit with
summer/winter time (1), or with the standard time (0). It will be configured to 1 for the new
control facility (SAC), but it will be configured to 0 if the control facility is the old one
(WESDAC). If it is not configured, the default value applied by the Central Unit will be 0.
Ex: 22,22,90,1,
NumOrdenes , TimeOut
Seg , NSal , Pulso , DirEq , ISE , DCO , (*)
(*) This is repeated for every remote control order. There will be as many as indicated under
NumOrdenes. They will be displayed in ascending order under DirWisp. As commands are
double, there will be two lines per pulse (ON / OFF)
M1CPTA2005I
1CPT: Substation Central Unit B-168
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
This example indicates that there are 2 commands configured with a timeout of 10 seconds for
the orders. In this case, these commands correspond to segment 1 and output 2 of the Wisp+,
the first with a type 5 input pulse, and the second with a type 6 input pulse. The final values for
each line are those that correspond to the internal command of the Central Unit.
• Configuration data for simple contact type signals from the remote control
A digital signal from the CPX/CPP is associated to each signal of this type from the remote
control. It is essential to put DirWisp (Seg + Sal) in ascending order: [lines 25-41]
Ngrupo , (*)
Seg , Sal , Prio ,
DirEq , ISC , Neg , (**)
NumMeds ,
DirSeg , NMTel , Dir , Med , Tasa , Alis , Prio , Escala , ...
(*) This is repeated for each of the measurements undertaken with the remote control. There
will be as many as indicated under NumMeds.
M1CPTA2005I
B-169 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Alis: Minimum amount that the value must vary in order to be deemed as being
significant. This value is indicated under PROCOME accounts.
• Prio: Priority.
• Escala: Escalating factor which multiplies the value of the measurement in the accounts.
• Offset: Escalating factor that is added to the above value. The default value is 0.
Ex:
MEATEL = MEAUCS * Escala + Offset
• Bipolar: Indicates if measurement is bipolar (1) (takes positive or negative values) or
unipolar (0) (which only takes positive values). The default value is 0.
NumConts , P_Cong ,
Seg , N_Cont , Dir CON , Prio , (*)
(*) It will be repeated for each of the remote control meters. There will be as many as
indicated under NumConts. They will be placed in ascending order of DirWisp.
M1CPTA2005I
1CPT: Substation Central Unit B-170
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[15] #
[16] # Orders
[17] 2,10, // Num. Of orders, Timeout of the commands in seconds
[18] # Association of Wisp Segment, Wisp Output, Pulse (i.e.:
5=00000101)DIR,ISE
[19] #It is essential to place DIR Wisp
[20] # in ascending order
[21] # Segment, output number,Pulse ,DIR procome, Num command, DCO,
[22] 1,2,5,30,3,2,
[23] 1,2,6,30,2,2,
[24] #
[25] # Nº of signal groups
[26] 1,
[27] # Association of CISP Segment, Wisp output number, Priority
[28] # It is essential to put DirWisp in ascending order.
[29] #y in groups.
[30] Group 1 , each group must be followed by 8 lines with the corresponding
DIR, ISC
[31] #trio (otherwise, you must set –1) and negated yes (1) or no (0)
[32] # DIR,ISC are the PROCOME address and the signal from the 7IRD where the
contact
[33] # is located
[34] 1,1,0,
[35] 37,4,0,
[36] 37,0,0,
[37] -1,-1,0,
[38] 258,0,0,
[39] -1,-1,0,
[40] 37,31,0
[41] 37,11,0
[42] #
[43] # Measurements
[44] 2, // Number of measurements
[45] # DIR Segment,Num remote control Measurement,DIR Procom,Num MED
Central,Rate (in seconds)
[46] #,Dejagging,Priority, Conversion Factor, Offset, Bipolar
[47] 1,1,30,3,20,30,0,1,0,0,
[48] 1,2,30,6,20,30,0,1,0,1,
[49] #
[50] # Meters
[51] 2,30,// Num. Meters, freezing period in minutes
[52] # Segment Association, Meter number, DIR, ISC, Priority
[53] # It is essential to put DIRWisp
[54] # in ascending order
[55] 1,1,27,1,0,
[56] 1,2,28,9,0
M1CPTA2005I
B-171 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
TimeReconex ,
dd1PLC , dd2PLC , dd3PLC dd4PLC , dd5PLC , dd6PLC ,
dd1SCD , dd2SCD , dd3SCD , dd4SCD , dd5SCD , dd6SCD ,
TSAPlocPLC_r ,
TSAPlocPLC_w ,
TSAPremPLC_r ,
TSAPremPLC_w ,
TSAPlocSCD_r ,
TSAPlocSCD_w ,
TSAPremSCD_r ,
TSAPremSCD_w ,
• dd1PLC
• dd2PLC
• dd3PLC Ethernet Address
• dd4PLC of the PLC
• dd5PLC
• dd6PLC
• dd1SCD
• dd2SCD
• dd3SCD Ethernet Address
• dd4SCD of the SCD
• dd5SCD
• dd6SCD
M1CPTA2005I
1CPT: Substation Central Unit B-172
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 1,
08,00,06,01,00,21,
08,00,06,01,00,16,
8 1,
____8__2,
16, 1,
___16__2,
SCDRLOC_,
SCDWLOC_,
SCDRREM_,
SCDWREM_,
NumDBs ,
DBNum , DwIni , DwFin , Tipo , AvisoPLC , AvisoSCD , Nodo , (*)
(*) This is repeated for each DB. There will be as many as indicated under NumDBs.
M1CPTA2005I
B-173 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 5000,0,2,6,
M1CPTA2005I
1CPT: Substation Central Unit B-174
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Puerto: Communications port. Possible values are COM1, COM2, COM3 and COM4.
• Veloc: Baud rate. Possible values are 110, 150, 300, 600, 1200, 2400, 4800, 9600 and
19200 baud.
• TipoPar: Type of parity. It can apply values ‘N’ or ‘n’ (none), ‘O’ or ‘o’ (even number), ‘E’
or ‘e’ (odd number)‘M’ or ‘m’ (mark) and ‘S’ or ‘s’ (space).
• NumBits: Number of bits. Possible values are 5,6,7 and 8 bits.
• NumStop: Number of stop bits. It can apply values 1 and 2.
• TamFIFO: Size of the FIFO for the communications UART. It must be configured as
size 1 FIFO.
Ex: COM1,9600,P,8,1,1,
NumDBs ,
DBNum , DwIni , DwFin , Tipo , AvisoPLC , Sincro , (*)
(*) .This is repeated for each DB. There will be as many as indicated under NumDBs.
DW Description
0 1
1 Julian Day Calendar as from the 01/01/1990
2
Milliseconds in the day as from 00:00
3
M1CPTA2005I
B-175 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-176
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
N_ISCs ,
DB , DW , Bit , ISC , (*)
(*) This is repeated for each of the ISCs to be generated. There will be as many as indicated
under N_ISCs.
As can be observed from the second line of the following example, a change in the 0 bit in the
Data Word 0 of the DB 44 in the PLC will prompt the generation of the ISC 1.
M1CPTA2005I
B-177 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Configuration Data for the DBs to be updated when changes are detected in
the ISCs associated to the CPX/CPP/CPT
A mapping is made between the ISC from the CPX/CPP/CPT and a one Data Word bit from a
DB in the PLC. All changes that take place in the ISC of the CPX/CPP/CPT will be reflected in
this bit contained in that Data Word from the DB in the PLC: [lines 38-44]
N_DBs ,
DirEq , ISC , DB , DW , Bit , (*)
(*) This is repeated for each DB of the PLC where changes are generated. There will be as
many as indicated under N_DBs.
• N_DBs: Number of DBs of the PLC wherein changes are generated when the associated
ISCs of the CPS change.
• DirEq: Address of the device related to the CPX/CPP/CPT ISC that generates changes in
the PLC.
• ISC: PROCOME label from the CPX/CPP/CPT ISCs that generate changes in the PLC.
• DB: PLC’s DB which displays the changes that have taken place in the CPX/CPP/CPT
ISC signal.
• DW: Data Word that belongs to the PLC’s DB which displays the changes that have
taken place in the CPX/CPP/CPT ISC signal.
• Bit: Bit from the DW Data Word that belongs to the PLC’s DB which displays the changes
that have taken place in the CPX/CPP/CPT ISC signal
As can be observed from the second line of the following example, a change in the ISC 21 from
device 43 will be reflected in the bit 0 of Data Word 0 of the PLC’s DB 100.
N_ISEs ,
DB , DW , Bit , DirEq , ISE , DCO , (*)
(*) This is repeated for each ISE to be generated. There will be as many as indicated under
N_ISEs.
M1CPTA2005I
1CPT: Substation Central Unit B-178
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
As can be observed from the second line of the following example, a change in the 0 bit of
Data Word 100 from the PLC’s DB 44 will generate ISE 1 in device 43 with the DCO 2.
Commands can be associated to any of the configured equipment, namely, they need not
belong to the own COMPLC logic equipment.
N_ISEs ,
DirEq , ISE , DB , DW , Bit , (*)
(*) This is repeated for each of the ISEs to be implemented by the PLC. There will be as many
as indicated under N_ISEs..
As can be seen in the second line of the example below, running the command 00 of the
COMPLC 266 logic equipment generates the activation of DW 200 bit 00 [00->15] of DB 100.
This bit activation bit will be on for 5 seconds in order for the PLC to be aware and operate
accordingly. Obviously, the commands to be configured in this section must COMPULSORILY
be from the COMPLC logic equipment (equipment 266, 267 268.. if there were different
COMPLC instances with this number of equipment defined in the PROTASK.CFG), since
otherwise, said tasks will not be running them.
M1CPTA2005I
B-179 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
N_MEAs ,
DB , DW , MEA , FuncConvMea , Fa Fb (*)
(*) This is repeated for each PLC’s DB that generates any measurement. There will be as
many as indicated under N_MEAs.
As can be observed from the second line of the following example, a change in Data Word 40 of
the PLC’s DB 44 will generate MEA 0.
• Configuration Data for the DBs to be updated when changes in the associated
CPX/CPP/CPT MEAs are detecte
A mapping is made between the CPX/CPP/CPT’s MEA and a Data Word from a PLC's DB.
Every change that takes place in the CPX/CPP/CPT's MEA will be reflected in the PLC's DB's
Data Word.: [lines 70-76]
N_DBs ,
DirEq , MEA , DB , DW , FuncConvMea , Fa , Fb , (*)
(*) This is repeated for each of the PLC’s DBs that generate measurements. There will be as
many as indicated under N_DBs.
M1CPTA2005I
1CPT: Substation Central Unit B-180
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• N_DBs: Number of DBs in the PLC wherein changes are generated when the associated
CPX/CPP/CPT’s MEAs change.
• DirEq: Address of the device related to the CPX/CPP/CPT’s MEA which generate
changes in the PLC.
• MEA: PROCOME label of the MEA measurement of the CPX/CPP/CPT that generates
changes in the PLC.
• DB: DB of the PLC which reflects the changes that have taken place in the
CPX/CPP/CPT’s MEA measurement.
• DW: Data Word belonging to the PLC’s DB which reflects the changes that have taken
place in the CPX/CPP/CPT’s MEA measurement.
• FuncConvMea: Conversion Function of the measurement to be sent (from MEA to
DB.DW) such that the values below are accepted:
- Conversion value 0 or 1: the value (in word format) is sent divided by 2, since while
values are saved into the database as 12 bit, they are saved as 11 bit in the PLC, so
that this Conversion is necessary. This is so in order to keep compatibility with the
older software where the Conversion function was fixed. This will be the function to be
used by default, thus existing old substation configuration files remain compatible.
- Conversion Value 2 (scaled): in this case the formula y = fa*x+fb, by which the value
to be sent can be scaled as required, by using the two parameters below. For
example, the measurement value of the old SCD used in old CPDs, was multiplied by
8 before the value was sent.
• Fa: Conversion Factor a (multiplier) when the scaled conversion function is selected (y =
fa*x+fb). Default value is 1.0.
• Fb: Conversion Factor b (offset) when the scaled conversion function is selected (y =
fa*x+fb). Default value is 0.0.
C As can be observed from the second line of the following example, a change in MEA 0 in
device 43 will be reflected in Data Word 128 of the PLC’s DB 110.
N_CONs , N_DWsCON ,
DB , DW , CON , FuncConv , (*)
(*) This is repeated for each of the PLC’s DBs that generate a meter. There will be as many as
indicated under N_CONs.
• N_CONs: Number of meters generated by changes in the PLC’s associated DB.
• N_DWsCON: Number of PLC DWs mapped to a UCS counter. Possible values are 1
or 2, the default value being 1.
• DB: PLC’s DB whose change is generated by the CON meter.
M1CPTA2005I
B-181 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• DW: PLC’s DB word the change of which generates the CON counter. In case the CON
counter is mapped to 2 PLC’s DWs, this parameter indicates the lower DW.
• CON: PROCOME label of the CON meter generated by the changes produced in the DW
Data Word of the PLC’s DB.
• FuncConv: Conversion function for the meter (from DB.DW to CON).
As can be observed from the second line of the following example, a change in the Data Word
50 of the PLC’s DB 44 will generate CON 0.
M1CPTA2005I
1CPT: Substation Central Unit B-182
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-183 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• ISC from the CPD.......................................... One Data Word bit from a DB from the SCD.
• One Data Word bit from a PLC’s DB............. One Data Word bit from a DB from the SCD.
• MEA from the CPD ........................................ Data Word from a DB from the SCD.
• Data Word (measurement) of a PLC’s DB. . Data Word from a DB from the SCD.
N_ISCs ,
DirEq , ISC , DB , DW , Bit , Neg , (*)
(*) This is repeated for each ISC. There will be as many as indicated under N_ISCs.
As can be observed from the second line of the following example, a change in the signal 50 of
device 256 will be reflected in bit 6 of the Data Word 100 of DB 70 in the SCD.
N_DBs ,
DBPLC , DWPLC , BitPLC , DBSCD , DWSCD , BitSCD , (*)
(*) This is repeated for each of the DBs from the PLC. There will be as many as indicated
under N_DBs.
M1CPTA2005I
1CPT: Substation Central Unit B-184
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
As can be observed from the second line of the following example, a change in bit 11 of the
Data Word 54 of DB 44 of the PLC will be reflected in bit 0 of Data Word 100 of DB 70 of the
SCD.
N_MEAs ,
DirEq , MEA , DB , DW , FuncConv , (*)
(*) This is repeated for each of the MEAs. There will be as many as indicated under N_MEAs.
As can be observed from the second line of the following example, a change in measurement 0
of device 43 will be reflected in Data Word 1 of DB 70 of the SCD.
M1CPTA2005I
B-185 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
N_DBs ,
DBPLC , DWPLC , DBSCD , DWSCD , FuncConv , (*)
(*) This is repeated for each measurement DB defined from the PLC. There will be as many
as indicated under N_DBs.
• N_DBs: Number of measurement DBs from the PLC to be forwarded to the SCD.
• DBPLC: PLC’s DB that generates changes.
• DWPLC: Data Word from DB DBPLC that generates changes.
• DBSCD: DB from the SCD on which changes are generated.
• DWSCD: Data Word from the DB DBSCD on which changes are generated.
• FuncConv: Conversion function for measurement. Not used (always set to 0).
As can be observed from the second line of the following example, a change in the Data Word 3
of the PLC’s DB 44 will be reflected in Data Word 82 of the DB 70 of the SCD.
M1CPTA2005I
1CPT: Substation Central Unit B-186
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[24] …
[25] 156,0,70,81,0,
[26] # NUMBER OF MEASUREMENTS TO BE FORWARDED TO THE SCD FROM THE PLC
[27] 5,
[28] # DB, DW, DB, DW, FUNC CONV
[29] 44,3,70,82,0,
[30] 44,3,70,83,0,
[31] 44,0,70,84,0,
[32] 44,0,70,85,0,
[33] 44,5,70,86,0,
• DirEquipo: Equipment address. This field is meaningless when communications are via
TCP/IP, but it is kept in case serial communications are used, the software of which is not
implemented as yet.
• ToutResp: PLC response time (in msec).
• TimeWaitEntreMsj: Timeout between messages (in msec). When this time is activated
messages idle to give the PLC enough time to deal with requests. Default value is 0,
namely, disabled.
• NivelTraza: Task tracing level. Default value is 0.
Ex: 1,1000,100,0,
Ex: 192.168.20.2,502,
• Data on MODBUS registers that are being dealt with: [lines 6-10]
NumBlqRegsMO ,
DBUS
DBNum , DwIni , NumRegs , DirRegIni Tipo , Func , AvisoP , (*
MODBUS MODBUS LC
(*) This repeats for each Register Block. There will be as many as indicated under
NumBlqRegsMODBUS.
The MODBMSPLC task is created by the COMPLC task, data being transferred through a
common memory area, so that at the time of configuring it, the contents of the COMPLC.CFG
configuration file must be taken into account. On the one hand, the MODBMSPLC task reads a
number of registers from the PLC whose information is placed into the common area for later
treatment by the COMPLC task, and on the other hand, writes to the PLC the data placed in
that common area by the COMPLC task.
M1CPTA2005I
B-187 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Each MODBUS register block represents every operation to carry out in PLC communications.
Each block associates to a pair [DB, DW], (DataBase number and DataWord number) which
has to be previously defined in the configuration file of its associated COMPLC task.
M1CPTA2005I
1CPT: Substation Central Unit B-188
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The above-mentioned data is grouped into modules. The CPX/CPP/CPT can have a maximum
of 128 modules, numbered from 0 to 127. Each module can be one of the types mentioned
above: ED, SD, EA, and EC. Each module can have a maximum of 16 signals, called channels,
all of which are of the same type. A signal, meter, measurement or command shall be assigned
to each channel from the CPX/CPP/CPT, depending on the type of channel in question.
The configured modules do not have to be consecutive and different types can be inserted.
Ex: 1,
0,1,0,0,0,
Ex: 66,15,2,1,0,0,
M1CPTA2005I
B-189 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Puerto: Communications port. Possible values are COM1, COM2 and COM3 for CPX
models. For CPP and CPT models possible values are COM1 and COM2..
• Veloc: Baud rate. Possible values are 110, 150, 300, 600, 1200, 2400, 4800, 9600,
19200 baud.
• TipoPar: Type of parity. It can accept values ‘N’ or ‘n’ (none); ‘O’, ‘o’, ’i’, ‘I’ (odd number);
‘E’, ‘e’, ‘p’, ‘P’ (even number).
• NumBits: Number of bits. Possible values are 5, 6, 7 and 8 bits.
• NumStop: Number of stop bits. It can accept values 1 and 2.
• TamFIFO: Size in bytes of the UART’s FIFO. Possible values are: 0,1,4,8 and 14. When
the value is 0, the FIFO is not used.
Ex: COM1,9600,i,8,1,0,
• RTS On: Waiting time from the setting of the RTS up to the forwarding of the first
Transmission bit (timing to activate the PTT in Radio communications). (In ms).
• RTS Off: Maintenance time for the RTS after transmitting the last bit of the frame. (In ms)
• CD Off: Maximum waiting time between the moment that the CPX/CPP/CPT decides to
forward a message and the setting of the RTS prior to transmission (In ms.). If during this
waiting time the CD signal is deactivated, then the next step must be undertaken. If this
parameter has been set to 0, no waiting time is required, nor is the CD signal controlled.
• SwCD: Bit that indicates if the CD control is used or not. 0 or 1. If it is activated, a control
will be carried out on the CD signal, in such a way that if it is active, no transmission will
be made. Channels with a continuous carrier must be configured with a zero value (0).
• SwCTS: Bit that indicates if the CTS is used or if it is done by timing. 0 or 1. If it is
activated, a control is carried out on the CTS signal in such a way that when the
CPX/CPP/CPT activates the RTS signal, if the CTS signal is not activated, no forwarding
is made. On the other hand, when it is transmitting, if the CTS signal is deactivated, it
stops transmitting.
• ErrTeleman: Timing awaited without receiving anything from the control facility for this
remote station, before generating the communications failure signal with the Remote
Control. (In Sec.: 300).
Ex: 33,11,11,0,0,300,
M1CPTA2005I
1CPT: Substation Central Unit B-190
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The procedure for transmitting a message would be as represented below in the signals’
flowchart:
RX
CD
TX
RTS
CTS
NumModulos ,
• NumModulos: Total number of modules available for this configuration. All modules must
be included notwithstanding the type of module in question. Values for this field range
between 0 and 128.
Ex: 4,
Data related to each of the modules indicated above will be configured. Due to the fact that
there could be various models of the same type and that these could be interspersed, we will
indicate how to configure the data for each of the types of modules that can be configured. One
of the following blocks must be included for each of the modules.
• General Data for each Module [Lines 13, 21, 27, 33]
Ex: 4,1,0,
M1CPTA2005I
B-191 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumCanales ,
CanalNum , Doble , DirEqOn , IscOn , Neg ,
(*) This line is repeated as many times as indicated under the field NCanales.
The following fields will only be included if the channel has been configured as simple (0), or as
double (1). If it has been configured as the second channel of a double channel (-1), the
CPX/CPP/CPT program will not read the same.
The following signals will only be included if the signal is double. If the signal has been
configured as simple, the CPX/CPP/CPT program will not read the same.
Ex: 5,
0,0,1,52,0,
1,0,1,48,0,
2,0,-1,-1,0,
3,1,1,37,0,1,38,0,1,39,0,
4,-1,
M1CPTA2005I
1CPT: Substation Central Unit B-192
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Data Regarding the Modules for Analogical Inputs (EA) [Lines 22-25]
NumCanales ,
CanalNum , DirEq , Mea , Banda , FactorA , FactorB , (*)
(*)This line is repeated as many times as indicated under the field NumCanales.
Ex: 3,
0,1,0,30,1.0,0.0,
1,1,1,40,1.0,0.0,
2,1,2,30,1.0,0.0,
• Data regarding Input Modules from the Meter (EC) [Lines 28-31]
NumCanales ,
CanalNum , DirEq , Con , FactorA , FactorB , Hist , (*)
(*) This line is repeated as many times as indicated under the field NumCanales.
Ex: 3,
0,1,0,1.0,0.0,0,
1,1,1,1.0,0.0,1,
2,1,2,1.0,0.0,0,
M1CPTA2005I
B-193 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumCanales ,
CanalNum , Vigilancia , Doble , DirEqAct , IseAct ,
(*) This line is repeated as many times as indicated under the field NumCanales.
Ex: 4,
0,0, 0, 1, 0,
1,1, 0, 1, 1,
2,1, 1, 2, 0, 2, 1,
3,0,-1,
M1CPTA2005I
1CPT: Substation Central Unit B-194
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-195 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: COM2,9600,E,7,1,
EnableChecksum , NivelMonitor ,
• TimeLineIdle: Idle Line timing that is added before each transmission (in msec.).
• RTSon: Timing that RTS is maintained ON before transmitting (in msec.).
• RTSoff: Timing that RTS is kept OFF after transmitting (in msec.).
• NumReint: Number of communication retries with the device.
• EnableChecksum: Calculation of checksum in messages SPA-bus (0: Checksum not
calculated, 1: Checksum is calculated).
• NivelMonitor: Level of monitorization of traces.
Ex: 22,0,0,1,1,0,
M1CPTA2005I
1CPT: Substation Central Unit B-196
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 5,10,1,60,
• Data regarding Logic Procome Devices over which Physical SPA Devices are
going to be mapped: [Line 16]
NumEqLogicos , NumPuerto ,
Ex: 52,1,
Note: The parameter NumEqLogicos must be updated in configuration file DBASE.CFG of the Central Unit,
specifically under the section "General substation data”, in such a way that this data will be added to the
parameter value NumEqLogicos which appears in this section.
Data regarding all logic PROCOME devices is listed below (one after the other one), to be
incorporated as devices that emulate the physical SPA devices, on the real time database of the
CPX/CPP/CPT. The following data will be provided for each of the devices:
• General Data regarding the Logic Procome Device that Emulates the SPA
Device: [Line 26]
• Dir: Procome address of the logic device that is associated to a complete physical SPA
device.
• TimeOut: Timeout for communication errors (in msec.).
• N_ISC: Number of digital signals for the logic device.
• ISCMax: Highest label that can be applied to any ISC from the logic device.
• N_ISE: Number of commands for the logic device.
• ISEMax: Highest label that can be applied to any ISE from the logic device.
• N_ISS: Number of output writes from the logic device.
• ISSMax: Highest label that can be applied to any ISS from the logic device.
• N_MEA: Number of measurements from the logic device.
• N_CON: Number of meters for the logic device.
• ISCRem: PROCOME label for the signal that determines if the logic device is in the
Remote Control, in which case, it will enable the implementation of commands.
M1CPTA2005I
B-197 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Note for the programmer: within the code, it will be named as ISCLocal, but its true significance is as described
above.
Ex: 1,500,108,107,17,16,0,0,8,0,0,
• Data regarding SPA Protection and Control Modules that make up the SPA
Physical Device Emulated by the Procome Logic Device: [lines 28-67]
NumModulos ,
ModuloSPA , DirFisicaSPA , (*)
(*) This is repeated for each module that makes up the SPA device. There will be as many as
indicated under NumModulos.
• NumModulos: Number of SPA protection and control modules that make up the physical
SPA device.
• ModuloSPA: Identification of the SPA module. Maximum 15 characters.
• DirFisicaSPA: Physical address of the SPA module.
Note: output writes have not yet been used with physical SPA devices.
M1CPTA2005I
1CPT: Substation Central Unit B-198
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-199 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-200
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NmodulosSPA ,
Ex: 9,
The data for the different SPA protection and control modules is listed below (one after the
other). The following data will be provided for each of the SPA modules:
• General Data for the SPA Module: [Line 27]
Ex: SPTO6D3,100,17,0,8,0,0,
Note: Information regarding digital inputs, analogical measurements, digital outputs, etc., within a SPA module,
is classified into logic groups called channels.
Note: References to ISCs MEAs, CONs, ISSs and ISEs Procome labels configured in each SPA module within
the file MODULSPA.CFG, will be relative and not absolute references within each of the logic Procome devices
that emulate a physical SPA device. This is so because each SPA module is defined only once within this file
with its set of ISCs, MEAs, CONs, ISSs and ISEs to carry out its mapping of different logic Procome devices
within the Central Unit. Hence, if a SPA physical device has various SPA protection and control modules, the
Procome logic device associated to the same in the configuration file SPABUSMS.CFG, will comprise the same
modules which will have been previously defined under file MODULSPA.CFG, in such a way that the number of
ISCs, MEAs, CONs, ISSs and ISEs for this Procome logic device will be the combination of ISCs, MEAs, CONs,
ISSs and ISEs from each of the SPA modules that have been referenced for the device under file
SPABUSMS.CFG, and the labelled order for this information will be determined by the order in which the SPA
modules have been referenced in the declaration of the Procome logic device.
M1CPTA2005I
B-201 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Data regarding BINARY DIGITAL INPUTS for the SPA Module: “I” data
Category within the SPABUS Protocol: [Lines 37-42]
Binary digital inputs for a SPA module are going to be configured by forming
CORRESPONDING binary digital inputs associated to consecutive channels.
CORRESPONDING binary digital inputs are those that have the same code (full value), but
belong to different channels within a SPA module and only apply two statuses (0 or 1). Hence,
CORRESPONDING binary digital inputs are going to be configured by forming consecutive
groups of channels within the SPA module.
NumBinDigInputs ,
Input , CanalIni , CanalFin , IscIni , (*)
(*) This is repeated for each group of CORRESPONDING binary digital inputs to be requested
from the SPA module. There will be as many as indicated under NumBinDigInputs.
• NumBinDigInputs: Nº of CORRESPONDING binary digital input groups for the SPA
Module.
• Input: Binary SPA digital Input Code.
• CanalIni: Initial group Channel.
• CanalFin: Final group channel.
• IscIni: PROCOME label for the initial ISC of the logic device, from which (including the
same) the group’s SPA Binary Digital Inputs are mapped.
• Data regarding SPA Module MULTIBIT DIGITAL INPUTS: “I” Data Category
within SPABUS Protocol: [Lines 52-58]
Multibit digital inputs for a SPA module are going to be configured by forming
CORRESPONDING multibit digital inputs associated to consecutive channels. Multibit
CORRESPONDING digital inputs are those that have the same code, but belong to different
channels within the SPA Module, and can apply more than two statuses (0, 1, 2, 3,...). Hence,
CORRESPONDING multibit digital inputs are going to be configured by forming groups of
channels that are consecutive within the SPA Module.
NumMultiDigInputs ,
Input , CanalIni , CanalFin , NumEstados ,
(**)
(*) This is repeated for each group of CORRESPONDING multibit digital inputs that are
going to be requested from the SPA module. There will be as many as indicated under
NumMultiDigInputs.
(**) This is repeated for each status that can be applied by the digital multibit inputs. There
will be as many as indicated under NumIscsEstado.
M1CPTA2005I
1CPT: Substation Central Unit B-202
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Data regarding SPA Module BINARY DIGITAL OUTPUTS : 'O' Data Category
within the SPABUS Protocol: [Lines 65-67]
Binary digital outputs for a SPA module are going to be configured by forming adjoining binary
digital output groups within the same channel. Binary digital outputs only apply two statuses (0
or 1).
NumBinDigOutputs ,
Canal , OutputIni , OutputFin , IscIni , (*)
(*) This is repeated for each group of binary digital outputs that is going to be requested from
the SPA module. There will be as many as indicated under NumBinDigOutputs.
• NumBinDigOutputs: Nº of binary digital outputs within the SPA Module.
• Canal: Nº of group channel.
• OutputIni: Code for the Initial Binary Digital Output for the group.
• OutputFin: Code for the Final Binary Digital Output for the group.
• IscIni: Initial ISC PROCOME label for the logic device, from which (including the same)
the SPA Binary Digital Outputs are mapped for the group.
M1CPTA2005I
B-203 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Data regarding MULTIBIT DIGITAL OUTPUTS for the SPA Module: ‘O’ Data
Category within the SPABUS Protocol: [Lines 77-83]
Multibit digital outputs for a SPA Module will be configured by forming CORRESPONDING
multibit digital output groups associated to consecutive channels. CORRESPONDING multibit
digital outputs are those that have the same code, but belong to different channels within the
SPA Module, and can apply more than two statuses (0,1,2,3,...). Hence, CORRESPONDING
multibit digital outputs are going to be configured forming groups of channels that are
consecutive within the SPA Module.
NumMultiDigOutputs ,
Output , CanalIni , CanalFin , NumEstados ,
(**)
(*) This is repeated for each group of CORRESPONDING multibit digital outputs that are
going to be requested from the SPA module. There will be as many as indicated under
NumMultiDigOutputs.
(**) This is repeated for each of the statuses that can be applied by the multibit digital outputs.
There will be as many as indicated under NumIscsEstados.
M1CPTA2005I
1CPT: Substation Central Unit B-204
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Data regarding DIGITAL INTERNAL VARIABLES for the SPA Module: ‘V’ Data
Category within the SPABUS Protocol: [Lines 90-93]
Digital internal variables for a SPA Module will be configured by forming groups of adjacent
digital internal variables within the same channel. Digital internal variables only apply two
statuses (0 or 1).
NumIntDigVars ,
Canal , VarIni , VarFin , IscIni , (*)
(*) This is repeated for each group of digital internal variables to be requested from the SPA
module. There will be as many as indicated under NumIntDigVars.
• NumIntDigVars: Nº of digital internal variable groups within the SPA Module.
• Canal: Nº of the group channel.
• VarIni: Code for the group’s Initial Digital Internal Variable.
• VarFin: Code for the group’s Final Digital Internal Variable.
• IscIni: Initial logic device ISC PROCOME label, based on which (including the same) the
group’s SPA Digital Internal Variables are mapped.
NumMultiDigVarInts ,
VarInt , CanalIni , CanalFin , NumEstados ,
(**)
(*) This is repeated for each group of CORRESPONDING multibit digital inputs to be
requested from the SPA module. There will be as many as indicated under NumMultiDigInputs.
(**) This is repeated for each status that can be applied to the multibit digital inputs. There will
be as many as indicated under NumIscsEstados.
M1CPTA2005I
B-205 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Data regarding SPA Module’s BINARY DIGITAL SETTINGS: ‘S’ Data Category
within SPABUS Protocol: [Lines 100-103]
The SPA Module’s binary digital settings are going to be configured by forming adjacent digital
adjustment groups within the same channel. Binary digital settings only apply two statuses (0 or
1).
NumBinDigAjs ,
Canal , AjsIni , AjsFin , IscIni , (*)
(*) It is repeated for each group of binary digital settings that are going to be requested from
the SPA module. There will be as many as indicated under NumBinDigAjs.
• NumBinDigAjs: Nº of binary digital adjustment groups within the SPA Module.
• Canal: Nº of group channel.
• AjsIni: Code for the group’s Initial Binary Digital Adjustment.
• AjsFin: Code for the group’s Final Binary Digital Adjustment.
• IscIni: PROCOME Label for the initial ISC of the logic device, based on which (including
the same) the group’s SPA Binary Digital Settings are mapped.
• NumIscsEstados: Number of ISCs used by the N Status of the Multibit Internal Variable
(one ISC can be associated to various status in a multibit internal variable).
• IscIni: PROCOME label for the logic device’s initial ISC, based on which (including the
same) the group’s SPA Multibit Internal Variables are mapped.
• Estado: Status of the Multibit Internal Variable.
• PosIsc: Relative position (as regards ISC IscIni) of the ISC associated to the Multibit
Internal Variable Status.
M1CPTA2005I
1CPT: Substation Central Unit B-206
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Data regarding the SPA Module’s ANALOGICAL INPUTS: Data Category ‘I’
within the SPABUS Protocol: [Lines 109-112]
Analogical inputs for a SPA Module are going to be configured by forming adjacent analogical
input groups within the same channel.
NumAnalogInputs ,
Canal , InputIni , InputFin , MeaIni , (*)
(*) This is repeated for each analogical input group that is going to be requested from the
SPA module. There will be as many as indicated under NumAnalogInputs.
• NumAnalogInputs: Nº of analogical input groups within the SPA Module.
• Canal: Nº of group’s channel.
• InputIni: Group’s Initial Analogical Input Code.
• InputFin: Group’s Final Analogical Input Code.
• MeaIni: PROCOME label for the initial MEA’s logic device, based on which (including the
same), the group’s Analogical Inputs are mapped.
NumAnalogIntVars ,
Canal , VarIni , VarFin , MeaIni , (*)
(*) This is repeated for each group of analogical internal variables that is going to be
requested from the SPA module. There will be as many as indicated under
NumAnalogIntVars.
• NumAnalogIntVars: Nº of analogical internal variable groups within the SPA Module.
• Canal: Group’s channel Nº.
• VarIni: Group’s Initial Analogical Internal Variable Code.
• VarFin: Group’s Final Analogical Internal Variable Code.
• MeaIni: PROCOME label for the initial MEA’s logic device, based on which (including the
same), the group’s SPA Analogical Internal Variables are mapped.
M1CPTA2005I
B-207 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Data regarding the SPA Module’s INTERNAL METERS: ‘V’ Data Category
within SPABUS Protocol: [Line 128]
SPA Module’s Internal meters are going to be configured by forming adjacent internal meter
groups within the same channel
NumIntContadores ,
Canal , ConIntIni , ConIntFin , ConIni , (*)
(*) This is repeated for each group of internal meters to be requested from the SPA module.
There will be as many as indicated under NumIntContadores.
• NumIntContadores: Nº of internal meter groups within the SPA Module.
• Canal: Group channel Nº.
• ConIntIni: Group’s Initial Internal Meter Code.
• ConIntFin: Group’s Final Internal Meter Code.
• ConIni: PROCOME label for the initial CON of the logic device, based on which (including
the same), the group’s Internal SPA Meters are mapped.
• Data regarding the SPA Module’s EXTERNAL METERS: ‘I’ Data Category
within SPABUS Protocol: [Line 136]
SPA Module's external meters are going to be configured by forming adjacent external meter
groups within the same channel.
NumExtContadores ,
Canal , ConExtIni , ConExtFin , ConIni , (*)
(*) This is repeated for each group of external meters to be requested from the SPA module.
There will be as many as indicated under NumExtContadores.
• NumExtContadores: Nº of external meter groups within the SPA Module.
• Canal: Group’s channel Nº.
• ConExtIni: Group’s Initial External Meter Code.
• ConExtFin: Group’s Final External Meter Code.
• ConIni: PROCOME label for the initial CON of the logic device, based on which (including
the same), the group’s External SPA Meters are mapped
M1CPTA2005I
1CPT: Substation Central Unit B-208
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The meters that are calculated are not generated by a SPA Module, but, rather, are calculated
by the Central Unit based on a group of meters generated by a SPA Module. These type of
calculated meters are used to obtain total Energy values based on GWh, MWh and KWh.
Calculated BCD measurements are measurements that are calculated by the Central Unit
based on a group of bits that make up the digits for each BCD measurement handled by the
SPA module for the device. The value of a BCD measurement will be available from the Central
Unit through two channels:
- Via Refresh: through direct reading of SPA data associated to the bits that make up the
BCD measurement digits.
- Via Changes: through the collection of the activation and deactivation events associated
to each of the bits.
These BCD measurements from the SPA module are finally converted to accounts in MEA’s
Procome, associated to the logic PROCOME device that emulates ABB’s physical device.
NumCalcContadores , NumCalcMedBCD ,
ConGiga , ConMega , ConKilo , Contador , (*)
(*) This is repeated for each meter to be calculated within the Central Unit based on partial
meters provided by the SPA Module. There will be as many as indicated under
NumCalcContadores.
(*) This is repeated for each BCD Measurement to be calculated within the Central Unit based
on the bits provided by the SPA Module. There will be as many as indicated under
NumCalcMedBCD.
(**) This is repeated for each of the bits that make up the BCD measurement to be calculated
within the Central Unit. There will be as many as indicated by the expression (4 *
NumDigitosBCD).
M1CPTA2005I
B-209 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Mea: PROCOME label for the MEA associated to the calculated BCD SPA measurement.
• CategDatoSPA: Category of SPA data associated to the bits that make up the BCD
measurement (I: Inputs, O: Outputs).
• NumDigitosBCD: Nº of BCD digits that make up the SPA measurement (each BCD digit
has 4 bits).
• Canal_Est_Bit: Channel Nº for SPA data that stores the current status of the bit (Bit LSB ,
…, Bit MSB).
• Dato_Est_Bit: Code for the SPA data that stores the current status of the bit (Bit LSB , …,
Bit MSB).
• Canal_Bit_ON: Event channel Nº that sets the bit to 1 (Bit LSB , …, Bit MSB).
• Evento_Bit_ON: Event Code that sets the bit to 1 (Bit LSB , …, Bit MSB).
• Canal_Bit_OFF: Event Channel Nº that sets the bit to 0 (Bit LSB , …, Bit MSB).
• Evento_Bit_OFF: Event Code that sets the bit to 0 (Bit LSB , …, Bit MSB).
NumMandos ,
Mando , Canal , Dco , Ise , (*)
(*) This is repeated for each command from the SPA module. There will be as many as
indicated under NumMandos.
• NumMandos: Nº of commands in the SPA Module.
• Mando: Command Code for the SPA Device.
• Canal: Nº of logic channel, within the SPA module, that the command is associated to.
• Dco: Final Status for the Output governed by the command within the SPA module.
• Ise: PROCOME label for the ISE associated to the SPA Command.
M1CPTA2005I
1CPT: Substation Central Unit B-210
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumEscrAjs ,
Mando , Canal , Dco , Ise , (*)
(*) This is repeated for each command from the SPA module. There will be as many as
indicated under NumEscrAjs.
• NumEscrAjs: Nº of commands from the SPA Module.
• Mando: Command Code in SPA device.
• Canal: Logic channel Nº, within the SPA module, that the command is linked to.
• Dco: Final status of Adjustment, governed by the command within the SPA module.
• Ise: PROCOME label for the ISE associated to the SPA Command.
NumEscrVarIntMulti ,
Mando , Canal , Dco , Ise , (*)
(*) This is repeated for each command from the SPA module. There will be as many as
indicated under NumEscrAjs.
• NumEscrVarIntMulti: Nº of commands in the SPA Module.
• Mando: Command Code in the SPA Device.
• Canal: Logic channel Nº, within the SPA module, that the command is linked to.
• Dco: Final status of the Adjustment governed by the command within the SPA module.
• Ise: PROCOME label for the ISE linked to the SPA Command.
M1CPTA2005I
B-211 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Data regarding the Configuration of EVENTS required for Collection from the
SPA Module: Data Category ‘E’ within the SPABUS Protocol: [Lines 191-198]
The events stemming from a SPA Module will be configured one by one, in such a way that the
generation of each event can be enabled or disabled by means of an event mask.
Generally speaking, and within the Central Unit, a SPA event will entail the
activation/deactivation of a main Procome ISC associated to the Event, and, at the same time,
the activation/deactivation of a series of secondary Procome ISCs related to the former.
NumEventos ,
Canal , Evento , Mascara , HabilEvento , Isc , Cambio ,
(**)
(*) This is repeated for each Event from the SPA module. There will be as many as indicated
under NumEventos.
(**) This is repeated for each of the secondary Procome ISCs related to the SPA Event. There
will be as many as indicated under NumCambiosSec.
• NumEventos: Nº of Events in the SPA Module that generate changes in ISC's Procome.
• Canal: Nº of the logic channel, within the SPA module, that the Event is linked to.
• Evento: SPA Event Code.
• Mascara: Mask for enabling/disabling the generation of the SPA Event.
• HabilEvento: Value that enables the generation of the SPA Event.
• Isc: PROCOME label for the main ISC linked to the SPA Event.
• Cambio: Change generated by the Event on the linked Procome ISC.
• NumCambiosSec: Nº of secondary Procome ISCs linked to the SPA Event.
• IscSec: PROCOME label for another ISC linked to the SPA Event.
• CambioIscSec: Change provoked by the SPA Event on said Procome ISC.
M1CPTA2005I
1CPT: Substation Central Unit B-212
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Data regarding SPA Module EVENT MASKS: ‘V’ Data Category within the
SPABUS Protocol: [Lines 203-209]
The event masks will be configured one by one in a SPA module, and will enable the SPABUS
master emulator to enable/disable, via serial communication, the generation of an associated
event within the SPA module.
NumMascaras ,
Canal , Mascara , (*)
(*) This is repeated for each event mask in the SPA module. There will be as many as
indicated under NumMascaras.
StoreEEPROM , PasswordSPA ,
M1CPTA2005I
B-213 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[1] #/***********************************************************************
*******/
[2] # The different types of SPA modules are configured in this file (Control
and/or
[3] # Protection) that make up ABB's SPA physical Devices.
[4] # All its digital signals, commands, measurements, will be specified for
each module,
[5] # and meters.
[6] #
[7] # "SPTO6D3" SPA Module: CONTROL SPTO 6D3
[8] # "SPTO1D2" SPA Module: CONTROL SPTO 1D2
[9] # "SPCJ4D29" SPA Module: OVERCURRENT PROTECTION SPCJ 4D29
[10] # "SPCU3C14" SPA Module: OVER AND UNDER VOLTAGE PROTECTION SPCU 3C14
[11] # "SPCU1C6" SPA Module: RESIDUAL VOLTAGE PROTECTION SPCU 1C6
[12] # "SPCS3C4" SPA Module: DIRECTIONAL OVERCURRENT GROUND PROTECTION
[13] # SPCS 3C4
[14] # "SPCS4D1F" SPA Module: DIRECTIONAL OVERCURRENT BIPHASIC PROTECTION
[15] # SPCS 4D11
[16] # "SPCD3D53" SPA Module: TRIPHASIC DIFFERENTIAL PROTECTION
[17] # "SACO16D1" SPA Module: ANNOUNCER OR ALARM
[18] #
[19] # -----------------------------------------------------------------------
--------
[20] # Number of SPA modules (Control and/or Protection) described in this
file
[21] 9,
[22] #
[23] # -----------------------------------------------------------------------
--------
[24] # SPA Module: CONTROL SPTO 6D3
[25] # SPA Module Identification , Nº ISCs, Nº ISEs, Nº ISSs, Nº MEAs, Nº
CONs,
[26] # Type(Control=0, Prot=1)
[27] SPTO6D3,100,17,0,8,0,0,
[28] # -----------------------------------------------------------------------
--------
[29] # BINARY DIGITAL INPUTS (Data Category 'I')
[30] # Binary digital inputs for a SPA Module will be configured by forming
[31] # groups of CORRESPONDING binary digital inputs associated to consecutive
[32] # channels.
[33] # CORRESPONDING binary digital inputs are those that have the same code,
[34] # but belong to different channels within the SPA Module, and only apply
two
[35] # status (0 or 1).
[36] # Nº of CORRESPONDING binary digital inputs in the SPA Module
[37] 1,
[38] # CORRESPONDING binary digital inputs will be configured by forming
groups
[39] # of consecutive channels in the SPA Module.
[40] # Code for binary digital Input, Initial Channel, Final Channel, initial
ISC
[41] # associated to Input group
[42] 1,8,17,85,
[43] # -----------------------------------------------------------------------
--------
[44] # MULTIBIT DIGITAL INPUTS (Data category 'I')
M1CPTA2005I
1CPT: Substation Central Unit B-214
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-215 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[87] # groups of adjacent digital internal variables within the same channel.
[88] # Digital internal variables only apply two statuses (0 or 1).
[89] # Nº of digital internal variable groups in the SPA Module
[90] 1,
[91] # Channel, Initial Internal Variable, Final Internal Variable, initial
ISC associated to
[92] # the group of Variables
[93] 0,6,6,0,
[94] # ----------------------------------------------------------------------
---------
[95] # MULTIBIT DIGITAL INTERNAL VARIABLES ('V' data category)
[96] # Multibit internal variables for a SPA Module will be configured by
forming
[97] # groups of CORRESPONDING multibit internal variables associated to
consecutive
[98] # channels.
[99] # CORRESPONDING multibit internal variables have the same code,
[100] # but belong to different channels within the SPA Module, and can apply
more
[101] # than two statuses (0,1,2,3,...)
[102] 1,
[103] 1, 1,7, 4, 3, 36, 0,3, 1,2, 2,1, 3,3,
[104] # ----------------------------------------------------------------------
--------
[105] # DIGITAL SETTINGS ('S' data category)
[106] # Digital settings for a SPA Module will be configured by forming
[107] # groups of adjacent digital settings within the same channel.
[108] # Digital settings only apply two statuses (0 or 1).
[109] # Nº of digital settings groups in the SPA Module
[110] 2,
[111] # Channel, Initial Setting, Final Setting, initial ISC associated to the
group of Settings
[112] 0,5,6,97,
[113] 0,78,78,99,
[114] # ----------------------------------------------------------------------
--------
[115] # ANALOGICAL INPUTS ('I' data category)
[116] # Analogical inputs for a SPA Module will be configured by forming
[117] # groups of adjacent analogical inputs within a same channel.
[118] # Nº of analogical input groups in the SPA Module
[119] 1,
[120] # Channel, Initial Analogical Input, Final Analogical Input, initial MEA
[121] # associated to the Input group
[122] 0,11,16,0,
[123] # ----------------------------------------------------------------------
--------
[124] # ANALOGICAL INTERNAL VARIABLES ('V' data category)
[125] # Analogical internal variables for a SPA Module will be configured by
[126] # forming groups of adjacent analogical internal variables within the
same
[127] # channel.
[128] # Nº of analogical internal variables for the SPA Module
[129] 1,
[130] # Channel, Initial Internal Variable, Final Internal Variable,
associated initial MEA
[131] # for the group of Variables
[132] 0,3,4,6,
[133] # ----------------------------------------------------------------------
--------
M1CPTA2005I
1CPT: Substation Central Unit B-216
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-217 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[180] 1,1,1,1,
[181] 1,2,0,2,
[182] ...
[183] 1,7,1,13,
[184] # ----------------------------------------------------------------------
--------
[185] # COMMANDS FOR MODIFICATION OF SETTINGS ('S' data category)
[186] # Nº of commands in the SPA Module
[187] 3,
[188] # Code for Command, Channel, DCO, ISE associated to the Command
[189] 78,0,1,14,
[190] 78,0,0,15,
[191] 79,0,1,16,
[192] # ----------------------------------------------------------------------
--------
[193] # COMMANDS FOR WRITING INTERNAL VARIABLES ('V' data category)
[194] # Nº of commands in the SPA Module
[195] 3,
[196] # Command Code, Channel, DCO, ISE associated to the Command
[197] 150,0,6,17,
[198] 151,0,7,18,
[199] 152,0,6,19,
[200] # ----------------------------------------------------------------------
--------
[201] # EVENTS ('E' data category)
[202] # Events for a SPA Module will be configured one by one, in such a way
that
[203] # the generation of each event may be enabled or disabled by means of an
[204] # event mask.
[205] # As a general principle, and within the Central Unit, an event will
entail the
[206] # activation of an ISC associated to the Event, and the deactivation of
a series of
[207] # ISCs related to the former.
[208] # Nº of Events in the SPA Module
[209] 82,
[210] # Channel, Event, Mask, Mask Value, ISC, Change, Nº of ISCs, ISC1,
Change 1,
[211] # ..., ISCn, Change n
[212] 0,1,155,1,0,0,0,
[213] 0,2,155,2,0,1,0,
[214] 0,5,155,16,97,0,0,
[215] ...
[216] 7,10,155,512,84,1,1,84,0,
[217] # ----------------------------------------------------------------------
--------
[218] # EVENT MASKS ('V' data category)
[219] # Event masks in a SPA Module will be configured one by one.
[220] # Nº of event masks in the SPA Module
[221] 21,
[222] # Channel, Mask
[223] 0,155,
[224] 0,156,
[225] 0,157,
[226] ...
[227] 17,155,
[228] # ----------------------------------------------------------------------
--------
M1CPTA2005I
1CPT: Substation Central Unit B-218
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-219 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 1,
0,1,0,0,0,0,
Ex: 13,8,0,33,0,0,60,0,
M1CPTA2005I
1CPT: Substation Central Unit B-220
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Puerto: Communications port. Possible values are COM1, COM2, COM3 and COM4.
COM3 and COM4 are only valid for CPX. Virtual Ports (VXXX), associated to the
Terminal Server, declared in configuration file TSComs.cfg (V201,V202,V203,…), may
also be defined here.
• Veloc: Baud rate. It can take the values 600, 1200, 2400, 4800, 9600 and 19200 baud.
• TipoPar: Parity type. It can take the values ‘N’ or ‘n’ (none); ‘O’, ‘o’, ’i’, ‘I’ (odd); ‘E’, ‘e’, ‘p’,
‘P’ (even).NumBits: Number of bits. Possible values are 7 and 8 bits.
• NumStop: Number of stop bits. Possible values are 1 and 2.
• TamañoFIFO: Size of FIFO in bytes. Possible values are 1, 4, 8, 14 or 0 (FIFO not used).
Default value is 1.
Ex: COM1,19200,p,8,1,1,
Ex: 123,128.127.170,171,1,
NumSeñales ,
DirEq , EtiqISC , (*)
(*) It repeats for each remote control signal. It will be as many as shown in NumSeñales.
M1CPTA2005I
B-221 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumMedidas ,
DirEq , EtiqMEA , (*)
(*) It repeats for each remote control measurement. It will be as many as shown in
NumMeasurements.
NumContadores ,
DirEq , EtiqCON , (*)
(*) It repeats for each remote control counter. It will be as many as shown in NumContadores.
M1CPTA2005I
1CPT: Substation Central Unit B-222
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumOrdenes ,
IseProcoslv , Doble , DirEq1 , Ise1 , Dco1 , DirEq2 , Ise2 , Dco2 , (*)
(*) It repeats for each remote control command. It will be as many as shown in NumOrdenes.
M1CPTA2005I
B-223 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-224
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-225 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
DirRTUEmul ,
Ex: 100,
• SwRTS: Indicates whether the RTS line will be activated before transmitting. 0 = NO; 1 =
YES. Default value = 0.
• SwCTS: Indicates whether the CTS line will be used. 0 = NO; 1 = YES. Default value = 0.
• SwCD: Indicates whether the CD line will be used. 0 = NO, 1 = YES. Default value= 0.
• RTSon: Time RTS remains set to ON before the transmission (in msec.).
• RTSoff: Time RTS remains set to OFF after the transmission (in msec.).
• CDoff: Carrier deactivation timeout (in msec.).
Ex: 1,1,1,66,11,11,
M1CPTA2005I
1CPT: Substation Central Unit B-226
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• NumReinten: Number of retries made before a communications failure with the RTU is
issued. Default value = 2.
• RetMsgBrdcst: Time delay after sending a broadcast message to send a new message
(in msec.). Minimum value is 50 msec.
• IntervRefrescoSen: Period of time for signal refreshing requests to level 1 devices (in
seconds). Minimum value = 10 s.
Ex: 50,60,1,
• NumBlqED: Number of configured Digital Signal blocks. It must match the dbase
configured signals. Each block consists of a maximum of 128 signals.
• NumBlqEA: Number of configured Analog Signal blocks. It must match the dbase
configured signals. Each block consists of a maximum of 16 signals.
• NumBlqEC: Number of configured Counter Input blocks. It must match the dbase
configured signals. Each block consists of a maximum of 16 signals.
• NumBlqSD: Number of configured Digital Output blocks. It must match the dbase
configured signals. Each block consists of a maximum of 32 signals.
Ex: 3,1,1,2,
M1CPTA2005I
B-227 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
DirIPCGC , PortCGC ,
CGCToutSocket , IntervMed , CGCIntervCont ,
Ex: 128.127.60.26,32010
4,2,30,
NumEqCGC ,
DirEqCGC , DirEqCPX , (*)
(*) It repeats for each meter configured in the CGC. There will be as many as shown in
NumEqCGC.
Ex: 4,
5432, 20,
45645, 21,
32458, 40,
60321, 44,
M1CPTA2005I
1CPT: Substation Central Unit B-228
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-229 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Due to system requirements, section parameters must be configured placing in ascending order
Wisp+ Master segments and numbers (namely, first the 1,1,; then the 1,2, etc.). All parameters
must be followed by one comma (even the last of a line).
• Puerto: Communications port. Possible values are COM1, COM2, COM3 and COM4 for
CPX models. Possible values for CPP models are COM1 and COM2.
• Veloc: Baud rate. Possible values are 2400, 4800, 9600 and 19200 baud.
• TipoPar: Parity type. Possible values are ‘N’ or ‘n’ (none); ‘O’, ‘o’, ’i’, ‘I’ (odd); ‘E’, ‘e’, ‘p’,
‘P’ (even).
• NumBits: Number of bits. Possible values are 7 and 8 bits.
• NumStop: Number of stop bits. Possible values are 1 and 2.
• TamanoFIFO: Size of FIFO.
Ex: COM2,9600,N,8,1,1,
M1CPTA2005I
1CPT: Substation Central Unit B-230
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-231 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-232
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-233 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-234
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Activation of the CPT’s IEC61850 module is carried out by including the following line in the
PROTASK.CFG configuration file of the CPT:
The above Configuration line specifies the address (288) of the logic device that represents the
IEC61850 server module of the CPT within its real time database.
Communication with IEC-61850 relays will be available by one of the two LAN ports (LAN1 or
LAN2) of the CPT, and the selection of the network port will be determined by parameter
IndexLANCentral (index of the network adapter to be used by the Central Unit application)
configured in file TCP.CFG.
The file “61850cli.cfg” can also configure a number of general parameters of the CPT’s IEC-
61850 Client.
Ej: 48,0,0,
M1CPTA2005I
B-235 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 0001,01,0001,
SCLOperationPeriod ,
M1CPTA2005I
1CPT: Substation Central Unit B-236
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 20,10,60,360,10,300,1,60,1,20,10,5,
M1CPTA2005I
B-237 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
IEDname , (*)
(*) It repeats for each IEC-61850 device to be connected to the CPT’s IEC-61850 Client.
Ej: # IED nº 1
COND_SSAA, // AUXILIARY SERVICES, ZIV 6MCV
# IED nº 2
CONDEQ01I01,// LINE 1 132 kV, ZIV 7IRV
# IED nº 3
CONDEQ01I02,// LINE 1 132 kV, REL670
. . . . . .
# IED nº 13
CONDEQ05I03,// TRANSFORMER 2 VOLTAGE REGULATOR, ZIV 6RTV
# IED nº 14
CONDEQ05I04,// TRANSFORMER 2 DIFFERENTIAL, ZIV 8IDV
M1CPTA2005I
1CPT: Substation Central Unit B-238
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[35] # IED nº 11
[36] CONDEQ05I01,// TRANSFORMER 2 132 kV, ZIV 7IRV
[37] # IED nº 12
[38] CONDEQ05I02,// TRANSFORMER 2 SPECIFIC POINTS, GE F650
[39] # IED nº 13
[40] CONDEQ05I03,// TRANSFORMER 2 VOLTAGE REGULATOR, ZIV 6RTV
[41] # IED nº 14
[42] CONDEQ05I04,// TRANSFORMER 2 DIFFERENTIAL, ZIV 8IDV
Zivergraph© incorporates a component for processing IED CID Files, such that after the
Configuration Engineer has selected IEC-61850 commands and IED ‘Report-Control-Blocks’
reserved for the CPT that is being configured, necessary data for the Zivergraph© to add a new
protection and control device in the Central Unit is generated.
Then the configuration engineer may modify the different attributes associated to digital signals,
measurements, meters and commands generated by the Zivergraph© for the new 61850
protection and control device that is being integrated into the Central Unit.
Upon completion of the 61850 IED configuration through the Zivergraph©, a new logic device
will appear in file DBASE.CFG of the Central Unit (with IEC-61850 communications protocol)
with the digital signals, measurements, meters and commands associated to the IED. Also, an
exclusive IED CFG file, identified with the IED name, which contains the mapping of the IEC-
61850 IED data to the CPT’s real time Database is generated.
Then, the different sections of a mapping file of a 61850 IED in the Central Unit are described.
• IED General Data: [Line 17]
(*)
(*) There will be as many as logic devices in the CID file of the IED.
Ex: CONDEQ01I01,5,0,LD1,
M1CPTA2005I
B-239 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-240
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: CONDEQ01I01,5,0,LD1,
# Configuracion del IED:
# Nombre IED, Dir. Equipo en BD UCS, NivelTraza,NombresLDs(,..,),
CONDEQ01I01,5,0,LD1,
# Dir IP, Subred, Gateway, osi_tsel, osi_ssel, osi_psel
10.193.60.5,255.255.255.0,172.16.1.254,0001,0001,00000001,
# LocalDetail, ServicesCalling, ServicesCalled, NestLevel,
VersNumber
32717,6,6,5,1,
# ServicesSup, ParamCBBs, TransportType, MMSStackType, Reserva
7738001c2000000080f71800,8700,tcp,full,0,
false,520301,ziv,// AUTH_enabled,AUTH_mechanism, AUTH_password
NumBRCBs ,
BRCBRef , BRCBRef_2 ,
SeqNumber , ReportTimeStamp , ReasonForInclusion , DatasetName , …
(*) It repeats for each Buffered Report-Control-Block the IED makes available to the
Central Unit IEC-61850 Client. There will be as many as shown in NumBRCBs.
(**) It repeats for each mapped dataset member associated to a Report-Control-Block.
There will be as many as shown in NumMappedDSMembers.
(***) It repeats for each primitive attribute of the dataset member being mapped. There will
be as many lines as shown in NumPrimitiveDAs.
M1CPTA2005I
B-241 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-242
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-243 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
As mentioned above, for each dataset member associated to the Report-Control-Block the
required data must be configured for its mapping within the Central Unit internal database. The
mapping data to be included, for each dataset member, will depend on the type of IEC-61850
data to map and more specifically on the primitive attributes (they match with the type of basic
IEC-61850 data) that constitute it, as these are the objects that will actually be mapped to the
different types of similar data available in the Central Unit real time database.
The Zivergraph© software, through the built-in component for processing IED CID files, can
generate for the Central Unit the mapping information of the IEC-61850 data constituting the
dataset, from preset criteria that define the primitive attributes, within each type of IEC-61850
data relevant for the Central Unit that will finally be mapped to similar data within the Central
Unit database.
As above mentioned, in the context of a dataset member IEC-61850 data, for each primitive
attribute finally mapped by the Zivergraph© to an object of the Central Unit database, a
configuration line will appear that will include the sequence of component indices
IdxDataInNestingLevel_i, ending in the character ‘P’, followed by the information on the
mapping assigned by the Zivergraph© for the primitive attribute, within the Central Unit internal
database. Mapping data will depend on the type of IEC-61850 data to map.
Mapping an IEC-61850 primitive attribute may require one or more data within the Central Unit
database. Types of mapping available are:
• Types ‘S’ and ‘ST’: the IEC-61850 primitive attribute being mapped is Boolean type and
so it is mapped only to a single digital signal. In case the primitive attribute is Transient
type, ‘ST’ mapping will be used, signifying that the deactivation of the single digital signal
associated in the Central Unit database will be forced from inside the CPT itself.
… P , MappingType , EtiqISC ,
Ex: # general
0,P,ST,241,
M1CPTA2005I
1CPT: Substation Central Unit B-244
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
- Type ‘MS’: the IEC-61850 primitive attribute being mapped represents a tag that can take
more than two states, thus it is mapped to several single digital signals (one digital signal
for each state that may tag the primitive attribute to be mapped in the Central Unit
database).
(*)
(*) It repeats for each state that can tag the IEC-61850 primitive attribute to be mapped in the
Central Unit database. There will be as many as shown in NumISCs.
Ex: # stVal
0,P,MS,4,0,238,1,239,2,240,3,238,
- Types ‘O’ and ‘OT’: the IEC-61850 primitive attribute being mapped represents the
component orCat of the attribute origin (Originator type in IEC-61850) of a composite
data (also including other primitive attributes affected by the origin attribute data), that is
mapped to five single digital signals (one digital signal for each of the following categories
of the origin of a change in an IEC-61850 data : bay-control, station-control, remote-
control, automatic-bay and automatic-station). In case a Transient type primitive attribute
related to the attribute origin has been mapped to the IEC-61850 compound data, ‘OT’
type mapping will be used, meaning that the deactivation of the associated single digital
signals within the Central Unit database will be forced from within the CPT itself.
M1CPTA2005I
B-245 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
… P , MappingType , ...
(**)
(*) It repeats for each value of the IEC-61850 primitive attributes (that is also part of the IEC-
61850 composite data that includes the attribute origin) that have been previously mapped and
are affected by the attribute origin whose orCat component is being mapped. The mapping of
the origin of change in IEC-61850 data for a maximum of 20 values of various IEC-61850
primitive attributes is allowed.
(**) It repeats for each category of the origin of change in IEC-61850 data that is to be mapped
to the Central Unit database. There will be as many as shown in NumCatOrigin.
Ex: # origin.orCat
3,0,P,OT,241,4,1,242,2,243,3,244,4,245,
M1CPTA2005I
1CPT: Substation Central Unit B-246
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
- Type ‘M’: the IEC-61850 primitive attribute being mapped represents an analog value and
thus is mapped in floating point.
… Data61850Ref [ConfAttrib61850Names] ,
(*)
(*) This field will only be configured when the IEC-61850 composite data containing the IEC-
61850 analog type primitive attribute being mapped, also contains the configuration attribute of
the scale range (IEC-61850 attribute named rangeC), or configuration attribute of the units of
said analog attribute (IEC-61850 attribute named units), or both.
Ex: # phsA.cVal.mag.f
0,1,0,0,P,M,6,3,1.0,3,LD1/IRVAMMXU1.PhV.phsA[units|rangeC],
M1CPTA2005I
B-247 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
- Type ‘C’: the IEC-61850 primitive attribute being mapped represents a binary counter,
and hence it is mapped to 32 bit counter in the Central Unit.
… Data61850Ref [ConfAttrib61850Names] ,
(*)
(*) This field will always contain at least the pulse value configuration attribute (IEC-61850
attribute named pulsQty) as it is compulsory and will contain the configuration attribute of the
units of said counter attribute (IEC-61850 attribute named units), when the IEC-61850
composite data that contains the IEC-61850 counter type primitive attribute being mapped
includes it in the IED.
Ex: # actVal
0,P,C,11,3,1.0,6,LD1/INTMMTR1.DmdVArh[units|pulsQty],
M1CPTA2005I
1CPT: Substation Central Unit B-248
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
- Type ‘Q’: the IEC-61850 primitive attribute being mapped represents attribute q (Quality
type in IEC-61850) of an IEC-61850 composite data, hence it is mapped to the quality
data of Central Unit data resulting from the mapping of the IEC-61850 data primitive
attributes affected by attribute q.
Four subtypes are differentiated in the mapping of the primitive attribute q to the Central
Unit database as follows:
- Subtype ‘S’: the IEC-61850 primitive attribute being mapped represents the attribute q
of other Boolean type primitive attribute within the same IEC-61850 composite data.
Ex: # q
1,P,Q,S,3,
- Subtype ‘MS’: the IEC-61850 primitive attribute being mapped represents the attribute
q of other primitive attribute that can take more than two states (previously mapped to
various single digital signals), belonging to the same IEC-61850 composite data. The
configuration line for this type of mapping is as follows:
(*)
(*) It repeats for each of the single digital signals used for mapping, in the Central
Unit database, the possible states that can take the IEC-61850 primitive attribute
affected by attribute q. There will be as many as shown in NumISCs.
Ex: # q
1,P,Q,MS,5,241,242,243,244,245,
M1CPTA2005I
B-249 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
- Subtype ‘M’: the IEC-61850 primitive attribute being mapped represents the attribute q
of other analog type primitive attribute within the same IEC-61850 composite data.
Ex: # phsA.q
0,3,P,Q,M,10,
- Subtype ‘C’: the IEC-61850 primitive attribute being mapped represents the attribute q
of other Boolean type primitive attribute within the same IEC-61850 composite data.
Ex: # q
1,P,Q,C,11,
• Type ‘T’: the IEC-61850 primitive attribute being mapped represents the attribute t
(TimeStamp type in IEC-61850) of an IEC-61850 composite data, hence, it is mapped to
the date and time of change data of the Central Unit data resulting from the mapping of
the IEC-61850 data primitive attributes affected by attribute t.
The mapping of the primitive attribute t, to the Central Unit database, two mapping
subtypes are differentiated:
- Subtype ‘S’: the IEC-61850 primitive attribute being mapped represents the attribute t
of other Boolean type primitive attribute within the same IEC-61850 composite data.
The configuration line for this type of mapping is as follows:
M1CPTA2005I
1CPT: Substation Central Unit B-250
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: # t
2,P,T,S,3,
- Subtype ‘MS’: the IEC-61850 primitive attribute being mapped represents the attribute
t of other primitive attribute that can take more than two states (previously mapped to
several single digital signals), belonging to the same IEC-61850 composite data. The
configuration line for this type of mapping is as follows:
(*)
(*) It repeats for each of the single digital signals used for mapping, in the Central
Unit database, the possible states that can take the IEC-61850 primitive attribute
affected by attribute t. There will be as many as shown in NumISCs.
Ej: # t
2,P,T,MS,5,241,242,243,244,245,
M1CPTA2005I
B-251 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
0,P,C,11,3,1.0,6,LD1/INTMMTR1.DmdVArh[units|pulsQty],
# q
1,P,Q,C,11,
# t
2,P,T,C,11,
M1CPTA2005I
1CPT: Substation Central Unit B-252
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumURCBs ,
URCBRef ,
SeqNumber , ReportTimeStamp , ReasonForInclusion , DatasetName , …
… DataRef , ConfRevision ,
(*) It repeats for each Unbuffered Report-Control-Block the IED makes available to the Central
Unit IEC-61850 Client. There will be as many as shown in NumURCBs.
(**) It repeats for each mapped dataset member associated to a Report-Control-Block. There
will be as many as shown in NumMappedDSMembers.
(***)It repeats for each primitive attribute of the dataset member being mapped. There will be as
many lines as shown in NumPrimitiveDAs.
M1CPTA2005I
B-253 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• QualityChange: Allows enable (value 1) checking the changes of the quality of data
constituting the dataset associated to the Report-Control-Block, as a requirement for
generating Reports. The value 0 will not change in the IED the requirement for generating
Reports by quality-change for the Report-Control-Block.
• DataUpdate: Allows enable (value 1) checking the updating of data constituting the
dataset associated to Report-Control-Block, as requirement for generating Reports. The
value 0 will not change in the IED the requirement for generating Reports by data-update
for the Report-Control-Block.
• Integrity: Allows enable (value 1) checking in the IED the end of a refresh period of data
constituting the dataset associated to the Report-Control-Block, as a requirement for
generating Reports. The value 0 will not change in the IED the requirement for generating
Reports by integrity for the Report-Control-Block.
Note: The value 0 for the set of the four parameters DataChange, QualityChange,
DataUpdate e Integrity implies not to change the value of the attribute TrgOps in
the IED Report-Control-Block.
• BufferTime: Value (in millisec.) to be configured in the Report-Control-Block to establish
the duration of the time interval elapsed from the instant the first requirement for
generating new Reports is detected until this is finally sent by the IED. The value 0
implies the value of the attribute BufTm in the IED Report-Control-Block is not modified.
• IntegrityPeriod: Value (in millisec.) to be configured in the Report-Control-Block as time
interval for generating Reports periodically, for which it will be necessary that the Report-
Control-Block has the requirement for generating Reports by integrity activated. The
minimum configurable value in the Central Unit for this parameter will be 1500
milliseconds. The value 0 implies not to modify the value of the attribute IntgPd in the IED
Report-Control-Block.
• bRefrescoCiclico: Enables the Central Unit function for general cyclic interrogation of the
IED Report-Control-Block (when the associated dataset contains measurements or
meters), the period of Reports request by general-interrogation being the value
configured for parameter PerioLectMed in file CENTRAL.CFG (chapter A.2 in the CPT
manual).
• DatSetRef: IEC-61850 reference of the dataset associated to the Report-Control-Block
that appears in the IED CID file (including the Logic Device). The Central Unit IEC-61850
Client, upon establishing the association with the IED, checks the match between the
dataset configured in the IED and the dataset configured in the CID for the same Report-
Control-Block.
• NumTotDSMembers: Total number of members constituting the dataset associated to the
Report-Control-Block (mapped and not mapped to the Central Unit real time database)
appearing in IED CID file. The Central Unit IEC-61850 Client, upon establishing the
association with the IED, checks this data in the dataset configured in the IED matches
the same data in the dataset configured in the CID for the same Report-Control-Block.
• NumMappedDSMembers: Index (starting at zero) within the dataset of the member to be
mapped to the Central Unit real time database.
• IndexDatasetMember: Index (starting at zero) within the dataset of the member to be
mapped to the Central Unit real time database.
• MemberRef: Is the IEC-61850 reference of the dataset member (including the Logic
Device).
• NumPrimitiveDAs: Number of primitive attributes (they match basic IEC-61850 data)
constituting the dataset member to be mapped to the Central Unit real time database.
M1CPTA2005I
1CPT: Substation Central Unit B-254
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
As mentioned above, for each dataset member associated to the Report-Control-Block the
required data must be configured for its mapping within the Central Unit internal database. The
mapping data to be included, for each dataset member, is described in the previous section
dedicated to Buffered type Report-Control-Blocks.
M1CPTA2005I
B-255 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-256
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumControlData ,
ControlDataRef , ControlDataClass , ControlService , HMI_MandoOFF , HMI_MandoON ,
(*) It repeats for each controllable IEC-61850 data of the IED that must be controlled from the
Central Unit. There will be as many as shown in NumControlData.
M1CPTA2005I
B-257 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Check: Specifies the requirements for the controllable IEC-61850 data check by the IED
prior to the execution of the command received. Accepted values are:
o 0: no check requirements are applied.
o 1: Synchronism requirement is checked (synchrocheck).
o 2: Interlock requirement is checked (interlock-check).
• ControlModel: Type of control mode used for IED controllable IEC-61850 data. Accepted
values are:
o 1: Direct control with normal security
o 3: Direct control with enhanced security
• SboTimeout: Maximum time (in msec.) the selected controllable IEC-61850 data will
remain after the IED receives the Select service (not yet available for 1CPT models).
• SboClass: Allows select the type of execution of the Select-Before-Operate control
service (not yet available for CPT models). Accepted values are:
o 0: Operate-once
o 1: Operate-many
Note: In case of commands for raising or lowering taps and set points (BSC class controllable IEC-61850 data)
activation commands (HMI_MandoON, Telem_MandoON and Autom_MandoON) will allow raising the tap and
the set point. Deactivation commands (HMI_MandoOFF, Telem_MandoOFF and Autom_MandoOFF) will allow
lowering the tap and the set point.
Note: Analog commands (APC class controllable IEC-61850 data) will be mapped to analog output writes within
the Central Unit database, so that it will only be necessary to configure the parameters for activation
commands (HMI_MandoON, Telem_MandoON and Autom_MandoON).
M1CPTA2005I
1CPT: Substation Central Unit B-258
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-259 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[43] 16,
[44] #
[45] # FCD/FCDA nº 1
[46] # LD1/GENGGIO1.Alm03[ST] // Trip coil supervision Bd1
[47] 2,LD1/GENGGIO1.Alm03,3,
[48] # stVal
[49] 0,P,S,2,
[50] # q
[51] 1,P,Q,S,2,
[52] # t
[53] 2,P,T,S,2,
[54] # FCD/FCDA nº 2
[55] # LD1/GENGGIO1.Alm04[ST] // Trip coil supervision Bd1
[56] 3,LD1/GENGGIO1.Alm04,3,
[57] # stVal
[58] 0,P,S,3,
[59] # q
[60] 1,P,Q,S,3,
[61] # t
[62] 2,P,T,S,3,
[63] # FCD/FCDA nº 3
[64] # LD1/GENGGIO1.Alm09[ST] // Breaker 52-1 closed
[65] 8,LD1/GENGGIO1.Alm09,3,
[66] # stVal
[67] 0,P,S,8,
[68] # q
[69] 1,P,Q,S,8,
[70] # t
[71] 2,P,T,S,8,
[72] # FCD/FCDA nº 4
[73] # LD1/GENGGIO1.Alm10[ST] // Breaker 52-1 open
[74] 9,LD1/GENGGIO1.Alm10,3,
[75] # stVal
[76] 0,P,S,9,
[77] # q
[78] 1,P,Q,S,9,
[79] # t
[80] 2,P,T,S,9,
[81] # FCD/FCDA nº 5
[82] # LD1/TGOGGIO1.SPCSO09[ST] // Open command 52-1 Bd1
[83] 10,LD1/TGOGGIO1.SPCSO09,3,
[84] # stVal
[85] 0,P,S,88,
[86] # q
[87] 1,P,Q,S,88,
[88] # t
[89] 2,P,T,S,88,
[90] # FCD/FCDA nº 6
[91] # LD1/TGOGGIO1.SPCSO10[ST] // Close command 52-1
[92] 11,LD1/TGOGGIO1.SPCSO10,3,
[93] # stVal
[94] 0,P,S,89,
[95] # q
[96] 1,P,Q,S,89,
[97] # t
[98] 2,P,T,S,89,
[99] # FCD/FCDA nº 7
[100] # LD1/CSWI1.OKOpn[ST] // OPEN COMMAND EXECUTED NO/YES
M1CPTA2005I
1CPT: Substation Central Unit B-260
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[101] 12,LD1/CSWI1.OKOpn,3,
[102] # general
[103] 0,P,ST,234,
[104] # q
[105] 1,P,Q,S,234,
[106] # t
[107] 2,P,T,S,234,
[108] # FCD/FCDA nº 8
[109] # LD1/CSWI1.OKCls[ST] // CLOSE COMMAND EXECUTED NO/YES
[110] 13,LD1/CSWI1.OKCls,3,
[111] # general
[112] 0,P,ST,235,
[113] # q
[114] 1,P,Q,S,235,
[115] # t
[116] 2,P,T,S,235,
[117] # FCD/FCDA nº 9
[118] # LD1/CSWI1.FailOpn[ST] // OPEN COMMAND FAILURE NORMAL/ALARM
[119] 14,LD1/CSWI1.FailOpn,3,
[120] # general
[121] 0,P,ST,236,
[122] # q
[123] 1,P,Q,S,236,
[124] # t
[125] 2,P,T,S,236,
[126] # FCD/FCDA nº 10
[127] # LD1/CSWI1.FailCls[ST] // CLOSE COMMAND FAILURE NORMAL/ALARM
[128] 15,LD1/CSWI1.FailCls,3,
[129] # general
[130] 0,P,ST,237,
[131] # q
[132] 1,P,Q,S,237,
[133] # t
[134] 2,P,T,S,237,
[135] # FCD/FCDA nº 11
[136] # LD1/CSWI2.Pos[ST] // BREAKER WITHOUT LO-TO/WITH LO-TO
[137] 16,LD1/CSWI2.Pos,3,
[138] # stVal
[139] 0,P,MS,4,0,238,1,239,2,240,3,238,
[140] # q
[141] 1,P,Q,MS,3,238,239,240,
[142] # t
[143] 2,P,T,MS,3,238,239,240,
[144] # FCD/FCDA nº 12
[145] # LD1/CSWI2.OpOpnOr[ST] // COMMAND TO REMOVE LO-TO
[146] 17,LD1/CSWI2.OpOpnOr,4,
[147] # general
[148] 0,P,ST,241,
[149] # q
[150] 1,P,Q,MS,5,241,242,243,244,245,
[151] # t
[152] 2,P,T,MS,5,241,242,243,244,245,
[153] # origin.orCat
[154] 3,0,P,OT,241,4,1,242,2,243,3,244,4,245,
[155] # FCD/FCDA nº 13
[156] # LD1/CSWI2.OpClsOr[ST] // COMMAND TO SET LO-TO
[157] 18,LD1/CSWI2.OpClsOr,4,
M1CPTA2005I
B-261 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[158] # general
[159] 0,P,ST,246,
[160] # q
[161] 1,P,Q,MS,5,246,247,248,249,250,
[162] # t
[163] 2,P,T,MS,5,246,247,248,249,250,
[164] # origin.orCat
[165] 3,0,P,OT,246,4,1,247,2,248,3,249,4,250,
[166] # FCD/FCDA nº 14
[167] # LD1/CSWI2.OKCls[ST] // COMMAND TO SET LO-TO EXECUTED NO/YES
[168] 19,LD1/CSWI2.OKCls,3,
[169] # general
[170] 0,P,ST,251,
[171] # q
[172] 1,P,Q,S,251,
[173] # t
[174] 2,P,T,S,251,
[175] # FCD/FCDA nº 15
[176] # LD1/CSWI2.OKOpn[ST] // COMMAND TO REMOVE LO-TO EXECUTED NO/YES
[177] 20,LD1/CSWI2.OKOpn,3,
[178] # general
[179] 0,P,ST,252,
[180] # q
[181] 1,P,Q,S,252,
[182] # t
[183] 2,P,T,S,252,
[184] # FCD/FCDA nº 16
[185] # LD1/CSWI2.FailCls[ST] // FAILED COMMAND TO SET LO-TO NORMAL/ALARM
[186] 21,LD1/CSWI2.FailCls,3,
[187] # general
[188] 0,P,ST,253,
[189] # q
[190] 1,P,Q,S,253,
[191] # t
[192] 2,P,T,S,253,
[193] # FCD/FCDA nº 17
[194] # LD1/INTMMTR1.SupWh[ST] // OUTGOING ACTIVE ENERGY
[195] 22,LD1/INTMMTR1.SupWh,3,
[196] # actVal
[197] 0,P,C,8,3,1.0,6,LD1/INTMMTR1.SupWh[units|pulsQty],
[198] # q
[199] 1,P,Q,C,8,
[200] # t
[201] 2,P,T,C,8,
[202] # FCD/FCDA nº 18
[203] # LD1/INTMMTR1.SupVArh[ST] // OUTGOING REACTIVE ENERGY
[204] 23,LD1/INTMMTR1.SupVArh,3,
[205] # actVal
[206] 0,P,C,9,3,1.0,6,LD1/INTMMTR1.SupVArh[units|pulsQty],
[207] # q
[208] 1,P,Q,C,9,
[209] # t
[210] 2,P,T,C,9,
[211] # FCD/FCDA nº 19
[212] # LD1/INTMMTR1.DmdWh[ST] // INCOMING ACTIVE ENERGY
[213] 24,LD1/INTMMTR1.DmdWh,3,
[214] # actVal
[215] 0,P,C,10,3,1.0,6,LD1/INTMMTR1.DmdWh[units|pulsQty],
M1CPTA2005I
1CPT: Substation Central Unit B-262
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[216] # q
[217] 1,P,Q,C,10,
[218] # t
[219] 2,P,T,C,10,
[220] # FCD/FCDA nº 20
[221] # LD1/INTMMTR1.DmdVArh[ST] // INCOMING REACTIVE ENERGY
[222] 337,LD1/INTMMTR1.DmdVArh,3,
[223] # actVal
[224] 0,P,C,11,3,1.0,6,LD1/INTMMTR1.DmdVArh[units|pulsQty],
[225] # q
[226] 1,P,Q,C,11,
[227] # t
[228] 2,P,T,C,11,
[229] #
[230] # Configuration of the UNBUFFERED-REPORT-CONTROL-BLOCKS (URCBs)
[231] 1,// Nº de URCBs
[232] # URCB nº 1
[233] # URCB reference(from the LD)
[234] LD1/LLN0.urcbUCS_ME,
[235] # sequence-number, report-time-stamp, reason-for-inclusion, data-set-
name,
[236] # data-reference, conf-revision
[237] 1,1,1,0,0,0,
[238] # Trigger Options: data-change, quality-change, data-update, Integrity
[239] 0,0,0,0,
[240] # Buffer Time, Integrity Period, GI Enable,
[241] 0,0,0,
[242] # Dataset reference (from the LD), Total Nº of Dataset members
[243] # (mapped and not mapped to Procome objects)
[244] LD1/LLN0.dsUCSmeasurements,8,
[245] # Configuration of the FCDs/FCDAs constituting the Dataset and
furthermore
[246] # mapped to a Procome objects.
[247] 8,
[248] # Nº Data in DATASET, Type of mapping, Index MEA Procome,
UnitsMultiplier,
[249] # scaleFactor, Offset,
[250] #
[251] #
[252] # FCD/FCDA nº 1
[253] # LD1/TGOGGIO1.AnIn1[MX] // Active power 132 kV
[254] 0,LD1/TGOGGIO1.AnIn1,2,
[255] # mag.f
[256] 1,0,P,M,0,-3,1.0,0,LD1/TGOGGIO1.AnIn1[units|rangeC],
[257] # q
[258] 3,P,Q,M,0,
[259] # FCD/FCDA nº 2
[260] # LD1/TGOGGIO1.AnIn2[MX] // Reactive power 132 kV
[261] 1,LD1/TGOGGIO1.AnIn2,2,
[262] # mag.f
[263] 1,0,P,M,1,-3,1.0,0,LD1/TGOGGIO1.AnIn2[units|rangeC],
[264] # q
[265] 3,P,Q,M,1,
[266] # FCD/FCDA nº 3
[267] # LD1/IRVAMMXU1.TotVAr[MX] // MEASUREMENT OF REACTIVE POWER (Q)
[268] 2,LD1/IRVAMMXU1.TotVAr,2,
[269] # mag.f
[270] 1,0,P,M,2,6,1.0,6,LD1/IRVAMMXU1.TotVAr[units|rangeC],
M1CPTA2005I
B-263 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[271] # q
[272] 3,P,Q,M,2,
[273] # FCD/FCDA nº 4
[274] # LD1/IRVAMMXU1.PPV[MX]
[275] 3,LD1/IRVAMMXU1.PPV,6,
[276] # phsAB.cVal.mag.f
[277] 0,1,0,0,P,M,3,3,1.0,3,LD1/IRVAMMXU1.PPV.phsAB[units|rangeC],
[278] # phsAB.q
[279] 0,3,P,Q,M,3,
[280] # phsBC.cVal.mag.f
[281] 1,1,0,0,P,M,4,3,1.0,3,LD1/IRVAMMXU1.PPV.phsBC[units|rangeC],
[282] # phsBC.q
[283] 1,3,P,Q,M,4,
[284] # phsCA.cVal.mag.f
[285] 2,1,0,0,P,M,5,3,1.0,3,LD1/IRVAMMXU1.PPV.phsCA[units|rangeC],
[286] # phsCA.q
[287] 2,3,P,Q,M,5,
[288] # FCD/FCDA nº 5
[289] # LD1/IRVAMMXU1.PhV[MX]
[290] 4,LD1/IRVAMMXU1.PhV,8,
[291] # phsA.cVal.mag.f
[292] 0,1,0,0,P,M,6,3,1.0,3,LD1/IRVAMMXU1.PhV.phsA[units|rangeC],
[293] # phsA.q
[294] 0,3,P,Q,M,6,
[295] # phsB.cVal.mag.f
[296] 1,1,0,0,P,M,7,3,1.0,3,LD1/IRVAMMXU1.PhV.phsB[units|rangeC],
[297] # phsB.q
[298] 1,3,P,Q,M,7,
[299] # phsC.cVal.mag.f
[300] 2,1,0,0,P,M,8,3,1.0,3,LD1/IRVAMMXU1.PhV.phsC[units|rangeC],
[301] # phsC.q
[302] 2,3,P,Q,M,8,
[303] # neut.cVal.mag.f
[304] 3,1,0,0,P,M,9,0,1.0,3,LD1/IRVAMMXU1.PhV.neut[units|rangeC],
[305] # neut.q
[306] 3,3,P,Q,M,9,
[307] # FCD/FCDA nº 6
[308] # LD1/IRVAMMXU1.A[MX]
[309] 5,LD1/IRVAMMXU1.A,6,
[310] # phsA.cVal.mag.f
[311] 0,1,0,0,P,M,10,0,1.0,0,LD1/IRVAMMXU1.A.phsA[units|rangeC],
[312] # phsA.q
[313] 0,3,P,Q,M,10,
[314] # phsB.cVal.mag.f
[315] 1,1,0,0,P,M,11,0,1.0,0,LD1/IRVAMMXU1.A.phsB[units|rangeC],
[316] # phsB.q
[317] 1,3,P,Q,M,11,
[318] # phsC.cVal.mag.f
[319] 2,1,0,0,P,M,12,0,1.0,0,LD1/IRVAMMXU1.A.phsC[units|rangeC],
[320] # phsC.q
[321] 2,3,P,Q,M,12,
[322] # FCD/FCDA nº 7
[323] # LD1/IRVRFLO1.FltDispct[MX] // MEASUREMENT OF DISTANCE TO FAULT (IN %)
[324] 6,LD1/IRVRFLO1.FltDispct,2,
[325] # mag.f
[326] 1,0,P,M,13,0,1.0,0,LD1/IRVRFLO1.FltDispct[units|rangeC],
[327] # q
[328] 3,P,Q,M,13,
M1CPTA2005I
1CPT: Substation Central Unit B-264
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[329] # FCD/FCDA nº 8
[330] # LD1/IRVRFLO1.FltDiskm[MX] // MEASUREMENT OF DISTANCE TO FAULT (IN KM)
[331] 7,LD1/IRVRFLO1.FltDiskm,2,
[332] # mag.f
[333] 1,0,P,M,14,3,1.0,0,LD1/IRVRFLO1.FltDiskm[units|rangeC],
[334] # q
[335] 3,P,Q,M,14,
[336] # Configuration of the DATA-CONTROL
[337] # Nº of Commands
[338] 12,
[339] # Controllable object,CDC ...
[340] # OPEN/CLOSE BREAKER FROM PANEL/FROM REMOTE CONTROL
[341] LD1/CSWI1.Pos,DPC,1,02,05,03,06,-1,-1,0,3,0,0,
[342] # REMOVE/SET BREAKER LO-TO FROM PANEL
[343] LD1/CSWI2.Pos,DPC,1,08,09,-1,-1,-1,-1,0,3,0,0,
[344] # OPEN/CLOSE SECTIONALIZER 89-1-1 FROM PANEL/FROM REMOTE CONTROL
[345] LD1/CSWI3.Pos,DPC,1,14,17,15,18,-1,-1,0,3,0,0,
[346] # OPEN/CLOSE SECTIONALIZER 89-1-1T FROM PANEL/FROM REMOTE CONTROL
[347] LD1/CSWI4.Pos,DPC,1,20,23,21,24,-1,-1,0,3,0,0,
[348] # OPEN/CLOSE SECTIONALIZER 89-1-2 FROM PANEL/FROM REMOTE CONTROL
[349] LD1/CSWI5.Pos,DPC,1,26,29,27,30,-1,-1,0,3,0,0,
[350] # OPEN/CLOSE SECTIONALIZER 89-1-2T FROM PANEL/FROM REMOTE CONTROL
[351] LD1/CSWI6.Pos,DPC,1,32,35,33,36,-1,-1,0,3,0,0,
[352] # SET TO AUTOMATIC/MANUAL FROM PANEL/FROM REMOTE CONTROL
[353] LD1/CSWI7.Pos,DPC,1,10,12,11,13,-1,-1,0,3,0,0,
[354] # SWITCH TO LOCAL/SWITCH TO REMOTE CONTROL FROM PANEL
[355] LD1/CSWI8.Pos,DPC,1,00,01,-1,-1,58,59,0,3,0,0,
[356] # OPEN/CLOSE SECTIONALIZER 89-1-3 FROM PANEL/FROM REMOTE CONTROL
[357] LD1/CSWI9.Pos,DPC,1,38,41,39,42,-1,-1,0,3,0,0,
[358] # OPEN/CLOSE SECTIONALIZER 89-1-3T FROM PANEL/FROM REMOTE CONTROL
[359] LD1/CSWI10.Pos,DPC,1,44,47,45,48,-1,-1,0,3,0,0,
[360] # OPEN/CLOSE SECTIONALIZER 89-1-4T FROM PANEL/FROM REMOTE CONTROL
[361] LD1/CSWI11.Pos,DPC,1,50,53,51,54,-1,-1,0,3,0,0,
[362] # RESET CONTROL FUNCTION RFTL FROM PANEL/FROM REMOTE CONTROL
[363] LD1/CSWI12.Pos,DPC,1,55,-1,56,-1,-1,-1,0,3,0,0,
M1CPTA2005I
B-265 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Presently, the IEC-61850 server function implemented by the Central Unit is limited to the
following aspects:
It can generate three output GOOSE messages that will be associated to Goose-
Control-Block gcGOOSE1, gcGOOSE2 and gcGOOSE3. data sent by these
output GOOSE are pairs of IEC-61850 attributes stVal (status) and q (quality)
corresponding to data Ind01 to Ind16 for gcGOOSE1, data Ind01 to Ind08 for
gcGOOSE2 and data Ind01 to Ind32 for gcGOOSE3 of the logic node
TGO3GGIO1, which are single digital indications (Boolean type). The allocation of
data Ind01 to Ind32 to digital signals of the real time database of the Central Unit is
carried out in the “61850SRV.CFG” configuration file.
M1CPTA2005I
1CPT: Substation Central Unit B-266
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The first 10 digital signals (0 to 9) of the logic device that represents the Central
Unit IEC-61850 server module, are reserved to indicate whether the Incoming
GOOSE messages configured (from 1 to 10) are being received correctly (signal
value 1) or not (signal value 0). The order in which each of the Incoming GOOSEs
are identified is determined by the order in which they have been registered in the
configuration file “IECGOOSE.INI”. The digital signal 0 will indicate whether the
first GOOSE input configured in file “IECGOOSE.INI” is being received correctly
(value 1) or not (value 0), the digital signal 1 will indicate the same of the second
GOOSE input configured in file “IECGOOSE.INI”, and so on.
The file is configured in sections labelled with a heading, and is segregated into two sections:
EtiqSeccGoOut
NumGoOut ,
GoRef , GoID , MACAddr , VID , AppID , Priority , ...
(*)
... ConfRev , FirstInterval , Multiplier , MaxInterval ,
(*) It repeats for each Outgoing GOOSE. There will be as many as shown in NumGoOut.
M1CPTA2005I
B-267 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• GoID: Name that will uniquely identify the GOOSE. It corresponds to Goose-Control-
Block attribute GoCBName.
• MACAddr: MAC multicast GOOSE destination address.
• VID: VLAN (Virtual LAN) identifier with which the GOOSE will be sent. It is a number
between 0 and 4095 (both included).
• AppID: Integer identifying the application (Logic Device) that sends the GOOSE. It is a
number from 0 and 16383 (both included).
• Priority: Integer indicating the priority within the VLAN to send the GOOSE. It is a number
between 0 y 7 (both included).
• ConfRev: Integer representing the number of times the configuration of the dataset
associated to Goose-Control-Block has changed.
• FirstInterval: First interval (in msec.) of GOOSE message retransmission. Each time a
new GOOSE message is transmitted due to a change in any of its data, this is the time
value of its attribute timeAllowedToLive. Attribute timeAllowedToLive indicates the
devices receiving a GOOSE message, the maximum time in which they must receive a
retransmission of the same GOOSE.
• Multiplier: Integer by which the last retransmission interval must be multiplied each time a
GOOSE is sent by retransmission. Each GOOSE retransmitted will have the attribute
timeAllowedToLive updated with the value used for this attribute in the previous
retransmission, but multiplied by the parameter Multiplier.
• MaxInterval: Maximum interval (in msec.) of GOOSE retransmission. This will be the
maximum value that a retransmitted GOOSE will have for attribute timeAllowedToLive.
According to IEC-61850, this value must not exceed 60 seconds
Note: The set formed by parameters: FirstInterval, Multiplier and MaxInterval constitute what is known
as GOOSE message retransmission strategy that in this case it is of arithmetic type
Ex: [GOOSE_OUT]
2,
COND_UCSLD1/LLN0$GO$gcGOOSE1,GOOSE_UCS1,010CCD01002C,0,1001,4,1,10
0,2,10000,
COND_UCSLD1/LLN0$GO$gcGOOSE3,GOOSE_UCS2,010CCD01002E,0,1002,4,1,100,2,
10000,
EtiqSeccGoIn
NumGoIn ,
GoID , MACAddr , GoRef , AppID , MaskGoIn , MaskMap , (*)
(*) It repeats for each Incoming GOOSE. There will be as many as shown in NumGoIn.
• EtiqSeccGoIn: Heading label of section for Central Unit Incoming GOOSE configuration.
It takes the value [GOOSE_IN].
• NumGoIn: Number of Incoming GOOSEs processed by the Central Unit. Maximum
allowable value for this parameter is 10.
• GoID: Name that will uniquely identify the GOOSE. It corresponds to Goose-Control-
Block attribute GoCBName.
• MACAddr: MAC multicast Incoming GOOSE destination address.
• GoRef: Complete MMS reference of Goose-Control-Block (including the IED name).
Matches the Goose-Control-Block attribute GoCBRef.
M1CPTA2005I
1CPT: Substation Central Unit B-268
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• AppID: Integer identifying the application (Logic Device) that sends the GOOSE. It is a
number from 0 and 16383 (both included).
• MaskGoIn: Mask of Incoming GOOSE data, used to select the elements of the Incoming
GOOSE to be processed by the Central Unit to be mapped to digital signals of the logic
device that represents the Central Unit IEC-61850 server (device with internal address
288).
The Central Unit may only process Incoming GOOSEs if the data they contain are
consecutive pairs composed by a Boolean state (stVal) and its associated quality (q),
namely, GOOSE messages with data of the type [stVal1, q1, stVal2, q2, ..., stValN, qN]
or [q1, stVal1, q2, stVal2, ..., qN, stValN]. The mask indicates which elements (pairs of
attributes stVal and q) of the GOOSE message received are of interest for the Central
Unit, for which two bits for each GOOSE (one bit will act as filter for attribute stVal and
the other bit will act as filter for attribute q) will be reserved within the mask. GOOSE
elements whose position in the mask corresponds to a value of 0 will be discarded by the
Central Unit, and only GOOSE elements associated to positions with a value of 1 within
the mask will be processed, hence updating their values over the digital signals of the
logic device representing the Central Unit IEC-61850 server. In the example, for the
GOOSE_SEL1 (110011), the first data and the third data of all data contained in the
GOOSE message received will be processed.
• MaskMap: Bit mask that allows selecting the digital signals of the logic device
representing the Central Unit IEC-61850 server (device with internal address 288), that
will be used for mapping Incoming GOOSE data previously selected with parameter
MaskGoIn. As the first 10 digital signals (0-9) of the Central Unit IEC-61850 logic device
are reserved, the first signal available for mapping Incoming GOOSE data will be digital
signal number 10.
The first bit of the mask corresponds to signal 10, the second to 11 and so on. The
Central Unit will only process the values ‘0’ and ‘1’ within this mask, so that separator
characters ‘|’ and blank spaces will not be taken into account. The value ‘1’ in this mask
indicates that the associated digital signal will be used for mapping one element of the
Incoming GOOSE (one pair of attributes stVal and q).
The first pair (11) selected in the mask MaskGoIn will correspond to the first ‘1’ in this
mask, this second pair (11) selected in MaskGoIn will correspond to the second ‘1’ in this
mask and so on. In the example, for GOOSE_SEL1 (| 1 0 1 |), the first data (pair 11 of
MaskGoIn) will be mapped to the digital signal number 10 of the Central Unit IEC-61850
logic device, and the third data (pair 11 of MaskGoIn) to the digital signal number 12.
Ej: [GOOSE_IN]
2,
GOOSE_SEL1,010CCD010004,Sel/GcRef1,0,110011,| 1 0 1 |,
GOOSE_SEL2,010CCD010005,Sel/GcRef1,1,001100,| 0 1 0 |,
M1CPTA2005I
B-269 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
- Configuration of digital signals of the logic device representing the Central Unit IEC-
61850 server (device with internal address 288), used for mapping the pairs of IEC-61850
attributes stVal (digital Boolean state) and q contained in the Incoming GOOSE
messages.
- Configuration of the different logic devices (LDs) that comprise the Central Unit. For each
Logic Device:
o Configuration of Logic Device descriptions.
o Configuration of logic nodes (LNs). For each logic node:
• Configuration of general data of the logic node.
• Configuration of single digital indications of the logic node. Allocation of single
digital signals available in the Central Unit real time database, to the single digital
indications of the logic node.
• Configuration of single commands of the logic node.
Each controllable IEC-61850 data within the logic node is allocated a pair of single
commands of the Central Unit. When the Central Unit receives the IEC-61850
command with the control attribute ctlVal set to TRUE (on), this will execute the
first associated command. When the IEC-61850 command is received with the
control attribute ctlVal set to FALSE (off), the Central Unit will execute the second
associated command.
M1CPTA2005I
1CPT: Substation Central Unit B-270
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Central Unit Incoming GOOSEs are mapped to digital signals of the IEC-61850 logic device (its
internal address will be the associated to the IEC-61850 module in the Central Unit module
activation file “PROTASK.CFG”) with the following criterion:
Ex:13,
00,1,0,0,0,1, // GOOSE 1 received OK (1) or not (0)
01,1,0,0,0,1, // GOOSE 2 received OK (1) or not (0)
02,1,0,0,0,1, // GOOSE 3 received OK (1) or not (0)
03,1,0,0,0,1, // GOOSE 4 received OK (1) or not (0)
04,1,0,0,0,1, // GOOSE 5 received OK (1) or not (0)
05,1,0,0,0,1, // GOOSE 6 received OK (1) or not (0)
06,1,0,0,0,1, // GOOSE 7 received OK (1) or not (0)
07,1,0,0,0,1, // GOOSE 8 received OK (1) or not (0)
08,1,0,0,0,1, // GOOSE 9 received OK (1) or not (0)
09,1,0,0,0,1, // GOOSE 10 received OK (1) or not (0)
10,1,0,0,0,1, // Signal 1 of GOOSE 1
11,1,0,0,0,1, // Signal 1 of GOOSE 2
12,1,0,0,0,1, // Signal 2 of GOOSE 1
M1CPTA2005I
B-271 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The configuration of the Logic Device will have a first part dedicated to the configuration of a
number of descriptive texts that identify the same. Logic nodes (LN) that comprise the Logic
Device will be configured next.
In turn, each logic node will have a first part of descriptive text configuration. Then, the Central
Unit digital signals to be mapped to IEC-61850 logic node data (e.g. for Outgoing GOOSEs,
Reports, ...) will be configured. Finally, single controllable IEC-61850 logic node data to be
mapped to single commands of the Central Unit (e.g. logic module commands) will be
configured
NumLDs ,
DomainName ,
Mod ,
Beh ,
Health ,
Vendor ,
LLN0_d ,
SerNum ,
Location ,
NumLNs ,
LNName , LN_d , (*)
NumSeñSimp ,
Señal61850 , Dir , Isc , Descrip , (***) (**)
NumManSimp ,
Mando61850 , DirOn , IseOn , DcoOn , …
(****)
… DirOff , IseOff , DcoOff , DescripMan ,
(*) It repeats for each LD. There will be as many as shown in NumLDs.
(**) It repeats for each LN belonging to the LD. There will be as many as shown in NumLNs.
(***) It repeats for each single IEC-61850 digital indication belonging to the LN. There will be
as many as shown in NumSeñSimp.
(****) It repeats for each single controllable IEC-61850 data belonging to the LN. There will be
as many as shown in NumManSimp.
• NumLDs: Number of logic devices (LD) that comprise the Central Unit, although presently
it consists only of one LD. The maximum allowable value for this parameter is 5 LDs.
• DomainName: Name of domain MMS, namely, the name of the IED linked to the LD
name. For instance, if the name of the IED is “COND_UCS” and the name of the LD is
“LD1”, this parameter will take the value “COND_UCSLD1”. The maximum allowable
number of characters for this parameter is 64.
• Mod: Description of the IEC-61850 data Mod (mode) of the logic node zero (LLN0) and of
every logic nodes configured later on (as many as specified by parameter NumLNs). With
this parameter the Central Unit will configure the IEC-61850attribute “LLN0$Mod$d” and
attributes “LNName$Mod$d” (where LNName is the name of each logic node configured
later on in this same section). The default value to be configured for this parameter will be
“Operating mode” (in the applicable language). The maximum allowable number of
characters for this parameter is 255.
M1CPTA2005I
1CPT: Substation Central Unit B-272
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Beh: Description of the IEC-61850 data Beh (performance) of the logic node zero (LLN0)
and of every logic nodes configured later on (as many as specified by parameter
NumLNs). With this parameter the Central Unit will configure the attribute “LLN0$Beh$d”
and attributes “LNName$Beh$d” (where LNName is the name of each logic node
configured later on in this same section). The default value to be configured for this
parameter will be “Performance” (in the applicable language). The maximum allowable
number of characters for this parameter is 255.
• Health: Description of the IEC-61850 data Health (health) of the logic node zero (LLN0)
and of every logic nodes configured later on (as many as specified by parameter
NumLNs). With this parameter the Central Unit will configure the attribute
“LLN0$Health$d” and attributes “LNName$Health$d” (where LNName is the name of
each logic node configured later on in this same section). The default value to be
configured for this parameter will be “Health” (in the applicable language). The maximum
allowable number of characters for this parameter is 255.
• Vendor: Value of the IEC-61850 attribute vendor (manufacturer name) of the logic node
zero (LLN0), physical node (LPHD1) and of every logic nodes configured later on (as
many as specified by parameter NumLNs). With this parameter the Central Unit will
configure the attribute “LLN0$NamPlt$vendor”, attribute “LPHD1$PhyNam$vendor” and
attributes “LNName$NamPlt$vendor” (where LNName is the name of each logic node
configured later on in this same section). The default value to be configured for this
parameter will be “ZIV Aplicaciones y Tecnologia S.A.”. The maximum allowable
number of characters for this parameter is 255.
• LLN0_d: Description of the logic node zero (LLN0) of the Logic Device. With this
parameter the Central Unit will configure the attribute “LLN0$NamPlt$d”. The default
value to be configured for this parameter will be “Logic Node 0” (in the applicable
language). The maximum allowable number of characters for this parameter is 255.
• SerNum: Value of the IEC-61850 attribute serNum (serial number) of the Logic Device
physical node (LPHD1). With this parameter the Central Unit will configure the attribute
“LPHD1$PhyNam$serNum”. In this parameter the serial number of the Central Unit will
be configured (displayed in the nameplate on the device front). The maximum allowable
number of characters for this parameter is 255.
• Location: Value of the IEC-61850 attribute location (location) of the Logic Device physical
node (LPHD1). With this parameter the Central Unit will configure the attribute
“LPHD1$PhyName$location”. The default value to be configured for this parameter will
be “Substation Central Unit” (in the applicable language). The maximum allowable
number of characters for this parameter is 255.
• NumLNs: Number of logic nodes (LN) of the Logic Device. The maximum allowable
number for this parameter is 100 LNs.
• LNName: Name of the logic node. The maximum allowable number of characters for this
parameter is 32.
• LN_d: Description of the logic node. With this parameter the Central Unit will configure
the attribute “LNName$NamPlt$d” (where LNName is the name of the logic node). The
maximum allowable number of characters for this parameter is 255.
• NumSeñSimp: Number of single digital signals of the Central Unit to be mapped to single
IEC-61850 digital indications of the logic node. The maximum allowable value for this
parameter is de 999 signals.
• Señal61850: Single IEC-61850 digital indication (only the data name) to which the state
(in attribute “LNName$ST$Señal61850$stVal”), the validity (in attribute
“LNName$ST$Señal61850$q”) and the time tag (in attribute
“LNName$ST$Señal61850$t”) of a single digital signal [Dir,Isc] of the Central Unit real
time database is to be mapped.
• Dir: Address of the device (within the Central Unit real time database) that the single
digital signal to be mapped to the IEC-61850 data specified by parameter Señal61850
belongs to.
M1CPTA2005I
B-273 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Isc: Identifier of the single digital signal used for mapping to IEC-61850 data specified by
the parameter Señal61850.
• Descrip: Description of IEC-61850 data specified by the parameter Señal61850. With this
parameter the Central Unit will configure the attribute “LNName$DC$Señal61850$d”. The
maximum allowable number of characters for this parameter is 255.
• NumManSimp: Number of single controllable IEC-61850 data of the logic node to be
mapped to pairs of single commands of the Central Unit. The maximum allowable value
for this parameter is 99 commands.
• Mando61850: Single controllable IEC-61850 data (only the data name) to be mapped to
two single commands of the Central Unit. When the Central Unit receives a command for
the controllable IEC-61850 data (specified by parameter Mando61850) with the control
attribute ctlVal set to TRUE (on), this will execute the single command [DirOn,IseOn] with
DCO=DcoOn. When a command is received for the controllable IEC-61850 data
Mando61850 with the control attribute ctlVal set to FALSE (off), the Central Unit will
execute the single command [DirOff,IseOff] with DCO=DcoOff.
• DirOn: Address of the device (within the Central Unit real time database) to which the
single command the Central Unit will execute when receiving a command for the
controllable IEC-61850 data Mando61850 with ctlVal set to TRUE (on) belongs.
• IseOn: Identifier of the single command the Central Unit will execute when a command
for the controllable IEC-61850 data Mando61850 with ctlVal set to TRUE (on) is received.
• DcoOn: DCO with which the Central Unit will execute the single command [DirOn,IseOn]
when receiving a command for the controllable IEC-61850 data Mando61850 with ctlVal
set to TRUE (on).
• DirOff: Address of the device (within the Central Unit real time database) that the single
command the Central Unit will execute when receiving a command for the controllable
IEC-61850 data Mando61850 with ctlVal set to FALSE (off) belongs to.
• IseOff: Identifier of the single command the Central Unit will execute when receiving a
command for the controllable IEC-61850 data Mando61850 with ctlVal set to FALSE (off).
• DcoOff: DCO with which the Central Unit will execute the single command [DirOff,IseOff]
when receiving a command for the controllable IEC-61850 data Mando61850 with ctlVal
set to FALSE(off).
• DescripMan: Description of the controllable IEC-61850 data specified by parameter
Mando61850. With this parameter the Central Unit will configure the attribute
“LNName$DC$Mando61850$d”. The maximum allowable number of characters for this
parameter is 255
M1CPTA2005I
1CPT: Substation Central Unit B-274
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 1, // NumLDs
COND_UCSLD1, // DomainName
Operating mode, // Mod
Performance, // Beh
Health, // Health
ZIV Aplicaciones y Tecnologia S.A., // vendor
Logic Node 0, // d
61044, // serNum
Substation Central Unit, // location
2, // NumLNs,
# First LN
TGO3GGIO1,OUTGOING GOOSES, // LNName,Descr,
4, // NumSenSimp,
Ind01,256,100,BLOCK COUPL. OPEN. BY 89 COUPL,
Ind02,256,101, SOME BAY COUPLED TO BUSBARS 1,
Ind03,256,102, SOME BAY COUPLED TO BUSBARS 2,
Ind04,256,103,20 COUPLED SECTIONALIZERS,
1, // NumManSimp,
SPCS001,256,0,2,256,1,2,LOGIC: Command 0,
# Second LN
GENGGIO1,GENERAL INDICATIONS, // LNName,Descr,
0, // NumSenSimp,
0, // NumManSimp,
[1] #############################################################
[2] ## 61850 SERVER CONFIGURATION FILE (61850SRV.CFG) ##
[3] #############################################################
[4] # Signals of virtual IEC61850 device (for mapping the Incoming GOOSE)
[5] 13,
[6] 00,1,0,0,0,1,// GOOSE 1 received OK (1) or KO (0)
[7] 01,1,0,0,0,1,// GOOSE 2 received OK (1) or KO (0)
[8] 02,1,0,0,0,1,// GOOSE 3 received OK (1) or KO (0)
[9] 03,1,0,0,0,1,// GOOSE 4 received OK (1) or KO (0)
[10] 04,1,0,0,0,1,// GOOSE 5 received OK (1) or KO (0)
[11] 05,1,0,0,0,1,// GOOSE 6 received OK (1) or KO (0)
[12] 06,1,0,0,0,1,// GOOSE 7 received OK (1) or KO (0)
[13] 07,1,0,0,0,1,// GOOSE 8 received OK (1) or KO (0)
[14] 08,1,0,0,0,1,// GOOSE 9 received OK (1) or KO (0)
[15] 09,1,0,0,0,1,// GOOSE 10 received OK (1) or KO (0)
[16] 10,1,0,0,0,1,// Signal 1 of GOOSE 1
[17] 11,1,0,0,0,1,// Signal 1 of GOOSE 2
[18] 12,1,0,0,0,1,// Signal 2 of GOOSE 1
[19] #
[20] ########################
[21] # Configuration of LDs #
[22] ########################
[23] # Number of LDs
[24] 1,
[25] ################## Primer LD #################
[26] # Domain name (IED name + LD name),
[27] COND_UCSLD1,
[28] #### Description data of LD ####
[29] # Mod (LLN0)
[30] Operating mode,
[31] # Beh (LLN0)
M1CPTA2005I
B-275 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[32] Performance,
[33] # Health (LLN0)
[34] Health,
[35] # vendor (LLN0$NamPlt + LPHD1$PhyNam + Nodos$NamPlt)
[36] ZIV Aplicaciones y Tecnologia S.A.,
[37] # d (LLN0)
[38] Logic Node 0,
[39] # serNum (LPHD1$PhyNam)
[40] 61044,
[41] # location (LPHD1$PhyNam)
[42] Substation Central Unit,
[43] #### Number of LD1 nodes ####
[44] 2,
[45] ########## Node 1 ##########
[46] # Node name, Node description (NamPlt$d),
[47] TGO3GGIO1,OUTGOING GOOSES,
[48] # Number of single signals of the node TGO3GGIO1,
[49] 4,
[50] # Dato61850,Dir,ISC,Descripción,
[51] Ind01,256,100,BLQ. OPEN COUPL BY 89 COUPL, // Signal 1 of the
Outgoing GOOSE
[52] Ind02,256,101, SOME BAY COUPLED TO BUSBARS 1, // Signal 2 of the
Outgoing GOOSE
[53] Ind03,256,102, SOME BAY COUPLED TO BUSBARS 2, // Signal 3 of the
Outgoing GOOSE
[54] Ind04,256,103,20 COUPLED SECTIONALIZERS, // Signal 4 of the Outgoing
GOOSE
[55] # Number of single commands of node TGO3GGIO1,
[56] 1,
[57] # Dato61850,DirOn,IseOn,DcoOn,DirOff,IseOff,DcoOff,Descripción,
[58] # The first command (DirOn,IseOn) with DcoOn will be executed when
"ctlVal" is ON.
[59] # The second command (DirOff,IseOff) with DcoOff will be executed when
"ctlVal" is OFF.
[60] SPCS001,256,0,2,256,1,2,LÓGIC: Command 0,
[61] ########## Node 2 ##########
[62] # Node name, Node description (NamPlt$d),
[63] GENGGIO1,GENERAL INDICATIONS,
[64] # Number of single signals of node GENGGIO1,
[65] 0,
[66] # Number of single commands of node GENGGIO1,
[67] 0,
local_tsap
max_tsdu_size
buff_segment_size
num_buffers
num_connections
num_queue_pool_entries
max_input_queue_len
max_output_queue_len
use_listen
M1CPTA2005I
1CPT: Substation Central Unit B-276
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
B-277 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 2,4,3,0,300,0,30,5,
Data of the different devices are listed below in sequential order. The following data are shown
for each of the NumEquipos devices:
M1CPTA2005I
1CPT: Substation Central Unit B-278
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Dir: IEC103 and PROCOME address of the equipment. This address is used to
communicate with the device and to associate it with the signals configured in
DBASE.CFG.
• TipoReset: It indicates the type of RESET message sent to the device: 0=ResetCU and
1=ResetFCB (Endesa). Default value is 0.
• TipoReintento: It indicates the way to carry out attempts on communications failure:
0=Consecutive attempts, 1=Attempts per cycle (Endesa). Default value is 0.
• TipoCiclo: It indicates the type of cycle to be used to retrieve device data:
0=RequestDataClass2, 1=RequestDataClass1 (Endesa). Default value is 0.
• TipoRecuperaError: It indicates the method used to recover the device from error status.
Value 0 indicates that the interrogation is repeated the number of times configured, every
cycle in turn. Value 1 (Endesa) indicates that, in case the communication with the device
fails, the interrogation cycle is cancelled for one minute, after which its recovery is
attempted. This procedure is carried out because SIEMENS devices take one minute to
recover after a cold start.
Ex: 10,1,1,1,1,
NumISC ,
ISC , FuncNum , FuncType , InfNum , ASDU , BitDoble , (*)
(*) It repeats for each signal. There will be as many lines as shown in NumISC.
• NumISC: Number of the device ISC. This parameter must have the same value as its
counterpart in dbase.
• ISC: Index of the ISC to which the IEC103 parameters are associated. Signals must be
configured consecutively in ascending order without gaps.
• FuncNum: Associated function number. It is an information parameter not used in the
protocol that can be set to 0 if its value is unknown. It has no effect on communications.
• FuncType: Function Type. (See next parameter)
• InfNum: Information Number. In IEC103 protocol, every signal is identified,
unmistakeably, by the pair of values FuncType-InfNum.
• ASDU: Number of the ASDU with which the information is received. This is an information
parameter.
• BitDoble: Indicates whether the signal is single (0) or double. In the latter case the signal
state must be associated to the ISC: 1=OFF; 2=ON. In general, two ISC signals must be
defined for each double IEC103 signal, one with BitDoble set to 1 and another set to 2.
M1CPTA2005I
B-279 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 4,
0,1764,100,1,1,0,
1,1763,100,2,1,0,
2,352,240,160,1,1,
3,352,240,160,1,2,
NumISE ,
ISE , FuncNum , FuncType , InfNum , ASDU , BitDoble , (*)
(*)It repeats for each signal. There will be as many lines as shown in NumISE.
• NumISE: Number of device commands. This parameter must have the same value as its
counterpart in dbase.
• ISE: Index of the ISE to which the IEC103 parameters are associated. Commands must
be configured consecutively in ascending order without gaps.
• FuncNum: Associated function number. It is an information parameter not used in the
protocol that can be set to 0 if its value is unknown. It has no effect on communications.
• FuncType: Function Type. (See next parameter).
• InfNum: Information Number. In IEC103 protocol, every command is identified,
unmistakeably, by the pair of values FuncType-InfNum.
• ASDU: Number of ASDU to be used to carry out the command. Possible values are
three: 20, 46 and 232.
• BitDoble: Field for compatibility purposes. Not in use. Always set to zero.
Ex: 4,
0,3003,240,160,20,0,
1,3007,253,17,20,0,
2,3007,253,27,46,0,
3,3004,253,51,232,0,
M1CPTA2005I
1CPT: Substation Central Unit B-280
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
NumMEA ,
MEA , Posicion , FuncType , InfNum , ASDU , BitDoble , (*)
(*) It repeats for each measurement. There will be as many lines as shown in NumMEA.
• NumMEA: Number of device measurements. This parameter must have the same value
as its counterpart in dbase.
• MEA: Index of the MEA to which the IEC103 parameters are associated. Measurements
must be configured consecutively in ascending order without gaps.
• Posicion: Position of the measurement in the applicable ASDU.
• FuncType: Function Type. (See next parameter)
• InfNum: Information Number. In IEC103 protocol, every information is identified,
unmistakeably, by the pair of values FuncType-InfNum.
• ASDU: Number of the ASDU with which measurement values are received. Possible
values are: 3 and 9.
• BitDoble: Field for compatibility purposes. Not in use. Always set to zero.
Ex: 4,
0,0, 160,145,3,0,
1,5, 134,137,9,0,
2,10,134,137,9,0,
3,11,134,137,9,0,
M1CPTA2005I
B-281 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[24] 10,1,1,1,1,
[25] # Configuration data of digital signals
[26] 4,
[27] 0,1764,100,1,1,0,
[28] 1,1763,100,2,1,0,
[29] 2,352,240,160,1,1,
[30] 3,352,240,160,1,2,
[31] # Configuration data of commands.
[32] 4,
[33] 0,3003,240,160,20,0,
[34] 1,3007,253,17,20,0,
[35] 2,3007,253,27,46,0,
[36] 3,3004,253,51,232,0,
[37] # Configuration data of measurements
[38] 4,
[39] 0,0, 160,145,3,0,
[40] 1,5, 134,137,9,0,
[41] 2,10,134,137,9,0,
[42] 3,11,134,137,9,0,
M1CPTA2005I
1CPT: Substation Central Unit B-282
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
SRVSNMP is a CPT thread to read/write SNMP variables from/to the various SNMP devices,
using the “Net-SNMP“ library for that purpose. The configuration file of this module is
SRVSNMP.CFG and houses both SNMP device communications data and the names and
types of the different SNMP variables that are read / written from/to each device.
SNMPCLI is a CPT task (fibre) responsible for launching the SRVSNMP thread that makes
possible the read/write of SNMP variables and the mapping of SNMP variables concerning data
(signals, measurements, counters, digital commands and analog commands) of the CPT
database virtual equipment. Therefore, this SNMPCLI task is the task to be configured in the list
of task to be run in the CPT (PROTASK.CFG file). The configuration file of this module is
SNMPCLI.CFG that houses the definition of the database virtual equipment with its signals,
digital and analog commands, measurements and counters that the various SNMP device
variables described in SRVSNMP.CFG file will be mapped to.
The SNMPCLI module of the CPT will be activated by including the following line in the
PROTASK.CFG configuration file of the CPT:
1, SNMPCLI,SNMPCLI.DLL,2048,-1,
NumEqSNMP ,
Nombre_IP , Password , Retries , Timeout , Vers ,
NumOIDs , (*)
NombreOID , TipoOID , (**)
(*) It repeats for each SNMP device. There will be as many as indicated by NumEqSNMP.
(**) It repeats for each SNMP device data (OID). There will be as many as indicated by
NumOIDs.
M1CPTA2005I
B-283 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 2,
128.127.170.233,user,-1,-1,2,
157,
.1.3.6.1.4.1.4576.4.6.1.1.1.0,2,
.1.3.6.1.4.1.4576.4.6.1.1.2.0,2,
...
.1.3.6.1.4.1.4576.4.6.1.2.51.0,2,
128.127.170.36,gestion,0,2000,1,
2,
.1.3.6.1.2.1.4.2.0,2,
.1.3.6.1.2.1.4.13.0,2,
M1CPTA2005I
1CPT: Substation Central Unit B-284
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
TimeRefresh , NivelTraza ,
• TimeRefresh: Time (in milliseconds) from the time the SNMP device interrogation cycle
ends until the beginning of the next cycle. The lower configurable limit is 200
milliseconds.
• NivelTraza: Trace monitoring level of the SNMPCLI task.
Ex: 1000,0,
• NumEqBD: Number of database SNMP virtual equipment that the SNMP variables of the
various SNMP devices will be mapped to.
Ex: 2,
Below are the data of all virtual equipment that the SNMP variables of the various SNMP
devices will be mapped to (in sequence, one after another). The following data will be given for
each equipment:
• General Equipment Data: [line 9]
Dir , N_ ISC , ISC Max , N_ ISE , ISE Max , N_ ISS , ISS Max , N_ MEA , N_ CON ,
M1CPTA2005I
B-285 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-286
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
IMPORTANT:
For signals:
- When the associated SNMP variable NombreOID takes the value ValorOn, signal
[Dir,IdxLect] will change to ON status (E=1).
- When the associated SNMP variable NombreOID takes the value ValorOff, signal
[Dir,IdxLect] will change to OFF status (E=0).
- When the associated SNMP variable NombreOID takes neither the value ValorOn nor the
value ValorOff, signal [Dir,IdxLect] will change to OFF status (E=0) and invalid (V=1).
For digital commands:
- When the [Dir,IdxEscrOn] command is run with DcoOn the value ValorOn will be written
to the associated SNMP variable NombreOID.
- When the [Dir,IdxEscrOff] command is run with DcoOff the value ValorOff will be written
to associated SNMP variable NombreOID.
M1CPTA2005I
B-287 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
Ex: 157,
.1.3.6.1.4.1.4576.4.6.1.1.1.0, 4, 0,-1,-1,-1,-1,-1,-1,-1,
.1.3.6.1.4.1.4576.4.6.1.1.2.0, 4, 1,-1,-1,-1,-1,-1,-1,-1,
...
.1.3.6.1.4.1.4576.4.6.1.1.28.0, 2, 0,-1,-1,-1,-1,-1,-1,-1,
...
.1.3.6.1.4.1.4576.4.6.1.2.6.0, 4,59, 7, 0,-1,-1,-1,-1,-1,
...
.1.3.6.1.4.1.4576.4.6.1.2.21.0, 1,41, 5, 0, 1, 3, 2, 2, 2,
M1CPTA2005I
1CPT: Substation Central Unit B-288
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[45] #
[46] # Mapping SNMP Variables
[47] #
[48] # NumOIDs,
[49] 157,
[50] #
NombreOID,TipoLect,IdxLect,TipoEscr,IdxEscrOn,IdxEscrOff,ValorOn,ValorOf
f,
[51] # DcoOn,DcoOff,
[52] .1.3.6.1.4.1.4576.4.6.1.1.1.0, 4, 0,-1,-1,-1,-1,-1,-1,-1,
[53] .1.3.6.1.4.1.4576.4.6.1.1.2.0, 4, 1,-1,-1,-1,-1,-1,-1,-1,
[54] ...
[55] .1.3.6.1.4.1.4576.4.6.1.1.28.0, 2, 0,-1,-1,-1,-1,-1,-1,-1,
[56] ...
[57] .1.3.6.1.4.1.4576.4.6.1.2.6.0, 4,59, 7, 0,-1,-1,-1,-1,-1,
[58] ...
[59] .1.3.6.1.4.1.4576.4.6.1.2.21.0, 1,41, 5, 0, 1, 3, 2, 2, 2,
[60] # *********** DEVICE 2 **************
[61] #
Dir,NºISCs,ISCmax,NºISE,ISEmax,NºISS,ISSmax,NºMEA,NºCON,NºISM,ISCFallo,
[62] # FormatoMEAs,NombreIP,
[63] 101,1,0,0,0,0,0,1,0,0,-1,1,128.127.170.36,
[64] # ISCs Number
[65] 1,
[66] # ISC, alarme, f.activa, f.desact, flanco alrm, bocina,
[67] 0,0,1,1,0,0,
[68] # ISEs Number
[69] 0,
[70] # ISSs Number
[71] 0,
[72] # MEAs Number
[73] 1,
[74] # a, b Factors
[75] 1.0,0.0,
[76] # CONs Number
[77] 0,
[78] # ISMs Number
[79] 0,
[80] #
[81] # Mapping SNMP Variables
[82] #
[83] # NumOIDs,
[84] 2,
[85] #
NombreOID,TipoLect,IdxLect,TipoEscr,IdxEscrOn,IdxEscrOff,ValorOn,ValorOf
f,
[86] # DcoOn,DcoOff,
[87] .1.3.6.1.4.1.4.1.2.0, 4, 0,-1,-1,-1,-1,-1,-1,-1,
[88] .1.3.6.1.4.1.4.1.13.0, 1, 0,-1,-1,-1, 1, 0,-1,-1,
M1CPTA2005I
B-289 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
The UCSConf sub-module that resides in the CPT checks through the IEC61850 substation bus
the parameters that keep the parameterization and configuration revisions of each of the
substation IEDs, and also provides the functions to validate and activate a new CID file
previously loaded into the IED. The activation of this CPT sub-module is carried out by including
the line below into the CPT’s PROTASK.CFG configuration file:
Meanwhile, the sub-module of UCSConf (program UCS-Conf.exe) residing outside the CPT will
manage the UCSConf database, and will handle the substation configuration files (SCD file) and
the configuration files of every IED (CID file). Also, it will keep a centralised database in the PC
Workstation with the latest revisions of the substation SCD and CID files.
This sub-module will communicate on the one hand with the sub-module residing in the CPT to
receive in real time parameterisation and configuration data revisions of each IED connected to
the CPT, it will communicate with the UCSConf’s WEB interface attending operator requests
and sending updated data of the UCSConf database, and will connect to IEDs to send or
receive CID configuration files via FTP protocol.
This sub-module uses UCSCONEC.INI configuration file that is segregated into three sections:
• Conexion: this section contains the configuration parameters for the communication
between the two submodules in which the UCSConf is divided, namely, between the
submodule that resides in the CPT and the submodule that resides in the substation
WorkStation.
• BDSCL: this section gathers database parameters of UCSConf CID and SCD files.
• PATH: section that includes the different routes used by the UCSConf.
M1CPTA2005I
1CPT: Substation Central Unit B-290
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[Conexion]
Iplocal
Ipremote
Portlocal
Portremote
Timetolive
Log
[BDSCL]
NumMaxCID
NumMaxSCD
UncompressSCD
UncompressCID
[PATH]
Base
Log
UCSConf
XSD
BDSCL
FTP
• [Conexión]: Indicates the beginning of the section that r contains the configuration
parameters for the communication between the UCSConf submodule that resides in the
CPT and the submodule that resides in the substation WorkStation.
• Iplocal: Is the IP address of the WorkStation device where the UCSConf database
manager submodule is installed. If no value is configured for this parameter, the
UCSConf itself will automatically obtain the IP address of the WorkStation.
• Ipremote: Is the IP address of the CPT in which the other UCSConf submodule resides.
• Portlocal: Local TCP port of the WorkStation device used by UCSConf to establish the
TCP-IP connection with the CPT.
• Portremote: TCP port within the CPT that the UCSConf submodule that resides in the
WorkStation is to be connected to.
• Timetolive: Maximum time (in sec.) of inactivity in message exchange between the
UCSConf submodule that resides in the substation WorkStation and the submodule that
resides in the CPT. This time is also applied to the message interchange between the
UCSConf submodule that resides in the substation WorkStation and the UCSConf Web
client.
• Log: Monitoring level of the UCSConf application. There are three levels:0- Without log,
1- Only errors and 2- Errors and general information.
• [BDSCL]: Indicates the beginning of the section that gathers database parameters of
UCSConf CID and SCD files.
• NumMaxCID: Maximum number of CID files that will be saved in the UCSConf database
per IED.
• NumMaxSCD: Maximum number of SCD files that will be saved in the UCSConf
database.
• UncompressSCD: Maximum number of unzipped SCD files in the UCSConf database.
• UncompressCID: Maximum number of unzipped CID files in the UCSConf database per
IED.
• [PATH]: Indicates the beginning of the section that includes the different routes used by
the UCSConf.
• Base: Complete route of the UCSConf database manager base directory.
M1CPTA2005I
B-291 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
• Log: Relative route (to the Base directory) of the directory where Log files generated by
the UCSConf are saved.
• UCSConf: Complete route of the directory the programme UCS-Conf.exe and its
configuration file UCSCONEC.INI belong to.
• XSD: Relative route (to the Base directory) of the directory the diagrams used to validate
SCD and CID files belong to. Hangs from the base.
• BDSCL: Relative route (to the Base directory) of the directory the configuration file
database kept by UCSConf belongs to.
• FTP: Complete route of the base directory of the WorkStation device FTP server.
Ex: [Conexion]
iplocal = 128.127.50.72
ipremote = 128.127.170.28
portlocal = 32005
portremote = 32004
timetolive = 30
Log = 1
[BDSCL]
NumMaxCID = 7
NumMaxSCD = 7
UncompressSCD=3
UncompressCID=3
[PATH]
Base=c:\ucsconf
Log=\log
UCSConf=c:\ucsconf\bin
XSD=\xsd
BDSCL=\bdscl
FTP=c:\DirFTP
M1CPTA2005I
1CPT: Substation Central Unit B-292
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
[1] [Conexion]
[2] iplocal = 128.127.50.72
[3] ipremote = 128.127.170.28
[4] portlocal = 32005
[5] portremote = 32004
[6] timetolive = 30
[7] Log = 1
[8]
[9] [BDSCL]
[10] NumMaxCID = 7
[11] NumMaxSCD = 7
[12] UncompressSCD=3
[13] UncompressCID=3
[14]
[15] [PATH]
[16] Base=c:\ucsconf
[17] Log=\log
[18] UCSConf=c:\ucsconf\bin
[19] XSD=\xsd
[20] BDSCL=\bdscl
[21] FTP=c:\DirFTP
M1CPTA2005I
B-293 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex B. Configuration of Protocol Emulators
M1CPTA2005I
1CPT: Substation Central Unit B-294
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
C. Schemes and Drawings
M1CPTA2005I
1CPT: Substation Central Unit D-2
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex D. List of Illustrations and Tables
Figure 6.46 Export of Chart Type Report to PDF Format. ................................................. 6-121
Figure 6.47 File Menu Options in the Main Tool Bar.......................................................... 6-122
Figure 6.48 Confirm Deletion of the Database. .................................................................. 6-122
Figure 6.49 Confirm Disconnection. ................................................................................... 6-122
Figure 6.50 Hot Standby Redundant System Architecture with IEC61850 Devices. ......... 6-125
Figure 6.51 Assembly Architecture with Level 1 Star Topology. ........................................ 6-126
Figure 6.52 Assembly Architecture with Level 1 Star Topology using CIC. ....................... 6-127
Figure 6.53 Connection through Digital Inputs / Outputs. .................................................. 6-129
Figure 6.54 Primary 1CPT Status Diagram. ....................................................................... 6-132
Figure 6.55 Secondary 1CPT Status Diagram. .................................................................. 6-133
M1CPTA2005I
D-3 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex D. List of Illustrations and Tables
M1CPTA2005I
1CPT: Substation Central Unit D-4
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex D. List of Illustrations and Tables
M1CPTA2005I
D-5 1CPT: Substation Central Unit
© ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
Annex D. List of Illustrations and Tables
M1CPTA2005I
1CPT: Substation Central Unit D-6
ZIV APLICACIONES Y TECNOLOGÍA, S.L.U. Zamudio, 2020
License agreement for Software Embedded in Equipment
1. License Grant. Licensor hereby grants to you, and your accept, a nonexclusive and non-
transferable license to use the embedded programs and the accompanying documentation, if any
(collectively referred to as the “Software”), only as authorized in this License Agreement.
2. Restrictions. You may not (a) use, copy, modify or transfer the Software except as expressly
provided in this or another Agreement with Licensor, (b) reverse engineer, decompile or
disassemble or separate the components of the Software, or (c) rent, sell or lease the Software or
make the Software available to others to do any of the foregoing.
3. No Assignment. This License is intended for your exclusive use with the purchased equipment.
You agree that you will not assign, sublicense, transfer, pledge, lease, rent or share your rights
under this License Agreement.
4. Licensor’s Rights. You acknowledge and agree that the Software is the proprietary product of
Licensor protected under U.S. copyright law and international treaties.. You further
acknowledge and agree that all right, title and interest in and to the Software, including
associated intellectual property rights, are and shall remain with Licensor. This License
Agreement does not convey to you an ownership interest in or to the Software, but only a
limited right of use revocable in accordance with the terms of this License Agreement.
5. Confidentiality. The Software is confidential and no details or information relating to the same
shall be disclosed to any third party without the prior written consent of Licensor. For the
purposes of this clause, sub-contract staff, employed or retained by the Licensee to perform
computer systems development work, shall not be deemed to be third parties provided such staff
are subject to the disclosure restrictions set forth above. In no event, except with a prior written
authorization duly signed by an officer of Licensor, may you disclose any such confidential
information, even for subcontracted jobs, to persons or entities that may be considered to be
direct competitors of Licensor.
6. Term. The License Agreement is effective upon delivery of the equipment to you and shall
continue until terminated. You may terminate this License Agreement at any time by returning
the equipment to Licensor, or by destroying the equipment. Licensor may terminate this License
Agreement upon your breach of any term hereof. Upon such termination by Licensor, you agree
to return the equipment to Licensor.
7. Warranty and Disclaimer. Licensor warrants, for your benefit only, that the Software, when
and as delivered to you, will conform to the specifications described in the instruction manuals
for the equipment purchased, or any specifications agreed to in writing by Licensor with a
particular customer. This warranty does not cover any minor errors or deviations from the
specifications that do not affect the proper functioning of the equipment. EXCEPT FOR THE
WARRANTIES SET FORTH ABOVE, THE SOFTWARE IS LICENSED “AS IS”, AND
LICENSOR DISCLAIMS ANY AND ALL OTHER WARRANTIES, WHETHER
EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE.
8. Licensee’s Remedy. You sole and exclusive remedy for any breach of Licensor’s warranty
shall be the repair or replacement, at Licensor’s sole option, of any Software that does not
conform to stated specifications. Licensor shall not be responsible for any failure arising from
inadequate or improper use of the Software.
9. Limitation of Liability. Licensor’s cumulative liability to you or any other party for any loss or
damages resulting from any claims, demands, or actions arising out of or relating to this
Agreement shall not exceed the purchase price paid to Licensor for the equipment. In no event
shall Licensor be liable for any indirect, incidental, consequential, special, or exemplary
damages or lost profits, even if licensor has been advised of the possibility of such damages.
10. Trademark. All ZIV trademarks (including ZIVERCOM, ZIVERLOG and ZIVERSYS) are
common law trademarks of Licensor. No right, license or interest to such trademarks is granted
hereunder, and you agree that no such right, license or interest shall be asserted by you with
respect to such trademark.
11. Licensee’s Indemnity. You shall defend, indemnify and hold Licensor harmless against any
loss or damage of any kind arising from a breach by you of this License Agreement, or any use
or misuse of the Software by you or your employees, agents or representatives, and from any
other of your conduct or from any claim or action by any of your customers in connection with
the Software or this License Agreement.
12. Governing Law. This License Agreement shall be construed and governed in accordance with
the internal laws of the State of Illinois, U.S.A.
13. No Waiver. The failure of either party to enforce any rights granted hereunder or to take action
against the other party in the event of any breach hereunder shall not be deemed a waiver by that
party as to subsequent enforcement of rights or subsequent actions in the event of future
breaches.
14. Entire Agreement. This License Agreement is the entire agreement between you and Licensor
with respect to the use of the software and supersedes all prior understandings or agreements
between the parties. This License Agreement may be amended only by a writing signed by an
officer of Licensor.