Programable Logic controller questions 1-3

profiletzn789
PLC-7-3.pdf

MODULE TITLE: PROGRAMMABLE LOGIC CONTROLLERS

TOPIC TITLE: ADDITIONAL FACILITIES

LESSON 3: COMMUNICATION PROTOCOLS FOR

NETWORKING PLCs AND COMPUTERS

PLC - 7 - 3

© Teesside University 2011

Published by Teesside University Open Learning (Engineering)

School of Science & Engineering

Teesside University

Tees Valley, UK

TS1 3BA

+44 (0)1642 342740

All rights reserved. No part of this publication may be reproduced, stored in a

retrieval system, or transmitted, in any form or by any means, electronic, mechanical,

photocopying, recording or otherwise without the prior permission

of the Copyright owner.

This book is sold subject to the condition that it shall not, by way of trade or

otherwise, be lent, re-sold, hired out or otherwise circulated without the publisher's

prior consent in any form of binding or cover other than that in which it is

published and without a similar condition including this

condition being imposed on the subsequent purchaser.

________________________________________________________________________________________

INTRODUCTION ________________________________________________________________________________________

In the final lesson of this topic we examine the means whereby PLCs and

microprocessors are connected together, i.e. how they are networked and the

protocols which define what sort of signals pass along the network, the

connectors and the mediums used for the networks. Traditionally, manufacturers

devised they own methods of connecting their equipment which led to wholesale

disparity and incompatibility of equipment between different manufacturers with

the attendant inefficiencies and costs to industry. Protocols are an attempt to

rationalise the differences between manufacturers’ equipment, such that a piece

of equipment from any manufacturer will perform to the same communication

and control standards and characteristics. Even now there are many protocols

covering many aspects of PLC and microprocessor communication and

networking and it will be some time before a totally rationalised and relatively

simple system of process control equipment emerges.

________________________________________________________________________________________

YOUR AIMS ________________________________________________________________________________________

On complettion of this lesson you should be able to:

• understand what is meant by the term ‘networking’

• be aware that there are different types of network

• be aware of different types of medium for the interconnection of

networks

• be aware of the ‘Open Systems Interconnection Basic Reference

Model

• be aware of some common Networking Standards and Protocols.

1

Teesside University Open Learning (Engineering)

© Teesside University 2011

________________________________________________________________________________________

NETWORKS ________________________________________________________________________________________

The interconnection of PLCs and computers for the purpose of communication

between devices generally comes under the term networking.

With the rapid growth of new technology and equipment in industrial process

control, computing and digital communications manufacturers adopted their

own forms of data transfer, network configurations, interconnections, data

recognition, etc. This led to a plethora of different manufacturer-orientated

operating systems and equipment, usually to build a captive customer base.

Early on the need for equipment and operating system compatibility was

recognized but the formation and implementation of such standards and

protocols was a much slower process, still at present developing. Different

standards have been established some of which are discussed below. Some

standards are used where a PLC only ‘talks’ to a second PLC and others where

PLCs interact with each another and other equipment (PLC to printer, VDU,

etc). Each standard has its own operating characteristics and protocol

requirements. It follows that equipment not sharing the same standard with

other equipment with which it wants to interact, will be unlikely to be able to

do so.

Even with many manufacturers now conforming to agreed international

standards, there is a multitude of protocols and standards which are classified

into several ‘layers’ (as we shall see a little later) for different pieces of

equipment and different methods of interconnection over different mediums.

2

Teesside University Open Learning (Engineering)

© Teesside University 2011

ORGANISATION OF NETWORKS

Master Slave Networks

In computer networking, master/slave is a model for a communication protocol

in which one device or process, known as the master, controls one or more

other devices or processes known as slaves. Once the master/slave relationship

is established, the direction of control is always from the master to the slave(s).

Other communication protocol models include the client/server model, in

which a server program responds to requests from a client program, and the

peer-to-peer model (see below), in which either of the two devices involved

can initiate a communication session.

Peer-to-Peer Networks

Often referred to simply as peer-to-peer, or abbreviated P2P, peer-to-peer

architecture is a type of network in which each workstation has equivalent

capabilities and responsibilities. Peer-to-peer networks are generally simpler

than Master/Slave networks but they usually do not offer the same

performance under heavy loads. The P2P network itself relies on computing

power at the ends of a connection rather than from within the network itself.

The peer way consists of twin axial cables providing two highways for full

redundancy. The Highway Interface Adaptor (HIA) permits the connection of

multiple peer ways locally. Message routing is automatic such that path usage

is optimised.

3

Teesside University Open Learning (Engineering)

© Teesside University 2011

The Rosemount Peer Way, for example, operates on a transmission cycle that

occurs four times per second, during which every device is granted access to

the peer way for the transmission and reception of data and messages. These

messages are of three types:

• broadcast messages with no specific address

• point to point messages

• no-data messages.

FIGURE 1 is a peer way control network used on a Rosemount process control

system (known as a distributed control system) that uses microprocessors

distributed throughout an industrial process plant to control the process.

4

Teesside University Open Learning (Engineering)

© Teesside University 2011

FIG. 1 (Courtesy of Rosemount Ltd)

H iw

ay i nt

er fa

ce

ad ap

to r

(H IA

) H

iw ay

i nt

er fa

ce ad

ap to

r (H

IA )

S up

er vi

so ry

c om

pu te

r in

