Remote terminal unit ENCS-3m

Manual

ENCS.403500.001. Rev 3.2016 Table of contents

Table of contents

Introduction ...... 3 Glossary ...... 4 1 General information ...... 5 2 Design, dimension, naming convention ...... 6 3 Features ...... 8 3.1 Device poll and sync time ...... 8 3.2 Telecontrol ...... 8 3.3 Spontaneous transmission ...... 8 3.4 Cyclic transmission ...... 8 3.5 Background scan ...... 8 3.6 IEC 60870-5-101–2006 and IEC 60870-5-104-2004 support ...... 8 3.7 GOOSE (IEC 61850 8-1) ...... 9 3.8 Configuration ...... 9 4 Specification ...... 10 4.1 Interfaces ...... 10 4.2 Technical data ...... 11 4.3 Available devices and communication protocols for polling ...... 12 5 Operation ...... 13 5.1 Before performing installation ...... 13 5.2 Mounting ...... 13 5.3 Connection ...... 14 5.4 Time sync ...... 14 5.5 Warm standby ...... 14 5.6 Configuring ...... 15 5.7 Data transmission ...... 16 6 Package content ...... 17 7 Maintenance ...... 18 8 Transport, packing and storage ...... 19 Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004...... 20 Appendix B. ...... 31

ENCS-3m, manual. 403500.001 Rev. 3.2016 2

Introduction

Introduction The Manual describes information about functions, recommendations for use, technical support, maintenance, packing, transportation, storage, as well as connection diagrams to digital interfaces.

Read this manual carefully before using the device.

Typical users

Engineers, personnel who refers with setting, operations and maintenance.

Validity range

This manual applies to all ENCS-3m modification with serial number 1255 and more.

Support

For questions about devices, please contact with technical support «Engineering center «Energoservice»:

Website: www.enip2.com

Phone: +7 (8182) 65-75-65

E-mail: [email protected]

ATTENTION: ­ Use ENCS-3m only according to this manual; ­ ENCS-3m should be installed, operated and maintained only by qualified personnel; ­ Do not use any cleanser except recommended by manufacturer; ­ Save ENCS-3m from impact; ­ Before connecting ENCS-3m, you must ensure that the local power supply conditions agree with the specifications on the label on the ENCS-3m.

NOTICE: - The information contained in this document is subject to change without notice; - New features may be add without notice.

ENCS-3m, manual. 403500.001 Rev. 3.2016 3

Glossary

Glossary  DI – discrete input;

 DO – digital output;

 GLONASS – Global Navigation Satellite System;

 GOOSE - Generic Object Oriented Substation Event;

 GPS - Global Positioning System;

 PC – personal computer;

 RTU - remote terminal unit;

 UTC – Universal Coordinated Time.

Specific terminology for the manual:

RTU, SCADA, control systems Top level

channels can ENKS-3m ENKS-3m master slave

ports

Field level Device 1 Device 2 Device N

 Channel of RTU – interfaces of RTU for data transmission to top level;

 Port of RTU – interfaces of RTU to poll devices on field level;

 Devices – multifunctional power meters, electrical meters, relay protection terminals and other devices of field level.

ENCS-3m, manual. 403500.001 Rev. 3.2016 4

General information

1 General information ENCS-3m - is a reliable software and hardware platform for building remote control sys- tems for substation and power plants.

Remote terminal unit (RTU) ENCS-3m is designed to create geographically distributed systems:

— at the field level installed devices (ENIP-2, ENB series) which support measurement parameters values, monitoring digital signals and control by digital outputs to switch- gears and mechanism;

— all this devices are connected to RTU ENCS-3m via RS-485/232 lines or local net- works.

RTU ENCS-3m collect, consolidate and distribute necessary data to a top level of con- trol systems. To control data traffic from field level devices ENCS-3m uses absolute and relative apertures. Timestamps of data are assigned by field devices.

ENCS-3m build on 32bit ARM microcontroller and providing continuous operation for remote control systems. To increase reliability system ENCS-3m support warm standby.

ENCS-3m use hard real-time algorithm, and thus provides high performance and relia- bility.

ENCS-3m polls devices according IEC 60870-5-101, Modbus and etc. ENCS-3m support up to 10 ports for device polling.

ENCS-3m allows setup up to 16 channels to transmit data to upper level using 2 LAN and RS-232/RS485 ports. 2 RTUs ENCS-3m are connected through CAN-bus to support warm standby in pair.

RS-485 interface, RS-232, Ethernet can be distributed by the user between data collec- tion from field devices and transmission of information to the top level.

To communicate with the field devices are preferred protocol IEC 60870-5-101, which provides for the regulation of traffic between the RTU and devices, and allows to send a data with timestamp directly from the sources of their formation.

