SM - x551 - GACMA0 - ENG (Courier Protocol) PDF
SM - x551 - GACMA0 - ENG (Courier Protocol) PDF
SM - x551 - GACMA0 - ENG (Courier Protocol) PDF
Siemens Industrial
DC0-149-2.00
Hint
Please observe Notes and Warnings for your own safety in the Preface.
· SICAM AK
· SICAM AK 3
· SICAM TM
This manual describes the implementation of the GEC-Alstom Courier protocol Master in
SICAM RTUs system.
The GEC-Alstom Courier protocol is a proprietary - serial based - communication protocol for
interfacing GEC-Alstom relays (K-Series) to SICAM RTUs system.
This manual describes the functionality of the system element SM-x551/GACMA0 GEC-
Alstom Courier Master protocol and essentially contains:
· Functional descriptions
· Technical Specifications
· Descriptions of interfaces to the process and other system elements
· Possible Configurations
Target Group
The document you are reading right now is addressed to users, who are in charge of the
following engineering tasks:
Manipulating the hardware itself, as for example "unplugging" and "plugging" printed circuit
boards and modules, or working on terminals and/or connectors – for instance when applying
changes to the wiring – are – also if they are an issue in the context of configuration,
parameterization and diagnostic – not subject of this document.
For activities, which comprise hardware manipulations, it is essential to pay attention to the
appropriate safety instructions and to strictly adhere to the appropriate safety regulations.
Instructions and regulations are also stated in installation manuals or manuals which deal with hardware
installation and other hardware manipulations.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
3
Notes on Safety
This manual does not constitute a complete catalog of all safety measures required for
operating the equipment (module, device) in question because special operating conditions
might require additional measures. However, it does contain notes that must be adhered to for
your own personal safety and to avoid damage to property. These notes are highlighted with a
warning triangle and different keywords indicating different degrees of danger.
Danger
means that death, serious bodily injury or considerable property damage will occur, if the appropriate
precautionary measures are not carried out.
Warning
means that death, serious bodily injury or considerable property damage can occur, if the appropriate
precautionary measures are not carried out.
Caution
means that minor bodily injury or property damage could occur, if the appropriate precautionary measures
are not carried out.
Hint
is important information about the product, the handling of the product or the respective part of the
documentation, to which special attention is to be given.
Qualified Personnel
Commissioning and operation of the equipment (module, device) described in this manual must be
performed by qualified personnel only. As used in the safety notes contained in this manual, qualified
personnel are those persons who are authorised to commission, release, ground, and tag devices,
systems, and electrical circuits in accordance with safety standards.
Use as Prescribed
The equipment (device, module) must not be used for any other purposes than those described in the
Catalog and the Technical Description. If it is used together with third-party devices and components,
these must be recommended or approved by Siemens.
Correct and safe operation of the product requires adequate transportation, storage, installation, and
mounting as well as appropriate use and maintenance.
During operation of electrical equipment, it is unavoidable that certain parts of this equipment will carry
dangerous voltages. Severe injury or damage to property can occur if the appropriate measures are not
taken:
· Before making any connections at all, ground the equipment at the PE terminal.
· Hazardous voltages can be present on all switching components connected to the power supply.
· Even after the supply voltage has been disconnected, hazardous voltages can still be present in the
equipment (capacitor storage).
· Equipment with current transformer circuits must not be operated while open.
· The limit values indicated in the manual or the operating instructions must not be exceeded; that also
applies to testing and commissioning.
1 Introduction ................................................................................................................... 9
3 System Components................................................................................................... 30
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
5
Table of Contents
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
7
Table of Contents
Contents
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
9
Introduction
1.1 Application
1.2 Overview
· GEC-Alstom Courier Master for max. 40 GEC-Alstom Relays (K-Series) using serial based
GEC-Alstom Courier Protocol (external converter KITZ 1021) or KITZ1021) required)
1)
KITZ 101, KITZ102:
The KITZ interface units provide protocol conversion between K-Bus, the communication medium or
Courier compatible devices, and IEC870 frame format data.
It provides a serial connection (RS232/IEC870) which enables a master station running Courier software to
communicate with slave devices.
KITZ101 and KITZ102 has identical functionality.
KITZ101 … for desktop use
KITZ102 … for rear panel mounting
The protocol element can be attached to master control and communication elements of
SICAM RTUs.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
11
Introduction
1.3 Mechanics
1.3.1 SM-2551
View
1.3.2 SM-0551
View
Contents
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
13
Protocol Element SM-x551/GACMA0
GACMA0 SICAM AK
SICAM TM 1)
GEC-Alstom Courier Master
SICAM AK 3
1)
in addition the external converter GEC-Alstom KITZ 101 or KITZ 102 is required!
GACMA0
Function
− Extractions of Measurands ü
− Time Synchronization ü
− Control Commands ü
· Command transmission ü
GACMA0
Function
· Setpoint transmission
− Station failure
· Engineering
· Accessories (mandatory)
1)
Courier protocol does not define a general interrogation.
The actual state of data will be read cyclic from the slave.
After SICAM RTUs internal IEC60870-5-101/-104 general interrogation command from BSE à PRE the interrogated
data will be sent to BSE with cause of transmission COT= 20 (interrogated by station interrogation) after next cyclic
reading of data.
2)
Courier protocol does not define a counter interrogation procedure.
The actual state of data will be read cyclic from the slave.
After SICAM RTUs internal IEC60870-5-101/-104 counter interrogation command from BSE à PRE the interrogated
counters will be sent to BSE with cause of transmission COT= 37 (requested by general counter request) from PRE
internal data base.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
15
Protocol Element SM-x551/GACMA0
− <TI:=36> Measured value, short floating point value with time tag CP56Time2a ü
− Signed/unsigned integer ü
Hints
The above mentioned functions are described in detail in the chapter Protocol Description.
This protocol element supports only a restricted area of the protocol functionality for coupling to systems of
other product groups or to systems of third party suppliers.
For using this protocol element in your project you have to verify if the supported functionality and
supported data formats of the protocol element will be compatible to the required functionality and data
formats for interfacing a specific 3rd party system.
2.1.3 Restrictions
· The cycle time for data exchange between protocol element and slave cannot be
guaranteed in all cases.
(the PRE internal processing time depends on number of configured data points and
the number of data changes)
· Only single level addressing is supported. Multi level addressing means that the
GACMA0 would not directly communicate to the Courier slave devices. There could
be more than one level of master control units between. Each level adds its own
address to the address data field.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
17
Protocol Element SM-x551/GACMA0
1)
Extras is optional equipment
KITZ 101, KITZ102:
- The KITZ interface units provide protocol conversion between K-Bus, the communication medium or
Courier compatible devices, and IEC870 frame format data.
It provides a serial connection (RS232/IEC870) which enables a master station running Courier software to
communicate with slave devices.
KITZ101 and KITZ102 has identical functionality.
KITZ101 … for desktop use
KITZ102 … for rear panel mounting
a)
Patch Plug for SICAM AK
Note: no patch plug required for SICAM AK 3
(“patch plug CM-2860 is integrated in hardware of CP-2016, CP-2019)
2.3 Communication
For the stations to communicate with each other, suitable transmission facilities and/or
network components may be needed in addition.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
19
Protocol Element SM-x551/GACMA0
2.4 Configurations
The following table lists supported configurations. In addition to one (SI0/SI1 or SI2/SI3) or
two (SI0/SI1 and SI2/SI3) SM-2551, all parts (carrier module, connection board, patch plug,
etc.) listed for the chosen configuration are needed:
Configuration Interfaces
1) 1)
Carrier Module (BSE) Connection Board Patch Plug SI0 SI1 SI2 SI3
CP-2014 CM-2839 CM-2860 ü ü
CP-2017 CM-2838 CM-2860 ü ü ü ü
CP-6014 --- CM-2860 ü ü ü ü
1)
one connection board for each carrier module, one patch plug for each interface
The following table lists supported configurations. In addition to SM-0551, all parts (SIM,
carrier module, connection board, patch plug, etc.) listed for the chosen configuration are
needed:
Configuration Interfaces
1) 1)
Carrier Module SIM Connection Board Patch Plug SI0 SI1 SI2 SI3
4) 6)
CP-2014 CM-2839 CM-2860 ü
4) 6) 6)
CP-2017 CM-2838 CM-2860 ü ü
4) 6) 6)
CP-6014 --- CM-2860 ü ü
1)
one connection board for each carrier module, one patch plug for each interface
4)
SM-2558 required, on which SM-0551 can be installed
6)
interface is not operated by SM-0551 but directly by SM-2558
SM-2551/GACMA0 in SICAM AK 3
The SIM SM-2551 can be attached to the SICAM AK 3 basic system elements. The following
table lists the required modules and the interface where the protocol is supported.
BSE Interface
Basic System Element SIM
X0 X1 X2 X3
CP-2016 SM-2551 - - ü ü
CP-2019 SM-2551 - - ü ü
SM-0551/GACMA0 in SICAM AK 3
The SIM SM-0551 module can be attached to the SIM SM-2558. SM-2558 on the other hand
can be attached to the SICAM AK 3 basic system elements.
The following table lists the required modules and the interface where the protocol is
supported.
BSE Interface
Basic System Element SIM
X0 X1 X2 X3
CP-2016 SM-2558 + SM-0551 - - ü -
CP-2019 SM-2558 + SM-0551 - - ü -
Hint
Details on assembly of SIMs and Patch Plugs can be found in the user manual of the respective
SICAM RTU, chapter Setup of external Communication Connections.
Details on assembly of the protocol elements for SICAM AK 3 can be found in SICAM AK 3 user manual ,
chapter Setup of external Communication Connections.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
21
Protocol Element SM-x551/GACMA0
2.5 Engineering
For diagnosis, testing, parameter setting or documentation, the system element is supported
by the engineering tools of SIEMENS TOOLBOX II. OPM II is required.
2.6.1 SM-2551
CP-board
SDB bus
SM-2551 +5V
3,3V
galvanical insulation
+5V +5V
I/O 8
I/O 1
I/O 8
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
23
Protocol Element SM-x551/GACMA0
2.6.2 SM-0551
BUS
SM-2558
+5 V Power
SM-0551 Supply
(optional)
Crypto ARM
XC164 CPU- Chip Cortex A9
Basic system
Ethernet PHY
galvanic insulation
+5 V
I/O 8
I/O 1
I/O 8
2.7.1 SM-2551
Communication Circuits
2 serial interfaces · Interface characteristics, interface signals, modes of operation,
transmission rates
− see description of the respective protocol, "Modes of operation"
· Instead of the interface signal DSR the gate circuit voltage (+5 VDC)
can be provided (settable)
· Ability to be connected in parallel
− outgoing interface signals in tristate technology
− up to 2 interfaces can be connected in parallel
− circuits for incoming interface signals always active
· The signals are galvanically insulated from logic circuits
· Line lengths V.28
− 50 bps up to 25 m
− 115200 bps up to 5 m
Power supply
Operating voltage 4.75…5.25 VDC, typ. 300 mA, max. 540 mA @5 V
The voltage is supplied by the carrier module.
Gate circuit voltage · Voltage 4.7…5.6 VDC
+5VDC · Max. output current 150 mA at U > 4.75 V
instead of DSR · Max. output power 750 mW
· Max. idle voltage £ 5.6 VDC
· Not short-circuit proof
· Not overload proof
· Galvanically insulated from logic voltage
· The voltage (data circuit voltage) is supplied by the carrier module
(galvanically insulated)
Mechanics
Dimensions 227.3 x 63.5 mm
Weight Approx. 200 g
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
25
Protocol Element SM-x551/GACMA0
2.7.2 SM-0551
Communication Circuits
1 serial interface · Interface characteristics, interface signals, modes of operation,
transmission rates
− see description of the respective protocol, "Modes of operation"
· Instead of the interface signal DSR the gate circuit voltage (+5 VDC)
can be provided (settable)
· Ability to be connected in parallel
− outgoing interface signals in tristate technology
− up to 2 interfaces can be connected in parallel
− circuits for incoming interface signals always active
· The signals are galvanically insulated from logic circuits
· Line lengths V.28
− 50 bps up to 25 m
− 115200 bps up to 5 m
Power supply
Operating voltage 4.75…5.25 VDC, typ. 25 mA, max. 50 mA @5 V
3.14…3.47 VDC, typ. 150 mA, max. 330 mA @3.3 V
The voltage is supplied by the carrier module.
Gate circuit voltage · Voltage 4.7…5.6 VDC
+5 VDC · Max. output current 150 mA at U > 4.75 V
instead of DSR · Max. output power 750 mW
· Max. idle voltage £ 5.6 VDC
· Not short-circuit proof
· Not overload proof
· Galvanically insulated from logic voltage
· The voltage (data circuit voltage) is supplied by the carrier module
(galvanically insulated)
Mechanics
Dimensions 56 x 43 x 5.5 mm
Weight Approx. 15 g
The protocol element SM-x551/GACMA0 has neither a front panel nor LEDs to display status
and functions.
It use the LEDs of the master control unit or communication elements. The meaning of these
LED displays is described in the manual of the concerning system element.
CP-2016 CP-2019
CP-2016 CP-2019
SIM SIM
LEDs for local PRE LEDs for local PRE
LEDs for SIM LEDs for SIM
SIM0
SM-0551
SIM0
SIM1
Communication element CP-2017
(symbolic illustration)
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
27
RES
LOC
RY
703 ACP CP-6014
SI0
SI1
SI2
SI3
CPY
ERx RX TX
/ LK
/ LK
X1
COM
/PK
/PK
ER
RELEAS E
PUSH TO
M
6
28
SM-2551
Protocol Element SM-x551/GACMA0
X2 PUSH TO
RELEASE
TB X3
Master Control Module
NC X6 SICAM
CP-6014 (symbolic illustration)
M-PRE/2
SI2 (FB) X9
M-PRE/3
SI3 X10
FB X4
X11
X12
PUSH TO UNLOCK
ERx R X TX
LOC
SI0
SI1
/PK /LK
1
SI2
2
WD
SI3
/PK /LK
3
ER
4
X5 COM
CPY
5
RY
X15
6
ER
RES
PWR
24-60VDC
PUSH TO
REL EASE
X13 X14 X16 X1
LEDs for SIM0 and SIM1
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
29
3 System Components
Contents
3.1 Hardware
Designation Item-Number/MLFB
SM-2551 Serial Interface Processor BC2-551
2 serial interfaces 6MF10130CF510AA0
3.2 Firmware
Designation Item-Number/MLFB
GACMA0: GEC-Alstom SC0-595-1
Courier Master protocol
TU GACMA0 TB II-Update SC0-595-1.XX/53
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
31
System Components
3.3 Accessories
Designation Item-Number/MLFB
CM-2860 Patch Plug Standard V.28, CA2-860
ET, TR 6MF12110CJ600AA0
Note:
Not required for SICAM AK 3
GEC-Alstom KITZ101 http://www.gegridsolutions.com/
… for desktop use
Note:
- KITZ101, KITZ102 has identical
functionality.
Symbol photo
Contents
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
33
Protocol Description
4.1 Overview
The GEC Alstom Courier protocol is a vendor specific communication platform featuring a
broad spectrum of possible usage in manufacturing and process automation.
The Courier communication language has been developed to provide generic control,
monitoring , data extraction and setting changes on remote devices (primarily protection
relays) within the substation environment.
SICAM AK
At base there is the K-Bus communication standard which defines the physical layer and the
data link layer. The physical layer is based on a RS485 interface at a typical transmission rate
of 64kbit/s. The data link layer defines the logical information containing media access and
logical link addressing.
K-Bus messages are transmitted as frames. A K-Bus frame is based upon the ISO High Level
Data Link Control (HDLC) protocol.
For an easier and wider range of third party products interfacing to these K-Bus devices an
additional protocol based on the IEC870 communication standard has been founded.
The physical layer is a RS232 interface with half duplex asynchronous transmission and
transmission rates of 1200, 2400, 4800, 9600 or 19200 bit/s.
Information field:
If the IEC870 communication standard is used then a gateway KITZ102 is required. This
gateway is used to convert the messages of the IEC870 format into the K-Bus format.
The KITZ101/KITZ102 are required to convert the common used RS232 interface with the
IEC870 telecommunication format into the K-Bus hardware interface and the media format.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
35
Protocol Description
KITZ101 KITZ102
(symbol picture)
KITZ101 The KITZ 101 and KITZ 102 interface units provide protocol for desktop use
conversion for the Courier protocol from the K-Bus physical
connection and format to EIA (RS) 232 physical connection
and IEC870 FT1.2 format.
This allows either a PC/RTU/Bay controller running Courier
Master software to access the IED data.
KITZ101 … for desktop use
KITZ102 … for rear panel mounting
Note:
- KITZ101, KITZ102 has identical functionality.
This chapter gives a brief description of the Courier protocol, the message structure,
communication procedures, data retrieval and data types. All information regarding to the
IEC870 standard of the Courier protocol. The K-Bus definitions are not part of this document.
The Courier Protocol in the master control unit is divided into 6 distinct layers. An application
request formatted into a Courier message is passed into layer 6 of the protocol. This will use
the lower layers of the protocol to transmit the message and receive the response, which will
be returned from this layer back to the application.
A logical connection is made to the slave device by layer 3 issuing a “Reset Remote Link”
command. Layer 3 identifies that the slave device is present at that address and makes this
communication status available to the application.
A Courier request is then made by the application. Layer 1 retries the request and obtains a
response. Layer 4 detects that this is a busy response and issues a “Poll Buffer” request,
which again layer 1 has to retry before it receives a response to the initial request.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
37
Protocol Description
Layer 6 detects that an event has taken place in the slave device. It therefore issues a “Send
Event” command. The slave device returns the event straight away and again layer 5
performs any time synchronisation required. Layer 6 then issues the “Accept Event” command
and the slave device returns “OK”. The event is stored for use by the application. Layer 6
finally returns the slave device’s response to the initial application request.
The Courier Protocol in the slave device is divided into 5 distinct layers and works in the
reverse manner to the protocol layers in the master control unit. A request message is
received by layer 1 of the protocol and successively passed up through the layers to the
application. This may then respond by returning a Courier response message to layer 5 which
is then passed back through the layers to the communication network.
A “Reset Remote Link” command is received which layer 2 intercepts and returns a
confirmation.
A Courier request is then received which is passed to the application layer. Layer 5 does not
receive a response from the application within 5ms time out period and so it returns a “Busy
Response” to the network.
The busy response prompts a “Poll Buffer” command which is handled by layer 5. By this time
the application has returned a response, so this is returned as the reply to the “Poll Buffer”
command with the current status byte (otherwise another “Busy Response” would have been
returned).
Because the event bit is set in the previous response, the master control unit then issues a
“Send Event” command. The application returns the event response. This is acknowledged
with an “Accept Event” command which clears the event flag (as there are no more events)
and the application returns an OK reply code.
In all responses the status byte is added at layer 5, the time is added at layer 4 and the IEC
control byte is added at layer 2.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
39
Protocol Description
Two of the columns within the database (column 0x00 and 0xBF) are predefined to access
data common to all devices.
The database consists of 3 different types of cell, each one being a superset of the previous,
as in the figure above. The three cell types are heading cells, data cells and setting/control
cells.
Heading cells simply contain a piece of descriptive text. These are used throughout the
database as place markers to split the database into different areas. The most common
heading cells are the database column heading cells which are used to describe the contents
of a column.
Data cells contain a piece of text to describe their contents and a value which may be read.
Intrinsic in this value is a data type which instructs the master control unit how the data is to
be processed. The descriptive text for these cells will also contain some formatting control
codes which locate and format how the data will be presented. It is the responsibility of the
remote master control unit to extract the text and data value separately and combine them into
a displayable form.
Setting cells are data cells which have text and a data value, but they also allow the data
value to be changed. To do this generically, the menu cell contains the setting limits for the
data value which specify the setting range and step size. These can be extracted from the
slave device using a communication command. There is also a command to send the new
value back to the slave device after is has been altered remotely.
Control cells are the same as setting cells except the action of setting particular values causes
the slave device to perform functions (e.g. relay outputs).
Individual cells are grouped together into columns of related information such as particular
settings, measurements, fault records etc. The cell in the first row if each column is a heading
cell which describes the contents of the column. This organization is invariant across all slave
devices. Thus, the contents of any slave device can be read in the same way. First the column
headings are extracted and presented to the user as a menu. Individual cells may then be
selected for further operation. Typically this could be change of setting, assignment to a
measurement value on a mimic display, log to disc or real time graphing.
In practice it is found that all slave devices contain a certain amount of common information.
This includes the device type, model number and serial number, its location, communications
address, etc. This information is generally required by the master control unit when the slave
device is first detected.
This common information is stored in two predefined columns of the database: column 0x00 –
System Data Column and column 0xBF – Communication System Data Column. The format
of these columns is fixed and allows common information to be extracted in the same way as
all other data using the standard generic set of Courier commands, rather than providing
special commands.
The Courier protocol is based on a master slave communication. The slave is waiting for a
request by the master and sends a response containing the requested information. The slave
is not allowed to initiate a communication by sending data without a preceding request from
the master.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
41
Protocol Description
A slave device must reply to a request within a response time of 5 milliseconds. If a slave
device cannot generate the correct reply within the response time, it will send an empty BUSY
message as a reply, thus allowing the master control unit to use the bus again.
A Courier transaction therefore consist of a request message from a master control unit and
its associated response message from a slave device. There are several types of Courier
transaction each determined by the type of response that is returned.
Simple transaction:
A simple transaction occurs when a single request message containing a single request
command results in a response containing a single packet if information which fits into the
response frame.
Grouped transaction:
A grouped transaction occurs when a single request message containing a single request
command results in a response containing multiple packets of information which fit into the
response frame. The multiple packets associated with the request are grouped together into a
larger packet so that they can be identified as a single response entity.
Multiple transaction:
A multiple transaction occurs if a request message contains multiple request commands which
would therefore result in multiple responses. This is not supported by the GACMA0 firmware.
Blocked transaction:
A blocked transaction occurs when a single request message containing a single request
command results in a response containing multiple packets of information which cannot fit into
a single message. The packets are grouped into blocks such that each block fits into a
response frame. The nature of the response is indicated in the first response message from
the slave device. The master control unit will then request each subsequent block in the
transaction until all blocks have been transferred. Each block will contain multiple packets,
most probably grouped into larger packets.
The message structure for the IEC870 part looks like this.
The control byte is 1 octet long and contains information about message direction, initiator of
the message transmission, errors and data flow control and function.
7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
3 2 1 0
PRM 2 2 2 2 Primary Station to Secondary Station
Res =1
FCB FCV
Function Code (MASTERð SLAVE)
7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
3 2 1 0
PRM 2 2 2 2 SecondaryStation to Primary Station
Res =0
=0 DFC
Function Code (SLAVE ð MASTER)
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
43
Protocol Description
Function Codes of the Control Field in Messages of the master device (PRM=1)
FC Response Function
Frame Type Service Function FCV Codes permitted
Bit from Secondary
0 SEND-CONFIRM expected Reset Of Remote Link 0 0 (confirm)
4 SEND-NO REPLY expected Deliver application data, 0 no response
no confirmation requested
11 REQUEST-RESPOND expect. Request class 2 data - 8 (user data)
Function Codes of the Control Field in Messages of the slave device (PRM=0)
FC Frame Type Service Function
0 CONFIRM ACK … Positive Acknowledgement
8 RESPOND User data
The address contains the unit address of the slave device and the network address followed
by a 0 byte terminator. The network address is used to identify subservient units in a multi-tier
hierarchical system. Since multi level addressing is not supported by this firmware this field
only contains the unit address of the slave and the zero terminator.
The user data field contains at least one data packet, the command code and if necessary
the command data.
The user data field always contains the reply control field and is followed by one or more data
packets which contain the requested information.
The data field is composed of a sequence of data packets. These exist in several formats to
achieve a trade-off between packet length and flexibility. The data packets ensure that data
can be identified, interpreted and analyzed easily.
The reply control field is only present in messages transmitted to the master control unit as it
indicates various items of status information about the slave device. It consists of one or more
Courier data packets terminated with a data packet of type 0x5D, indicating the Courier status
byte.
The first packet is an optional time tag, which is used for the time-alignment of events within
different relays. Optionally a data packet containing IEC870 time and data can be inserted by
a protocol converter. The last packet is always present and contains the status information of
the slave device
Each data packet consists of 2 fields: a data type & length (DTL) field and a data field. A DTL
field contains information about the type and length of the data field so that it may be
interpreted correctly without any prior knowledge.
The DTL field is usually encoded into 1 byte, where the type is coded into the 6 highest bits
and the length is coded into the 2 lowest bits.
Besides the data types which include the regarding information there are some data types that
contain additional information. The following chapters give a brief description of these
extended type codes.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
45
Protocol Description
The following table shows all currently used data type codes and its variants depending on the
length.
DTL code
GACMA0
Length Data Type Valid length
next 1 2 3
byte byte byte byte
00 01 02 03 Extended data type code Arbitrary -
04 05 06 07 Command 1,2 or 3 ü
08 09 0A 0B Group identifier 2 ü
0C 0D 0E 0F Block header Arbitrary, typically 1 ü
10 11 12 13 Block footer Arbitrary, typically 1 ü
14 15 16 17 Block identifier 1 ü
18 19 1A 1B ASCII text Arbitrary -
1C 1D 1E 1F ASCII password Arbitrary -
20 21 22 23 Binary flags 1 to 4 ü
24 25 26 27 Unsigned integer 1, 2 or 4 ü
28 29 2A 2B Signed integer 1, 2 or 4 ü
2C 2D 2E 2F Courier number 4 or 6 ü
30 31 32 33 reserved -
34 35 36 37 IEEE floating point number 4 ü
38 39 3A 3B Millisecond timer count 4 ü
3C 3D 3E 3F IEC870 time and date 7 ü
40 41 42 43 Keycode Arbitrary -
44 45 46 47 Menu location 2 ü
48 49 4A 4B Reply codes 1 ü
4C 4D 4E 4F Cursor position and type 3 -
50 51 52 53 String index 1 to 2 -
54 55 56 57 Numeric index 2 -
58 59 5A 5B Block transfer cell 1 -
5C 5D 5E 5F Status byte 1 ü
60 61 62 63 IEC870 control byte 1 -
64 65 66 67 Foreign data Arbitrary -
68 69 6A 6B Modem control strings Arbitrary -
6C ...... ....... FF Reserved -
A group identifier is a special data packet which precedes a group of several data packets
which are the response to a single request in order to group them together. A group identifier
packet has a data field of 2 bytes. The first byte represents the DTL code and the second byte
of the data field is the total length of the following data packets in the group.
Since the length information is known the firmware GACMA0 can skip unsupported packets
and continues with the next data packet.
GACMA0
Group type description
The block information contains 3 different data types. These are Block Header, Block Footer
and Block Identifier.
A Block Header appears as the only data packet in a reply message user data field which
initiates a blocked transaction. The data field is an unsigned integer which informs the master
control unit how many blocks are going to be sent in the transaction. If the number of blocks is
set to zero, the number of blocks that will be sent is unknown.
A Block Footer packet appears as the only data packet in a reply message at the end of a
blocked transaction. The data field contains an unsigned integer indicating the total number of
blocks transferred in the transaction which are compared with the actual number of blocks
received.
A Block Identifier packet appears at the beginning of each blocked transaction message that
appears between a block footer and a block header message. The data field is a single byte
unsigned integer which indicates the sequence number of the block. It start at 0 and wrap
around to zero after the value 255. The blocks must be sent in sequence.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
47
Protocol Description
The Courier numeric type was created to allow a large dynamic range of numbers to be
displayed with four significant digits, a variable decimal point location and an inherent unit type
prefixed with a scalar multiplier.
7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
M7 M6 M5 M4 M3 M2 M1 M0 Mantissa 0 – 9999
M7 M6 M5 M4 M3 M2 M1 M0 Exponent
U7 U6 U5 U4 U3 U2 U1 U0 Units
Mantissa:
The mantissa is stored as a 15 bit binary unsigned integer in the range 0 to +9999 and a
separate sign bit in the highest bit. The mantissa is normally in the range 1000 to 9999, thus
providing 4 significant digits. Less digits are displayed for mantissas less than 1000. For
example, the following values are equivalent, but are displayed differently:
Units:
Exponent:
The exponent is stored in the third byte and indicates the power of 10 that the mantissa
should be raised to. This is an unsigned byte with an inherent offset of 126 and can therefore
express decimal exponents from 10-126 to 10+129. However this is restricted by the Courier
protocol definition to the range 10-18 to 10+18. Possible values are in the range of 1 * 10-18 to
9999 * 10+21.
Note that the scalar is shifted by 103 since the mantissa is normalized in the range 1000 –
9999 to provide 4 significant digits and therefore 1000 * 100 A = 1.000 * 103 A = 1.000 kA.
Hint
Please note that the Courier Protocol is using a SI-prefix to keep the original 4 digits, but change the
3
scalar if needed. For example: 2345 * 10 W = 2.345 MW. This cannot be applied to the firmware
GACMA0 because it converts without any SI-prefix (scalar). That’s why the firmware GACMA0 cannot
-18 +21
completely convert the whole possible range 1 * 10 to 9999 * 10 . The possible range for TI=36 (short
-10 +10
floating point) goes from 1 * 10 to 9999 * 10 including a possible loss of precision at both ends of the
scale. That’s why the usage of proper adaption parameters (x0, x100 à y0, y100) is necessary this case.
The Courier Numeric Type may also be used to provide for 9 significant digits. This is
achieved by extending the mantissa field to 4 bytes whilst maintaining the sign bit in the
highest bit position of this field. The maximum value of the mantissa will therefore be
999’999’999.
7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
M7 M6 M5 M4 M3 M2 M1 M0
S M30 M29 M28 M27 M26 M25 M24 S = sign bit, 1 = negative
M7 M6 M5 M4 M3 M2 M1 M0 Exponent
U7 U6 U5 U4 U3 U2 U1 U0 Units
The menu is of the same format for all relays. This takes the form of a table with each cell
being addressed by its column and row number. Each menu cell is identified by a two byte
word, with the highest byte identifying the column and the lowest byte the row. This means a
range of 0x00, 0x00 (column, row) to 0xFF, 0xFF (column, row) of total 65535 cells.
Only cells in selected columns between 0x00 to 0x7F are accessible to the user via the user
interface (keypad and display on the front of the relay). Cells located in columns 0x80 to 0xBF
are reserved for remote control functions and as such are only accessible by a master control
unit over the communication link. Columns 0xC0 to 0xFF are reserved for slave device
configuration and calibration data and can only be accessed via the communication port after
an appropriate command has been executed.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
49
Protocol Description
The following table indicates the symbolic name by which the reply codes are referred to. The
column IDR represents logged information that can be read out with ST-Emulation (command
IDR) including the request that caused the reply code.
The status byte is a single binary flag type value. This data type is used to signify the end of
communication header and the start of the user data field. It is present in all slave device
responses except the reply to “Reset Remote Link” command which simply returns the
IEC870 control byte.
The status byte consists of 8 flags to indicate various items of status information in the slave
device.
7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
1) 1) 1) 1)
TRIP ALARM EVENT OOS BUSY CONTROL PLANT DIST
TRIP flag:
The trip flag is used to indicate the state of the trip LED on the front of the slave device. It is
used for annunciation purposes on mimic diagrams to indicate trip states and for mimicking a
slave device’s display when using the Local Display Unit (LDU). The clearance of this flag is
application dependent, although the Reset Trip Indication command would normally reset this
flag provided the trip condition does not still exist. It can be automatically reset by the slave
device or by the master control unit via communication line. This command is not supported
by the firmware GACMA0.
ALARM flag:
The alarm flag is used to indicate that state of the alarm LED on the front of the slave device.
It is used for annunciation purposes on mimic diagrams to indicate alarm states and for
mimicking a slave device’s display when using the LDU. The clearance of this bit is application
dependent.
Event flag:
The event flag is set whenever a slave device contains at least one event record. The master
control unit should extract all events from a relay as a high priority whenever it sees this flag
set.
OOS flag:
The Out Of Service flag is set whenever the slave device is out of service due to a detected
error, an appropriate control command, test condition or if the slave device has been put into
calibration or configuration mode. This flag indicates that the protection is not running.
Busy flag:
The busy flag is set when the relay has not had sufficient time to form the reply to the previous
request within the time-out period. The master control unit will poll the relay with the
“POLL_STATUS” or “POLL_BUFFER” command when this flag is set, until the flag is reset,
which indicates that the reply is now available. The reply can be extracted using the
“POLL_BUFFER” command. When this flag is set, all other status flags and timer count
values in the message should be ignored since the busy response message may have been
returned from an intermediate device in a hierarchical system.
CONTROL flag:
The control flag indicates that a binary word in the slave device called the “Control Status
Word” has changed its value. The master control unit should then read the value of this word
as a normal “Get Value” request from the appropriate cell in the “System Data Column” of the
slave device’s menu, the action of which will reset this flag.
PLANT flag:
The plant flag indicates that a binary word in the slave device called the “Plant Status Word”
has changed its value. The master control unit should then read the value of this word as a
normal “Get Value” request from the appropriate cell in the “System Data Column” of the slave
device’s menu, the action of which will reset this flag.
DIST flag:
Slave devices which contain a disturbance or wave form recorder will set this flag to indicate
that they have a disturbance record ready to be extracted. Once extracted, the clearing of this
flag is implementation dependent. It is usually performed by starting the recorder capturing
data again.
1)
These flags can be converted into single binary indication by using these addresses:
- Station number of the slave device
- column = 0
- row = 0
- bit number = corresponding bit number of the status byte (for example 7 = TRIP status)
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
51
Protocol Description
The protocol element in SICAM RTUs for Courier Master is protocol element the is based on a
serial communication link. The protocol element is sending out a request which the slave
device has to respond, except messages that don’t need a response, e.g. broadcast
messages.
Station specific parameters of the connected PROFIBUS-DP Slaves must be set in the
parameters for station definition in the protocol element of Courier Protocol Master.
The following parameters can be set per station (for each Slave):
Every time a connection to a Courier slave device got established or re established after
communication failure the protocol element does some requests to update the internal
database for the regarding Courier slave device. It takes several time to finish this update
process.
With this copy of the slave device database within the protocol element it is now possible for
the GACMA0 firmware to manage the data exchange between the master and the slave
device. It is also needed for the knowledge of all possible data that can be extracted from the
slave device if no specified information about the slave database is available. Therefore it can
be used for parameterization of the data exchange in the OPM.
Using the command “IDD” on the service terminal (ST-Emulation) shows all these information.
The following picture give a short example of this information.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
53
Protocol Description
The data exchange between master control unit and slave device is controlled by the protocol
element. Request-/response services are used for the initialization and data exchange from/to
the slave device.
The input data from the slave devices are read cyclic by the protocol element. Every request
from the master contains only one data cell according to the process technical parameters
(detailed routing record) in the OPM. The data containing in the response from the slave
device are converted into the internal data format and if there was a change they will be
forwarded into the system to transport them further e.g. to a HMI.
Other as static data the request for event data can be done cyclic by using the parameter
GACMA0 à advanced parameters à common Courier settings à cycle time for
event inquiry (0 to 250 seconds) or the slave device informs the master that events
are pending by setting the “event flag” to 1 in the slave device status byte.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
55
Protocol Description
The general interrogation function (RTU interrogation) is used for updating the master station
after startup, redundancy switchover or after communication error.
Please refer to chapter 4.3.2 Data Exchange Start Up Procedure where it is already
described.
Hint
Please note that this procedure takes up to 1 minute for every slave. The cyclic or event data exchange
even if a different slave device is addressed can only start if this procedure is finished.
The data exchange between the protocol element and slave device will be done cyclic. The
data communication from/to slave device is monitored by the protocol element. Each request
must be answered by a response sent from the slave device during response timeout.
In case of communication failure (response timeout), the slave device will be reported as
failed.
The response timeout can be set on the protocol element with the system technical parameter
GACMA0 | advanced parameters | monitoring times |
expected_ack_time_corr_factor within the range of 0,01 to 655,35 seconds.
One of the important functions of existing SCADA Systems is sequence of event recording.
This gives the System engineer valuable insight into the order In which events on the system
occur. The typical accuracy of existing Systems ranges from +10ms to ± 1ms. This function is
currently carried out by the RTU's of the SCADA system which monitor System events using
digital inputs. These events are generally time tagged using a system synchronizing pulse
distributed around the communication network. Often of more importance than the absolute
time of an event is its time relative to other events across the system.
Two possible methods of time tagging are provided in the Courier Protocol. The first allows
each slave device to have its own real time clock synchronized to the rest of the system. Time
tagged events are logged by recording this time in lEC time & date format and transmitting this
Information with the event. However, using multiple real time clocks can be expensive and
requires them all to be synchronized externally.
An alternative method of time Synchronisation has been devised which removes the need for
separate clock Synchronisation wiring. Rather than trying to synchronize the clocks within
each individual slave device, the clocks are allowed to free run. Events within each slave
device are time tagged relative to the internal free running clock. This is derived from the
microprocessors clock and resolutions of ±1 ms are easily obtained.
Clearly when these event records are transmitted to the master control unit, events from
different slave devices will be out of step. This problem is solved by also transmitting the
current value of the slave device's clock. This is compared with the master control units clock
and the difference used to calculate the actual time of the event.
The time Synchronisation process generally produces a real time value adjusted by an offset
for each slave device, which when added to a time tag in the Courier response message,
converts the relative time to a time synchronized real time value. This offset real time value is
calculated in layers 1 and 5 of the master control unit and passed to the application by a
separate path so that it can be used when required.
- Master to slave command “Enter setting mode” for the designated menu cell
- Slave to master response “Setting limits group” with current value, minimum and
maximum range and step value
- Master to slave command “Preload value” at the designated menu cell with the new value
- Slave to master echoes the new setting request
- Master to slave command “Execute setting”
- Slave to master response with reply code Ok
If there is a reply code from the slave different to Ok during the complete command procedure
then the master will abort it immediately by sending the command “abort setting”.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
57
Protocol Description
The operating mode of the interface with redundancy state "PASSIVE" can be set according
to the redundancy configuration with the parameter GACMA0 | Redundancy | operation
if passive as follows:
From the redundant, not active master / remote terminal unit, listened messages are passed
on to the basic system element (BSE) and forwarded by this in the system with the identifier
"passive" in the state.
In redundant master / remote terminal units that are not active, a failure of the interface is
monitored globally.
The failure of the interface is detected by the STANDBY station by monitoring for cyclic
message reception. The monitoring time is set with the parameter GACMA0 | Redundancy |
listening_mode (failure monitoring time). The monitoring time is retriggered with a
message received free of errors (except REQUEST STATUS OF LINK, RESET OF REMOTE
LINK and positive acknowledgment message using single character E5H).
On receive timeout (active master / remote terminal unit or transmission facility has failed) the
interface is signaled as failed.
The failure of the interface is reset in redundant STANDBY stations, if an error-free message
from the respective remote station is "listened" or if no failure monitoring is parameterized.
PRE control message for controlling the protocol mode will be accepted only in redundancy
mode "passive".
The actual state of the interface and the protocol mode (activated/deactivated) will be sent
from protocol element to basis system element spontaneous after change of event and during
general interrogation.
No general interrogation command will be initiated by the protocol element firmware after
activation of the interface.
Note:
- the operating mode of the interface will be updated always by the AU internal protocol
element control message (redundancy control message has higher priority than PRE control
message).
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
59
Protocol Description
This function is used for the user-specific influencing of the functions of the protocol elements.
Block Diagram
Internal distribution for messages with process information
Protocol element
control
Internal
Transmission route
function
Protocol element
return information Protocol element
With the help of messages with process information, the protocol element control on the basic
system element enables specific functions of the protocol elements to be controlled.
The assignment of the messages with process information to the functions is carried out with the
help of process-technical parameters of the SICAM RTUs system data protocol element control
message.
The messages for protocol control are transmitted immediately from the basic system element
to the protocol element, regardless of the user data to be sent and the priority control.
For messages with process information which are used in SICAM RTUs as protocol element control
message, an unused CASDU is to be used! All CASDU´s for process information are distributed
automatically to the corresponding remote terminal unit.
Possible functions:
Parameter
Function **) SF Station Z-Par Fl Note
This function is processed on the BSE and
sent to the protocol element as system
Send (general) interrogation
244 - CASDU message and not using PRE-control
command
message!
CASDU = selective
Legend:
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
61
Protocol Description
The protocol element return information generates on the basic system element messages
with process information in monitor direction and thereby enables states of the protocol
elements to be displayed and processed.
· Station failure
The assignment of the messages with process information to the return information is carried
out on the basic system element with the help of process-technical parameters of the SICAM
RTUs system data protocol element return information.
From which source the parameterized return information are to be generated, is set with the
parameters "Supplementary system element" and "Station number".
Messages for protocol element return information are transmitted to the basic system element
by the protocol element spontaneously with change or as response to a general interrogation
command.
Legend:
Contents
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
63
Message Conversion
5.1 Overview
Data in transmit direction are transferred from the basic system element to the protocol
element in the SICAM RTUs internal IEC 60870-5-101-/104 format. The conversion of the
data format from IEC60870-5-101/-104 à Courier protocol slave device is done by the
protocol element. The transmission of the data to the slave device is done spontaneously.
Data in receive direction will be read cyclic or getting received spontaneously by the protocol
element from the slave device and then converted by the protocol element from the Courier
format to the SICAM RTUs internal IEC 60870-5-101/104 format and transferred to the basic
system element.
The conversion of the message formats SICAM RTUs « Courier protocol formats and the
conversion of the address information is called message conversion.
The parameterization for the conversion of the address information from IEC 60870-5-101/104
ó Courier protocol is to be done with TOOLBOX II (OPM) using "SIP Message Address
Conversion". The parameterization for the conversion of the address information includes also
mapping Courier data type ó IEC 60870-5-101/104 type identification.
GACMA0
Data Direction Category
Indications Receive Direction firmware /Rec_binary_information ü
Measured Receive Direction firmware /Rec_measured_value ü
values
Counters Receive Direction firmware /Rec_counter_value ü
Commands Transmit Direction firmware / Trans_command ü
Setpoint Transmit Direction firmware / Trans_setpoint_command ü
Values
Parameter
Lk_Reg Link Region Number
… data point assigned to automation unit (AU) with selected region number.
Lk_Comp Link Component Number
… data point assigned to automation unit (AU) with selected component
number.
Lk_BSE Link BSE
… data point assigned to BSE (basic system element) in
selected automation unit (AU).
Lk_SSE Link SSE
… data point assigned to selected SSE of selected BSE
in selected automation unit (AU).
Lk_Cat Link Category
Lk_Prep Link Prepared:
Data point:
- prepared … Signal will not be converted/loaded into destination system
- activated … Signal is activated and will be converted/loaded into destination
system.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
65
Message Conversion
5.2.1 Commands
The parameterization of the address and message conversion for commands in transmit
direction is to be done with TOOLBOX II / OPM with the parameter category firmware /
Trans_command.
Parameter Category:
firmware /Trans_command
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
67
Message Conversion
Parameter
TI .. type identification Supported Type Identifications:
· <TI:=45> .. single command
· <TI:=46> .. double command
CASDU, IOA SICAM RTUs internal IEC608705-101/-104 message address
TERM-CASDU, TERM-IOA Address of the binary indication (single/double) which feedback can
be used for the Termination of the command
Link_address(GACMA0) Courier address of the slave device:
· 1-254
Column_number Column number of the menu cell in the database:
· 0-255
Row_number Row number of the menu cell in the database:
· 0-255
Bit_index Bit index that has to be changed in the array of up to 32 bits of this
menu cell:
· 0 – 31 [single command]
· 0 – 30 [double command]
· 255 à the menu cell only contains one data point to change
Format Command
Binary array Settings via command procedure ü ü
Command Settings via direct command code ü
code
Indexed Circuit Breaker Control ü ü
String
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
69
Message Conversion
Message Conversion
The table describes the evaluated elements of the IEC 60870-5-101/104 message during
message conversion.
The parameterization of the address and message conversion for measured values/setpoint
values in transmit direction is to be done with TOOLBOX II / OPM with the parameter category
firmware / Trans_setpoint_command.
Parameter Category:
firmware /Trans_setpoint_command
Hint
Please note that setpoint commands currently are not implemented. The documentation and the process
technical parameters right now serve only documentation purposes and are reserved for future use.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
71
Message Conversion
Parameter
TI .. type identification Supported Type Identifications:
· <TI:=48> .. set-point command normalized value
· <TI:=49> .. set-point command, scaled value
· <TI:=50> .. set-point command, short floating point number
CASDU, IOA SICAM RTUs internal IEC608705-101/-104 message address
Link_address(GACMA0) Courier address of the slave device:
· 1-254
Column_number Column number of the menu cell in the database:
· 0-255
Row_number Row number of the menu cell in the database:
· 0-255
X_0%, X_100% Parameters for value adaption: (scaling)
Y_0%, Y_100% Note:
- <TI:=34, 48> .. X_0% and X_100% must not be greater or smaller than ± 1.
- <TI:=35, 49> .. X_0% and X_100% must not be smaller than - 32768 and not greater than
+32767.
- value adaption inactive when X_0% and X_100 = 0
Format Command
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
73
Message Conversion
Value Adaption:
The adaption is defined by the parameters X_0%, X_100%, Y_0%, Y_100%.
X0
X100
COURIER value
Y0
The value adaption is only enabled if X_0% or X_100% is parameterized <> “0“.
Notes:
- If value adaption is enabled and if SICAM RTUs raw value is less than X_0% or greater then
X_100% no conversion is performed and the error “format conversion in transmit direction” is
set.
- If value adaption is disabled (=direct forwarding) and if SICAM RTUs raw value is outside of
the selected Courier data range of value no conversion is performed and the error “format
conversion in transmit direction” is set.
Message Conversion
The table describes the evaluated elements of the IEC 60870-5-101/104 message during
message conversion.
S .. sign
QOS S/E [<TI:=48, 49, 50> only]
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
75
Message Conversion
<TI=34> Measured value, normalized value Signed Integer, Unsigned Integer, Courier
with time tag CP56Time2a Number, Short Floating Point
<TI=35> Measured value, scaled value Signed Integer, Unsigned Integer, Courier
with time tag CP56Time2a Number, Short Floating Point
<TI=36> Measured value, short floating point Signed Integer, Unsigned Integer, Courier
value with time tag CP56Time2a Number, Short Floating Point
5.3.1 Indications
The parameterization of the address and message conversion for indications in receive
direction is to be done with TOOLBOX II / OPM with the parameter category firmware /
Rec_binary_information.
Parameter Category:
firmware /Rec_binary_information
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
77
Message Conversion
Parameter
TI .. type identification Supported Type Identifications:
· <TI:=30> .. single point information with time tag CP56Time2a
· <TI:=31> .. single point information with time tag CP56Time2a
CASDU, IOA SICAM RTUs internal IEC608705-101/-104 message address
Link_address(GACMA0) Courier address of the slave device:
· 1-254
Column_number Column number of the menu cell in the database:
· 0-255
Row_number Row number of the menu cell in the database:
· 0-255
Bit_index Bit index that has to be converted in an array of up to 32 binary flags
of this menu cell:
· 0 – 31 [single point information]
· 0 – 30 [double point information]
· 255 à the menu cell only contains one data point
TI_binary_information Conversion related to the Type Identification:
· Single point information [single point information]
· Single point information inverted [single point information]
· Double point information OFF before ON [double point information]
· Double point information ON before OFF [double point information]
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
79
Message Conversion
Message Conversion
The table describes the evaluated elements of the IEC 60870-5-101/104 message during
message conversion.
The parameterization of the address and message conversion for measured values in receive
direction is to be done with TOOLBOX II / OPM with the parameter category firmware /
Rec_measured_value.
Parameter Category:
firmware /REC_measured_value
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
81
Message Conversion
Parameter
TI .. type identification Supported Type Identifications:
· <TI:=33> .. bitstring of 32 bit with time tag CP56Time2a
· <TI:=34> .. measured value, normalized value
with time tag CP56Time2a
· <TI:=35> .. measured value, normalized value
with time tag CP56Time2a
· <TI:=36> .. measured value, normalized value
with time tag CP56Time2a
CASDU, IOA SICAM RTUs internal IEC608705-101/-104 message address
Link_address(GACMA0) Courier address of the slave device:
· 1-254
Column_number Column number of the menu cell in the database:
· 0-255
Row_number Row number of the menu cell in the database:
· 0-255
Type_of_request · Cyclic request/update
· Request only on GI
X_0%, X_100% Parameters for value adaption (scaling)
Y_0%, Y_100% Note:
- <TI:=34> .. Y_0% and Y_100% must not be greater or smaller than ± 1.
- <TI:=35> .. Y_0% and Y_100% must not be smaller than - 32768 and
not greater than +32767.
- value adaption inactive when X_0% and X_100 = 0
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
83
Message Conversion
Value Adaption:
The adaption is defined by the parameters X_0%, X_100%, Y_0%, Y_100%.
X0 X100
Courier value
IV
OV
The value adaption is only enabled if X_0% or X_100% is parameterized <> “0“.
Note:
- OV=”1” if value adaption is disabled (direct forwarding) and if Courier raw value is
outside of the value range specified for the selected IEC60870-5-101/-104 type identification.
Message Conversion
The table describes the evaluated elements of the IEC 60870-5-101/104 message during
message conversion.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
85
Message Conversion
The parameterization of the address and message conversion for integrated totals in receive
direction is to be done with TOOLBOX II / OPM with the parameter category firmware /
Rec_Counter_value.
Parameter Category:
firmware /REC_Counter_value
Parameter
TI .. type identification Supported Type Identifications:
· <TI:=37> .. integrated totals with time tag CP56Time2a
CASDU, IOA SICAM RTUs internal IEC608705-101/-104 message address
Link_address(GACMA0) Courier address of the slave device:
· 1-254
Column_number Column number of the menu cell in the database:
· 0-255
Row_number Row number of the menu cell in the database:
· 0-255
Type_of_request · Cyclic request/update
· Request only on GI
Transmit Definition for transmit integrated totals to BSE
(counter freeze and read):
· counter interrogation
· periodic forwarding: 1, 2, 3, 5, 10, 15, 30, 60 minute(s)
IEC-group Request Counter Group:
· Request counter group 1, 2, 3, 4
Overflow Overflow for integrated totals at:
· 24, 31 bit integer
· 2, 3, 4, 5, 6, 7, 8, 9 decades BCD
· transparent, no adaption
raw value type not evaluated
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
87
Message Conversion
Message Conversion
The table describes the evaluated elements of the IEC 60870-5-101/104 message during
message conversion.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
89
Message Conversion
This table describes the data point quality descriptor and the cause of transmission according
to IEC 60870-5-101/104.
Sometimes when no information are available about the database of the slave device for the
parameterization of the data conversion, it has to be read out directly from the slave device.
Therefore the firmware GACMA0 is able to show the database of the slave device.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
91
Message Conversion
This shows the complete database of a KMPC130 device. It contains the column number with
its description and the row numbers with the description of the data point. Additional the most
data points have a data type and if a physical unit is applicable it will be shown as well. The
actual value is only displayed if this data point is already parameterized in the detailed routing
table and got successfully requested by the master control unit.
For example, if the current of Phase A should be requested, than it can be found in
“MEASUREMENTS(1)” column number = 2 and row number = 1 “MS1 Ia”. The value has the
physical unit “A” (ampere). If not displayed there is no scalar or prefix like kilo or Mega.
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
93
Message Conversion
Documents on Interoperability
Ax 1703 Interoperability IEC 60870-5-101 or -104 DA0-046-2
SICAM RTUs Interoperability IEC 60870-5-101/104 DC0-013-2
International Standards
IEC 60870-5-101
Other
KITZ 101, 102 Interfaces
http://www.gegridsolutions.com/alstomenergy/grid/products-services/product-catalogue/electrical-grid-
new/digital-substation/substation-automation/agile-protection-relays/KITZ-101-102-interfaces/index.html
Siemens Industrial
SICAM RTUs, System Element Manual SM-x551/GACMA0
DC0-149-2.00, Edition 02.2017
95
Literature