te rf

ac e

(S C

I)

P ee

rW ay

c on

tr ol

n et

w or

k

M ic

ro

V A

X T

M

in te

rf ac

e

S ys

te m

r es

ou rc

e

un it ( S R

U )

C on

tr ol

f il

e

C o n tr

o l fi

le

M u lt it u b e

co m

m an

d c

o n so

le

H iw

ay i n te

rf ac

e

A d ap

to r

(H IA

)

D at

a st

o ra

g e

5

Teesside University Open Learning (Engineering)

© Teesside University 2011

NETWORK LINKS

Digital signals are easier to transmit over distance because of the two threshold

limit nature of them. Analogue signals can be lost in noise picked up. It is in

order to minimise the effects of noise and interference from extraneous

magnetic fields, when transmitting analogue data signals over distance, that

special communication links or cables are used.

Unshielded Twisted Pair Cable (UTP Cable)

Twisted pair cables were first used in telephone systems by Bell (Laboratories)

in 1881 and by 1900 the entire American network was twisted pair, or else

open wire with similar arrangements to guard against interference. Twisting

pairs of cores together reduces what is referred to in communications as

‘crosstalk’, i.e. external field interference.

In telephone applications, UTP is often grouped into sets of 25 pairs according

to a standard 25-pair colour code originally developed by the American

Telephone and Telegraph Co (AT&T). Twisted pair cabling is often used in

data networks for short and medium length connections because of its

relatively lower costs compared to fibre optic and coaxial cabling. An

‘Ethernet’ network (see below) often uses UTP cable as the interconnecting

medium between equipments. FIGURE 2(a) shows a UTP cable and

FIGURE 2(b) a common telecommunications termination.

6

Teesside University Open Learning (Engineering)

© Teesside University 2011

FIG. 2(a)

(Copyright Qnet Group, www.click2qnet.com)

FIG. 2(b)

Currently there are 8 catagories of UTP cable for various applications (cat 1 –

cat 7 with two cat 5, cat 5 and cat 5e, catagories 1 and 2 not being suitable for

Ethernet applications).

Screened twisted pair cable is also available which further reduces the

susceptibility to interference from external fields.

7

Teesside University Open Learning (Engineering)

© Teesside University 2011

Coaxial cable

FIGURE 3 shows the construction of coaxial cable. It consists of a central

conducting wire separated from an outer conducting cylinder, a grounded

shield of braided wire, by an insulator, often ptfe.

The shield minimises electrical and radio frequency interference. The central

conductor is +ve with respect to the outer conductor. These cables do not

produce external electric and magnetic fields and are therefore not affected by

them.

Coaxial cable is the primary type of cabling used by the cable television

industry. It is also used for computer networks. It is often used as the data

highway in a ‘Local Area Network’ (LAN, see below). It is more expensive

than standard telephone wire but can carry more data and is less susceptible to

interference

FIG. 3

8

Teesside University Open Learning (Engineering)

© Teesside University 2011

Optical Fibre

Two ways of transmitting information are by cables or radio wave (usually

microwave) transmission. A third way is by fibre optics which sends

information coded in a beam of light down a glass or plastic pipe. It was

originally developed in the 1950s f or medical pr ognostic camer a

investigations. In the 1960s, engineers found a way of using the same

technology to transmit telephone calls and today a single optical fibre can carry

in excess of tens of thousands of telephone conversations.

Optical fibre is known for its reliability and immunity to sources of

interference. It has an extremely large bandwidth which is required if large

amounts of information are to be transmitted, ranging from 600 MHz to

1000 MHz. It is therefore suited to multimedia applications. Optical fibre

cables do not conduct electricity or support ground loops, so will be unaffected

by lightning strikes.

Optical fibres are filaments of transparent dielectric material, usually glass or

plastic, and usually circular in cross section. These constitute wave guides but

instead of the transmission of microwave frequency and above electromagnetic

waves, light waveguides condition the transmission of light. An optical fibre,

shown in FIGURE 4, usually has a cylindrical core surrounded by, and in

intimate contact with, a cladding of similar geometry. The refractive index of

the core must be slightly higher than that of the cladding for the light to be

guided by the fibre. FIGURE 4 shows a schematic of an optical fibre.

9

Teesside University Open Learning (Engineering)

© Teesside University 2011

FIG. 4

The simplest type of optical fibre is called single-mode. It has a very thin core

about 5 – 10 microns (millionths of a metre) in diameter. In a single-mode

fibre, all signals travel straight down the middle without bouncing off the

edges.

Another type of optical fibre cable is called multi-mode cable. Each optical

fibre in a multi-mode cable is about 10 times bigger than one in a single-mode

cable. This means light beams can travel through the core by following a

variety of different paths.

Multi-mode cables can send information only over relatively short distances

and, among other things, are used to link computer networks.

10

Teesside University Open Learning (Engineering)

© Teesside University 2011

________________________________________________________________________________________

NETWORKING PROTOCOLS AND STANDARDS ________________________________________________________________________________________

THE OPEN SYSTEMS INTERCONNECTION BASIC REFERENCE MODEL

The Open Systems Interconnection Basic Reference Model, often referred to

as the OSI Reference Model or simply OSI Model, is a layered, abstract

description for communications and computer network protocol design. It was

developed as part of the Open Systems Interconnection initiative (also called

the OSI seven layer model), which was an effort to standardize networking