Manufacturer Engineering Center "Energoservice" 26 Kotlasskaya St., 163046 Arkhangelsk, RUSSIA tel.: +7(8182)64-60-00, +7(8182)65-75-65; fax: +7(8182)23-69-55

ENCS-3m, manual. 403500.001 Rev. 3.2016 5

Design, dimension, naming convention

2 Design, dimension, naming convention ENCS-3m has plastic housing for 35-mm DIN-rail mounting.

Figure 2.1. Front panel of RTU ENCS-3m GT.

Figure 2.2. Naming convention.

ENCS-3m, manual. 403500.001 Rev. 3.2016 6

Design, dimension, naming convention

Figure 2.3. Dimensions of ENCS-3m.648GT.

Dimension and weight see in Table 2.1.

Table 2.1 Version Dimension Max Note (WхHхD), mm weight, kg ENCS-3m.648 - X 76х100х110 0.5 IP40, 35-mm DIN-rail mounting ENCS-3m.648GT- X 83х100х110 0.5 IP40, 35-mm DIN-rail mounting

ENCS-3m, manual. 403500.001 Rev. 3.2016 7

Features

3 Features

3.1 Device poll and sync time ENCS-3m provides polling of the field level devices and produces filtering false frames received from devices. The resulting filtered data is stored in RAM and are available for the rest of the program RTU modules.

Starting polling performed on all ports in a one time. Thus, all the data obtained from the field level devices have the same meanings recorded for a time

If the device has an internal clock, ENCS-3m provides time synchronization within the IEC 60870-101 protocol, as well as through the proprietary protocol for some meters.

