Control Technology CTI 2572 Technical Overview Download Page 36

CTI 2572 Technical Overview Manual

26

TCP will notify both application programs.  Typically one host computer (server) issues a
passive open to a port, making the services available.  Another host computer (client)
issues an active open to initiate the connection.  When the application session is
complete, the connection is terminated by issuing a close to the port. 

TCP supports multiple connections to a single port and full duplex connections (two
concurrent data streams flowing in the opposite direction).  Using full duplex, TCP can
send control information for one stream back to the source in datagrams containing data
in the opposite direction. 

3)

Reliable Data Transfer

TCP software provides a reliable data transfer service by a using a technique known as
positive acknowledgement with retransmission.  When a group of packets has been
successfully received, the recipient TCP software sends an acknowledgement message
back to the sender TCP software.  TCP keeps a record of each packet sent and waits for
acknowledgement before sending the next group of packets.  If no acknowledgement is
returned after a designated time, then TCP re-sends the packets. 

To improve throughput and to reduce network loading, TCP allows multiple packets to be
sent before an acknowledgement is required.  The number of packets which can be sent
before an acknowledgement is required is called the window size.  TCP dynamically
manages the window size to optimize network utilization and to exercise flow control. 

TCP maintains a Sequence Number
field in the header which identifies
the sequence in which the packets
were sent.  Using this sequence
number, TCP ensures that data is
delivered to the destination
application program in the same
sequence that is was sent by the
source application program.  The
Acknowledgement Number field
allows TCP to acknowledge receipt
of packets while sending new data. 

Figure 14 shows the format of the
TCP segment.  You may note that
both the TCP segment header and the
segment data are contained in the
data area of the IP datagram. 

HEADER

DATA

DATA

OFF
SET

RES

WINDOW (16)

OPTIONS (Variable)

CHECKSUM (16)

IP DATAGRAM

TCP SEGMENT

DATA (Variable)

ACKNOWLEDGEMENT NUMBER (32)

SEQUENCE NUMBER (32)

SOURCE PORT (16)

DESTINATION PORT (16)

A
C
K

P
S
H

R
S
T

S
Y
N

F
I
N

U
R
G

URGENT POINTER (16)

PADDING

Figure 14  TCP Segment

Summary of Contents for CTI 2572

Page 1: ...CTI 2572 ETHERNET TCP IP ADAPTER MODULE TECHNICAL OVERVIEW Version 1 1 CTI Part 062 00156 2572 Technical Overview Manual 032698 25...

Page 2: ......

Page 3: ...their respective holders DOCUMENT DISCLAIMER STATEMENT Every effort has been made to ensure the accuracy of this document however errors do occasionally occur CTI provides this document on an as is b...

Page 4: ......

Page 5: ...media and data link formats Chapter 4 provides an overview of higher level local area network protocols Chapter 5 discusses TCP IP and related protocols Chapter 6 covers SIMATIC TI505 command protoco...

Page 6: ......

Page 7: ...ologies and Media Physical Layer 10 3 3 Ethernet Protocol Data Link Layer 13 3 4 Ethernet Addresses 15 3 5 Requirement for Higher Level Protocols 15 CHAPTER 4 NETWORK PROTOCOLS 17 4 1 Connectionless v...

Page 8: ......

Page 9: ...ogy 10 Figure 5 10Base2 Thin Coax Topology 10 Figure 6 10BaseT Unshielded Twisted Pair Topology 11 Figure 7 Fiber Optic Hub 12 Figure 8 Ethernet Bridge 12 Figure 9 Mixed Ethernet Media 13 Figure 10 80...

Page 10: ......

Page 11: ...5 connector Other media may be attached via the appropriate transceiver attached to the AUI Attachment Unit Interface port The AUI port may be powered from the backplane or with an external power supp...

Page 12: ...t directly support TCP IP but several companies offer DOS TCP IP drivers Client Mode In Client Mode the 2572 can initiate a TCP IP message PLC logic is used to tell the 2572 what to send where to send...

Page 13: ...twork bandwidth must be devoted to the overhead of polling This overhead limits throughput and lengthens response time especially since most master slave networks operate at a data rate of 115 K bits...