that was started in 1982 by the International Organization for Standardization

(ISO) and others.

Layer 1, for example, is known as the physical layer and deals with modems

and computer port protocols, etc. Layer 2 deals with Data Links and

‘Ethernet’ protocol falls into this category (though some of its standards apply

to the physical layer). The name comes from the physical concept of the ether.

It defines a number of wiring and signaling standards for the physical layer and

two means of access at the Media Access Control (‘MAP’)/ Data Link layer.

11

Teesside University Open Learning (Engineering)

© Teesside University 2011

FIG. 5(a)

FIG. 5(b)

With acknowledgement to Wikipedia

Data Unit

Data

Segments

Packets

Frames

Bits

Host layers

Media layers

Layer

7. Application

6. Presentation

5. Session

4. Transport

3. Network

2. Data link

1. Physical

Function

Network process to application

Data representation and encryption

Interhost communication such as Peer to Peer

End-to-end connections and reliability

Path determination and logical addressing

Physical addressing

Media, signal and binary transmission

12

Teesside University Open Learning (Engineering)

© Teesside University 2011

LOCAL AREA NETWORKS (LAN)

A LAN is a series of interconnected computers and associated equipment

linked by line or radio, which form a network usually spanning a relatively

small area, for example, in a building or between a group of buildings. The

network can be increased by interconnecting LANs. A number of LANs

connected in this way is called a Wide-Area Network (WAN).

Wireless LANs use high frequency radio signals or infrared light beams to

communicate between the workstations. Wireless networks can be used

efficiently for allowing laptop computers or remote computers, etc. to connect

to the LAN. Wireless networks may be more convenient in older buildings

where it may be difficult to install cables.

Wireless LANs, standardized by IEEE 802.11, do have some disadvantages.

They are very expensive, provide poor security, and are susceptible to

electrical interference from lights and radios. They are also slower than LANs

using cabling.

ETHERNET

Ethernet has been standardized as IEEE 802.3. It uses a star-topology, twisted

pair wiring form and became the most widespread LAN technology in the

1990s. In recent years, Wi-Fi, the wireless LAN, has been used in addition to

or instead of Ethernet in many installations.

Layer 3 is the Session or Networking layer and contains many standards

dealing with the Internet. Other layers deal with such things as transmission of

data control, file transfer protocols, etc.

13

Teesside University Open Learning (Engineering)

© Teesside University 2011

SOME OTHER COMMON NETWORKING STANDARDS AND PROTOCOLS

RS-232 (RETMA) Standard

RS-232 is a layer 1 protocol which is an American standard for serial binary

data interconnection or a serial line interface protocol developed to connect

modems and computer terminals. It is commonly used in computer serial

ports. Another protocol in this layer is that of SDN Integrated Services

Digital Network.

RS is an abbreviation for RETMA Standard. (RETMA stands for Radio

Electronics Television Manufacturers' Association, formed in the US to

standardise the nomenclature of American vacuum tubes in 1953.)

The standard defines:

• electrical signal characteristics

• interface mechanical characteristics, pluggable connectors and pin

identification

• functions of each circuit in the interface connector

• standard subsets of interface circuits for selected telecom applications.

The standard recommended but did not make mandatory the common D-

subminiature 25 pin connector. The standard specifies 20 different signal

connections. Since most devices use only a few signals, smaller connectors

can be used.

14

Teesside University Open Learning (Engineering)

© Teesside University 2011

EIA-422 (formerly RS-422)

EIA-422, now TIA-422, has the title TIA-422 Electrical Characteristics of

Balanced Voltage Differential Interface Circuits.

It is an American technical standard which provides for data transmission over

terminated or non-terminated transmission lines.

An advantage offered by this standard includes data rates as high as

10 Mega baud at 12 metres (40 ft). The specification itself does not set an

upper limit on data rate, but rather shows how signal rate degrades with cable

length.

EIA-422 only specifies the electrical signalling characteristics of a single,

balanced, signal. Protocols and pin assignments are defined in other

specifications. The maximum cable length is 1200 m. Maximum data rates

are 10 Mbit/s at 1.2 m or 100 kbit/s at 1200 m.

A common use of EIA-422 is for RS-232 extenders often found in video

editing studios. EIA-422 uses a nominal 0 to 5 V signal.

15

Teesside University Open Learning (Engineering)

© Teesside University 2011

IEEE-488

IEEE-488 is a short-range, digital communications bus specification.

IEEE-488 is also commonly known as HP-IB (Hewlett-Packard Instrument

Bus). This came about in the late 1960s, when Hewlett-Packard, a

manufacturer of test and measurement instruments, such as digital multi-

meters, oscilloscopes, etc. developed an Interface Bus (HP-IB) to enable easier

interconnection between instruments and controllers such as computers. The

bus is also known as the GPIB (General Purpose Interface Bus). As other

manufacturers conformed to the HP system, the US Institute of Electrical and

Electronics Engineers used it as the IEEE Standard Digital Interface for

Programmable Instrumentation, IEEE-488-1975 (now 488.1). The protocol

consists of several parts. IEEE-488.1 formalized the mechanical, electrical,

and basic hardware protocol parameters of GPIB.

In addition to the IEEE, several other standards committees have adopted HP-

IB. The American National Standards Institute’s corresponding standard is

known as ANSI Standard MC 1.1, and the International Electrotechnical

Commission has its IEC Publication 625-1.

