Control Technology CTI 2572 Скачать руководство пользователя страница 40

CTI 2572 Technical Overview Manual

30

6.2 Task Codes

As noted above the first word of the body of an NITP message contains a command.  SIMATIC
TI505 PLCs use a command structure known as task codes.  Task codes are a set of numeric
command codes which allow an external device to supervise and control the operation of the
PLC.  For example, using task codes a device can retrieve data from PLC memory. 

Since NITP 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 application program has to do is encapsulate the NITP message
format in the TCP/IP protocol.  Similarly, a PLC with a 2572 operating in client mode can read
and write memory in other PLCs using this method.  In addition, it allows standard NITP devices
attached to a 2572 serial port to communicate with remote PLCs. 

Details of the command implementation are covered in the 2572 Installation and Operation
Guide.

Содержание CTI 2572

Страница 1: ...CTI 2572 ETHERNET TCP IP ADAPTER MODULE TECHNICAL OVERVIEW Version 1 1 CTI Part 062 00156 2572 Technical Overview Manual 032698 25...

Страница 2: ......

Страница 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...

Страница 4: ......

Страница 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...

Страница 6: ......

Страница 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...

Страница 8: ......

Страница 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...

Страница 10: ......

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 18: ......

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 26: ......

Страница 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...

Страница 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...

Страница 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...

Страница 30: ......

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 38: ......

Страница 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...

Страница 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...

Отзывы: