You are on page 1of 5

684

28.9 PRACTICE PROBLEM SOLUTIONS

1. These networks allow us to pass data between devices so that individually controlled systems
can be integrated into a more complex manufacturing facility. An example might be a serial
connection to a PLC so that SPC data can be collected as product is made, or recipes down-
loaded as they are needed.
685

2.
Read Message
MG9:0/EN on Remote station #1
MSG Remote Addr. N7:0
MG9:0 Length 6
Destination N7:0
MG9:0/DN on
FAL
DEST. #T4:0.PRE
EXPR. #N7:0

start stop
on

on

box present on
TON
T4:0

TON
T4:1

TON
T4:2

TON
T4:3

TON
T4:4

TON
T4:5
T4:0/TT
fill hearts

T4:1/TT
fill moons

ETC...
686

3.
a) start stop T4:2/DN
on N7:3/0

MOV
on N7:3/0 Source N7:0
Dest T4:0.PRE

MOV
Source N7:1
Dest T4:1.PRE

MOV
Source N7:2
Dest T4:2.PRE
on
TON
Timer T4:0
T4:0/DN Delay 0s
TON
Timer T4:1
T4:1/DN Delay 0s
TON
Timer T4:2
Delay 0s
BT10:0/EN Block Transfer Write
Module Type Generic Block Transfer
Rack 000
Group 3
Module 0
Control Block BT10:0
Data File N9:0
Length 13
Continuous No
T4:0/TT MOV
Source 2095
Dest N9:0
T4:1/TT MOV
Source 3071
Dest N9:0
T4:2/TT MOV
Source 3686
Dest N9:0
on MOV
Source 0
Dest N9:0
687

b) MG9:0/EN MSG (EN)


Send/Rec Message (DN)
Control Block MG9:0
(ER)
MG9:1/EN MSG (EN)
Send/Rec Message (DN)
Control Block MG9:1
(ER)
MG9:2/EN MSG (EN)
Send/Rec Message (DN)
Control Block MG9:2
(ER)
MG9:3/EN MSG (EN)
Send/Rec Message (DN)
Control Block MG9:3
(ER)
MG9:0 MG9:1 MG9:2 MG9:3
Read/Write Write Read/Write Write Read/Write Read Read/Write Read
Data Table N7:40 Data Table N7:43 Data Table N7:3 Data Table N7:3
Size 3 Size 6 Size 1 Size 1
Local/Remote Local Local/Remote Local Local/Remote Local Local/Remote Local
Remote N/A Remote N/A Remote N/A Remote N/A
Link ID N/A Link ID N/A Link ID N/A Link ID N/A
Remote Link N/A Remote Link N/A Remote Link N/A Remote Link N/A
Local Node 2 Local Node 3 Local Node 2 Local Node 3
Processor PLC-5 Processor PLC-5 Processor PLC-5 Processor PLC-5
Dest. Addr. N7:0 Dest. Addr. N7:0 Dest. Addr. N7:0 Dest. Addr. N7:1

A N7:0/0 N7:0/1 COP


Source N7:10
Dest N7:40
Length 9
B N7:0/0 N7:0/1 COP
Source N7:20
Dest N7:40
Length 9
C N7:0/0 N7:0/1 COP
Source N7:30
Dest N7:40
Length 9
N7:10 13 690 45 76 345 987 345 764 87 0
N7:20 17 235 75 72 234 12 34 456 67 0
N7:30 14 745 34 56 645 23 456 568 8 0
688

4. Controlnet, Profibus, Ethernet with multiple subnets

5 the maximum transfer rate is 230 Kbps, with 11 bits per byte (1start+8data+2+stop) for 20909
bytes per second. Each memory write packet contains 17 overhead bytes, and as many as 2000
data bytes. Therefore as many as 20909*2000/(2000+17) = 20732 bytes could be transmitted
per second. Note that this is ideal, the actual maximum rates would be actually be a fraction of
this value.

6. The OSI model is just a model, so it can be used to describe parts of systems, and what their
functions are. When used to describe actual networking hardware and software, the parts may
only apply to one or two layers. Some parts may implement all of the layers in the model.

7. When more than one client tries to start talking simultaneously on a bus network they interfere,
this is called a collision. When this occurs they both stop, and will wait a period of time before
starting again. If they both wait different amounts of time the next one to start talking will get
priority, and the other will have to wait. With CSMA/CD the clients wait a random amount of
time. With CSMA/BA the clients wait based upon their network address, so their priority is
related to their network address. Other networking methods prevent collisions by limiting
communications. Master-slave networks require that client do not less talk, unless they are
responding to a request from a master machine. Token passing only permits the holder of the
token to talk.

You might also like