The IEEE-488 bus employs 16 signal lines — eight bi-directional used for data

transfer, three for handshake* [ not ready for data (NRFD), Data Valid (DAV)

and Not data accepted (NDAC)], five for bus management, plus eight ground

return lines.

________________________________________________________________________________________

*In data communications, a sequence of events governed by hardware or software, requiring mutual agreement

of the state of the operational modes prior to information exchange.

16

Teesside University Open Learning (Engineering)

© Teesside University 2011

IEEE-488 therefore uses 24-pin Amphenol-designed micro ribbon connectors

(often incorrectly termed Centronics-type) as shown in FIGURE 6. They are

most commonly manufactured in a stackable male/female combination that

allows for easy daisy-chaining by stacking cables. Mechanical considerations

limit the number of stacked connectors to four or less.

FIG. 6

With acknowledgement to Wikipedia

17

Teesside University Open Learning (Engineering)

© Teesside University 2011

Manufacturers Automation Protocol (MAP)

MAP developed jointly by the Electronic Industries Association (EIA) and the

International Standards Organisation (ISO) is based on the seven layer

International Standards Organization's (ISO) Open Systems Interconnect (OSI)

network model. It was designed to standardise the connections of the many

different types of manufacturing equipment.

MAP 3 defines two specifications for the application layer of the OSI; File

Transfer Access Management (FTAM) and Manufacturing Message

Specification (MMS). It is the latter that manufacturers of PLCs and

associated equipment are expected to adopt and it has the backing of the

Department of Trade and Industry in the UK. MAP implementation, however,

has proved to be not without difficulty with many delays, in part due to the

manufacturers ‘learning curve’ delay which accompanies new technological

innovation.

One of the disadvantages of MAP products is that they have to be flexible

enough to carry different types of information, yet fast enough to keep pace

with modern factory production.

Because MAP networks carry information from various intelligent devices,

such as computers and programmable logic controllers, the user group chose a

broadband, token-bus topology as the basis for its network. Broadband

networks are capable of simultaneously supporting many applications. By

comparison, a token-ring network and an Ethernet network support only one

application at a time.

18

Teesside University Open Learning (Engineering)

© Teesside University 2011

PROFIBUS

A popular European standard for industrial process control networking is

PROFIBUS (Process Field Bus). This is a popular type of field bus (an

industrial network system for real-time distributed control) which was

developed in 1989 as the result of a German research project involving 15

firms and research institutions.

PROFIBUS was defined in 1991/1993 as DIN 19245, changed in 1996 to EN

50170 and is, since 1999, included in the IEC 61158/IEC 61784 Standards.

The PROFIBUS standard is maintained, updated and marketed by PROFIBUS

International, a non-profit organisation in Germany.

19

Teesside University Open Learning (Engineering)

© Teesside University 2011

________________________________________________________________________________________

SCADA NETWORKS ________________________________________________________________________________________

SCADA is the acronym for Supervisory Control and Data Acquisition.

The term refers to large-scale, distributed measurement and control systems

commonly known as a Distributed Control Systems or DCS.

DCS was a development from Direct Digital Control where a central computer

monitored and controlled an industrial process.

The use of large computers in Direct Digital Control and in earlier systems

presented two major problems to the designer and user. These problems were:

• additional computers were required in order to ensure continuous

production on failure of one computer; this added significantly to system

costs

• the extended data communication paths, for signal transmission to and

from the computer and their respective end elements, resulted in data

corruption and loss of system integrity.

Distributed Control Systems are used to monitor and/or control entire

industrial processes from Chemical, Services to Transport, etc. Such systems

are manufactured by large process control companies such as Honeywell,

Rosemount, Taylor, Siemens, etc. They consist essentially of distributed

controllers or microprocessors situated throughout an industrial plant

connected to a common network (a LAN, for example, with Honeywell

system.) The controllers receive input signals from process sensors and

deliver output signals to the process actuators. The LAN networked

controllers are observed and accessed for control and maintenance, etc. by a

central control operator interface console. Many sensors are ‘smart sensors’,

20

Teesside University Open Learning (Engineering)

© Teesside University 2011

by which is meant they contain a microcontroller. Such sensors can be set,

programmed and maintained by connecting a laptop computer to them. Many

d.p. cells, for example, are ‘smart sensors’.

A SCADA system is essentially a DCS that uses PLCs as the preferred method

of distributed control. The PLCs are cheaper to purchase than the DCS system

components but lack their versitility.

SCADA systems include input/output signal hardware, controllers,

communication network, database and software. Like a DCS the SCADA

monitors and controls a complete site or a system spread out over a long

distance (kilometres/miles). Process control is often performed automatically

by Programmable Logic Controllers (PLCs) distributed around the site. A

PLC may control the flow of cooling water through part of an industrial

process, but the SCADA system may allow an operator to change the control

set point for the flow, and will allow any alarm conditions such as loss of flow

or high temperature to be recorded and displayed. The feedback control loop

is closed through the RTU (Remote Terminal Unit) or a PLC allowing the

SCADA system to monitor the overall performance of that loop.

A typical SCADA process control system is shown in FIGURE 7.

21

Teesside University Open Learning (Engineering)

© Teesside University 2011

FIG. 7

With acknowledgements to Wikipedia

An RTU, or Remote Terminal Unit, is a microprocessor-controlled device

that interfaces objects in the physical world to a distributed control system or