3.2 Telecontrol ENCS-3m can transmit command according to IEC 60870-5-101 (Single command (<45>), Double command (<46>)) and Modbus (Force single coil (05).

For Modbus you can choose type of retranslation Single command (<45>) from top level to Modbus command (05) for field level device.

3.3 Spontaneous transmission Spontaneous transmission mode involves the transfer option under certain conditions: change the value of the parameter is outside the redistributions predetermined value (setpoint or aperture). The value of tolerance can be set both in absolute and relative terms (as a percentage of the current value). Also two setpoints can be specified, at the intersection where the parameter is queued for transmission. This algorithm mode is used to control the voltage when it is necessary to pass a parameter at the exit of some of its frame.

3.4 Cyclic transmission The RTU may transmit parameters to the top level at predetermined intervals (default 2 min.).

3.5 Background scan Background scan has lowest priority for transmitting and start only when data buffer according to IEC 60870-5-101–2006 (IEC 60870-5-104–2004) is empty.

3.6 IEC 60870-5-101–2006 and IEC 60870-5-104-2004 support Available commands:

ENCS-3m, manual. 403500.001 Rev. 3.2016 8

Features

 <45> - single command;

 <46> - double command;

 <100> - interrogation command;

 <101> - counter interrogation command;

 <103> - clock synchronization command.

Available information type:

 Single-point – 1, 30;

 Double-point –3, 31;

 Measured value – 9 ,11, 13, 34, 35, 36;

 Integrated totals – 15, 37;

Available cause of transmission: 1, 2, 3, 5, 6, 7, 8, 9, 10, 20-36, 37-41, 47.

Also P/N and SQ bits are available.

3.7 GOOSE (IEC 61850 8-1) Available information for GOOSE: Boolean, Quality, Timestamp, SPS, DPC. Arrays are not supported.

Maximum of subscription: 240.

3.8 Configuration ENCS-3m settings are saved in non-volatile memory.

For configuration, you should connect to one of the following interfaces:

 RS-232 (RS-232-1 is default);

 RS-485 (default it is not available);

 LAN (LAN-1 or LAN-2);

 USB (only for GT-module setting).

ENCS-3m, manual. 403500.001 Rev. 3.2016 9

Specification

4 Specification

4.1 Interfaces The RTU has RJ45 interfaces (RS-232, RS-485, Ethernet) for polling field level devices and data transmission to top level.

Available interfaces:

Interface Protocols Specification 6xRS-485 IEC 60870-5-101-2006, Modbus RTU Baudrate: 100, 110, 200, 300, 600, 1200, 2400, 4800, 9600, 19200, 115200; 2-wire connection (D+, D-), Up 31 devices on port. 4xRS-232 IEC 60870-5-101-2006, Modbus RTU Baudrate: 100, 110, 200, 300, 600, 1200, 2400, 4800, 9600, 19200, 115200; 3-wire connection (Rx, Tx, Gnd) 1 device on port 2xEthernet IEC 60870-5-104-2004, Modbus TCP, 10 Mb/s, GOOSE (IEC 61850 8-1), RS-TCP up to 12 channels and 2 UDP ports

ENCS-3m.648GT- X has SIM-card slot and service USB (Type Mini-B).

Figure 4.4. Rear side of ENCS-3m.648GT.0-1.

Table 4.1. Meaning of LED’s LED Description Power Power supply LAN-1 Data transmission via LAN-1 interface RS-232-1…4, RS-485-1…6 Data transmission via appropriate interface М1 Data transmission via GT-module light (red)– normal mode; light (red/green) – data transmission to slave RTU via CAN; М2 fast flashes (red) – data transmission to master RTU via CAN; flashes (red) – RTU is rebooting.

ENCS-3m, manual. 403500.001 Rev. 3.2016 10

Specification

4.2 Technical data

Table 4.2 Polling Total parameters 8192 analog values, 4096 discrete signals, 2048 DO Max devices of field level 240 devices IEC 60870-5-101 (RS/UDP) According to IEC 60870-5-101-2006, IEC 60870-5-104-2004, Data transmission to top level Modbus RTU/TCP Interfaces 6 х RS-485 (100 – 115200 baudrate) 4 х RS-232 (100 – 115200 baudrate) Ports or channels 2 х Ethernet 100Base-T CAN Warm standby GPRS Data transmission via GSM Data transmission to top level RS-232 (up to 4), RS-485 (up to 6) - IEC 60870-5-101-2006, Modbus RTU; Up to 16 channels LAN, GPRS - IEC 60870-5-104-2004, Modbus TCP, GOOSE (IEC 61850 8-1) Polling Up to 12 ports 4xRS-232, 6xRS-485, 2xUDP

Internal GPS/GLONASS receiver; Up to 2 NTP-server; From top level, using IEC 60870-5-101 и IEC 60870-5-104 Time sync source (C_CS_NA_1 (103)).

For sync time of field level devices use IEC 60870-5-101. 120…370 V DC/ 100...265 V AC (45…55Hz), Power supply Power consumption up to 10 VA Temperature range from -40 to + 70°С Dimension WHD 83х100х110 mm. 35-mm DIN-rail mounting Operation mode continuous Turn-on time <30 sec MTBF 35000 h Device life 25 year Seismic sustainability Up to 6 degree MSK-64

ENCS-3m, manual. 403500.001 Rev. 3.2016 11

Specification

4.3 Available devices and communication protocols for polling RTU ENCS-3m available to poll devices with follow protocols:

Table 4.3. Available protocols Protocol IEC 60870-5-101 According appendix A Modbus RTU Available commands: 01, 03, 04, 05, only integer data Goose (IEC 61850) Only GOOSE subscribe

Also ENCS-3m available to poll devices using proprietary protocols:

Table 4.4. Electric meters and multifunctional power meters The requested ENIP-2 (us- АЕТ ПЦ6806-03 Меркурий СЭТ4ТМ.02 А1800 parameters ing FT3) ПЦ6806-07 23X compatible Ua, Ub, Uc + + + + + + U average + + Uab, Ubc, Uca + + + U L-L average + + + Ia, Ib, Ic + + + + + + I average + + + Pa, Pb, Pc, + + + + + + P total Qa, Qb, Qc, Q total + + + + + + Sa, Sb, Sc + + + S total + + F + + + + + Cos a, Cos b, Cos c, + + + + Cos average Wh+, Wh-, + + + + + varh+, varh- DI 1…8 1…8 DO 2 1

Table 4.5. Another devices Device The requested parameters ENMV (using FT3) DI1…24, DO1, DO2 МС1201 DO1…3 МС1202 DO1…8 МС1210 Analog input value МС1218 Temperature 1…4 value МС1220 Status of controller

ENCS-3m, manual. 403500.001 Rev. 3.2016 12

Operation

5 Operation

5.1 Before performing installation After receiving ENCS-3m from manufacturer, make sure that packing has no defects.

Unpacking ENCS-3m, check the package contents.

Compare characteristics in passport with label on front side of device.

ENCS-3m operation should be as manual only.

Before connect/disconnect ENCS-3m to digital interface make sure that all sources of power supply are disconnected.

Connection ENCS-3m to RTU (or SCADA) is provided according to manual of RTU (SCADA).

Do not use ENCS-3m in explosive or corrosive environment.

Save ENCS-3m from heating above 70 °С, large temperature variations and strong elec- tro-magnetic fields.

5.2 Mounting For safety, you must read the instructions in this manual before performing mounting and operation. Only qualified personnel should be allowed for mounting.

ENCS-3m is mounted on 35mm DIN-rail.

Figure 5.1. ENCS-3m installation to 35 mm DIN-rail.

Pull down the clip in bottom to remove ENCS-3m from DIN-rail.

ENCS-3m, manual. 403500.001 Rev. 3.2016 13

Operation

5.3 Connection Table 5.1. Pinout RJ-45 RS-485 RS-232 Ethernet Can 1 Tx+ 2 Tx- Gnd 3 Rx Rx+ Can L 4 Tx 5 Gnd Gnd Gnd 6 Rx- Can H 7 Data+ 8 Data-

Notice: Use surge protection devices for digital interfaces. For example ESP-485-X.

For LAN-1 Rx and Tx are not need cross.

5.4 Time sync Available sources for sync time:

 Internal GPS/GLONASS receiver;

 Top level (command 103 according to IEC 60870-5-101-2006 or IEC 60870-5-104- 2004);

 Time sync module ENCS-2.

If ENCS-3m uses GPS/GLONASS receiver for time correction and lost satellite signal, time synchronization will be occurred from the top level.

5.5 Warm standby ENCS-3m

For the warm standby connect two ENCS-3m via Can port. One of the ENCS-3m must be master, second must be slave. Only one ENCS-3m polls the devices.

Condition for switching to slave ENCS-3m:

 Channel checking

When you configure, the desired type of algorithm can be specified for each channel (AND / OR):

 «AND»: switching to the slave ENCS-3m would be the case if there is no con- nection at all channels simultaneously;

ENCS-3m, manual. 403500.001 Rev. 3.2016 14

Operation

 «OR»: switching to the slave ENCS-3m would be the case if there is no con- nection to at least one channel.

channels channels can can ENCS-3m ENCS-3m ENCS-3m ENCS-3m master slave master slave

ports ports

Device Device Device Device Device Device

 Port checking

If for the polled device activated checking, this device will be involved in algorithm. In the case where all devices are participating in the algorithm, to stop responding, ENCS- 3m switch to slave.

channels channels can can ENCS-3m ENCS-3m ENCS-3m ENCS-3m master slave master slave

ports ports

Device Device Device Device Device Device

 Slave ENCS-3m checking

If the slave is not met the condition channel checking, switching will not happen. If the slave ENCS-3m is not the condition of the port checking, both ENCS-3m will work alter- nately at intervals of 30 seconds.

5.6 Configuring Configuring of ENCS-3m consist of setting up parameters for communication interfaces (RS-485/232 and Ethernet), transmitted data, sync time and etc.

Configuring RTU ENCS-3m by using PC (stationary or portable, equipped with COM ports or the Ethernet, the Windows operating system (XP, Vista, 7, 8) with the installed software "Configurator ENCS".

ENCS-3m, manual. 403500.001 Rev. 3.2016 15

Operation

We are working all days for add new features and improvements for ENCS-3m. So, be- fore using of ENCS-3m, please, check the latest firmware and software on our web site for ENCS-3m. For writing new firmware to ENCS-3m use special update utility “ES Boot- loader”. In addition, you can download it from our web site.

For the search the RTU in local network, use software «ES Find IP».

5.7 Data transmission

RTU ENCS-3m provides continuous polling of devices connected to the ports and data transfer to the top level through the channels. RS-232, RS-485 can be port or chan- nel. Ethernet can be used as both the ports and the channels. GPRS can be only chan- nel.

All data can be transmitted on 16 channels simultaneously. In RS-232, RS-485 can be arranged up to 10 channels, via Ethernet interfaces and GPRS - up to 16 channels. Each of the 16 channels individually configurable.

For the channel is also available RS-TCP function, the so-called a «through channel», through which one can connect directly to one of the polled devices.

Server mode

If ENCS-3m channel configured as a server, ENCS-3m awaits client connection. You need to configure the client's IP-address and TCP-port. Once connected, the client starts the exchange of the selected protocol for this channel. In case of breaking TCP-session ENCS-3m expects of recovery session.

If the client IP-address specified as 255.255.255.255, the available connection from any IP-address.

Client mode

If ENCS-3m channel is configured as a client, then ENCS-3m on the socket initiates a connection with the specified settings in the IP-address of the remote server. After opening the remote connection server (open TCP-session) ENCS-3m ready to exchange the chosen protocol for this channel. In case of breaking TCP-session ENCS-3m provides session restoration.

In client mode, you must specify the server's IP-address and port, which should connect. If you want to use routing in a different subnet, the ENCS-3m can be installed up to 16 routing rules for TCP-packets, which include the interface name, IP network address, network mask, and gateway address.

ENCS-3m, manual. 403500.001 Rev. 3.2016 16

Package content

6 Package content

Remote terminal unit ENCS-3m 1 ENCS.403500.001PC 1 CD with Manual ENCS.403500.001 and 1 software («Configurator ENCS», «BootLoader», «ES Find IP»)

ENCS-3m, manual. 403500.001 Rev. 3.2016 17

Maintenance

7 Maintenance Maintenance should be according to this manual. Only qualified personnel should per- form it.

Repair of defective device produced by manufacturer. Do not open the housing during operation. Opening the ENCS-3m voids the warranty.

For preventive maintenance, follow instruction bellow:

 Disconnect power supply, digital interface, measuring inputs;

 Remove dust;

 Check device for defects;

 Check mount;

 Connect power supply, digital interface, measuring inputs.

For cleaning use non abrasive detergent or 70% ethanol-water solution.

ENCS-3m, manual. 403500.001 Rev. 3.2016 18

Transport, packing and storage

8 Transport, packing and storage ENCS-3m is transported in any covered transport (railway, car, aviation). Transports conditions temperature is –50…+70⁰С, relative humidity is 95 % at 30⁰С. Save ENIP-2 from impact during the transport.

ENCS-3m is delivered in packaging case. Package has content according to page 17.

Net weight – up to 1 kg.

Gross weight – up to 1.5 kg.

Store the device in dry and clean location. Storage condition in follow table:

Condition Device in manufacturer packing Device without manufacturer packing Temperature 5-40 ○C 10-35 ○C Relative humidity 80% (at 25 ○C) 80% (at 25 ○C)

ENCS-3m, manual. 403500.001 Rev. 3.2016 19

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004.

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004. IEC 60870-5-101/104 Protocol Implementation Conformance Statement

This companion standard presents sets of parameters and alternatives from which sub- sets have to be selected to implement particular telecontrol systems. Certain parameter values, such as the number of octets in the COMMON ADDRESS of ASDUs represent mu- tually exclusive alternatives. This means that only one value of the defined parameters is admitted per system. Other parameters, such as the listed set of different process in- formation in command and in monitor direction allow the specification of the complete set or subsets, as appropriate for given applications. This Clause summarizes the pa- rameters of the previous Clauses to facilitate a suitable selection for a specific applica- tion. If a system is composed of equipment stemming from different manufacturers, it is necessary that all partners agree on the selected parameters.

Designation:

 - Function or ASDU is not used;

- Function or ASDU is used as standardized (default);

- Function or ASDU is used in reverse mode;

- Function or ASDU is used in standard and reverse mode/

The possible selection (blank, X, R, or B) is specified for each specific Clause or parame- ter.

1. System or device

(system-specific parameter, indicate the definition of a system or a device by marking one of the following with an «X»)

IEC 60870-5-101 IEC 60870-5-104  System definition  System definition  Controlling station definition (master)  Controlling station definition (master)  Controlled station definition (slave)  Controlled station definition (slave)

2. Network configuration

IEC 60870-5-101  Point-to-point  Multipoint-partyline  Multiple point-to-point  Multipoint-star

ENCS-3m, manual. 403500.001 Rev. 3.2016 20

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004.

IEC 60870-5-104

 Point-to-point  Multipoint-partyline  Multiple point-to-point  Multipoint-star

3. Physical layer

(network-specific parameter, all interfaces and data rates that are used are to be marked with an «X»)

Transmission speed (control direction)

IEC 60870-5-101 Unbalanced interchange cir- Unbalanced interchange circuit Balanced interchange cuit V.24/V.28 Standard V.24/V.28 recommended if >1200 bit/s circuit X.24/X.27  100bit/s  2400bit/s  2400bit/s  200bit/s  4800bit/s  4800bit/s  300bit/s  9600bit/s  9600bit/s  600bit/s  19200bit/s  19200bit/s  1200bit/s  38400 bit/s  38400bit/s  57600 bit/s  56000bit/s  115200 bit/s  64000bit/s

IEC 60870-5-104 Unbalanced interchange cir- Unbalanced interchange Balanced interchange circuit X.24/X.27 cuit V.24/V.28 Standard circuit V.24/V.28 recom- mended if >1200 bit/s  100bit/s  2400bit/s 2400bit/s 38400bit/s  200bit/s  4800bit/s 4800bit/s 56000bit/s  300bit/s  9600bit/s 9600bit/s 64000bit/s  600bit/s 19200bit/s  1200bit/s

Transmission speed (monitor direction)

IEC 60870-5-101 Unbalanced interchange cir- Unbalanced interchange circuit Balanced interchange cuit V.24/V.28 Standard V.24/V.28 recommended if >1200 bit/s circuit X.24/X.27  100bit/s  2400bit/s  2400bit/s  200bit/s  4800bit/s  4800bit/s  300bit/s  9600bit/s  9600bit/s  600bit/s  19200bit/s  19200bit/s  1200bit/s  38400 bit/s  38400bit/s  57600 bit/s  56000bit/s  115200 bit/s  64000bit/s

IEC 60870-5-104 Unbalanced interchange cir- Unbalanced interchange Balanced interchange circuit X.24/X.27 cuit V.24/V.28 Standard circuit V.24/V.28 recom-

ENCS-3m, manual. 403500.001 Rev. 3.2016 21

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004.

mended if >1200 bit/s  100bit/s  2400bit/s 2400bit/s 38400bit/s  200bit/s  4800bit/s 4800bit/s 56000bit/s  300bit/s  9600bit/s 9600bit/s 64000bit/s  600bit/s 19200bit/s  1200bit/s

4. Link layer

Network-specific parameter, all options that are used are to be marked with an “×”. Specify the maximum frame length. If a non-standard assignment of class 2 messages is implemented for unbalanced transmission, indicate the type ID and COT of all messages assigned to class 2.

IEC 60870-5-101

Frame format FT 1.2, single character 1 and the fixed time out interval are used exclu- sively in this companion standard.

Link transmission procedure Address field of the link  Balanced transmission  Not present (balanced transmission  Unbalanced transmission only) Frame length  One octet 255 Maximum length L (control direction)  Two octets 255 Maximum length L (monitor direction)  Structured

 Unstructured 5 - repetitions Time during which repetitions are

permitted (Trp) or number of repetitions

When using an unbalanced link layer, the following ASDU types are returned in class 2 messages (low priority) with the indicated causes of transmission:

 The standard assignment of ASDUs to class 2 messages is used as follows:

Type identification Cause of transmission

 A special assignment of ASDUs to class 2 messages is used as follows:

Type identification Cause of transmission 1, 3, 11, 13, 15, 30, 31, 35, 36,37 <3> NOTE: In response to a class 2 poll, a controlled station may respond with class 1 data when there is no class 2 data available.

IEC 60870-5-104

ENCS-3m, manual. 403500.001 Rev. 3.2016 22

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004.

Frame format FT 1.2, single character 1 and the fixed time out interval are used exclu- sively in this companion standard.

Link transmission procedure Address field of the link  Balanced transmission  Not present (balanced transmission  Unbalanced transmission only)  One octet Frame length  Two octets  Maximum length L  Structured

 Unstructured When using an unbalanced link layer, the following ASDU types are returned in class 2 messages (low priority) with the indicated causes of transmission:

 The standard assignment of ASDUs to class 2 messages is used as follows:

Type identification Cause of transmission

 A special assignment of ASDUs to class 2 messages is used as follows:

Type identification Cause of transmission

5. Application layer

Transmission mode for application data Mode 1 (least significant octet first), as defined in 4.10 of IEC 60870-5-4, is used exclusively in this companion standard.

Common address of ASDU

(system-specific parameter, all configurations that are used are to be marked with an X).

IEC 60870-5-101 IEC 60870-5-104  One octet  One octet  Two octets  Two octets

Information object address

(system-specific parameter, all configurations that are used are to be marked with an X).

IEC 60870-5-101  One octet  Structured  Two octets  Unstructured  Three octets

IEC 60870-5-104

ENCS-3m, manual. 403500.001 Rev. 3.2016 23

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004.

 One octet  Structured  Two octets Unstructured Three octets

Cause of transmission

(system-specific parameter, all configurations that are used are to be marked with an X).

IEC 60870-5-101  One octet  Two octets (with originator address)

IEC 60870-5-104  One octet  Two octets (with originator address) Originator address is set to zero if not used

Selection of standard ASDUs

Process information in monitor direction

Type identification and cause of transmission assignments

((station-specific parameters).

IEC 60870-5-104-2004 Cause of transmission Type identification 20- 37- 44- 1 2 3 4 5 6 7 8 9 10 11 12 13 36 41 47 <1> M_SP_NA_1 Х X <2> M_SP_TA_1 <3> M_DP_NA_1 Х Х X <4> M_DP_TA_1 <5> M_ST_NA_1 Х Х Х <6> M_ST_TA_1 <7> M_BO_NA_1 <8> M_BO_TA_1 <9> M_ME_NA_1 Х Х Х Х <10> M_ME_TA_1 <11> M_ME_NB_1 Х Х Х X <12> M_ME_TB_1 <13> M_ME_NC_1 Х Х X X <14> M_ME_TC_1 <15> M_IT_NA_1 X X <16> M_IT_TA_1 <17> M_EP_TA_1 <18> M_EP_TB_1 <19> M_EP_TC_1 <20> M_PS_NA_1 <21> M_ME_ND_1 <30> M_SP_TB_1 X <31> M_DP_TB_1 X <32> M_ST_TB_1 X

ENCS-3m, manual. 403500.001 Rev. 3.2016 24

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004.

<33> M_BO_TB_1 <34> M_ME_TD_1 X <35> M_ME_TE_1 X <36> M_ME_TF_1 X <37> M_IT_TB_1 X <38> M_EP_TD_1 <39> M_IT_TB_1 <40> M_EP_TD_1 <45> C_SC_NA_1 R R R R R R <46> C_DC_NA_1 R R R R R R <47> C_RC_NA_1 <48> C_SE_NA_1 <49> C_SE_NB_1 <50> C_SE_NC_1 <51> C_BO_NA_1 <70> M_EI_NA_1 <100> C_IC_NA_1 R R R R R <101> C_CI_NA_1 R R R <102> C_RD_NA_1 R R <103> C_CS_NA_1 R R R <104> C_TS_NA_1 <105> C_RP_NA_1 <106> C_CD_NA_1 <110> P_ME_NA_1 <111> P_ME_NB_1 <112> P_ME_NC_1 <113> P_AC_NA_1 <120> F_FR_NA_1 <121> F_SR_NA_1 <122> F_SC_NA_1 <123> F_LS_NA_1 <124> F_AF_NA_1 <125> F_CG_NA_1 <126> F_DR_TA_1

IEC 60870-5-101-2006 Cause of transmission Type identification 20- 37- 44- 1 2 3 4 5 6 7 8 9 10 11 12 13 36 41 47 <1> M_SP_NA_1 Х Х Х Х X <2> M_SP_TA_1 <3> M_DP_NA_1 Х Х Х Х Х X <4> M_DP_TA_1 <5> M_ST_NA_1 Х Х Х Х Х Х <6> M_ST_TA_1 <7> M_BO_NA_1 <8> M_BO_TA_1 <9> M_ME_NA_1 Х Х Х Х Х <10> M_ME_TA_1 <11> M_ME_NB_1 Х Х Х Х X <12> M_ME_TB_1 <13> M_ME_NC_1 Х Х X Х X <14> M_ME_TC_1

ENCS-3m, manual. 403500.001 Rev. 3.2016 25

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004.

<15> M_IT_NA_1 X X <16> M_IT_TA_1 <17> M_EP_TA_1 <18> M_EP_TB_1 <19> M_EP_TC_1 <20> M_PS_NA_1 <21> M_ME_ND_1 <30> M_SP_TB_1 X Х Х Х <31> M_DP_TB_1 X Х Х Х <32> M_ST_TB_1 Х Х Х Х <33> M_BO_TB_1 <34> M_ME_TD_1 Х Х <35> M_ME_TE_1 X Х <36> M_ME_TF_1 Х Х <37> M_IT_TB_1 Х X <38> M_EP_TD_1 <39> M_IT_TB_1 <40> M_EP_TD_1 <45> C_SC_NA_1 R R R R R R <46> C_DC_NA_1 R R R R R R <47> C_RC_NA_1 <48> C_SE_NA_1 <49> C_SE_NB_1 <50> C_SE_NC_1 <51> C_BO_NA_1 <70> M_EI_NA_1 <100> C_IC_NA_1 R R R R R <101> C_CI_NA_1 R R R <102> C_RD_NA_1 R R <103> C_CS_NA_1 R R R <104> C_TS_NA_1 <105> C_RP_NA_1 <106> C_CD_NA_1 <110> P_ME_NA_1 <111> P_ME_NB_1 <112> P_ME_NC_1 <113> P_AC_NA_1 <120> F_FR_NA_1 <121> F_SR_NA_1 <122> F_SC_NA_1 <123> F_LS_NA_1 <124> F_AF_NA_1 <125> F_CG_NA_1 <126> F_DR_TA_1

6. Basic application functions

Station initialization

 Remote initialization

Cyclic data transmission

ENCS-3m, manual. 403500.001 Rev. 3.2016 26

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004.

Cyclic data transmission

Read procedure

 Read procedure

Spontaneous transmission

Spontaneous transmission

Double transmission of information objects with cause of transmission spontaneous

(station-specific parameter, mark each information type with an “X” where both a type ID without time and corresponding type ID with time are issued in response to a single spontaneous change of a monitored object) The following type identifications may be transmitted in succession caused by a single status change of an information object. The particular information object addresses for which double transmission is enabled are defined in a project-specific list.

 Single-point information M_SP_NA_1, M_SP_TA_1, M_SP_TB_1,

M_PS_NA_1

 Double-point information M_DP_NA_1, M_DP TA 1, M_DP_TB_1

 Step position information M_ST_NA_1, M_ST_TA_1, M_ST_TB_1

 Bitstring of 32 bit M_BO_NA_1, M_BO_TA_1, M_BO_TB_1 (if defined for a specific pro- ject, see 7.2.1.1)

 Measured value, normalized value M_ME_NA_1, M_ME_TA_1, M_ME_ND_1, M_ME_TD_1

 Measured value, scaled value M_ME_NB_1, M_ME_TB_1, M_ME_TE_1

 Measured value, short floating point number M_ME_NC_1, M_ME_TC_1, M_ME_TF_1

Station interrogation

– Global

– Group 1  – Group 7  – Group 13

 – Group 2  – Group 8  – Group 14

 – Group 3  – Group 9  – Group 15

 – Group 4  – Group 10  – Group 16

ENCS-3m, manual. 403500.001 Rev. 3.2016 27

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004.

 – Group 5  – Group 11  – Information object addresses as- signed to each group are configurable  – Group 6  – Group 12

Clock synchronization

– Clock synchronization

Command transmission

Direct command transmission

 Direct set point command transmission

Select and execute command

 Select and execute set point command

 C_SE ACTTERM used

 No additional definition

Short-pulse duration (1 sec.) Long-pulse duration (1 sec.) Persistent output (255 sec.)

Transmission of integrated totals

 Mode A: local freeze with spontaneous transmission

 Mode B: local freeze with counter interrogation

 Mode C: freeze and transmit by counter interrogation commands

 Mode D: freeze by counter-interrogation command, frozen values reported spontane- ously

 Counter read

 Counter freeze without reset

 Counter freeze with reset

 Counter reset

– Clock synchronization – Request counter group 1

 Request counter group 2

ENCS-3m, manual. 403500.001 Rev. 3.2016 28

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004.

 Request counter group 3

 Request counter group 4

Parameter loading

 Threshold value

 Smoothing factor

 Low limit for transmission of measured value

 High limit for transmission of measured

Parameter activation

 Act/deact of persistent cyclic or periodic transmission of the addressed object

Test procedure

 Test procedure

File transfer

File transfer in monitor direction

Transparent file

 Transmission of disturbance data of protection equipmen

 Transmission of sequences of events

 Transmission of sequences of recorded analogue values

File transfer in control direction

 Transparent file

Background scan

Background scan

For IEC 60870-5-104 only:

Definition of time outs

Default Selected Parameter Remarks value value

t0 30 s Time-out of connection establishment

t1 15 s Time-out of send or test APDUs 15

ENCS-3m, manual. 403500.001 Rev. 3.2016 29

Appendix A. IEC 60870-5-101-2006 / IEC 60870-5-104-2004.

Time-out for acknowledges in case of no data messag- t 10 s 10 2 es t2 < t1 Time-out for sending test frames in case of a long idle t 20 s 20 3 state Maximum range for timeouts t0 to t2: 1 s to 255 s, accuracy 1 s.

Maximum number of outstanding I format APDUs k and latest acknowledge APDUs (w):

Default Parameter Remarks value K 1 APDU Maximum difference receive sequence number to send state variable W 1 APDU Latest acknowledge after receiving w I format APDUs K and W are not change.

Port number

Parameter Value Remarks Port number 2404 In all cases

ENCS-3m, manual. 403500.001 Rev. 3.2016 30

Appendix B. Modbus

Appendix B. Modbus About Modbus

Modbus (Schneider Electric trademark) is a serial communications protocol. Full descrip- tion see on www.modbus.org. This protocol is used for data communication via RS-485 or Ethernet interfaces.

Modbus RTU

In Modbus RTU, bytes are sent consecutively with no space in between them with a 3- 1/2 character space between messages for a delimiter.

 1 start bit

 8 data bits

 1 parity bit; no parity bit

 1 stop bit, if parity even; 2 stop bits if parity none

 Cyclical Redundancy Check (CRC)

Available function code

h01 read coil;

h03 read holding registers;

h04 read input registers;

h05 write single coil;

Modbus-request:

read

address function code Start address Number of checksumm of parameters parameters 1 byte 1 byte 2 bytes 2 bytes 2 bytes

write

address function code Parameter’s Status of pa- checksumm address rameter 1 byte 1 byte 2 bytes 2 bytes 2 bytes

address – slave address of polling device; 1…254.

ENCS-3m, manual. 403500.001 Rev. 3.2016 31

Appendix B. Modbus

function code – one of available function codes;

Start address of parameters (Parameter’s address) – 0…65535 (hFFFF). When setting up the RTU address specified in decimal format

Address in device Converting Address for ENCS-3m 15 (decimal) - 15 0x02 (1-byte hex) h02 = 2 2 0x011B (2-byte hex) h011B = 283 283 416396 (logical address) Discard the first digit, then of the 16395 remaining number subtract 1

ENCS-3m, manual. 403500.001 Rev. 3.2016 32