299
decision-making that might influence the safety, and
each command issued through an interface is
verified several times, which enables elimination of
interface and transmission errors in the control
commands bypassing the decision logic (the error
would have to appear several times in different
telegrams while not causing change in redundancy
code of each of these telegrams) (Lewiński 2001).
The communication layer safety depends of the
assumed solution. If we use a safe medium, it is
required that such medium has very strict parameters
in terms of quality and resistance to the interferences
so the transmission over this medium is not
distorted. The simplest solution that fulfills such
requirements is optic cable. This medium is not
vulnerable to the electromagnetic interferences.
The Ethernet standard used in the communication
layer contains 4-byte redundancy code (CRC) for
the purpose of transmission correctness control.
A package with CRC code that was calculated in
the transmitter and stored in the frame being sent and
that differs from the code calculated in the receiver
will be ignored and a request will be sent to the
transmitter to repeat the transmission. Application of
such a transmission protection method results in the
fact that we may use medium with less strict
parameters, because the transmission is protected
against errors by verification of redundancy code
(CRC).
The control layer covers actuating systems such
as PLC controllers and end devices (pumps. Motors)
if their control takes place with bypassing of PLC
controllers (this is possible when they are provided
with an appropriate interface – such as Ethernet).
These devices may be current or voltage controlled
by the controllers but if they are provided with the
communication interfaces and diagnostic electronics,
it is possible to perform a current analysis of
equipment condition i.e. continuous diagnostics that
may detect not only two states – operating – non-
operating but also discover worn-out or damaged
bearing based upon the vibrations or certain
components of vibration that are characteristic to the
specific malfunctions.
The decision layers contains most frequently the
interlocking computers that supervise the total
control process and issue commands to the
controllers and devices. They are provided with one
or several communication standards and enable
cooperation with many system elements, such as
redundant computers, PLC controllers or actuating
equipment. These computers fulfill also function of
archive servers for the entire system.
The control and decision layer have to supervise
the communication layer and one another. If one of
the layers is damaged entirely or in part the system
has to work out a safe situation that would guarantee
elimination of possible hazard to human health or
life and further also material losses.
3.2 Creation of programs in a modern software for
control systems construction
Changes that took place during the last several years
in the creation of programs for each system layer
dramatically changed the system construction
method. This had an advantageous impact upon the
costs of the system and time of its construction, Fig.
1 shows the evolution of software with time.
Today, due to the modern software integrating all
layers and reducing the construction of a program to
combining the entire system of blocks representing
specific devices that mostly are repeatable and at the
same time enabling design of entirely new elements
(devices) with their own interlocking systems, the
complete construction of the system may take place
quicker and at the same time with minimum
requirements concerning the knowledge of
programming languages by the designer. The process
itself consists in connection of blocks with inputs or
outputs of the controllers or communication bus. The
blocks are programmed by persons with broader
knowledge and extensive information enables their
implementation by persons with minimum
programming knowledge. Configuration of specific
system elements based on the blocks may be
performed by assigning input constants and
description of units such that they have unique
identification in the system.
in the past
Today
New
110010100101001001001
001001010100100101001
010011100101010101001
010100101011110001010
100101010010010010010
100101010010100101010
010101010100111001010
101001010010101010010
100101010010100101010
010101010100111001010
101001010010101010010
Control Level
Bus System / Communicaion
Field Level / Automation
Tool #1
Tool #2
Tool #3
New complex
software
F
i
e
l
d
L
e
v
e
l
(
C
o
n
t
r
o
l
l
e
r
)
C
o
n
s
i
s
e
n
t
C
o
n
c
u
r
r
e
n
t
E
n
g
i
n
e
e
r
i
n
g
O
p
e
r
a
t
o
r
S
ta
ti
o
n
Control
Computer
B
u
s
s
y
s
t
e
m
C
o
m
m
u
n
i
c
a
t
i
o
n
Cost
Time
Functionality
Complex
System
Engineering Control System
Engineering Bus System
Engineering Auomation
Engineering “integrated”
Fig. 2. Evolution of programming methods in the control
systems based on PLC controllers
Exchange of information between the system
components takes place based upon global variables
predefined in the system, similarly as in the older
software. However, here we do not have to deal with
necessity to know how to define – the interface is
intuitive, enabling to decide which variable has to be
put for reading outside the controller – without going
deeper into the structure of the program.