SCADA system by transmitting telemetry data to the system and/or altering

the state of connected equipment based on control messages received from the

system.

RTUs, PLCs and DCS are increasingly beginning to overlap in responsibilities,

and many vendors sell RTUs with PLC-like features and vice versa. The

industry has standardized on the IEC 61131-3 functional block language for

creating programs to run on RTUs and PLCs.

22

Teesside University Open Learning (Engineering)

© Teesside University 2011

Data acquisition begins at the PLC level and includes meter readings and

equipment statuses that are communicated to SCADA as required. Data is

then compiled and formatted in such a way that a control room operator can

make appropriate supervisory decisions that may be required to adjust or over-

ride normal PLC controls. Data may also be collected in to a Historian

(essentially a continuously updated database), to allow trending and other

analytical work.

COMMUNICATION INFRASTRUCTURE AND METHODS

SCADA protocols are designed to be very compact and many are designed to

send information to the master station only when the master station polls the

RTU. Typical SCADA communication protocols, of which there are several,

are all vendor specific, developed historically to lock customers into the

vendor customer base.

However, standard protocols are recognized by all major SCADA vendors.

Although SCADA can be connected to the internet it is considered inadvisable

for security reasons to do so as SCADA based systems are increasingly seen as

extremely vulnerable to cyberwarfare/cyberterrorism attacks.

Whether such concerns will cause a move away from the use of SCADA

systems for mission critical applications, towards more secure architectures

and configurations remains to be seen, however, the benefits and lower initial

costs of SCADA based systems still outweigh potential costs and risks.

23

Teesside University Open Learning (Engineering)

© Teesside University 2011

A LAN ARRANGEMENT IN A DCS SYSTEM

In order to get an idea of a networked system of microprocessor control and of

the layout of a basic controller and interfaces used in a distributed control

system, a typical block diagram of the Honeywell DCS data highway and

interface system is shown in FIGURES 8(a) and 8(b) (DEP is the ‘data entry

panel’).

FIG. 8(a)

Operator station

Interface 'A' 'B'Operator

station

Hiway traffic

director

Data hiway

To remote devices

master/slave communications

Interface 'A' 'B'

Interface Interface

Process interface unit

Controller

Data entry panel

Analog displays

Controller terminations

'A' 'B'

24

Teesside University Open Learning (Engineering)

© Teesside University 2011

FIG. 8(b)

With acknowledgement to Honeywell Control Systems Ltd

The fact that there are many such connection and data transmission protocols

highlights the gross incompatibility between different manufacturer ’s

equipment that existed prior to such protocols being formulated. There is still

some way and time to go before a universal protocol replaces the several

diverse protocols that now exist.

CPU micro proc.

ROM

RAM

RAM back up

DEP I/F

Hiway I/F

MUX and

ADC and

filters

Output station

Field inputs 4 - 20mA DC

Span zero

⎛ ⎝

⎛ ⎝

x

Field outputs 4 - 20mA DC

Mode and

manual control

1 x

3 x

2

4 x

5 x

6 x

7 x

8 x

1 y

2 y

3 y

4 y

5 y

6 y

7 y

8 y

PV RV

PV RV

Selection and data signals

Data hiway A

Data hiway B

Data hiway A

Data hiway B

25

Teesside University Open Learning (Engineering)

© Teesside University 2011

________________________________________________________________________________________

SELF-ASSESSMENT QUESTIONS ________________________________________________________________________________________

1. State the difference between Master/Slave networking and Peer to Peer.

2. State:

(a) two types of twisted pair cable

(b) the purpose of the shield in a coaxial cable

(c) two types of optical fibre.

3. State the seven layers of the OSI Protocol model and into which layer

would fall:

(a) Peer to Peer protocol

(b) Ethernet protocol.

4. State:

(a) the meaning of RS in the RS 232 standard

(b) the OSI layer into which RS 232 standard falls.

5. (i) What is ‘Profibus’?

(ii) What does the acronym ‘SCADA’ stand for?

26

Teesside University Open Learning (Engineering)

© Teesside University 2011

________________________________________________________________________________________

NOTES ________________________________________________________________________________________

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

27

Teesside University Open Learning (Engineering)

© Teesside University 2011

________________________________________________________________________________________

ANSWERS TO SELF-ASSESSMENT QUESTIONS ________________________________________________________________________________________

1. Master/slave networking involves a communication protocol in which one

device or process, known as the master, controls one or more other

devices or processes known as slaves. A peer-to-peer architecture is a

type of network that involves a protocol in which each workstation has

equivalent capabilities and responsibilities.

2. (a) Unshielded TP and Shielded TP Cable.

(b) The shield minimises electrical and radio frequency interference and

forms a barrier to external electric and magnetic fields which would

otherwise interfere with the signal being carried by the coaxial cable.

(c) Single mode and multimode optical fibres.

3. See FIGURE 5(b) on page 12.

(a) Layer 5 ‘Session’ deals with the Peer to Peer protocol.

(b) Layer 2 deals with Data Links and ‘Ethernet’ protocol falls into

this category.