Page 14: ...ptic cable may be used for interconnecting hubs Token Ring 802 5 uses a token which is passed among the stations on the network When a station has a token it can transmit When it is through transmitti...

Page 15: ...arrangement all stations share a common connection When a message is transmitted on the network all attached devices receive it The Ethernet standard supports a variety of media including coaxial cab...

Page 16: ...us topology which some consider to be a better plant floor topology and it offered the consistent deterministic response time inherent in token passing schemes RF technology was selected for noise imm...

Page 17: ...hernet have the significant market share Token Bus because of the cost and complexity has never become a major contender for the factory LAN market In general Ethernet offers the most cost effective a...

Page 18: ......

Page 19: ...in data representation between the communicating applications Layer 5 Session Synchronizes communications between applications Layer 4 Transport Provides reliable data transfer from end node to end no...

Page 20: ...attached to the 10Base5 cable in a tap fashion The transceivers are mounted on the cable and a cable is run from the transceiver to the AUI port on the adapter Although there are numerous installatio...

Page 21: ...igning packets and retransmitting signals Network attachments are made via 10baseT transceivers attached to the AUI port or directly via a RJ 45 jack on the adapter The 10BaseT standard allows each UT...

Page 22: ...tions increases a point is finally reached where collisions occur frequently and response time begins to suffer usually around 50 utilization Bridges are commonly used to alleviate this problem The ne...

Page 23: ...ne station will attempt to transmit at the same time when this occurs the signals will collide When transmitting Ethernet stations detect a collision each waits a random amount of time then re transmi...

Page 24: ...sends and receives only Ethernet II packets cannot communicate with a node which sends and receives only 802 3 packets Since IEEE 802 3 does not contain any information which identifies the upper lev...

Page 25: ...ernet by itself is sufficient for local area network communications It would seem that application software could simply insert the destination address and the application data in the Ethernet packet...

Page 26: ......

Page 27: ...ftware sends a packet datagram to another node on the network There is no requirement to establish communications with the recipient prior to sending the packet nor does the network protocol confirm d...

Page 28: ...data will be delivered in sequence or that the sender will be notified if the protocol was unable to do so A connection oriented protocol would typically be used download a program to a PLC 4 2 Common...

Page 29: ...they will support the TCP IP as a native Netware protocol TCP IP Of all the popular LAN protocols only TCP IP can be considered to be open i e non proprietary TCP IP Transmission Control Protocol Inte...

Page 30: ......

Page 31: ...ol Protocol or UDP User Datagram Protocol services TCP is used if connection oriented communications is desired UDP is used for connectionless communications The TCP segment or UDP datagram is placed...

Page 32: ...ld be generated and the conditions under which a packet will be discarded The datagram consists of an IP header and the data from the upper layer protocol Fields in the datagram header contain control...

Page 33: ...ganization Organizations with networks connected to the Internet with a capital I must obtain the network portion of the IP addresses from a central authority the Network Information Center The Host I...

Page 34: ...n an Ethernet frame addressed to the physical address of the Network Interface Card Thus the gateway must be able to translate the host portion of the IP address into a physical Ethernet address Fortu...

Page 35: ...Control Protocol TCP Like UDP TCP uses the concept of a port number to identify a process within a host computer Unlike UDP TCP provides a reliable connection oriented service TCP is usually used whe...

Page 36: ...kets If no acknowledgement is returned after a designated time then TCP re sends the packets To improve throughput and to reduce network loading TCP allows multiple packets to be sent before an acknow...

Page 37: ...t widely used conventions is called Berkeley Sockets The Berkeley Sockets interface is named for the development at the University of California at Berkeley where TCP IP was originally distributed Sin...

Page 38: ......

Page 39: ...Although this is less efficient than a straight binary protocol use of ASCII Hex frees the programmer from having to understand how data is physically represented in the PLC Using NITP protocol up to...

Page 40: ...ITP and Task Codes are the most common way of communicating with SIMATIC TI505 PLCs the CTI 2572 TCP IP implementation supports this interface Thus to communicate with the PLC via the 2572 all the app...

Reviews: