Professional Documents
Culture Documents
GF SYS+BSE ACP (E)
GF SYS+BSE ACP (E)
Common Functions
System and
Basic System Elements
Version.Revision 1.02
ACP 1703
Table of Contents
1.1. Purpose
This manual describes the function and mode of operation of system element-overlapping services and
basic system elements, that are supported on the platform ACP 1703.
The document you are reading right now is addressed to users, who are in charge of the following
engineering tasks:
• Conceptual activities, as for example design and configuration
• System parameterization and system diagnostic, using the designated engineering tools
Above applies, as far as these tasks do not involve manipulations of the hardware.
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.
Instructions and regulations are also stated in installation manuals or manuals which
deal with hardware installation and other hardware manipulations.
In this document, reference is often made to important information, notifications and limitations. For
clarification, the following conventions are thereby adhered to.
technical term, phrase, or This syntax, for the purpose of easier readability, identifies a
function designation term (also consisting of several words), a phrase, or a function
designation
The following syntax identifies a parameter or a parameter group. The context in which the syntax is
used shows whether it refers to a parameter or to a parameter group.
<parameter> Parameter
Daylight saving time enabling
IEC_Enable
This document describes the standardized, parameter-settable function packages of the basic system
elements:
• System Services
─ Data Flow Control
─ Time Management
─ Diagnostic and Signaling
─ General Interrogation
─ Failure
─ Data Storage on Flash Card
─ Autonomy
─ Communication with the Engineering System (SAT TOOLBOX II)
─ Self-Test
─ Operating States
• Telecontrol
─ Communication Function
─ Protocol Element Control and Return Information
• Automation
─ Open-/Closed-Loop Control Function
─ Treatment for Commands to the Open-/Closed-Loop Control Function according to IEC
60870-5-101/104
In the corresponding system element data sheets and system element manuals of those system
elements that contain and carry out one or more of these functions,
Process signals
Peripheral element
Peripheral element
TM bus
Ax 1703 PE bus
Node bus
Internal distribution of messages with process information (data flow control)
Basic system element
Communi- Protocol
cation element
function control
SBD bus
Protocol Protocol
element element
Link
4. System Services
The data flow control is that system function which co-ordinates the communication of messages within
the automation unit.
For the tracking of messages within an automation unit the following test functions are available:
• Message Simulation
The distribution of messages with process information takes place by way of routing (telecontrol) or
assignment (open- / closed-loop control function) based on message address and type identification in
the message.
Messages with process information to be transmitted through protocol elements to other automation units
are distributed with the help of the Automatic Data Flow Routing.
For messages with process information for sinks within the automation unit, such as e.g. periphery
elements and the open-/closed-loop control function, the routing information or assignments are
automatically derived from parameters from OPM-inputs (datapoint address).
Predominantly used are message formats according to IEC 60870-5-101 / 104 in the public range with
the exception of user data containers.
These messages have a 5-stage message address, that must be parameterized at the sources. For a
third-party system coupling via a serial interface, the corresponding protocol element is the source.
The CASDU is determined for each data point with the help of the OPM II. Valid thereby:
The IOA is determined for each data point with the help of the OPM II. Valid thereby:
The distribution of messages with system information takes place with the help of the system-technical
destination address in the message by way of automatic routing within the automation unit.
The routing takes place with the help of the parameterized configuration- and topology information.
Within a system-technical plant each automation unit must be unambiguously addressed. Therefore a
system-technical plant may consist of up to 64.000 automation units.
For the data flow test there are test points available within the automation unit at defined places, for the
purpose of monitoring the message traffic. Thereby both messages with process information as well as
messages with system information can be tracked.
The messages acquired at the test points are stored on the master control unit in a FIFO (service ring).
These can be displayed with the help of the SAT TOOLBOX II.
Attention: Messages with larger data length (e.g. blocked messages) are not represented completely
with the display.
The service ring has a capacity of approx. 250 messages and can be operated in two modes:
• Wrap around
If the capacity is exceeded, the oldest message is overwritten with each new message. Once the
SAT TOOLBOX II begins reading the service ring, the further entry of messages is blocked.
Through variable filters (pass through- and blocking filters) the possibility exists of only having
messages displayed, which are relevant for the test. There are filters that act in the automation unit
before the entry in the service ring and filters in the SAT TOOLBOX II.
The test points and filters must be deleted again by means of operator input. I.e. the test points and
filters are not deleted only by terminating the tool.
Attention: An activated data flow test means, that the message flow through the automation unit can be
reduced to 50%. I.e. for automation units with a high data throughput, FIFO overflows can
thereby occur on the node bus. In further succession this can lead to system elements being
shut down. A possible remedy is, to set the previously mentioned filters in the automation
unit.
For the case, that the message traffic is to be tracked during startup of the automation unit, the following
behavior can be set via the menu item "Simultaneous logging startup":
This function enables messages to be passed into the data flow with the help of the SAT TOOLBOX II.
Both messages with process information as well as messages with system information can be simulated.
The simulated message is passed in and distributed at the master control unit of the selected
automation unit.
The overall concept assumes, that each automation unit and each system element, that has a time-
dependent function to fulfill, can manage a clock with corresponding accuracy and resolution. Each
automation unit has a central clock, the so-called time server.
The format of the clocks is structured in Year (2 digit) - Month - Day - Hour - Minute - Second - 1/1000
Second.
4.2.1. Clock
In normal operation (error-free operation) the clocks are set once after startup oft the automation unit
and then run completely autonomous without any further time setting mechanisms.
Only a Time Synchronization ensures, that all time servers in all automation units run synchronously.
All clocks within an automation unit are operated and synchronized by a central 10 ms-clock pulse, that
is generated by the time server of the automation unit with an accuracy of < 1 ms.
With a restart, all clocks start to run unsynchronized with the value 0 hours, i.e. until the first time setting
they have only a relative time, whereby this time is identified with "invalid".
• be synchronized by a serial time signal over the direct serial connection of a DCF77 or a GPS
time signal receiver.
• be synchronized by a minute pulse of a DCF77 or a GPS time signal receiver. The time can be
set via the communication (serial, LAN) by means of the synchronization command, or by
SAT TOOLBOX II.
The method of time synchronization is determined with the parameter Time management | Common
Settings | Synchronizing of the automation unit for each automation unit.
The accuracy of the clocks of an automation unit is dependent on the choice of method for the time
synchronization. With the remote synchronization this is also dependent on the protocol element and
the transmission medium.
3) The accuracy is dependent on the current operating state. The accuracy is 1 ms in the fault-free operation
(serial time signals). At failure of the serial time signal the accuracy is dependent on the communication
connection (see remark to remote synchronization or NTP).
4.2.2.1. Time Synchronization with Serial Time Signal and Remote Synchronization
This method of synchronization is a combination of synchronization with the serial time signal and
remote synchronization. Thereby the serial time signal is the primary synchronization event, and remote
synchronization is the secondary synchronization event.
In case of failure of the serial time signal a switchover to remote synchronization occurs after a delay of
65 seconds.
If the time signal receiver is free running a switchover to remote synchronization occurs after a settable
time (parameter Time management | Common settings | Free running time of time sig.
receiver).
As soon as the serial time signal, without free running indicator, is received a switchover occurs after a
delay of 65 seconds.
In the entire network at least one automation unit must be synchronized with serial time signal or NTP,
i.e. one time master must exist.
The transmission of the clock synchronization command to other automation units takes place
automatically from the time master in the parameterized control direction (topology parameter Clock-
Sync = automatic).
The clock synchronization command is only accepted from a communication line, that is defined in the
topology parameters as monitor direction.
Automation units with time master do not accept any clock synchronization command.
For special applications, the previously described time synchronization automatic can be adapted in the
topology parameters (Clock-Sync):
The time tagging takes place automatically at all places in the system, where messages with process
information are generated. The transfer of the messages with process information with standard protocols
always takes place with 7 octet time. The resolution and the accuracy of the time tag is dependent on
the function and on the system element.
With remote synchronization over point-to-point transmission media the switchover from/to daylight-
saving time takes place automatically.
If the time synchronization takes place by means of a serial time signal (GPS or DCF77 time signal
receiver) the switchover is performed according to the European standard (+ or – 1 hour) depending on
the parameter Time management | Time zone | GPS time zone identification std. time
or Time management | Time zone | GPS time zone identification DST (default setting is
Central Europe CET). In these parameters an ASCII text is to be entered according to the time signal
receiver used. The parameter Time management | Daylight saving time | Daylight saving
time enabling is not relevant.
• remote synchronization over transmission medium with unknown delays (e.g. dial-up traffic) and a
periodicity of the clock synchronization command > 1h
the switchover times of the daylight-saving- and normal time are to be determined by means of the
parameter group Time management | Daylight saving time | Daylight saving time rule.
This parameter group first becomes active, when the parameter Time management | Daylight
saving time |Daylight saving time enabling is set.
For a time synchronization with GMT (Greenwich Mean Time), for the adjustment of the clock time to
the local time the time zone is to be defined with the parameter Time management | Time
zone |Time zone. This is necessary for a remote synchronization over LAN/WAN with NTP (Network
Time Protocol).
For time synchronization with a serial time signal it is necessary to parameterize the identification text
for normal time and daylight-saving time. By default the identification text for Central Europe ("CET" and
"CEST") is set.
After startup, on failure of the synchronization event, or after the stand-alone monitoring has triggered a
failure event, the clock time in all clocks of the automation unit is provided with an "invalid" identifier. All
clocks of the connected automation units, that are synchronized from this automation unit, are likewise
provided with the "invalid" identifier (except after startup). This mark distributes the clock
synchronization commands of the protocol element in the parameterized or fixed defined grid.
The "invalid" identifier is reset with the next error-free synchronization operation and is always output
from an automation unit with time master.
If the connection between time-signal receiver and –transmitter is interrupted for longer than a
parameter-settable time (Parameter Time management | Common settings | Unit of time for
free running and monitoring time), the diagnostic information ''Stand-alone of the time signal
receiver" of the class "Warning" is set.
In addition all clocks of the automation unit are set to "invalid". All clocks of the connected automation
units, that are synchronized from this automation unit, are likewise provided with the "invalid" identifier.
A check is performed of whether the serial time signal arrives within 2.5 seconds. If this is not the case,
a diagnostic information "Failure of time signal" of the class "Warning" is set.
If the serial time signal fails for longer than the time defined with the parameter
Time management | Common settings | Monitoring time for synchroniz. event, a
diagnostic information "Failure of time signal" of the class "External" is set. In addition all clocks of the
automation unit are set to "invalid". All clocks of the connected automation units, that are synchronized
from this automation unit, are likewise provided with the "invalid" identifier.
A check is performed of whether the minute pulse arrives within 65 seconds. If this is not the case, a
diagnostic information "Failure of minute pulse" of the class "Warning" is set.
If the minute pulse fails for longer than the time defined with the parameter
Time management | Common settings | Monitoring time for synchroniz. event, a
diagnostic information "Failure of minute pulse" of the class "External" is set. In addition all clocks of the
automation unit are set to "invalid". All clocks of the connected automation units, that are synchronized
from this automation unit, are likewise provided with the "invalid" identifier.
If the clock synchronization command fails for longer than the time defined with the parameter
Time management | Common settings | Monitoring time for synchroniz. event, a
diagnostic information "Failure of synchronization over communication line" of the class "Warning" is
set.
Monitoring does not start before the clocks of the automation unit have been set.
In addition all clocks of the automation unit are set to "invalid". All clocks of the connected automation
units, that are synchronized from this automation unit, are likewise provided with the "invalid" identifier.
4.2.6.5. Failure Behavior in Case of Combination of Time Signal and Remote Synchronization
Both synchronization events are supervised independent of the currently effective synchronization
event.
A check is performed of whether the serial time signal arrives within 2.5 seconds. If this is not the case,
a diagnostic information "Failure of time signal" of the class "Warning" is set.
After a delay of 65 seconds a switchover to the secondary synchronization event (remote
synchronization) occurs.
If the time signal receiver is free running a switchover to the secondary synchronization event (remote
synchronization) occurs after a settable time (parameter Time management | Common
settings | Free running time of time sig. receiver).
If the clock synchronization command fails for longer than the time defined with the parameter Time
management | Common settings | Monitoring time for synchroniz. event, a diagnostic
information "Failure of synchronization over communication line" of the class "Warning" is set.
Monitoring does not start before the clocks of the automation unit have been set.
Case A: primary synchronization event failed
All clocks of the automation unit are set to "invalid".
All clocks of the connected automation units, that are synchronized from this automation unit, are
likewise provided with the "invalid" identifier.
Case B: primary synchronization event OK
The clocks of the automation unit are not set to "invalid".
4.2.7. Startup
After startup the clocks of the automation unit are set with the first occurrence of a valid synchronization
event.
Note: A valid synchronization event may as well contain a time marked as invalid.
If within 2 minutes a valid synchronization event does not arrive a diagnostic information "Time of
automation unit not set" of the class "Warning" is set.
Note: Connected automation units are synchronized not before the automation unit has a valid
time.
The diagnostic treatment of an automation unit recognizes and manages diagnostic information.
Diagnostic information are errors, faults and also operating states. These diagnostic informations are
categorized for each system element in the automation unit, sorted according to diagnostic class, stored
with detailed description and summed up.
Failure (Class A)
Signals, that an automation unit can no longer be reached and will be created by the monitoring
automation unit.
Startup (Class H)
Signals, that the automation unit or the system element has started up following Power-Up or Reset.
Test (Class T)
Test means, that a clearly assigned function is in test; e.g. Online-Test of the Open-/Closed-Loop
Control Function.
Warning (Class W)
Warning indicates, that the system is still functioning, but has limited functionality or availability, e.g.
parameter error, poor line quality, external minute synchronization failed, but internal quartz accuracy is
still sufficient.
Administration and storage of detailed diagnostic information for each system element in the detailed
diagnostic table. Storage means, that all diagnostic information occurring either since the last read out
by the PSR II or since startup of the automation unit are flagged.
Provision of additional identifiers for the detailed diagnostic information, in the event that further
information is necessary for an error detection (e.g. in which routing record the error has occurred).
Additional identifiers can only be read out with the PSRII.
Administration of a diagnostic ring for each basic system element for the chronological logging of
changes to the diagnostic information of the basic system element and its supplementary system
elements. The last 20 changes that have occurred are stored with time and date.
The sum diagnostic creates sums about detailed diagnostic information according to established rules
and presents these in a sum diagnostic table:
Sum diagnostic record of the automation Summing of the sum diagnostic records of the basic system elements
unit
Sum diagnostic record of a basic system Summing of the diagnostic information of a basic system element and all its
element supplementary system elements according to diagnostic classes
Failure of a basic system element Information of the diagnostic class B (module failure) of the corresponding system
Failure of a peripheral element element
Failure of a protocol element
Fault of a basic system element Sum of the diagnostic classes I(nternal), E(xternal), K (communication) of the
Fault of a peripheral element corresponding system element
Fault of a protocol element
Failure of a communication line Failure of the remote station for a protocol element with Single Point data
communication mode or failure of all stations for a protocol element with Multi
Point data communication mode
Fault of a communication line This diagnostic information is only significant for protocol elements with Multi
Point data communication mode and indicates, that one or several stations have
failed.
Sum diagnostic record of the rest of the The sum diagnostic record of the rest of the system is created from all sum
system diagnostic records of the other automation units (power network survey).
The sum diagnostic record of an automation unit is automatically distributed to all other automation units
by means of messages with system information in monitoring direction.
Each automation unit stores these sum diagnostic records in a power network survey table.
For special applications, in the topology parameters a distribution to other automation units can be
inhibited or also enabled in the control direction.
On failure of one automation unit, the class "Failure" is created by the automation unit detecting the
failure, entered in the corresponding part of the network diagnostic table and distributed.
This emulation can be delayed with the parameter AU common settings | Delay time failure
reproduction.
Display of the AU sum diagnostic record and of operating states via LED´s on the front panel of the
master control element. Which information is displayed, can be taken from the corresponding system
element manual.
Summing of the classes I, E, K, B and output at the relay contact "Error" of the master control element.
The output takes place in the open-circuit principle.
The watchdog is output at the relay contact "WD" of the master control element. The output takes place
in the closed-circuit principle.
The PSR II is a toolset of the SAT TOOLBOX II. With the help of the tool "Diagnostic" in the toolset PSR
II, detailed system states (single diagnostic) are summed (overview diagnostic) and the content of the
diagnostic ring (History diagnostic) is read out and displayed with plain text.
With the help of the power network survey diagnostic, all sum diagnostic records of the automation units
defined in the topology can be displayed.
This function enables messages with process information to be created from freely selectable diagnostic
information. The messages can be distributed within the automation unit, to other automation units or to
control systems and e.g. evaluated for the following tasks:
The messages are generated with a freely selectable 5-stage address and the type identification 30
(single-point information). The acquisition of the changed diagnostic information takes place periodically
every 100ms. Diagnostic information items that are present for a shorter period are stored transiently.
The diagnostic information can be taken both from the detailed diagnostic table as well as from the sum
diagnostic table.
The assignment of the address for the messages with process information to the diagnostic information is
carried out with the help of the process-technical parameter setting in the OPM.
The possibility exists of assigning individual diagnostic information items, or with the help of wildcards, a
group of diagnostic information items (all diagnostic classes, -records, -bits) to a message. If a group of
diagnostic information items is assigned to a message, a logical OR for all diagnostic information
concerned is created automatically.
The assignment of the diagnostic information or a group of diagnostic information items to the message
with process information is performed with the help of process-technical parameters of the ACP 1703
system data by means of selection texts in Drop-Down List boxes or by the input of values:
• Message address
• Diagnostic class
• Diagnostic record
• Diagnostic bit
─ Bit 0 .. Bit 15 or
─ Wildcard (all Bits)
Note: The significance of the diagnostic records and the diagnostic bits is dependent on the
configured system element and is to be taken from the relevant system element
manual.
Attention: These parameters are not mirror parameters, i.e., these parameters are not copied with
the SAT TOOLBOX II - function "Copy BSE". This is necessary, since otherwise the
diagnostic information would be distributed with the same message address but of
different quality.
The assignment of the diagnostic information to the message with process information is performed with
the help of process-technical parameters of the ACP 1703 system data by means of selection texts in
Drop-Down List boxes:
• Message address
• Error location/basic system element
• Error location/supplementary system element
• Error type
Parameter
Diagnostic Information Error Location/BSE Error Location/SSE Error Type
from the sum diagnostic record of the AU sum BSE itself / AU sum / Class internal, external,
automation unit Rest system communication, test,
warning, module failure,
startup
from the sum diagnostic record of a basic C0-CPU ... C16-CPU, BSE itself / AU sum / Class internal, external,
system element M-CPU Rest system communication, test,
warning, module failure,
startup
Failure of a basic system element C0-CPU ... C16-CPU BSE itself / AU sum / System element failure
Rest system
Fault of a basic system element C0-CPU ... C16-CPU, BSE itself / AU sum / System element fault
M-CPU Rest system
Failure of a peripheral element C0-CPU ... C16-CPU, PE 0 .. PE15 System element failure
M-CPU
Fault of a peripheral element C0-CPU ... C16-CPU, PE 0 .. PE15 System element fault
M-CPU
Failure of a protocol element C0-CPU ... C16-CPU, PRE 0 .. PRE3 System element failure
M-CPU
Fault of a protocol element C0-CPU ... C16-CPU, PRE 0 .. PRE3 System element fault
M-CPU
Failure of a communication line C0-CPU ... C16-CPU, PRE 0 .. PRE3 Communication failure
M-CPU
Fault of a communication line C0-CPU ... C16-CPU, PRE 0 .. PRE3 Communication fault
M-CPU
from the sum diagnostic record of the rest Rest system BSE itself / AU sum / Class internal, external,
system Rest system communication, test,
warning, module failure,
startup
Attention: These parameters are not mirror parameters, i.e., these parameters are not copied with the
SAT TOOLBOX II - function "Copy BSE". This is necessary, since otherwise the diagnostic
information are distributed with the same message address but of different quality.
On startup of an automation unit or individual system elements or after faults in the system
(communication faults, FIFO overflows) the participating automation units or system elements ensure,
that the operation is resumed automatically in a coordinated manner.
This means, that the external and internal communication connections are set up and all data points
concerned, as well as relevant system information for the system-wide updating of the process images
are transmitted from their source right to their sink. This takes place with the initiation of a station
interrogation to the corresponding part of the automation network, where the error occurred.
In which kind the station interrogations are triggered and how messages with interrogated process
information are processed can bees seen in the various sections describing the functions (e.g.
communication).
• with the station interrogation, all GI-capable messages with process information are transmitted, i.e.
all those data, that can be interrogated with their state in the periphery and from processing
functions (binary information, analog values, digital values, calculated values etc.) or system
information (system error information),
• in a multi-hierarchical network, with a station interrogation not only the local data of an
interrogated automation unit are transmitted, but also those of automation units hierarchically
subjacent and reachable over external communication,
• invalid or blocked data (value disturbances, information affected with the failure of a system
element or failure of an automation unit) are also to be transmitted with a station interrogation.
• with a GI-request, only those data are transmitted, which the requesting station requires.
• dependent on the process data to be transmitted, the station interrogation is possible both in
monitoring- as well as in control direction.
• due to consequential reactions with the occurrence of a station interrogation initiation, above all in
multi-hierarchical networks, no more than one station interrogation is performed (although e.g.
with the restart of an automation unit, due to the communication failure associated with it, several
other automation units would have a station interrogation initiation)
• with the simultaneous occurrence of several station interrogations, an unnecessary load of the
communication is prevented.
• in the event of a station interrogation, the data according to IEC 60870-5-101/104 are transmitted
in blocks, in order to achieve a considerably more efficient transmission. the condition for this is,
that the message addresses (IOA) are defined successively without gaps.
4.5. Failure
In single and in multi-hierarchical configurations, the failure management ensures, through the
monitoring of the internal and external interfaces, the marking of the data points affected by a failure
and the generation of diagnostic information.
The monitoring of the internal and external interfaces takes place with periodical monitoring messages.
These monitoring messages are generated and monitored by the system elements or automation units
at both sides of the interface. The periodicity is dependent on the interface.
If the failure of a higher-level system element is detected, the particular system element and all lower-
level system elements are brought to the state "Firmware Shut Down".
After the detection of the failure of system elements or automation units, all data points affected by this
failure at the system-internal sinks (e.g. open-/closed-loop control function, peripheral elements) or at
the communication interfaces to other automation units (communication function in transmit direction)
are flagged with "not topical".
The data points are only then flagged with "not topical", if the failure is present for longer than a
parameterized time. This parameter AU common settings |Delay time NT reproduction can be
set one time for the automation unit.
Redundancy Configuration
With a redundancy configuration, the data point is first flagged as failed, when all redundant sources
which this data point affects, have been detected as "failed".
• Communication interfaces which receive this data point from other automation units
(communication function in receive direction)
• Sources within the automation unit which generate this data point (e.g. open-/closed-loop control
function, peripheral elements)
In addition, all redundant sources at each system-internal sink and at all communication interfaces to
other automation units are learned for all data points to be handled at these places.
A maximum of 8 redundant sources can be learned. With the help of the parameter BSE common
settings | Maximum number of redundant sources an optimization of the memory requirements
can be performed.
Special Cases
If the data point is not to be transferred from all redundant sources or more than 8 redundant sources
are required, the automatic learning can be switched off. For this, all redundant sources that are
relevant for this data point, are compiled to form a so-called Redundancy-Source-Identification.
After the detection of the failure of system elements or automation units, the corresponding diagnostic
information are set.
For a system element failure, the corresponding diagnostic information "Module failure" is set.
If the communication connection to a remote station fails, the corresponding diagnostic information
"Failure of the automation unit" is set. The diagnostic information "Failure of the automation unit" is also
set, if a system element fails, which lies on the path to this automation unit. These system elements are
normally basic system elements with communication function or protocol elements. With the diagnostic
information "Failure of the automation unit", possibly existing redundancy configurations are taken into
account.
These diagnostic informations are however only set, if the failure is present for longer than the
parameterized AU common settings | Delay time failure reproduction. This parameter can
be set one time for the automation unit.
Redundancy Configuration
With a redundancy configuration, the corresponding diagnostic information "Failure of the automation
unit" is first set, if all communication connections over which this automation unit can be reached, have
failed.
The parameter AU common settings | Delay time failure reproduction is also effective in
this case.
The failure of the communication connection or a system element is signaled immediately with a
diagnostic information regardless of the redundant sources.
All firmware and parameters of an automation unit are stored non-volatile on a Flash Card. This Flash
Card is a permanent component of the master control element.
On startup of the automation unit or individual system elements, the firmware and the necessary
parameters are transmitted from the Flash Card to the system elements.
The Flash Card enables the exchange of a module without using the SAT TOOLBOX II.
With all system elements – except master control element – after the exchange of the module, no
further operator inputs are required. All firmware and parameters are transmitted automatically to the
exchanged module.
If the master control element is exchanged, in addition the Flash Card from the defective module is to
be slotted into the exchanged module.
After an exchange of modules, during startup of the automation unit or a system element, calibration
processes take place between the Flash Card and the system elements. These calibration processes
cause longer startup times and are indicated on the front panel by the LED "CPY" (see chapter
Operating States "Loading Operation").
For the initial commissioning of an automation unit, at least one blank, formatted Flash Card with a
FAT 16 file system is required.
If a formatted, blank Flash Card is detected by the master control element, the master control element
goes to the state "Firmware Shut Down". This state can however not be diagnosed with the
SAT TOOLBOX II, but rather is only indicated by the flashing of the possibly available "HLT" LED on the
front panel. With system elements without the "HLT" LED, this state can not be clearly detected.
To make the automation unit operational, the automation unit must be initialized and all firmware and
parameters loaded with the SAT TOOLBOX II Toolset PSR II.
If the Flash Card is missing or defect, the startup of an automation unit takes place with the firmware
and parameters possibly available on the system elements. After startup a diagnostic information is set,
in order to indicate this inadmissible state.
Attention: If this inadmissible state is ignored, it can lead to faulty behavior of the automation unit. This
state can be compared to when parameters are loaded, that do not correspond to the
process connected to the automation unit.
4.7. Autonomy
Autonomy means, that an autonomous basic system element and its supplementary system elements
(protocol- and peripheral elements) continue to function during the failure of the master control unit.
This behavior can be set for each basic system element by means of a parameter BSE common
settings | Autonomy.
On failure of the master control unit, data points are flagged with "not topical", which:
• are acquired by other system elements in the automation unit and are not acquired over the
particular peripheral- or protocol elements.
• are acquired by other automation units and not connected over the particular protocol elements.
After startup of the master control unit, the autonomous basic system element is synchronized without
interruption to operation. Due to a general interrogation, the data points flagged with “not topical” on
failure of the master control unit are updated.
For the communication between the SAT TOOLBOX II and the destination system there are different
variants:
• direct local over the serial Toolbox interface (TB) on the master control element
• over a network connection LAN/WAN (TCP/IP)
• over serial remote communication connection from and to other automation units.
With the exception of the very first initialization operation, this is only possible with a direct local
connected SAT TOOLBOX II, all tasks are possible in each of the above stated variants:
• Upload parameters
• Diagnostic
• Test (e.g. Online-Test of the function diagram) and
• Load firmware
• etc.
4.9. Self-Test
The self-test is used for the protection against inadmissible operating states. Through a series of
monitoring operations, defects of the hardware used or faulty behavior of the firmware are detected.
IDLE monitoring
Protection against Faulty behavior of firmware or application programs with endless loops, firmware
execution times too long etc.
Monitored by Firmware
Function In the IDLE-Task (low priority task of the operating system) a firmware monoflop is
retriggered with a time base of 5 seconds. As long as this firmware monoflop is started
up, the retriggering of the watchdog is enabled.
Measure in case of error The watchdog is no longer retriggered. Further procedure see Monitoring of Hardware
and Firmware.
Dynamic behavior up to 5 sec
Protection against defect of the storage medium used (Flash-PROM or Flash-Card) and
undetected transmission errors when loading the program code
Monitored by Firmware
Function With the creation of all bytes of the code area through addition, including the free bytes
up to the end of the physical storage medium, a 16-bit checksum MODULUS 65536 is
formed. This is stored on a free storage space in the code area of the firmware.
During startup and in operation in the IDLE Task, all bytes in the storage medium are
added and compared with the stored checksum.
Measure in case of error With inequality, the system element is switched to the "Module Shut Down" state.
Dynamic behavior During startup, the error is detected immediately.
During normal operation, it may take a few seconds until the error is detected.
In operation, typically another measure of protection is effective (e.g.
Illegal Opcode, Monitoring of Hardware and Firmware )
Protection against defect of the storage medium used (Flash-PROM or Flash-Card) and
undetected transmission errors when loading the parameters
Monitored by Firmware
Function For each available parameter block a 16-bit checksum MODULUS 65536 is created by
the SAT TOOLBOX II and entered in the parameter block.
During startup, in operation in the IDLE-Task and always when this parameter block has
been loaded from the TOOLBOX, all bytes of every parameter block are added
(algorithm as offline) and compared with the stored checksum.
Measure in case of error With inequality of one of the checksums, the system element is switched to the
"Firmware Shut Down" state.
Dynamic behavior During startup and after being loaded by the SAT TOOLBOX II, the error is detected
immediately.
During normal operation, it may take a few seconds until the error is detected.
In operation, with an error in the application program of the open-/closed loop control
function, typically another measure of protection is effective (e.g.
Illegal Opcode, Monitoring of Hardware and Firmware.
Firmware self-monitoring
Protection against incorrect call parameters with system functions and programming errors
Monitored by Firmware
Measure in case of error The system element is switched to the "Firmware Shut Down" state.
Dynamic behavior The error is detected immediately.
Shadow RAM
Protection against Firmware errors when accessing the I/O address range, and
Hardware errors
Monitored by CPU exception handling
Measure in case of error The system element is switched to the "Firmware Shut Down" state.
Dynamic behavior The error is detected after 1µs
Illegal Opcode
Stack Overflow
Operating State LED "RY" LED "ER" LED "HLT" LED "CPY"
Normal Operation lights up dark dark dark
Limited Operation lights up lights up dark dark
Loading Operation
Loading parameters not relevant not relevant not relevant dark
Saving parameters not relevant not relevant not relevant flashes
Load firmware and save not relevant not relevant not relevant lights up
(indication on the master control unit only)
Firmware Shut Down dark lights up flashes dark
Module Shut Down dark lights up lights up dark
In addition, further LED’s can light up (dependent on the system element), e.g. for the display of process
signals, status lines of the communication interface.
Limited operation means, that not all parameterized functions run correctly.
In addition, for the error detection further LED’s can also light up (dependent on the system element).
The faulty parts of the automation unit are identified and if necessary deactivated. The non-faulty
functions continue to work normally (error tolerance) as long as they are not affected by the faulty
functions.
Examples:
• Communication to the higher-level automation unit or control system failed; the automation unit
continues to run autonomously.
• Peripheral element failed; data points of the failed peripheral element are flagged with "not
topical" and transmitted, all other peripheral elements continue to work normally.
During the loading operation, parameters and firmware programs in the automation unit are brought up
to date. The loading operation can either be started by means of the SAT TOOLBOX II or takes place
automatically on startup of the automation unit or a system element (see chapter "Startup").
If the loading operation is controlled by the SAT TOOLBOX II, there are two separate states:
Loading operation
The loading operation is initiated by the SAT TOOLBOX II, if a difference between the parameters or
firmware saved on the Flash-Card and those currently in the SAT TOOLBOX II has been detected.
The parameters and firmware updated through the loading operation are programmed in the Flash-
PROM on the corresponding basic system element and saved on the Flash-Card.
Attention: A switching off or reset of the automation unit during the saving of the parameters and
firmware program on the Flash-Card is to be absolutely avoided. In the most unfavorable
case an exchange of the master control element is necessary.
Firmware shut down means, that all functions with the exception of those that are necessary for the
communication with the SAT TOOLBOX II in the local operating mode, are halted.
In this state the watchdog of the module elapses and all outputs are terminated.
With system elements without the "HLT" LED, this state can not be clearly detected.
Attention: If the shut down of the firmware takes place due to "Illegal opcode", "General protection" and
"Watchdog elapsed", this is indicated by the possibly available "CAE" LED on the front
panel.
On occurrence of this state, a diagnostic information is set with an error code. If a remedy is possible by
the user, an additional diagnostic information is set.
This state can now only be ended with a Power up or Reset. The reset can be tripped both by the
SAT TOOLBOX II as well as with the reset button on the master control unit.
Firmware shut down: this state is retained until a Power up or Reset. The reset can be tripped both by
the SAT TOOLBOX II as well as with the reset button on the master control unit.
Firmware restart: a system startup is initiated due to an automatic reset tripped by the firmware. If
such a procedure occurs 3 times inside 30 minutes, the system element
remains in the "Firmware shut down" state.
Module shut down means, that all activities of the hardware and firmware are halted.
In this state the watchdog of the module elapses and all outputs are terminated.
This state can now only be ended with a Power up or Reset. The reset can be tripped by the
SAT TOOLBOX II (if this state does not affect master control unit) or with the reset button on the master
control unit.
5. Telecontrol
• acquisition of the process data on the peripheral elements, change monitoring, message
generation, and time tagging (resolution, depending on respective peripheral element, 1ms or
10ms),
• change monitoring of result data of the open-/closed-loop control function and message
generation,
• time tagging of the result data of the open-/closed-loop control function, the resolution
corresponding to the cycle time of the open-/closed-loop control function, i.e., 10ms or multiples
of 10ms
• prioritized transfer of all changed messages from the process image to the spontaneous channel
of the communication function, a deterministic priority algorithm ensuring that
─ in the event of the simultaneous existence of several active process information items, those
having a higher priority or importance will be sent first, however,
─ that even in cases of continuously existing high-priority process information items, those of low
priority can also be sent
• receipt of messages from the spontaneous channel of the communication functionality, and
• transfer
─ to the open-/closed-loop control function for further processing, or
─ to the peripheral elements for the output of the process data
For data flow control, no single routing engineering of individual process information items is required.
All that needs to be done is to configure signaling direction and command direction, whereupon the
messages will be distributed automatically based on their type identification.
However, to avoid having to always distribute all process information items to everywhere, pass-through
or blocking filters can be set in each communication interface. Since it is also possible to use wildcards
for all address attributes of the message, it is possible to direct the data flow by simple means and with
high accuracy.
The communication function controls the transmission of messages via protocol elements to other
automation units or control systems. The communication function differentiates between transmission-
and receive direction.
Serial interface processors (SIPs), network interface processors (NIPs) and field-bus interface
processors (FIPs) can be used as protocol elements. A maximum of 4 protocol elements per basic
system element are supported. The protocol element configuration depends on the system element.
The messages to be transmitted are learned through the automatic data flow routing and stored in the
data storage. The transfer of the messages from the data storage takes place via a priority controller in
order to optimally utilize the transmission route.
The automatic data flow routing enables the directing of messages with process information via a
communication interface.
─ Messages with process information in the monitor direction are distributed in simple applications
via an entry in the topology. For more complex applications, the messages can be distributed
selectively with the help of the system-technical parameter group Data flow filter.
─ For messages with process information in the control direction, they are distributed to the
destinations determined by the CASDU.
Furthermore it is used for learning a message-selective routing for system functions such as e.g.
• Data storage
The data storage is used for the timely decoupling of received messages to the possibly slower
transfer over the transmission route.
• Priority Control
The priority controller has the task of reading out messages queued for transmission in the data
storage independently and individually for each protocol element and to control the transmission
of the messages via the protocol element in accordance with their priority.
Messages with process information are distributed to all functions within the automation unit.
Messages with system information are either processed directly (e.g. GI) or distributed further based on
their destination address (e.g. messages for remote maintenance).
Transmit direction
routing
Data storage
e.g. GI
Priority controller
Message reception
Receive direction
Messages with process information in the monitor direction are distributed based on a parameterized data
flow direction. The data flow direction is defined by entries in the topology parameters.
─ Monitor direction
─ Control direction
─ Both directions
Messages with process information in control direction and messages with system information in control
direction are distributed based on their CASDU.
Messages with system information in the private range are distributed based on their system-technical
destination address. Which automation unit is reached over which interface is to be defined in the
topology parameters.
For the correct function of the automatic data flow routing, the following points are to be adhered to
• Messages with process information in monitor direction according to IEC 60870-5-101 or 104 are to
be defined with a CASDU, which represents the source address. The address element IOA can
be freely selected.
• Messages with process information and messages with system information in control direction according
to IEC 60870-5-101 or 104 are to be defined with a CASDU, which represents the source
address. The address element IOA can be freely selected.
• A process-technical unit can occur in one or several system-technical unit(s). I.e. one or several
automation units can represent one CASDU.
• Several process-technical units can occur in one system-technical unit. I.e. one automation unit
can represent several CASDU´s.
Note: Messages with process information, which are received via an interface with a LAN, are not
send to this interface (prevention of circulating messages). If nevertheless received messages
with process information must be transferred over this LAN, this must be applicably resolved
by the generation of new messages with process information with the help of the open-/closed-
loop control function.
Messages with process information and messages with system information in control direction are distributed
based on their CASDU.
For this, information is necessary which specifies, over which communication interface and which
station or connection the automation unit(s) can be reached, which this CASDU contains.
This information is learned from messages with process information in monitor direction, by storing the
CASDU and the system-technical entry point (source identification) of these messages. To make this
procedure possible, GI-capable messages with process information in monitor direction must be received
with the corresponding CASDU from this system-technical entry point.
For messages with process information in control direction which are defined with cause of transmission set
to "activation", the origin address is used for directing the replies ("confirmation"). If the origin address is
used, it must be unambiguous for each source. The origin address can be parameterized for each
connection or station. This parameterized origin address is then always added if the origin address is
not defined in the received message (origin address = 0). If the origin address is neither validly
parameterized nor defined in the message, the replies to this message are distributed to all
communication interfaces which are defined as monitor direction in the topology.
If the data flow direction for a communication interface is defined with “both directions” in the topology,
all messages with process information in control direction and messages with system information in control
direction are distributed on principal to this communication interface regardless of the CASDU contained
in the message.
The simplest possibility of directing is the entry in the topology, which defines the data flow direction.
This represents a pass-through filter over which communication interface messages with process
information in monitor direction are required.
If this simple form of directing is inadequate, the possibility of a data flow filter exists. This is defined in
the system-technical parameter Data flow filter. In the data flow filter, pass through- and blocking
filters are possible for address elements such as CASDU, IOA and/or type identification with wildcard
specifications. The specification can take place for each octet of the address elements. With this
method, selective groups of messages with process information in monitor direction can be routed or
blocked to the communication interfaces.
The data flow filter affects exclusively messages with process information in monitor direction, in addition to
the defined data flow direction. I.e. a data flow filter affects the data flow direction defined for these
messages. First pass through filters are evaluated in parallel and subsequently blocking filters in series.
Topology parameters
"data flow direction"
Internal distribution of messages with process information
not
Monitor direction
Blocking filter
If individual messages with process information in monitor direction are also required for cross-couplings in
the control direction, in principle these must be defined with data flow filters.
To modify a data flow filter, a reset of the automation unit is necessary. The routings are re-learned with
each startup.
In principle, these can only be distributed by way of the data flow routing. The definition of the data flow
direction in the topology parameters is not effective for these messages.
The messages that are determined for transmission over communication interfaces are in principle
stored in rings in the correct time sequence, whereby each of the rings has a process image connected
in series before and after (process image before the ring, bPIM, and process image after the ring, aPIM).
This structure exists for each protocol element, station and priority depending on the type of traffic of the
protocol element and is called priority channel.
For protocol elements with a Multi-Point-Traffic type (e.g. Multi-Point-Traffic, LAN ), the data storage
basically takes place station-orientated, i.e. priority channels for each priority, station and protocol
element.
For protocol elements with Single-Point-Traffic type, the data are stored protocol-element-orientated, i.e.
priority channels for each priority and protocol element.
• Time synchronization
• System information
• Process information in control direction
• Process information in monitor direction Priority HIGH with class 1 data
• Process information in monitor direction Priority MEDIUM with class 2 data
• Process information in monitor direction Priority LOW with class 2 data
• Transparent information
The message "Packed single-point information with status change detection" not supported !
If a message with process information is determined for transmission, the process image before the ring is
updated and entered in the ring in the correct time sequence. An updating of the process image only
takes place for GI-capable messages with process information.
So as not to load the transmission path unnecessarily with e.g. floating measured values, with certain
messages no chronological storage takes place, rather a state compression. I.e. if a data point is
already in the ring, then it is overwritten with that currently received. This only occurs if the message
status, the cause of transmission and the origin address are identical.
State compression can be disabled for each type identification of the following messages using the
parameter AU common settings | settings for type identification | TI x | State
compression.
If a GI-capable message with process information can no longer be entered in the priority channel, the
process image before the ring is updated with the process information and flagged with data loss. A non-
GI-capable message with process information or a message with system information is discarded. This
situation is reported issuing the diagnostic information "ring x overflow".
If the priority channel is free again, then all process information flagged with data loss are transferred
with cause of transmission set to "spontaneous".
With a failure of the remote station, it can be specified for each protocol element, how long the
messages currently queued for transmission remain stored in the priority channels during a
communication failure.
The behavior can be set via the parameter Communication | PREi | Advanced
settings | Failure behavior for process inform. with:
and via the parameter Communication | PREi | Advanced settings | Failure behavior for
transparent info. with:
As long as the communication failure exists, no further data is entered in deleted priority channels. The
process image before the ring is updated with the process information.
After a going communication failure, messages not yet entered into the ring or deleted from the ring, are
sent with their current status from the process images before the ring and cause of transmission set to
“spontaneous”.
The dwell time for messages with process information in control direction defines how long a message with
process information in control direction may be stored in the priority channel.
A maximum dwell time for messages with process information in control direction can be determined via the
parameter AU common settings | Dwell time for msg. in command direction for each
automation unit.
If the message has been stored longer than the parameterized time in the priority channel before it
could be transmitted, it is discarded without error information.
After reception of an interrogation command from a remote station, all GI-capable messages with process
information that match the interrogated CASDU (selective or all) and which are determined for this
remote station are activated for transmission.
These messages are provided with their last transmitted status and cause of transmission set to
"interrogated by station interrogation".
These messages are generally transmitted without time stamp and, if possible, packed.
For each running station interrogation of an interrogating station, a maximum of one further (general-)
interrogation command is stored for the currently processed CASDU.
If a message is transferred to the communication function in transmit direction with the cause of
transmission "background scan" or "interrogated with station interrogation", a comparison with the last
transmitted state takes place. The change comparison is carried out over all elements of the
spontaneous information object, except for the cause of transmission and the time information. Only
with change is the message activated for transmission with the cause of transmission "spontaneous".
With a failure of a message source (e.g. periphery elements, communication interfaces), all affected GI-
capable messages with process information are flagged "not topical". The affected messages are provided
with the current time and activated for transmission with cause of transmission set to "spontaneous".
The transmission takes place with the last stored process status.
5.1.3.2.7. Blocking
The blocking is carried out according to the procedure described in the standard IEC 60870-5-5 as a
result of information elements.
match.
The number of spontaneous information objects to be blocked is determined in bytes by the parameter
Communication | PREi | IEC60870-5-101/104 | Variable elements of the
messages | Maximum message length.
Messages with transparent information (such as e.g. containers with process information etc.) are stored in
an own priority channel without process images.
With a priority channel overload, the messages are discarded and the overload is signaled with a
diagnostic information. The error is first reset when the priority channel is empty.
Whether this priority channel is to be deleted during a communication failure can be set by a parameter
(see "Behavior During a Communication Failure").
The priority controller has the task of selecting messages recorded in the data memories independently
and individually for each interface and station and to direct the transmission of the messages via the
protocol elements in accordance with their priority. This ensures, that with several informations queued
at the same time, the higher-priority, highly important information is transmitted first.
The prioritization does not however represent an absolute priority status, but rather a measure for
dividing up the channel capacity. This ensures, that even with continuously available higher-priority
data, the lower priority data can also be transmitted.
The classification according to data class 1 and data class 2 only has an effect on the dial-up traffic.
The priority channels are subdivided into the following priority levels:
For messages with process information in monitor direction priority categories (see following table) are
defined. Each of these priority categories can be assigned one priority level (process information in
monitor direction Priority HIGH with class 1 data, MEDIUM or LOW with class 2 data) via parameter
(parameter group Communication | PREi | Advanced settings).
For the messages with process information in monitor direction, the following priority categories are defined:
With each search for transmitting a message, starting from the priority level clock-time synchronization,
a check takes place whether a message is queued for transmission. When transmitting messages of
one priority level, the maximum number of messages of the respective priority level is taken into
account. If this is reached, the corresponding priority level is suspended until further notice.
If no message is found during a search (no data to be transmitted, or all priority levels suspended), then
all priority levels are enabled again with their maximum number of messages. The priority level clock-
time synchronization is enabled again immediately each time, after a message has been transmitted in
another priority level. It is thereby stepped down 1:1 to all other levels. In the priority level system
information, the same stepping down to the lower priority levels is applicable. Since the process
information in the monitor direction interrogated by the GI is also stored in this priority level, one
achieves a compromise between the fast transfer of current data and a limited duration of the station
interrogation.
For special applications (e.g. dial-up traffic) the protocol element can influence these priority algorithms
by being able to block or release priority levels for the transmission.
The dial-up traffic utilizes the blocking of priority levels, so that certain messages (e.g. measured
values) do not cause any spontaneous transmission and consequently a connection setup. The
connection setup is derived from the information "Access request" (according to IEC 60870-5-2, where
data class 1 and data class 2 are defined).
Valid thereby:
• Data class 1 ... Connection setup is activated
• Data class 2 ... No connection setup takes place
The table below shows, which priority level is assigned to which data class and consequently causes a
connection setup or not:
In accordance with the requirements with regard to reaction time, availability, data throughput and
transmission media, the following redundancy operating modes are possible:
The communication with redundant remote stations is possible with every data communication mode
(single point, multi point). Thereby both transmission paths are operated independent of each other.
Normally all messages are transmitted over the protocol element with the lower number (PRE0 or
PRE2).
The other protocol element of the interface pair (PRE1 or PRE3) checks the functioning capability of the
interface by means of monitoring messages.
Fault:
On failure of this interface, all messages are transmitted over the other protocol element of the interface
pair. The protocol element with the faulty interface (PRE0 or PRE2) checks the functioning capability
through monitoring messages. If the full functioning capability of the interface at protocol element PRE0
or PRE2 is detected, a switchover of the interfaces to normal operation takes place.
On failure of both interfaces of an interface pair, the last unacknowledged message continues to be
transmitted to the last failed interface. The other protocol element of the interface pair transmits
monitoring messages.
Normally the messages are transmitted over the protocol element currently not busy. Preferred is
always the protocol element with the lower number (PRE0 or PRE2).
To avoid overtaking effects of messages with the same address, the next transmission of this message
is blocked until the previously transmitted message has been acknowledged.
Protocol elements not currently required check the functioning capability of the interface through
monitoring messages.
Fault:
On failure of this interface, all messages are transmitted over the other protocol element of the interface
pair. The protocol element with the faulty interface checks the functioning capability through monitoring
messages. If the full functioning capability of the interface is detected, a switchover of the interfaces to
normal operation takes place.
On failure of both interfaces of an interface pair, the last unacknowledged message continues to be
transmitted to the last failed interface. The other protocol element of the interface pair transmits
monitoring messages.
5.1.6. Startup
The startup for a link takes place in accordance with the sequence for the initialization end according to
IEC 60870. This only takes place during the startup of a basic system element or the automation unit.
The message "Initialization end" is transmitted for each learned CASDU to those remote stations to
which messages with process information in monitor direction are distributed. During startup, this takes
place for all learned CASDU´s, if all messages to be transmitted have been learned ( = 15 sec after the
last message of the CASDU to be sent). Until the message “Initialization end” is transmitted, a station
interrogation from the remote station is not answered.
On reception of the (general-) interrogation command, all learned messages of the interrogated CASDU
are transmitted with the cause of transmission "interrogated with station interrogation". Subsequently
the message traffic takes place according to the priority controller.
After reception of a "Initialization end" message a (general-) interrogation command is transmitted for
the corresponding CASDU.
This function is used for the user-specific influencing of the functions of the protocol elements. The main
application lies with protocol elements with multi point data communication mode and especially for dial-
up traffic configurations.
Protocol controller
Internal
Link
function
Protocol element
return information Protocol element
With the help of messages with process information, the protocol element control 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 ACP 1703 system data protocol element control message.
Possible functions:
Parameter
Control- Additional-
Function_(PRE) Parameter_(PRE) Meaning
0 - 239 0 - 65535 Depends on the protocol element used
240 not used Send (General) Interrogation Command
241 not used Send (General) Interrogation Command to a group
242 not used Select control location "global"
243 0 – 2 (QRP) Reset process command
243 - 255 not used Reserve
On which destination the parameterized control function should act, is set with the following parameter:
Parameter Meaning
PRE 128 – 131 ... Protocol element 0 – 3
254 ... Protocol element is selected automatically by the
Multimaster function
Station 0 – 99 ... Station 0 – 99 of the selected protocol element
125 ... all stations of the selected protocol element
255 ... Protocol element with Single Point data
communication mode
If the single-point information is used, it can be set with the parameter edge_(PRE), whether:
If the single command is used, the parameterized function is activated with each message.
The protocol element return information generates messages with process information in monitor direction
and thereby enables states of the protocol elements to be displayed and processed.
Depending on the return information the following messages with process information can be selected:
The assignment of the messages with process information to the return information is carried out with the
help of process-technical parameters of the ACP 1703 system data (protocol element return information
message).
From which source the parameterized return information are to be generated, is set with parameters:
Parameter Meaning
PRE_(RM) 128 – 131 ... Protocol element 0 – 3
Station 0 – 99 ... Station 0 – 99 of the selected protocol element
255 ... all stations of the protocol element selected or
protocol element with single point traffic mode or
the protocol element itself
Parameter
Return information function_(PRE) id TI Station number
Status RTS (1 = status line active) 0 30 255
Status CTS (1 = status line active) 1 30 255
Status DCD (1 = status line active) 2 30 255
Status DTR (1 = status line active) 3 30 255
Status DSR (1 = status line active) 4 30 255
Status RI (1 = status line active) 5 30 255
protocol-specific return information 0 – 15 6 - 21 30 0 – 99, 255
protocol-specific return information value 22 36 0 – 99, 255
Station status 23 30 0 – 99
(1 = Station enabled for call cycle)
Station failure 24 30 0 – 99
(1 = Station failed)
6. Automation
• Acquisition of the process data on the peripheral elements and transfer of the periodical
information over the Ax 1703 peripheral bus to the open-/closed-loop control function.
The open-/closed-loop control function is used for the management of automation tasks with the help of
an application program.
The creation of the application program is carried out by the SAT TOOLBOX II with the tool CAEx plus
predominantly in function diagram technology according to IEC 61131-3.
The application program processes process information (so-called signals) from the peripheral elements
connected to the basic system element and / or from other system elements in the automation network
of the specific process-technical plant.
Process images form the interface of the application program to the outside world. One differentiates
between input- and output process images.
• periodical information from and to the peripheral elements connected to the basic system element
(local periphery) over the Ax 1703 peripheral bus
• spontaneous information objects from and to functions or peripheral elements within the
automation unit, other open-/closed-loop control functions and other automation units or control
systems with the help of the telecontrol function.
The open-/closed-loop control function supports 32 programs (type instances), whereby each program
can be assigned one of three periodical tasks. As a result, fast controls can be optimally combined with
slower background processings.
The management of these three periodical tasks (Task Management) corresponds with the standard
IEC 61131. Spontaneous tasks are not supported.
• Task Management
─ Coordination of the sequences of a task
─ Coordination of the three tasks with each other
─ Run time supervision
─ Time management for function blocks
• Initialization
─ Startup of the basic system element (resource)
─ Startup of the open-/closed-loop control function (all tasks or single task)
• Input handling
─ Message processing for spontaneous information objects
─ Conversion of spontaneous information objects to periodical information
─ Synchronization of the input process images for
− periodical Information
− spontaneous information objects
− System information
• Program processing
• Output handling
─ Updating of local peripheral elements for periodical information
─ Generation of messages with system information
─ Generation of diagnostic information
─ Change monitoring for spontaneous information objects
─ Generation of messages with process information
• Online test
─ Display/Forcing of values
─ Test switches
─ Changing the execution status of the open-/closed-loop control function
─ Setting breakpoints
─ Real time archive
─ Display status information
─ Read and write variables
General characteristics
• Retain
Variables, signals (input process image for spontaneous information objects) and function blocks
can be saved non-volatile. That means, that after a power failure these variables and signals are
immediately available again with the value before the power failure.(see "Initialization")
• Reload
Loading of changes, that make a startup of the basic system element unnecessary.
─ without interruption to operation
The continuity of the function of the application program can, due to the type of changes, be
maintained, with the exception of the program switch after the reload
─ with interruption to operation
The continuity of the function can not be maintained
Program Resource-
variables global
Message Generation of
variables and
processing messages
parameters
Program 1
Program 32
Initialization
Start periodical
(cycle time)
Program processing
Time-out monitoring
Program A
Program B
:
Program n
Output handling
Online test
Real time archive
Stop
Task timing
PRIORITY HIGH
10ms 10ms 10ms 10ms 10ms 10ms 10ms 10ms 10ms 10ms 10ms
System clock
Time handling and Ax-PE bus
Transmission of period. information
Open-/Closed loop control function
Fast task
Cycle time 10ms processing
5ms 5ms 5ms 5ms 5ms 5ms 5ms 5ms 5ms 5ms 5ms
Run time 5ms curr. run time
Communication
receive direction
Communication
transmit direction
Open-/Closed loop control function
Slow task Processing
Cycle time 80ms Msg gen. 69,5ms ??ms
Run time 12 ms curr. run time
PRIORITY LOW
Legend Interrupt Spontaneous messages
Task able to run but interrupted Msg gen. Message generation from result data
As can be seen from the diagram, a constant run time is only guaranteed for the "fast Task". For the
"Task" and "slow Task", no constant predictable run times are produced due to interruptions from
higher-priority functions. That means, that with the output of signals (e.g. with a pulse) a jitter can occur
depending on the loading of the resource.
The cycle time is that time scale, in which all programs assigned to a task (type instances), must have
processed the input- and output handling for this task.
The cycle time can be set for each task from 10 ms to 65 sec in 10ms steps.
The cycle times of the three tasks must be different and ascending from the "fast Task" to the "slow
Task".
The cycle times of the tasks can be set in the tool CAEx plus. Modification with the help of the online
test is not possible.
This function monitors the proper sequence of each task within its set cycle time. If a task is not finished
with its input handling, program processing and its output handling within this time, the next cycle for
this task is omitted and a timeout is signaled.
The signaling and its effect takes place dependent on operating state:
Normal operation
• Every timeout increments a counter for the corresponding task. These three counters (one for
each task) can be read out with the SAT TOOLBOX II tool "CAEX plus Online-Test" menu item
"Display Status Information". These three counters can be reset by means of an operator input in
the Online-Test. The reset also takes place with a warm- and cold start.
• If more than 4 timeouts are detected within 10 consecutive cycles, a diagnostic information is set
for the corresponding task. This diagnostic information is reset, when the previously stated
condition is no longer fulfilled.
Exception: With the "fast Task" the output handling for the message generation is not
monitored as previously described, rather this message generation must run once
within 16 cycles of the "fast Task". A diagnostic information is set, when this
condition is not fulfilled. This diagnostic information is reset, when the previously
stated condition is no longer fulfilled.
• If the processing time of the task takes longer than a time that can be set for each task
(= n * cycle time of the task, 0 = monitoring inactive) with the parameter max. number at
reload (CAEX plus – properties Task – 1703), this task is deleted and a diagnostic information is
set for the corresponding task. In addition, all peripheral elements connected to this basic system
element are switched to the "Module shut down" state (substitute value input on the peripheral
element). This state can only be canceled with a startup (power up or reset) of the basic system
element.
• While loading the application program (reload), the before described run time supervision
(4 timeouts within 10 consecutive cycles) is deactivated.
• If the processing time of the task takes longer than a time that can be set for each task
(= n * cycle time of the task, 0 = monitoring inactive) with the parameter max. number at
reload (CAEX plus – properties Task – 1703), this task is deleted and a diagnostic information is
set for the corresponding task. In addition, all peripheral elements connected to this basic system
element are switched to the "Module shut down" state (substitute value input on the peripheral
element). This state can only be canceled with a startup (power up or reset) of the basic system
element.
• While synchronizing the application program via the redundancy synchronization link, the run time
supervision is deactivated.
• Only the redundancy synchronization link is supervised (see "Monitoring of the Interfaces").
The time management ensures the most possible precise termination of time-controlled function blocks
(e.g. Monoflop). The time management exists with each task. The accuracy of the time set in the
function block is dependent on the cycle time of the task in which the function block is processed. This
time only makes sense in multiples of the cycle time of the task.
Example for a time that is not set in multiples of the cycle time:
Special cases
• Task stopped
The time is extended by the duration of this state. The time management of other tasks is
not affected by this.
With a cold start, the time blocks begin again with their initial value
• Stationary cycles
Time-controlled function blocks work normally during the stationary cycles. However, if the
time expires within the stationary cycles, signals derived from this are first effective after
completion of the stationary cycles.
6.1.3. Initialization
Before a task manages to be executed for the first time with its programs, the signals and the variables
must be switched to a defined state.
For this purpose, various methods are used depending on the trip:
Depending on the tripping point, distinction is made between a cold - or warm start. The distinction only
affects variables and signals etc. flagged RETAIN.
Warm start: the variables and signals etc. flagged RETAIN are not initialized
Cold start: the variables and signals etc. flagged RETAIN with the initial value defined by the system
or by the user are initialized.
After the initialization of the signals at the input and the variables, the programs are initialized by means
of stationary cycles.
On expiry of the stationary cycles, the output process images are updated.
The startup of a basic system element (resource) can be tripped by means of:
All signals of the input and output process images, the resource-global variables and parameters and
the local variables of the programs of all tasks are initialized.
A distinction is made between three possible initial values for each variable:
• RETAIN
with warm start the resource-global variables and local variables of the programs are initialized
with those values, that were current before the power failure.
with cold start these variables are initialized with the initial value defined by the system or by the
user.
A distinction is made between three possible initial values for each variable:
• RETAIN
with warm start the resource-global parameters are not initialized.
with cold start the resource-global parameters are initialized with the initial value defined by the
system or by the user.
The input process images for periodical information are set to 0. Before the tasks start, the input
process image is written with the current process information. For failed peripheral elements the
corresponding periodical information "Module failed" is set.
The input process images for spontaneous information objects are initialized with their initial value
according to the type identification by means of messages. A distinction is thereby made between three
possible initial values for each spontaneous information object:
• Initial value defined by the system; see "Input Process Image for Spontaneous Information
Objects"
• Initial value defined by the user; basic data of certain spontaneous information objects (see
"Message Characteristics") an initial value can be specified by the OPM II
• RETAIN
with warm start all elements of a spontaneous information object are initialized with those values,
that were current before the power failure (see "Message processing for spontaneous information
objects").
with cold start all elements of a spontaneous information object are initialized with the initial
value defined by the system or by the user.
With which initial value the input process image is initialized is dependent on the spontaneous
information object and on parameters (see "Input Process Image for Spontaneous Information
Objects").
Before the tasks are started, a general interrogation is tripped and the arrival of all assigned GI-capable
messages with process information is waited with time out (t = number of assigned messages x 10ms). On
expiry of the time, the spontaneous information objects for non-received messages are processed with
their initial value and "not topical" (NT).
The output process images for periodical information are updated on expiry of the stationary cycles
and transmitted over the Ax 1703 peripheral bus to the local peripheral elements.
The output process images for spontaneous information objects are updated on expiry of the
stationary cycles. Subsequently, messages are generated for all spontaneous information objects and
transferred with the cause of transmission "interrogated by general interrogation". With the next cycle,
the change monitoring for spontaneous information objects takes place.
The startup of the open-/closed-loop control function (the resource or a task) can be tripped by means
of:
• online test
Thereby a so-called warm- or cold start of the open-/closed-loop control function is performed
dependent on the operator input.
A distinction is made between three possible initial values for each variable:
• RETAIN
with warm start the resource-global variables and the local variables of the programs are not
initialized.
with cold start the resource-global and the local variables of the programs are initialized with the
initial value defined by the system or by the user.
Attention: Resource-global variables are only handled with a warm- or cold start, which acts on the
resource.
The input process images for periodical information are not initialized.
Non-GI-capable messages with process information are initialized with their initial value according to type
identification by means of messages. A distinction is thereby made between three possible initial values
for each spontaneous information object:
• Initial value defined by the system; see "Input Process Image for Spontaneous Information
Objects"
• Initial value defined by the user; basic data of certain spontaneous information objects (see
"Message Characteristics") an initial value can be specified by the OPM II
• RETAIN
with warm start no initialization.
with cold start all elements of a spontaneous information object are initialized with the initial
value defined by the system or by the user.
With which initial value the input process image is initialized is dependent on the spontaneous
information object and on parameters (see "Input Process Image for Spontaneous Information
Objects").
Exception:
• RETAIN
with cold start all elements of non-GI-capable messages with process information are initialized with
the initial value defined by the system or by the user.
The output process images for periodical information are updated on expiry of the stationary cycles
and transmitted over the Ax 1703 peripheral bus to the local peripheral elements.
The output process images for spontaneous information objects are updated on expiry of the
stationary cycles. Subsequently, the change monitoring for spontaneous information objects takes
place.
Stationary cycles are used for the processing of intentional feedback, in order to obtain stable initial
states after the initialization phase. For the processing of the stationary cycles, the number of passes for
each task can be parameterized. The number is to be so chosen, that all feedback pass through in such
a way, that the output signals show a stable state.
Attention: if insufficient stationary cycles are run through, on startup, undesirable generation of
messages for spontaneous information objects or outputs to the local peripheral elements
can occur.
The input handling is used for the provision of consistent process images for each task for the duration
of the program processing.
The input handling exists for each task and consists of:
Spontaneous information objects can be stored non-volatile (Retain). The maximum number is 256.
Which spontaneous information objects are stored non-volatile (Retain), can be set by means of
parameters in the OPM II.
After reception of a message with process information the entry is carried out in the input process image for
spontaneous information objects according to the selected storage method.
The message processing for spontaneous information objects is available for each task.
• state stored
• chronological message
• chronological global
With the storage method "State Stored" the spontaneous information objects from received messages
are entered directly in the input process image for spontaneous information objects.
With the storage method "Chronological Message" for each cycle all spontaneous information objects of
the received messages are entered in the input process image for spontaneous information objects,
until a message with the same address would be entered.
Example:
n n+1 n+2
Cycle
Received message
A B A C
Message processing
A B A C
If more messages arrive than can be processed, a ring overload can occur. This state can also occur, if
the associated task has been halted through the online test.
Error handling
With an overload of the ring, a diagnostic information is set for the corresponding task and a further
entry is prevented. If more messages arrive, before the ring is half free again,
Once the ring is half free again, the spontaneous information objects flagged during the ring overload
are entered in the ring with the last valid state and processed as described previously.
With the storage method "Chronological Global" for each cycle precisely one spontaneous information
object is entered in the input process image for spontaneous information objects.
If more messages with spontaneous information objects arrive than can be processed, a ring overload
can occur. This state can also occur, if the associated task has been halted through the online test.
Error handling
With an overload of the ring, a diagnostic information is set for the corresponding task and a further
entry is prevented. If more messages arrive before the ring is half free again,
Once the ring is half free again, the spontaneous information objects flagged during the ring overload
are entered in the ring with the last valid state and processed as described previously.
On failure of the source (communication interface, peripheral element etc.), for all GI-capable messages
with process information affected by this the quality descriptor "not topical" and the cause of transmission
"spontaneous" (BOOL) is set.
Once the source is available again, with the next messages all elements of the associated spontaneous
information objects are updated.
Explanation of the symbols, designations and values used in the following tables.
GI GI-capable
YES Spontaneous information object is also transmitted with a general
interrogation
NO Spontaneous information object is transmitted exclusively due to an
event (change, operator input)
PER YES / NO Direct transfer of the basic data of a message to the peripheral
elements as periodical information
INIT YES / NO The basic data of the spontaneous information object can be specified
an initial value by the OPM II. Which basic data can be specified an
initial value, can be seen in chapter "Input process images for
spontaneous information objects"
ReqMem <value> Specifies, how much memory is required in the process images at least
[in bytes] (without additional status) for a message. each assigned additional
status is to be added. Values see "Input process images for
spontaneous information objects"
• Standard status dependent on the type identification of the spontaneous information object
e.g.:
─ Quality descriptor invalid (IV)
─ Quality descriptor not topical (NT)
─ Quality descriptor overflow (OV)
─ Cause of transmission spontaneous
─ Cause of transmission GI
• Additional status dependent on the type identification of the spontaneous information object
e.g.:
─ Quality descriptor substituted (SB)
─ Confirmation (P/N)
─ Quality descriptor blocked (BL)
─ Test (T)
─ Redundancy
─ Cause of transmission (COT)
─ Originator address
─ Time and date
The definition of basic data, standard status and additional status is described for each type
identification of the spontaneous information object in the following tables.
Explanation of the symbols, designations and values used in the following tables.
Format Specifies the value range and the required memory in the process
image
BOOL binary value range 0/1 required memory 1 byte
USINT analog value range 0 … 255 required memory 1 byte
INT analog value range -32,768 … 32,767 required memory 2 byte
UINT analog value range 0 … 65,535 required memory 2 byte
DINT analog value range
-2,147,483,648 … 2,147,483,647 required memory 4 byte
UDINT analog value range 0 … 4,294,967,294 required memory 4 byte
REAL analog value range short real
8.43 x 10 –37 ... 3.37 x 1038 required memory 4 byte
TIME Table value range 8 x 0 … 255 required memory 8 byte
Single-point information TI 30
Double-point information TI 31
Bitstring of 32 bit TI 33
Integrated totals TI 37
Single command TI 45
Double command TI 46
Bitstring of 32 bit TI 51
This function enables signals assigned in CAEX plus of basic data of the spontaneous information
objects to be converted to periodical information. This periodical information is transmitted directly to the
peripheral elements over the Ax 1703 peripheral bus.
For which spontaneous information objects this function is available, can be seen in chapter
"Characteristics of the Messages".
At the beginning of every cycle of a task, the synchronization of the input process image of the
corresponding task takes place by copying over the signals from the input process images for periodical
information, system information and spontaneous information objects. Only signals are copied over that
are assigned to the task.
Due to the synchronization a consistent process image is ensured for the duration of the program
execution of the task.
Dependent on the source of the signal (periodical information, system information or spontaneous
information object) different signal processing operations are performed.
During the synchronization test switches are taken into account. These test switches can be switched
on and –off by means of the Online Test and prevent an updating of the selected signals for all tasks.
The synchronization of the input process images takes place by copying over the states of all periodical
information of a peripheral element, if at least one periodical information of the peripheral element in the
corresponding task is assigned as a signal.
A copying over of the periodical information of a peripheral element does not occur:
On failure of the peripheral element, the states before the failure are retained and the periodical
information "Module failed" is set for the corresponding peripheral element.
Note: Which periodical information is available for a peripheral element can be referred to in the
corresponding system element manual.
The following diagram shows the times, at which the input process images are updated for each task.
10ms 10ms 10ms 10ms 10ms 10ms 10ms 10ms 10ms 10ms 10ms
System clock
Time handling and Ax-PE bus
Transmission of period. information
Fast task
Cycle time 20ms
Task
Cycle time 30ms
Slow task
Cycle time 50ms
The synchronization of the input process images takes place by copying over all system information, if
at least one system information is assigned as a signal in the corresponding task.
The following table shows the possible system information and their features:
SvSystemInput.Init BOOL is set for the duration of the stationary cycles of the corresponding task.
SvSystemInput.Onlinetest BOOL is set for the duration of the active online test
SvSystemInput.Systemstart BOOL is set for the duration of the stationary cycles after a startup of the basic
system element.
SvSystemInput.Warmstart BOOL is set during the first cycle after a warm start of the corresponding task
for one cycle, regardless of whether stationary cycles or not
SvSystemInput.Coldstart BOOL is set during the first cycle after a cold start of the corresponding task
for one cycle, regardless of whether stationary cycles or not
SvSystemInput.RuntimeError BOOL is set during the next cycle after a timeout of the corresponding task for
one cycle
SvSystemInput.RegNr USINT Region number of the automation unit on which the application program
is running
SvSystemInput.CmpNr USINT Component number of the automation unit on which the application
program is running
SvSystemInput.BSENr USINT Number of the basic system element on which the application program
is running
SvSystemInput. UINT is set for one cycle of the corresponding task, after the initialization has
RuntimeErrorCount been terminated
The synchronization of the input process images takes place by copying over the basic data and
standard states of the spontaneous information object, if at least one element of the spontaneous
information object is assigned as a signal in the corresponding task. The copying over of an additional
status only takes place, if it is also assigned to a signal.
A copying over of the spontaneous information object does not occur, if the test switch for the
spontaneous information object is activated.
Normally the state of the spontaneous information object in the input process image of the
corresponding task is copied.
With certain elements of spontaneous information objects (e.g. command) no change of the information
occurs through the transmission. For this information, a negative edge is automatically generated in the
following cycle. Which elements of the spontaneous information object are affected by this, is described
for each type identification in chapter "Input Process Image for Spontaneous Information Objects"
column "STO".
The output handling is used for updating the local peripheral elements (periodical information) and the
message generation for system information and spontaneous information objects after the program
execution of a task.
The output handling is available for each task and consists of:
Before the data transfer, test switches are taken into account. These test switches can be switched on
and off by means of the Online Test and prevent an updating of the selected signals for all tasks.
The updating of the peripheral elements takes place by copying over the output process images for
periodical information in the process images of the peripheral elements with the help of the Ax 1703
peripheral bus.
The updating of a peripheral element takes place with the cycle of the highest-priority task, which has
an assignment to a periodical information of this peripheral element.
Note: Which periodical information a peripheral element processes, can be referred to in the
corresponding system element manual.
With the application program messages with system information can be generated with the help of special
function blocks.
The following table shows which messages with system information are generated with which function
block.
By means of the application program, with the help of special function blocks diagnostic information of
the class "E(xternal)" and "W(arning)" can be set or reset.
The following table shows which diagnostic information are generated with which function block.
For the generation of messages with process information, the signals in the output process images that
are assigned to an element of a spontaneous information object, are monitored for change.
The change monitoring takes place in a grid of the cycle time of each task, in which the signal is
assigned to a spontaneous information object.
The change monitoring acts on basic data and selected elements of the spontaneous information
objects (see column "GEN" in the table in chapter "Output Process Image of Spontaneous Information
Objects")
On a change of the state in a corresponding element of the spontaneous information object, the
generation of the message is initiated.
Thereby several methods are used for the decision "valid change":
• every change of the information state of the signal regardless in which new state
• change of the information state of the signal with a positive edge
• change according to the rules of the additive threshold value procedure
Which method of change monitoring is used for an element in the spontaneous information object can
be referred to in the column "GEN" in the table in chapter "Output Process Image of Spontaneous
Information Objects".
The additive threshold value procedure prevents an unnecessary loading of the links with insignificant
changes of the corresponding signal and acts only on the basic data of the spontaneous information
objects with measured values.
In the grid of the cycle time of the corresponding task, the measured value is monitored for change. If
the deviation from the last spontaneously transmitted measured value is greater than the set
unconditional threshold (absolute_threshold), the new measured value is transmitted immediately.
Otherwise, in the grid of the cycle time of the corresponding task the deviations from the last
spontaneously transmitted measured value are added according to polarity sign. First when the amount
of this total exceeds the set additive threshold (add._threshold) is the current measured value
spontaneously transmitted.
A transmission of the measured value due to a general interrogation does not influence the threshold
value procedure.
Examples
Example 1: After transmission due to the exceeding of the large threshold, the value has changed
once by 79 (< the large threshold) and subsequently remains constant. The measured
value is transmitted after 7.5 seconds.
0.0s 0,1s 0.2s 0.3s 0,4s 0,5s 0.6s 0.7s 0.8s ... 7,4s 7,5s
Measured value 300 379 379 379 379 379 379 379 379 ... 379 379
Difference >80 79 79 79 79 79 79 79 79 ... 79 79
Additive total 0 79 158 237 316 395 474 553 632 ... 5925 6004
Transmission x x
Example 2: After transmission due to the exceeding of the large threshold, the value has changed
once by 1 (< the large threshold) and subsequently remains constant. The measured
value is transmitted after 10 minutes.
0.0s 0,1s 0.2s 0.3s 0,4s 0,5s 0.6s 0.7s 0.8s ... 599,9 600s
Measured value 300 301 301 301 301 301 301 301 301 ... 301 301
Difference >80 1 1 1 1 1 1 1 1 ... 1 1
Additive total 0 1 2 3 4 5 6 7 8 ... 5999 6000
Transmission x x
Example 3: After transmission due to the exceeding of the large threshold, the value continually
changes by ±1. The measured value is not transmitted.
0.0s 0,1s 0.2s 0.3s 0,4s 0,5s 0.6s 0.7s 0.8s ... 7,4s 7,5s
Measured value 300 301 300 299 300 301 300 301 299 ... 300 301
Difference >80 1 0 -1 0 1 0 1 -1 ... 0 1
Additive total 0 1 0 1 0 1 0 1 1 ... 0 1
Transmission x
If a spontaneous information object has been activated for transmission due to a change, a message with
process information is generated.
The generation of the message is carried out in every task, in which a signal has been assigned to the
corresponding spontaneous information object.
Special case: if different elements of a spontaneous information object are assigned from several tasks,
the message generation takes place in the highest-priority task with an assignment to this
spontaneous information object
• Data transfer of the message to the internal distribution of messages with process information.
With the generation of messages with process information test switches are taken into account. These test
switches can be switched on and –off by means of the online test and prevent a transfer of the message
for the selected spontaneous information object.
Attention: If a spontaneous information object is switched to test, it is not transferred with the quality
descriptor "blocked".
With a GI-request, all GI-capable messages with process information of all tasks are transferred.
To keep the system load as little as possible, the messages are transferred staggered.
In a grid of 30ms, beginning with the highest-priority task, n messages of a task are transmitted. If there
are no more GI-capable messages to transmit in a task, it is skipped.
The following table specifies the number of messages to be transmitted for each task:
After completion of the stationary cycles, all GI-capable messages with process information of the initialized
task are transferred staggered.
Explanation of the symbols, designations and values used in the following tables.
GI GI-capable
YES Spontaneous information object is also transmitted with a general
interrogation
NO Spontaneous information object is only transmitted with a change
PER YES / NO Direct transfer of the basic data of a message to the peripheral
elements as periodical information
ReqMem <value> Specifies, how much memory is required in the process images at least
[in bytes] (without additional status) for a message. Each assigned additional
status is to be added. Values see Output process images for
spontaneous information objects
Explanation of the symbols, designations and values used in the following tables.
Format specifies the value range and the required memory in the process image
BOOL binary value range 0/1 required memory 1 byte
USINT analog value range 0 … 255 required memory 1 byte
INT analog value range -32,768 … 32,767 required memory 2 byte
UINT analog value range 0 … 65,535 required memory 2 byte
DINT analog value range
-2,147,483,648 … 2,147,483,647 required memory 4 byte
UDINT analog value range 0 … 4,294,967,294 required memory 4 byte
REAL analog value range short real
8.43 x 10 –37 ... 3.37 x 1038 required memory 4 byte
TIME Table value range 8 x 0 … 255 required memory 8 byte
Single-point information TI 30
Double-point information TI 31
Bitstring of 32 bit TI 33
Integrated totals TI 37
Single command TI 45
Double command TI 46
Bitstring of 32 bit TI 51
The following situations are to be distinguished with the loading of an application program:
Note: The SAT TOOLBOX II keeps track of changes applied to an application program by
maintaining a revision counter, and remembers the most recently loaded revision of each
application program. If the revision of the currently running application program is not
identical with that of the most recently loaded, after the loading of the new revision of the
application program, a startup of the open-/closed-loop control function is carried out with a
cold start.
Functions in detail
• Variables or signals
only an initialization of newly added variables and signals takes place (see "Startup of the Open-
/Closed-Loop Control Function"). For newly added "Retain" variables and signals a cold start is
performed.
Attention: With a change of the initial value for an existing variable or signal, this is not accepted
immediately. The new initial value is first effective with a startup of the basic system
element or the open-/closed-loop control function (cold- or warm start tripped by the
Online-Test).
• Programs or tasks
only an initialization of new tasks or programs takes place with a startup of the open-/closed-loop
control function with a cold start.
The following table shows which changes in the application program (a) necessitate a startup of the
basic system element, and (c) which are accepted without.
• Display/Forcing of values
• Test switches input-/output messages or PE input/output-PIM´s
• Changing the execution status of the open-/closed-loop control function
• Setting breakpoints
• Real time archive
• Display status information
• Read and write variables
• in online-test-fields and
• in value-fields
For that specific modules are needed, that must be included with the creation of the function diagram.
Display
• Display of structures
Structures are also displayed via OLT-fields, whereby however always only 1 structure element
can be assigned to an OLT-field. I.e. the display of complete structures is presently not possible.
Forcing
Forcing means an intervention by the user in the logic of the program by changing the value of the
variable.
One-time forcing
With CAEx plus one can change the value of variables in the online test. This type of change however
only has validity, as long as this variable is not overwritten again through functionality (e.g.: through a
connection). Consequently the one-time forcing remains limited to the following types of variables of a
POE:
Permanent forcing
Through the permanent forcing, a connection is changed in such a way, that a constant value specified
by the user is used instead of the actual source of the connection.
By means of test switches, that can be controlled with the online test, the copy operation for
• periodical information
─ for each information or
─ each peripheral element
Stop controller
The resource is halted. The input- and output images are no longer updated, the last values are
retained. Messages for the input process image, that are to be handled in chronological order, are piled
up.
Start controller
The halted resource is started. No initialization steps such as e.g. stationary cycles are performed.
Piled-up messages are processed.
Halt task
The input- and output images assigned to the task are no longer updated, the last values are retained.
Messages for the input process image of the task, that are to be handled in chronological order, are
piled up.
Continue task
The halted task is started. No initialization steps such as e.g. stationary cycles are performed. Piled-up
messages are processed.
Halt program
The program is halted. The input- and output images continue to be updated. Chronological (message
or global) messages can possibly be discarded during the stoppage of the application program.
Continue program
The program continues to be executed again without any initialization.
6.1.7.4. Breakpoints
Through the breakpoint function the following operating steps are possible:
• Breakpoint
• Cycle step
Breakpoint
Up to 4 breakpoints can be defined for a trigger condition. The logic operation of these breakpoints can
be set to logical "AND" or "OR".
The condition can be set for each of these breakpoints:
• Variable of the BOOL type Value equal to or not equal to 0 or 1
• Variable of the INT or REAL type Value smaller, equal to, not equal to or greater than the set
value
The check of trigger condition takes place at the end of the selected task. If the trigger condition is
fulfilled, depending on the setting
• the selected task or
• the resource
is stopped and a diagnostic information of the class „Test“ is set.
Cycle step
In the operating mode "Cycle step" the selected task is executed one time and then halted.
The real time archive of the open-/closed-loop control function is a function, that records variables or
signals after every cycle. Which variables and signals are to be recorded, can be defined with the
SAT TOOLBOX II tool "CAEx plus Online-Test". As a result it is possible to display changes of variables
and signals chronologically with the help of the oscilloscope function.
A chronological display of value changes is also possible without the real time archive. However the
display of the value changes takes place, in the best case, with a resolution of 200ms (dependent on
the number of values to be displayed and the baud rate). It can thereby happen, that value changes
smaller than the resolution are not signaled on the monitor screen.
The real time archive has a memory with a capacity of 100 KBytes for one resource.
The real time archive records these defined variables and signals in this memory. There are 2
possibilities of terminating the recording:
If the recording is terminated by an operator input, the entire memory is utilized as pre-history.
If the recording is terminated by the trigger condition, the memory is split up into a pre- and post-history.
On reaching the trigger condition, recording continues until the memory for the post-history has been
filled.
How much memory is utilized for the pre- and post-history, is determined by a percentage setting in the
online test. The moment between pre- and post-history is determined by a trigger condition. The check
of trigger condition takes place at the end of the selected task.
Which variables and signals and in which periodicity these variables and signals are to recorded in the
real time archive, is determined in the online test. The periodicity is determined by assigning the
recording to a task. From its cycle time and the setting of how many cycles are to be omitted between
the recordings, the resolution of the display in the oscilloscope function is produced.
Resolution [ms] = cycle time [ms] of the selected task * (number of cycles to be omitted +1)
Note: If this resolution is greater than the cycle time of that/those task(s) that handle(s) the
selected variables and signals, value changes can be lost for the display!
Note: The consistency of the recorded variables and signals with each other is only guaranteed for
the selected recording task and for higher-priority tasks!
The time period for the pre- and post-history is dependent on the number of variables and signals that
are to be recorded and the aforementioned resolution. For the calculation of the time period, for a BOOL
type variable 1 byte is to be taken into account, for the INT type 2 bytes and for the REAL type 4 bytes.
Time period [ms] = 102400 / (number of variables of type BOOL +
(number of variables of type INT or REAL * 4)) *
resolution [ms]
Trigger Condition
The trigger condition can consist of up to 4 so-called "Watchpoints". The logic operation of these
watchpoints can be set to logical "AND" or "OR".
• Variable of the INT or REAL type Value smaller, equal to, not equal to or greater than the set
value
An activated trigger condition sets a diagnostic information of the class „Test“. A tripping of the trigger
condition sets a further diagnostic information of the class „Test“.
A termination of the online test does not automatically delete the trigger condition. I.e. The recording in
the archive does not need any active connected SAT TOOLBOX II. A read out of the real time archive is
possible at any time.
can be interrogated.
With the interrogation of the status information, a reset of the current run time or the number of timeouts
is possible as an option.
If the online test is terminated, the following set test functions are automatically cancelled again:
The following functions are only deactivated after positive confirmation of the inquiry on terminating the
online test:
• Test Switches
• Force-Markers
• Real Time Archive
The treatment for commands serves for the check of the spontaneous information objects to be
processed with the help of the open-/closed loop control function and transmission of the confirmation
for:
• Pulse commands
─ single command (TI = 45, 58)
─ double command (TI = 46, 59)
─ regulating step command (TI = 47, 60)
• Setpoint values
─ set point command, normalized value (TI = 48, 61)
─ set point command, scaled value (TI = 49, 62)
─ set point command, short floating point number (TI = 50, 63)
• Bitstring
─ Bitstring of 32 bit (TI = 51, 64)
The data transfer of the spontaneous information objects to the application program of the open-/closed-
loop control function for further processing is dependent on the result of these checks.
The activation of the element or function to be controlled is the task of the application program of the
open-/closed-loop control function.
For the proper operation of this function, information is required by the application program of the open-
/closed-loop control function (e.g. from an interlocking logic) for the choice of a positive or negative
confirmation.
The treatment for command is only performed, if the parameter IEC_Enable has been set. This
parameter can be set individually for each command.
The treatment for pulse command comprises the following processing functions:
• Prepare command output procedure
─ formal check
─ retry suppression
─ 1-out-of-n check
─ direct command or
select- and execute command
─ control location check
─ command locking
─ system-element overlapping 1-out-of-n check
General Functions
• Error handling
Information Category
System information • Information to the application program
− Cmd_Busy (command output busy) GetCmdBusy
− Cmd_Locked (sum command interlocked) GetCmdLocked
• Information from the application program
− Sys_1_out_of_n_ena SetCmd_1_out_of_n_ena
(system-element overlapping 1-out-of-n
enable)
− Ctrl_Location (control location) SetControlLocation
− Set (control location takeover) SetControlLocation
− State (control location state) SetControlLocation
spontaneous information objects • Information to the treatment for commands and
in a broader consequence to the application
program data type
− single command data type
− double command data type
− regulating step command data type
− set point command, normalized value data type
− set point command, scaled value data type
− set point command, short floating point number data type
− Bitstring of 32 bit
• Information from the application program interlocking image
− command x interlocked RI image
− return information x
• Information to the application program
− sum command interlocked
The column "Category" specifies, with which function block the system information is processed or with
which parameter of the category "process-technical message" the message address of the spontaneous
information object is to be parameterized.
Principle
Retry suppression
1-out-of-n check
system information „Command output busy“
System-overlapping
1-out-of-n check system information „1-out-of-n enable“
Terminate command
output procedure
Procedure
If a faulty state is detected during this procedure an immediate abortion of the treatment takes place.
Depending on the error, various measures are initiated (see Error Handling).
Principle
Retry suppression
1-out-of-n check
system information „Command output busy“
System-overlapping
1-out-of-n check system information „1-out-of-n enable“
Terminate command
output procedure
Procedure
If a faulty state is detected during this procedure an immediate abortion of the treatment takes place.
Depending on the error, various measures are initiated (see Error Handling).
Principle
Retry suppression
Control location
check
Command spontaneous information object „Command x interlocked“
interlocking
1-out-of-n check
system information „Command output busy“
system-overlapping
system information „1-out-of-n enable“
1-out-of-n check
Terminate command
output procedure
Procedure
If a faulty state is detected during this procedure an immediate abortion of the treatment takes place.
Depending on the error, various measures are initiated (see Error Handling).
Before a command can be executed, a formal check is performed on the spontaneous information
object "command".
• Cause of transmission is
─ "Activation" or
─ "Cancellation of activation"
• Qualifier of command is
─ no determination or
─ short command execution time or
─ long command execution time
As a result of message repetition (Retries) on the link several spontaneous information objects
"Command" can be received with identical content. This can lead to errors of the command output such
as e.g. 1-out_of-n errors.
With the function Retry Suppression these spontaneous information objects are ignored. Thereby the
last corresponding message received is checked for equivalence (including the time information).
The procedure for the command transmission according to IEC 60870-5-101/104 for "direct command"
is set by means of the parameter select_execute_t = 0.
On receipt of the spontaneous information object "Command" with cause of transmission set to
"activation" and the data point identifier "execute" the command output procedure with following checks
is initiated:
• 1-out-of-n check
• Control location check
• Command locking
• System-element overlapping 1-out-of-n check
Depending on these checks a positive or negative confirmation of the activation takes place.
The procedure for the command transmission according to IEC 60870-5-101/104 for "select-and
execute command" is set by means of the parameter select_execute_t > 0. The parameterized
value specifies, within which time the execute command must be received following the selection
command.
On receipt of the spontaneous information object "Command" with cause of transmission set to
"activation" and the data point identifier "select", a check is performed whether the selection command
is permitted.
Depending on these checks a positive or negative confirmation of the activation takes place.
Upon positive confirmation of the activation the execute command is waited for.
Expiration of timeout
This waiting state can be terminated by means of a spontaneous information object "Command" with
cause of transmission set to "deactivation", the qualifier of command "S/E" is not relevant.
Note: If the selection command has not been confirmed (e.g. the enabling of the system-element
overlapping 1-out-of-n check is still expected), a negative confirmation of the deactivation is
transmitted and the selected command is canceled.
On receipt of the spontaneous information object "Command" with cause of transmission set to
"activation" and the data point identifier "execute" within the parameterized time select_execute_t
following a selection command, a check is performed whether the execute command is permitted.
If these conditions are fulfilled, the command output procedure is initiated with the following further
checks:
• 1-out-of-n check
• Control location check
• Command locking
• System-element overlapping 1-out-of-n check
Depending on these checks a positive or negative confirmation of the activation takes place.
The control location check is used to check whether the control location, specified with the originator
address in the spontaneous information object "Command", has command authority.
The originator address specified in the spontaneous information object "Command" must correspond
with the control location previously set.
If the originator address in the spontaneous information object "Command" does not match the control
locations previously set or if no control location has been preset:
The control location is set with system information with the help of the function block
"TB_SET_CONTROL_LOCATION" and is valid for all commands of a system element. Up to 256
control locations can be set simultaneously.
Note: If a control location is never set, i.e. function block not used or no positive edge of the
system information "Control location takeover", the control location check is deactivated.
The selection and takeover of the control location must be carried out in the application program of the
open-/closed-loop control function on the particular system element.
The setting or adding of a control location or the deletion of all control locations is controlled by the
following system information:
• control location
• control location takeover
• control location state
The following table shows the states of the system data points for the possible actions:
System Information
Action Control Location Takeover State
Setting or adding a control location Originator address positive edge ON
Delete all control locations irrelevant positive edge OFF
Note: The control location(s) of the system element is (are) to be set after every startup.
For the definition of the control location, the following values indicate the originator address.
With the help of the command locking, commands can be rejected or allowed process-dependent. For
this a process-dependent interlocking logic for each command or groups of commands is to be created
in the higher-level open-/closed-loop control function.
The information formed from this is to be signaled to the treatment for commands with a spontaneous
information object "Command x interlocked".
The corresponding information "Command x interlocked" must be assigned to a command with the
parameter Interlocking_Image of the category "Process-technical message" of the product family
CAEx plus.
If no assignment of the spontaneous information object "Command x interlocked" is carried out for the
corresponding command, the command locking is inactive for this command.
The following table shows the assignment of the information in the spontaneous information object
"Command x interlocked" to the command.
Note: The elements of the double-point information are handled as two single-point information
items (see Data Interface)
If the corresponding information (sea previous table) is set in the spontaneous information object
"Command x locked":
With the 1-out_of-n check switched on, only one command is allowed at the same time. The 1-out-of-n
check can be enabled per command using the parameter 1_of_n.
The 1-out_of-n check only acts on commands, that also have the 1-out-of-n check switched on.
Commands that have the 1-out-of-n check switched on interlock all other commands that also have the
1-out-of-n check switched on.
Commands that do not have the 1-out-of-n check switched on do not interlock any other commands,
even if they have the 1-out-of-n check switched on.
For this, when receiving a spontaneous information object "Command", the command output becomes
busy and stays busy until the command output is terminated.
The receipt of a spontaneous information object "Command" with activated 1-out-of-n check during a
busy command output has the effect, that:
If a 1-out-of-n check is required over several system elements (e.g. all commands of an automation
unit), the "system-element overlapping 1-out-of-n check" is necessary.
The system-element-overlapping 1-out-of-n check is to be resolved with the help of a logic in the open-
/closed-loop control function and can be activated with the parameter 1_of_n_t > 0.
The parameter 1_of_n_t > 0 is only effective, if the 1-out-of-n check described before is switched on.
Sequence:
The system information "Command output busy" is set and the higher-level open-/closed-loop control
function is made available.
The logic in the open-/closed-loop control function checks, amongst other things, the information
"Command output busy" of all other system elements which are to be taken into account for the 1-out-
of-n check.
The result of this check must be made available to the command output with a positive edge of the
system data point "1-out-of-n enable" within the settable monitoring time (Parameter 1_of_n_t ).
Note: With the function "Select- and Execute command" the system data point "1-out-of-n enable"
must be present, until the execute command has also been completed.
If "1-out-of-n enable" does not arrive within the variable monitoring time (direct command, selection
command), or "1-out-of-n enable" is not present (execute command),
If the command message is an execute command (S/E = execute) and all relevant checks have been
passed, the command is signaled to the application program.
Thereby, the assigned elements of the spontaneous information object are entered in the input process
image of the corresponding task and set for one cycle.
Attention: With pulse commands, a possibly parameterized storage method with "chronological global
and message" is ignored. I.e. pulse commands that have a treatment according to
IEC 60870-5-101/104, are automatically "state stored" !
The monitoring of the pulse duration is used for terminating the command output procedure and for
generating the spontaneous information object "Command" with the cause of transmission "Termination
of activation".
This function is only effective for pulse commands and is split into two types:
• Termination after the command output time (without return information monitoring)
• Termination by the application program (with return information monitoring)
The end of the command output procedure is determined by the command output time in the code of
qualifier of command of the spontaneous information object.
Thereby, only the code of qualifier of command of short or long command output time is allowed. The
values for the short or long command output time can be set for each automation unit with the
parameter AU common settings | Short pulse duration and AU common settings | Long
pulse duration.
The termination of the command output procedure through the command output time is set by means of
the parameter RS_Mon_t with the value 0.
If the parameterized value for the corresponding (short or long) pulse duration is 0 or the code of
qualifier of command is "not determined":
Note: If the code of qualifier of command is "not determined", the termination of the command
output procedure must take place by mean of the application program (with return
information monitoring).
The end of the command output procedure is determined by a return information from the application
program.
The termination of the command output procedure by the application program is set by means of the
parameter RS_Mon_t with the value > 0. This parameter determines, after which time the return
information by the application program must occur at the latest.
For the following spontaneous information objects, a return information monitoring is possible
The return information is to be generated by the application program and signaled to the treatment for
commands with a spontaneous information object "return information x".
The corresponding return information must be assigned to a command with the parameter RS_Image of
the category "Process-technical message" of the product family CAEx plus.
The following table shows the assignment of the information in the spontaneous information object
"Return Information x" to the command.
Note: The elements of the double-point information are handled as two single-point information
items (see Data Interface)
For a proper functioning of the return information monitoring a positive edge of the return information is
necessary.
Note: In order to avoid errors in the signaling of an unsuccessful command initiation, the return
information monitoring time (Parameter RS_Mon_t) should be longer than the command
output time.
Application program
Special cases
If the actuator does not reach the end position or only reaches it after expiry of the return information
monitoring time,
Application program
If the actuator is already in the desired end position, the behavior can be set with the parameter
RS_outp_same_state for all commands of a system element:
Behavior
Action 2 3 4 5
Confirmation of the command (ACTCON) positive positive positive negative
Command to application program Yes Yes No No
Delay until transmission of termination of the √ √ - -
command (ACTTERM)
Termination of the command (ACTCON) negative positive negative -
• If the qualifier of command is "short or long pulse duration", the termination of the command
(ACTTERM) is transmitted after the parameterized short or long command output time.
• If the qualifier of command is "not determined" the termination of the command (ACTTERM) is
transmitted after the parameterized return information monitoring time.
Meaning
Cancel Parameter setting errors
Cancel with diagnostic Operating errors
For each negative confirmation (ACTCON, DEACTCON and ACTTERM) the origin of the cancellation is
also displayed with a warning class diagnostic information and an originator description.
6.2.4.4.1. Cancel
• System data point and internal state "Command output busy" is reset, if the parameter 1_of_n is
set for this command
A spontaneous information object with negative "Confirmation of the activation" or negative "Termination
of the activation" is transmitted.
Additionally:
• the system information "Sum command interlocked" is set for one cycle of the corresponding task
• a spontaneous information object ("Sum command interlocked") is transmitted.
6.2.5.1.3. Bitstring
A. Message Formats
Only messages, both for process- as well as system information, with type identification are supported
in the public range of the IEC 60870-5-101/104.
Exceptions are system functions that are not defined in the public range of the IEC 60870-5-101/104:
The message formats within the automation units are defined with regard to their contents in such a
way, that a conversion is possible at the interfaces to other automation units into the following formats:
• IEC 60870-5-101
• IEC 60870-5-103
• IEC 60870-5-104
IEC 60870-5-101 on serial or IEC 60870-5-104 on LAN/WAN connections are the standard format for
communication between the automation units of ACP 1703.
Over the transmission route, the message format between automation units is also provided with a
protocol-dependent message frame.
The following table shows the type identifications of the supported messages. For messages over the
communication routes, it can be set, whether they are transmitted with 3 or 7 octet (Parameter
Communication | PREi | IEC60870-5-101/104 | Variable elements of the
message | Time stamp) or without time stamp (parameter group
Communication | PREi | IEC60870-5-101/104 | Transmission with/without timetag).
The messages within the automation unit always have a time stamp with 7 octets.
This chapter describes exclusively those message formats within the automation unit.
A.1. Overview
• the general message data such as length, function code and the checksum
• the internal extra information dependent on the function code for process information
• the address
• the status
• the type identification
• the time stamp
• the information object
All numbers listed are decimal numbers, unless they are specified explicitly as hexadecimal numbers
(indicated by "Hex").
"xxx" means, that this bit is defined, but in this case is insignificant.
27 26 25 24 23 22 21 20
length
function code
extra information
address
state
type Identification
time stamp
information object
checksum
• LENGTH: [8 Bit]
Length over the entire internal data format in words without checksum
The function code specifies the format of the process information on the various buses. In addition
the possibility exists of transmitting process information over the fast data channel,
additive sum of all bytes modulus 256 on the Ax 1703PE-Bus or all words modulus 65536 on the
Node- and SBD-Bus in the message excluding the checksum.
27 26 25 24 23 22 21 20
0 length
1 2 or 4 function code
2 acknowledgement info
4 Reserve
7 Reserve
8 destination station
11 Station number
12
address
17
state
23
type identification
25
time stamp
32
nformation object
blocked
nformation objects
checksum
• DESTINATION STATION:
The source identification specifies the entry point of the message in the automation unit, or the
source of the message within the automation unit.
Station number 0-99 ... for protocol elements with Multi Point data communication
mode
254 ... the supplementary system element itself (source within the AU)
255 ... for protocol elements with Single Point data communication
mode
SQ ... 0 ... Information object address available for every information object
1 ... Information object address available one time, all other
information objects have ascending address order (LSB)
• FORMAT DEFINITION:
defines the structure of the blocked information objects (valid only for SQ = 0)
A.2.1.3. Address
The address is used for the identification of an information object. It consists of two parts
This address has no predefined assignment, rather is freely assigned by the user within the 5 octets of
the address field.
The type identification is also drawn upon for the unambiguous identification of an information object.
27 26 25 24 23 22 21 20
length
function code
extra information
13 CASDU2
15 IOA2
16 IOA3
state
type identification
time stamp
information object
checksum
A.2.1.4. State
27 26 25 24 23 22 21 20
length
function code
extra information
address
20 Reserve
21 Reserve
22 originator address
type identification
time stamp
information object
checksum
DL Data Loss
indicates FIFO overflow.
The last correct message before the data loss bears the set state.
GI General Interrogation
the message of the interrogated data contains this state. This bit is always set, if the cause
of transmission is 2 or 20.
R Redundancy Identifier
Used to distinguish the received data between the active or passive station.
0 ... active or no redundancy
1 ... passive
S Spontaneous
The transmission has been initiated spontaneous due to a significant change or due to an
internal or external interrogation event (e.g. with station interrogation). With cyclic data
transmissions or data transmissions initiated through GI the state is not set, however with
state-change- and transient storage it is entirely possible that simultaneous occurrences of
the GI- and the S-state can happen.
• T Test
The data point quality descriptor is dependent on the information object in the message. I.e. with
certain information objects several identifiers are irrelevant.
OV ... Overflow the value of the information is outside a predefined value range
BL ... blocked the information is blocked for the transmission
SB ... substituted the value of the information has been specified by an operator or a
sequence of automatic operations.
NT ... not topical The value is not current (e.g. the transmission is disturbed).
IV ... invalid The value is invalid. An acquisition function has determined an abnormal
function of the acquisition unit (e.g. the ADC no longer converts)
EI ... Elapsed time invalid (run-/ command time invalid)
The relative time in the message is invalid. This information is only provided
for protection events.
0 not available
1 ... 255 Number of the originator address
27 26 25 24 23 22 21 20
length
function code
extra information
address
state
23 type identification
24 reserved
time stamp
information object
checksum
27 26 25 24 23 22 21 20
length
function code
extra information
address
state
type identification
25 MILLISECONDS
26
27 IV XXX MINUTE
30 RESERVE MONTH
31 RES YEAR
information object
checksum
27 26 25 24 23 22 21 20
27 26 25 24 23 22 21 20
27 26 25 24 23 22 21 20
32 LK/T value
27 26 25 24 23 22 21 20
33 BS15 BS8
34 BS23 BS16
35 BS31 BS24
27 26 25 24 23 22 21 20
33 Vz 2-15
The resolution is not determined; if the resolution is less than the LSB-unit, the least significant bits are
set to "ZERO".
27 26 25 24 23 22 21 20
32 20 measured value
33 Vz 214
27 26 25 24 23 22 21 20
32 27 Mantissa 20
35 Vz 27 Exponent 21
The resolution is not determined; if the resolution is less than the LSB-unit, the least significant bits are
set to "ZERO".
27 26 25 24 23 22 21 20
32 27 20
34 223 216
35 VZ 230 224
36 0 CA CY sequence number
27 26 25 24 23 22 21 20
32 0 0 0 0 0 0 ES
33 27 20 elapsed time
34 215 28
27 26 25 24 23 22 21 20
33 27 20 relay duration
34 215 28
27 26 25 24 23 22 21 20
34 215 28
relay operating time ... Relay operation time <0 .. 59999 ms>
GC ... (General command) General - OFF - information
CLX ... (Command LX) Phase LX - OFF - information
27 26 25 24 23 22 21 20
27 26 25 24 23 22 21 20
27 26 25 24 23 22 21 20
27 26 25 24 23 22 21
20
Vz 214
The resolution is not determined; if the resolution is less than the LSB-unit, the least significant bits are
set to "ZERO".
27 26 25 24 23 22 21 20
32 20
The resolution is not determined; if the resolution is less than the LSB-unit, the least significant bits are
set to "ZERO".
27 26 25 24 23 22 21 20
32 27 Mantissa 20
33 215 Mantissa 28
35 Vz 27 Exponent 21
The resolution is not determined; if the resolution is less than the LSB-unit, the least significant bits are
set to "ZERO".
The container for process information is used for the direct pass through of messages that do not
conform to the 60870-5-101/104 standard.
27 26 25 24 23 22 21 20
19 xxx xxx xxx xxx xxx 0 0 xxx data point quality descriptor
33 message type
34
The container for process information does not contain any time information.
27 26 25 24 23 22 21 20
19 xxx xxx xxx xxx xxx 0 0 xxx data point quality descriptor
32
These parts only then exist in the message, if the number in the field "variable structure qualifier" is >1.
The subsequently described block occurs n times –1 according to the number in the field "Variable
Structure Qualifier". The first information object is always located in the "Standard part" of the internal
data format.
The addressing of the individual information objects corresponds to the IEC-60870-5-101 standard.
27 26 25 24 23 22 21 20
DP quality descriptor
information object
27 26 25 24 23 22 21 20
DP quality descriptor
information object
• the general message data such as length, function code and the checksum
• the source address
• the destination address
• message identification
• Source identification
• Bus information
• the information code dependent on the function code
• the system information
27 26 25 24 23 22 21 20
0 length
3 Source-Component = 0-254
message identification
source identification
bus information
reserve
20 0 information code
21 6 cause of transmission
25 reserve
checksum
27 26 25 24 23 22 21 20
0 length
3 Source-Component = 0-254
message identification
source identification
bus information
reserve
20 0 information code
21 6 cause of transmission
24 qualifier of interrogation
25 reserve
checksum
B. Reader´s Reactions
We designed and compiled this manual with great care and a high degree of responsibility. It was - and
still is - our goal to design it in a way that it will be of greatest possible use at your work.
In order to reach this goal, we also rely on your cooperation - especially where maintenance and care of
the manual are concerned.
To make this cooperation easier for you, we added a form to this section. Please make use of it.
We will try to consider your comments already in the next update of the manual.
Please fill in this questionaire and return it to us; we will send you the next update of this
manual free of charge as soon as it is available.
What is your impression of this manual? Do you think it is complete, correct and accurate, well-
structured, written in a comprehensible language, etc.?
......................................................................................................................................................................
......................................................................................................................................................................
......................................................................................................................................................................
......................................................................................................................................................................
Does this manual meet the requirements that may reasonably be demanded? Does it come up to your
expectations?
......................................................................................................................................................................
......................................................................................................................................................................
Did you find any mistakes in this manual? If so, please use form on the backside.
Please send a copy of this sheet (front and back) to the below address.
Ruthnergasse 1
A - 1210 Vienna
AUSTRIA
Correction Sheet
Sender: ..............................................................................................
..............................................................................................
..............................................................................................
Date: ..............................................................................................