Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 16

Chapter - Networking

Networks
LAN
A Wire Loop

Central Connection

...
Bus
Ring
Star

Tree/Bus
Topology

...

R
R

Repeater

OSI 7 Layer Model


Unit of Transmission

Computer #2

Layer

Computer #1

Application

Message

Application

Presentation

Message

Presentation

Session

Message

Session

Transport

Message

Transport

Network

Packet

Network

Data Link

Frame

Data Link

Physical

Bit

Physical

Interconnecting Medium

Network Devices

7 - application
6 - presentation

gateway

5 - session
4 - transport
3 - network
2 - data link
1 - physical

repeater

bridge/
switch

router

Examples
Layer

Computer #2

Computer #1

Application

Application

Presentation

Presentation

Session

Session

Transport

Network

Network

Network

Data Link

Data Link

Data Link

Physical

Physical

Physical

Router

Interconnecting Medium

Transport

Network Operation

Addresses
Access Arbitration

Devicenet

thin
trunk
line

power tap

drop
line
tap

Smart
sensor

thick trunk line

FlexIO
rack
drop
line
FlexIO
rack

power
supply

PC

terminator

terminator

thin
trunk tap
line

Cables
power (24Vdc)

data
drain/shield
Thick trunk - carries up to 8A for power up to 500m
Thin trunk - up to 3A for power up to 100m

MG9:0/EN

Devicenet
MG9:1/EN

(EN)

Send/Rec Message
Control Block MG9:0

(DN)

MSG

(EN)

Send/Rec Message
Control Block MG9:1

(DN)
(ER)

(ER)

MG9:1

MG9:0
Read/Write
Data Table
Size
Local/Remote
Remote Station
Link ID
Remote Link type
Local Node Addr.
Processor Type
Dest. Addr.

MSG

Write
N7:20
20
Remote
??
??
??
N/A
????
????

Read/Write
Data Table
Size
Local/Remote
Remote Station
Link ID
Remote Link type
Local Node Addr.
Processor Type
Dest. Addr.

Read
N7:40
20
Remote
??
??
??
N/A
????
????

Note: Get exact settings for these parametersXXXXXXXXXXXXXXXXX

Canbus
1 bit

start of frame

11 bits

identifier

1 bit

ready to receive it

6 bits

control field - contains number of data bytes

0-8 bytes

data - the information to be passed

15 bits

CRC sequence

1 bit

CRC delimiter

1 bit

ACK slot - other listeners turn this on to indicate frame received

1 bit

ACK delimiter

7 bits

end of frame

>= 3 bits

delay before next frame

arbitration field

Ethernet

6 bytes

destination address

6 bytes

source address

2 bytes

ethernet type

46-1500 bytes

data

4 bytes

checksum

Data Highway II
1 byte

DLE = 10H

1 byte

SOH = 01H

1 byte

STN - the destination number

1 byte

DLE = 10H

1 byte

STX = 02H

header fields

start fields

data
1 byte

DLE = 10H
termination fields

1 byte

ETX = 03H

1 byte

block check - a 2s compliment checksum of the DATA and STN values

data
1 byte

DST - destination node for the message

1 byte

SRC - the node that sent the message

1 byte

CMD - network command - sometime FNC is required

1 byte

STS - message send/receive status

2 byte

TNS - transaction field (a unique message ID)

optional

1 byte

FNC may be required with some CMD values

optional

2 byte

ADDR - a memory location

optional

variable

DATA - a variable length set of data

optional

1 byte

SIZE - size of a data field

DH+ With Ladder Logic


MG9:0/EN

MSG
Send/Rec Message
Control Block MG9:0

(EN)
(DN)
(ER)

MG9:1/EN

MSG
Send/Rec Message
Control Block MG9:1

(EN)
(DN)
(ER)

MG9:1

MG9:0
Read/Write
Data Table
Size
Local/Remote
Remote Station
Link ID
Remote Link type
Local Node Addr.
Processor Type
Dest. Addr.

Write
N7:20
20
Local
N/A
N/A
N/A
2
PLC-5
N7:40

Read/Write
Data Table
Size
Local/Remote
Remote Station
Link ID
Remote Link type
Local Node Addr.
Processor Type
Dest. Addr.

Read
N7:40
20
Local
N/A
N/A
N/A
2
PLC-5
N7:20

Others

Ethernet
Profibus
Foundation Fieldbus
etc.

You might also like