4. (a) RS is an abbreviation for RETMA Standard. (RETMA stands for

Radio Electronics Television Manufacturers' Association of the US.)

(b) RS-232 is a OSI model layer 1(physical)

28

Teesside University Open Learning (Engineering)

© Teesside University 2011

5. (i) Profibus stands for Process Field Bus and is a popular type of field

bus or industrial network system in Europe for distributed process

control.

(ii) SCADA is the acronym for ‘Supervisory Control and Data

Acquisition’.

29

Teesside University Open Learning (Engineering)

© Teesside University 2011

________________________________________________________________________________________

SUMMARY ________________________________________________________________________________________

In this lesson we have examined different types of networking of PLCs and

microprocessors, that is, connecting several together so that they can

communicate with each other and with other useful pieces of external

hardware. This enables PLC control of a process to be controlled and

monitored in a more effective manner.

Interconnecting PLCs and microprocessors can increase the computing power

and process control ability of a system such that major parts of industrial

processes can be individually controlled by a PLC or PLCs, yet form part of a

complex total plant control system.

The actual networks connecting the PLCs are sometimes known as data

highways or peer ways and usually consist of either UTP cable, coaxial cables

or optic fibres, which form a Local Area Network (LAN) or Ethernet, etc.

Which connection is used will depend on such considerations as cost,

bandwidth and data speeds required, though often a protocol will determine

what connection is or is not permissible.

We have also seen the attempts to overcome the widespread disparity and

incompatibility between manufacturers of PLCs and related equipment. As a

consequence, several protocols or standards have been instituted both in the

USA and Europe in an attempt to r ationalise and impr ove pr oduc t

compatibility, which ultimately will benefit companies and industries.

30

Teesside University Open Learning (Engineering)

© Teesside University 2011

<< /ASCII85EncodePages false /AllowTransparency false /AutoPositionEPSFiles true /AutoRotatePages /None /Binding /Left /CalGrayProfile (Dot Gain 20%) /CalRGBProfile (sRGB IEC61966-2.1) /CalCMYKProfile (U.S. Web Coated \050SWOP\051 v2) /sRGBProfile (sRGB IEC61966-2.1) /CannotEmbedFontPolicy /Error /CompatibilityLevel 1.4 /CompressObjects /Tags /CompressPages true /ConvertImagesToIndexed true /PassThroughJPEGImages true /CreateJDFFile false /CreateJobTicket false /DefaultRenderingIntent /Default /DetectBlends true /ColorConversionStrategy /LeaveColorUnchanged /DoThumbnails false /EmbedAllFonts true /EmbedJobOptions true /DSCReportingLevel 0 /SyntheticBoldness 1.00 /EmitDSCWarnings false /EndPage -1 /ImageMemory 1048576 /LockDistillerParams false /MaxSubsetPct 100 /Optimize true /OPM 1 /ParseDSCComments true /ParseDSCCommentsForDocInfo true /PreserveCopyPage true /PreserveEPSInfo true /PreserveHalftoneInfo false /PreserveOPIComments false /PreserveOverprintSettings true /StartPage 1 /SubsetFonts true /TransferFunctionInfo /Apply /UCRandBGInfo /Preserve /UsePrologue false /ColorSettingsFile () /AlwaysEmbed [ true ] /NeverEmbed [ true ] /AntiAliasColorImages false /DownsampleColorImages true /ColorImageDownsampleType /Bicubic /ColorImageResolution 300 /ColorImageDepth -1 /ColorImageDownsampleThreshold 1.50000 /EncodeColorImages true /ColorImageFilter /DCTEncode /AutoFilterColorImages true /ColorImageAutoFilterStrategy /JPEG /ColorACSImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /ColorImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /JPEG2000ColorACSImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /JPEG2000ColorImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /AntiAliasGrayImages false /DownsampleGrayImages true /GrayImageDownsampleType /Bicubic /GrayImageResolution 300 /GrayImageDepth -1 /GrayImageDownsampleThreshold 1.50000 /EncodeGrayImages true /GrayImageFilter /DCTEncode /AutoFilterGrayImages true /GrayImageAutoFilterStrategy /JPEG /GrayACSImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /GrayImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /JPEG2000GrayACSImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /JPEG2000GrayImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /AntiAliasMonoImages false /DownsampleMonoImages true /MonoImageDownsampleType /Bicubic /MonoImageResolution 1200 /MonoImageDepth -1 /MonoImageDownsampleThreshold 1.50000 /EncodeMonoImages true /MonoImageFilter /CCITTFaxEncode /MonoImageDict << /K -1 >> /AllowPSXObjects false /PDFX1aCheck false /PDFX3Check false /PDFXCompliantPDFOnly false /PDFXNoTrimBoxError true /PDFXTrimBoxToMediaBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXSetBleedBoxToMediaBox true /PDFXBleedBoxToTrimBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXOutputIntentProfile () /PDFXOutputCondition () /PDFXRegistryName (http://www.color.org) /PDFXTrapped /Unknown /Description << /ENU (Use these settings to create PDF documents with higher image resolution for high quality pre-press printing. The PDF documents can be opened with Acrobat and Reader 5.0 and later. These settings require font embedding.) /JPN <FEFF3053306e8a2d5b9a306f30019ad889e350cf5ea6753b50cf3092542b308030d730ea30d730ec30b9537052377528306e00200050004400460020658766f830924f5c62103059308b3068304d306b4f7f75283057307e305930023053306e8a2d5b9a30674f5c62103057305f00200050004400460020658766f8306f0020004100630072006f0062006100740020304a30883073002000520065006100640065007200200035002e003000204ee5964d30678868793a3067304d307e305930023053306e8a2d5b9a306b306f30d530a930f330c8306e57cb30818fbc307f304c5fc59808306730593002> /FRA <FEFF004f007000740069006f006e007300200070006f0075007200200063007200e900650072002000640065007300200064006f00630075006d0065006e00740073002000500044004600200064006f007400e900730020006400270075006e00650020007200e90073006f006c007500740069006f006e002000e9006c0065007600e9006500200070006f0075007200200075006e00650020007100750061006c0069007400e90020006400270069006d007000720065007300730069006f006e00200070007200e9007000720065007300730065002e0020005500740069006c006900730065007a0020004100630072006f0062006100740020006f00750020005200650061006400650072002c002000760065007200730069006f006e00200035002e00300020006f007500200075006c007400e9007200690065007500720065002c00200070006f007500720020006c006500730020006f00750076007200690072002e0020004c00270069006e0063006f00720070006f0072006100740069006f006e002000640065007300200070006f006c0069006300650073002000650073007400200072006500710075006900730065002e> /DEU <FEFF00560065007200770065006e00640065006e0020005300690065002000640069006500730065002000450069006e007300740065006c006c0075006e00670065006e0020007a0075006d002000450072007300740065006c006c0065006e00200076006f006e0020005000440046002d0044006f006b0075006d0065006e00740065006e0020006d00690074002000650069006e006500720020006800f60068006500720065006e002000420069006c0064006100750066006c00f600730075006e0067002c00200075006d002000650069006e00650020007100750061006c00690074006100740069007600200068006f006300680077006500720074006900670065002000410075007300670061006200650020006600fc0072002000640069006500200044007200750063006b0076006f0072007300740075006600650020007a0075002000650072007a00690065006c0065006e002e00200044006900650020005000440046002d0044006f006b0075006d0065006e007400650020006b00f6006e006e0065006e0020006d006900740020004100630072006f0062006100740020006f0064006500720020006d00690074002000640065006d002000520065006100640065007200200035002e003000200075006e00640020006800f600680065007200200067006500f600660066006e00650074002000770065007200640065006e002e00200042006500690020006400690065007300650072002000450069006e007300740065006c006c0075006e00670020006900730074002000650069006e00650020005300630068007200690066007400650069006e00620065007400740075006e00670020006500720066006f0072006400650072006c006900630068002e> /PTB <FEFF005500740069006c0069007a006500200065007300740061007300200063006f006e00660069006700750072006100e700f5006500730020007000610072006100200063007200690061007200200064006f00630075006d0065006e0074006f0073002000500044004600200063006f006d00200075006d00610020007200650073006f006c007500e700e3006f00200064006500200069006d006100670065006d0020007300750070006500720069006f0072002000700061007200610020006f006200740065007200200075006d00610020007100750061006c0069006400610064006500200064006500200069006d0070007200650073007300e3006f0020006d0065006c0068006f0072002e0020004f007300200064006f00630075006d0065006e0074006f0073002000500044004600200070006f00640065006d0020007300650072002000610062006500720074006f007300200063006f006d0020006f0020004100630072006f006200610074002c002000520065006100640065007200200035002e00300020006500200070006f00730074006500720069006f0072002e00200045007300740061007300200063006f006e00660069006700750072006100e700f50065007300200072006500710075006500720065006d00200069006e0063006f00720070006f0072006100e700e3006f00200064006500200066006f006e00740065002e> /DAN <FEFF004200720075006700200064006900730073006500200069006e0064007300740069006c006c0069006e006700650072002000740069006c0020006100740020006f0070007200650074007400650020005000440046002d0064006f006b0075006d0065006e0074006500720020006d006500640020006800f8006a006500720065002000620069006c006c00650064006f0070006c00f80073006e0069006e0067002000740069006c0020007000720065002d00700072006500730073002d007500640073006b007200690076006e0069006e0067002000690020006800f8006a0020006b00760061006c0069007400650074002e0020005000440046002d0064006f006b0075006d0065006e007400650072006e00650020006b0061006e002000e50062006e006500730020006d006500640020004100630072006f0062006100740020006f0067002000520065006100640065007200200035002e00300020006f00670020006e0079006500720065002e00200044006900730073006500200069006e0064007300740069006c006c0069006e0067006500720020006b007200e600760065007200200069006e0074006500670072006500720069006e006700200061006600200073006b007200690066007400740079007000650072002e> /NLD <FEFF004700650062007200750069006b002000640065007a006500200069006e007300740065006c006c0069006e00670065006e0020006f006d0020005000440046002d0064006f00630075006d0065006e00740065006e0020007400650020006d0061006b0065006e0020006d00650074002000650065006e00200068006f00670065002000610066006200650065006c00640069006e00670073007200650073006f006c007500740069006500200076006f006f0072002000610066006400720075006b006b0065006e0020006d0065007400200068006f006700650020006b00770061006c0069007400650069007400200069006e002000650065006e002000700072006500700072006500730073002d006f006d0067006500760069006e0067002e0020004400650020005000440046002d0064006f00630075006d0065006e00740065006e0020006b0075006e006e0065006e00200077006f007200640065006e002000670065006f00700065006e00640020006d006500740020004100630072006f00620061007400200065006e002000520065006100640065007200200035002e003000200065006e00200068006f006700650072002e002000420069006a002000640065007a006500200069006e007300740065006c006c0069006e00670020006d006f006500740065006e00200066006f006e007400730020007a0069006a006e00200069006e006700650073006c006f00740065006e002e> /ESP <FEFF0055007300650020006500730074006100730020006f007000630069006f006e006500730020007000610072006100200063007200650061007200200064006f00630075006d0065006e0074006f0073002000500044004600200063006f006e0020006d00610079006f00720020007200650073006f006c00750063006900f3006e00200064006500200069006d006100670065006e00200071007500650020007000650072006d006900740061006e0020006f006200740065006e0065007200200063006f007000690061007300200064006500200070007200650069006d0070007200650073006900f3006e0020006400650020006d00610079006f0072002000630061006c0069006400610064002e0020004c006f007300200064006f00630075006d0065006e0074006f00730020005000440046002000730065002000700075006500640065006e00200061006200720069007200200063006f006e0020004100630072006f00620061007400200079002000520065006100640065007200200035002e003000200079002000760065007200730069006f006e0065007300200070006f00730074006500720069006f007200650073002e0020004500730074006100200063006f006e0066006900670075007200610063006900f3006e0020007200650071007500690065007200650020006c006100200069006e0063007200750073007400610063006900f3006e0020006400650020006600750065006e007400650073002e> /SUO <FEFF004e00e4006900640065006e002000610073006500740075007300740065006e0020006100760075006c006c006100200076006f0069006400610061006e0020006c0075006f006400610020005000440046002d0061007300690061006b00690072006a006f006a0061002c0020006a006f006900640065006e002000740075006c006f0073007400750073006c00610061007400750020006f006e0020006b006f0072006b006500610020006a00610020006b007500760061006e0020007400610072006b006b007500750073002000730075007500720069002e0020005000440046002d0061007300690061006b00690072006a0061007400200076006f0069006400610061006e0020006100760061007400610020004100630072006f006200610074002d0020006a0061002000520065006100640065007200200035002e00300020002d006f0068006a0065006c006d0061006c006c0061002000740061006900200075007500640065006d006d0061006c006c0061002000760065007200730069006f006c006c0061002e0020004e00e4006d00e4002000610073006500740075006b0073006500740020006500640065006c006c00790074007400e4007600e4007400200066006f006e0074007400690065006e002000750070006f00740075007300740061002e> /ITA <FEFF00550073006100720065002000710075006500730074006500200069006d0070006f007300740061007a0069006f006e00690020007000650072002000630072006500610072006500200064006f00630075006d0065006e00740069002000500044004600200063006f006e00200075006e00610020007200690073006f006c0075007a0069006f006e00650020006d0061006700670069006f00720065002000700065007200200075006e00610020007100750061006c0069007400e00020006400690020007000720065007300740061006d007000610020006d00690067006c0069006f00720065002e0020004900200064006f00630075006d0065006e00740069002000500044004600200070006f00730073006f006e006f0020006500730073006500720065002000610070006500720074006900200063006f006e0020004100630072006f00620061007400200065002000520065006100640065007200200035002e003000200065002000760065007200730069006f006e006900200073007500630063006500730073006900760065002e002000510075006500730074006500200069006d0070006f007300740061007a0069006f006e006900200072006900630068006900650064006f006e006f0020006c002700750073006f00200064006900200066006f006e007400200069006e0063006f00720070006f0072006100740069002e> /NOR <FEFF004200720075006b00200064006900730073006500200069006e006e007300740069006c006c0069006e00670065006e0065002000740069006c002000e50020006f00700070007200650074007400650020005000440046002d0064006f006b0075006d0065006e0074006500720020006d006500640020006800f80079006500720065002000620069006c00640065006f00700070006c00f80073006e0069006e006700200066006f00720020006800f800790020007500740073006b00720069006600740073006b00760061006c00690074006500740020006600f800720020007400720079006b006b002e0020005000440046002d0064006f006b0075006d0065006e0074006500720020006b0061006e002000e50070006e006500730020006d006500640020004100630072006f0062006100740020006f0067002000520065006100640065007200200035002e00300020006f0067002000730065006e006500720065002e00200044006900730073006500200069006e006e007300740069006c006c0069006e00670065006e00650020006b0072006500760065007200200073006b00720069006600740069006e006e00620079006700670069006e0067002e> /SVE <FEFF0041006e007600e4006e00640020006400650020006800e4007200200069006e0073007400e4006c006c006e0069006e006700610072006e00610020006e00e40072002000640075002000760069006c006c00200073006b0061007000610020005000440046002d0064006f006b0075006d0065006e00740020006d006500640020006800f6006700720065002000620069006c0064007500700070006c00f60073006e0069006e00670020006600f60072002000700072006500700072006500730073007500740073006b0072006900660074006500720020006100760020006800f600670020006b00760061006c0069007400650074002e0020005000440046002d0064006f006b0075006d0065006e00740065006e0020006b0061006e002000f600700070006e006100730020006d006500640020004100630072006f0062006100740020006f00630068002000520065006100640065007200200035002e003000200065006c006c00650072002000730065006e006100720065002e00200044006500730073006100200069006e0073007400e4006c006c006e0069006e0067006100720020006b007200e400760065007200200069006e006b006c00750064006500720069006e00670020006100760020007400650063006b0065006e0073006e006900740074002e> >> >> setdistillerparams << /HWResolution [2400 2400] /PageSize [612.000 792.000] >> setpagedevice