CTI 2572 Installation And Operation Manual

Ethernet tcp/ip module
Table of Contents

Advertisement

CTI 2572
ETHERNET TCP/IP MODULE
INSTALLATION AND OPERATION GUIDE
Version 2.5
CTI Part # 062-00146-025
*062-00146-025*
2572IOG 092205
$25

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 2572 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for CTI 2572

  • Page 1 CTI 2572 ETHERNET TCP/IP MODULE INSTALLATION AND OPERATION GUIDE Version 2.5 CTI Part # 062-00146-025 *062-00146-025* 2572IOG 092205...
  • Page 3 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” basis and assumes no responsibility for direct or consequential damages resulting from the use of this document. This document is provided without express or implied warranty of any kind, including but not limited to the warranties of merchantability or fitness for a particular purpose.
  • Page 4 REVISION HISTORY V2.5 07/06/04 Added logic for S7 AG_Send block to Send-Receive application example CTI 2572 Installation and Operation Guide...
  • Page 5 If you plan on developing on writing computer applications which interface to the module via TCP/IP you should also obtain the CTI 2572 Programming Reference Manual (CTI Part # 62-166), which provides detailed information on the module command message interface.
  • Page 6 Notes alert the user to special features or procedures. CAUTION: Cautions alert the user to procedures that could damage equipment. WARNING: Warnings alert the user to procedures that could damage equipment and endanger the user. CTI 2572 Installation and Operation Guide...
  • Page 7: Table Of Contents

    2.1. Installation Planning................... 11 2.2. Power Requirements ..................12 2.3. Unpacking the Module..................13 2.4. Setting the 2572 Switches................. 14 2.5. Physical Installation ................... 17 2.6. Using PLC Logic to Start the Network Server........... 19 2.7. Automatically Starting the Network Server ............25 2.8.
  • Page 8 WX/WY Description ....................125 WX/WY Quick Reference..................132 Command Timing Diagrams ...................133 APPENDIX E. IP ADDRESS INFORMATION............139 IP Address Nomenclature ..................139 Private IP Addresses ....................140 Subnet Mask ......................140 Port Number......................141 HARDWARE SPECIFICATIONS ................143 LIMITED PRODUCT WARRANTY................145 REPAIR POLICY....................147 CTI 2572 Installation and Operation Guide...
  • Page 9 TABLE OF FIGURES Figure 1. 2572 Front Panel ....................1 Figure 2. 2572 Ethernet Ports ....................2 Figure 3. 2572 Serial Ports ....................3 Figure 4. LED Indicators ....................... 4 Figure 5. PLC Server Function....................5 Figure 6. PLC Client Function ....................6 Figure 7.
  • Page 11: Chapter 1. Description

    CHAPTER 1. DESCRIPTION 1.1. Introduction The CTI 2572 Ethernet TCP/IP Adapter is a single wide I/O module for SIMATIC® 505 controllers. The 2572 module connects to Ethernet local area networks, enabling the PLC to communicate with other network stations using the Transmission Control Protocol/ Internet Protocol (TCP/IP).
  • Page 12: Ethernet Ports

    Ethernet medium. Different transceivers are available for the various 802.3 media. Thus, using a transceiver, the 2572 can connect to coaxial, UTP, or fiber optic cable. Only one of the Ethernet ports is active at a time. The 2572 module automatically selects the port to Figure 2. 2572 Ethernet Ports be used based on the signal received.
  • Page 13: Serial Ports

    1.3. Serial Ports The 2572 is equipped with two serial ports. These ports are provided for use with module configuration and diagnostic programs. In addition, the ports may be used to access the local PLC. Devices that communicate with the PLC using the Non Intelligent Terminal Protocol (NITP) can access the PLC processor as if they were directly connected to the PLC program port.
  • Page 14: Led Indicators

    The fact that the AUI LED is lit does not indicate that the attached transceiver is operating properly. Polarity Reversed. Lights when the polarity for the UTP cable connected to the 10BaseT port has been reversed. This is a warning only, since the 2572 hardware will correct for reversed polarity.
  • Page 15: Functional Overview

    1.5. Functional Overview The 2572 can operate as both a PLC server and a PLC client. As a PLC server, the 2572 responds to messages sent by another network node. As a PLC client, the 2572 initiates messages on command from the PLC.
  • Page 16: Figure 6. Plc Client Function

    PLC Client Function The 2572 can also function as a PLC Client. As a PLC Client, the 2572 acts as an agent for the PLC; it sends messages to other nodes and processes the responses under control of the PLC logic. Data in the PLC program specifies the recipient and data contents of the message.
  • Page 17: Tcp/Ip Overview

    Since the Common ASCII Message Protocol (CAMP) used with the 2572 will acknowledge receipt of a command message, UDP is the preferred protocol for most applications, such as process monitoring, which obtain data from the PLC.
  • Page 18: Plc Command Interface

    Figure 7 illustrates how the module WX/WY words and the command blocks are used together. The 2572 writes values in the WX words, the PLC writes values in the WY words. WX1 and WY3 contains bits allow the PLC to monitor and control module global status. WY4 and WX2 contain bits that allow the PLC to trigger commands and monitor command status.
  • Page 19: Getting Started

    When you initially install the module in the PLC I/O base, you must log the module into the PLC I/O configuration. The 2572 logs in as 2 WX and 6 WY words. See Checking PLC Login in Chapter 2 on page 18.
  • Page 20 Using the Module Assuming you have completed the above steps successfully, the 2572 module is ready for use as a PLC Server. If you wish to implement PLC Client functions, please refer to Chapter 3 of this manual. CTI 2572 Installation and Operation Guide...
  • Page 21: Chapter 2. Installation

    PLC program to set the IP address and other network parameters. The second method allows you to load the information directly from data stored in EEPROM on the 2572. You will need to decide which method best suits your requirements.
  • Page 22: Power Requirements

    Section 2.6 on page 19. Since the IP information is reloaded from the PLC and is not stored in the module, the IP address remains with the PLC, even if the 2572 modules are swapped.
  • Page 23: Unpacking The Module

    I/O base. CAUTION: The components on the 2572 module printed circuit card can be damaged by static electricity discharge. To prevent this damage, the module is shipped in a special anti-static bag. Static control precautions should be followed when removing the module from the bag and when handling the printed circuit card during configuration.
  • Page 24: Setting The 2572 Switches

    2.4. Setting the 2572 Switches Switches on the 2572 are used to select the following: • AUI Power • Serial Port Baud Rate • Hardware Handshaking (RS-232 port) • DataShare Enable • Network Startup Option • EEPROM Write Protect •...
  • Page 25: Figure 10. Switchblock 2

    PLC Select Allows the PLC logic to select the port Used for custom port protocols protocol. NOTE: For typical operation, you should set the switches to use the CAMP/NITP protocol. CTI 2572 Installation and Operation Guide...
  • Page 26 See CHAPTER 6. DATASHARE P. Network Startup Options Switch 4 on Switchblock SW2 allows you to select how the 2572 starts up the PLC Network Server function. If you set the switch to PLC S...
  • Page 27: Physical Installation

    Power Up Turn on the base power supply. Once the 2572 diagnostics have completed and the network parameters are set, the ACTIVE indicator should illuminate. If the indicator does not illuminate or exhibits a blinking pattern, see Chapter 5 of this manual for troubleshooting information.
  • Page 28: Figure 11. Sample I/O Configuration

    2 WX and 6 WY words. To configure the PLC I/O refer to your PLC programming software manual. In the example below, the 2572 module is installed into slot 1 on I/O base 0 and will be logged in starting at address 1. Your configuration may differ.
  • Page 29: Using Plc Logic To Start The Network Server

    When you trigger the Start Network Server command, if the command block contains invalid data, the 2572 will return an error code and then halt. To recover, you must correct the command block entry and reset the module by cycling power.
  • Page 30 Connection Number - You should set this to number in the range of 19291 to 19299 to prevent inadvertent conflict with any client connections you may create. The value of 19298 is used in CTI examples. Offset 3 Protocol Manager Number - Protocol Managers control the operation of the serial and network ports.
  • Page 31 TCP server connection or PLC Client network connection. You might choose to disable both TCP and UDP if you are using the 2572 in client mode only. Note that you must have at least one enabled 2572 server or computer host server somewhere on the network to respond to your messages.
  • Page 32 Once a connection is properly closed, the slot is available for another connection. If you set the value in this word to 0, then the 2572 will use the default module value (8). You may set this to a number less than 8 to limit access.
  • Page 33: Figure 12. Representing Ip Address In Hexadecimal Format

    (23) is the hex equivalent of decimal 35. Similarly, you would enter the second word as hex 220A. See the following illustration. C6 23 Hex Value Offset 6 C623 198. 35.34.10 Dotted Decimal 220A Offset 7 Hex Value 22 0A Figure 12. Representing IP Address in Hexadecimal Format CTI 2572 Installation and Operation Guide...
  • Page 34: Figure 13. Plc Logic Example

    The following diagram illustrates the ladder logic that executes the Start Network Server command block. This example assumes that the command block is located in V memory starting at V500 and that command slot 1 is used for the command. See the CTI 2572 PLC Command Interface Reference Manual for details.
  • Page 35: Automatically Starting The Network Server

    Before you can automatically start the Network Server, the network parameters, including the module IP address, must be stored in EEPROM on the 2572. You can accomplish this task using an IBM compatible PC and a utility program from CTI.
  • Page 36: Connecting Cables

    Attach the network cable to the transceiver. The clearance between some transceivers and the front panel of the 2572 can make it difficult to slide the retaining ring to the locked position. In this case you may wish to connect the cable or transceiver with the module removed from the backplane.
  • Page 37: Module Checkout

    Power On When power is applied to the 2572, the ACTIVE LED should light after about one or two seconds. If the ACTIVE LED fails to light and you are certain that power is applied, then the module hardware is defective.
  • Page 38: Chapter 3. Module Operation

    If functioning properly, the 2572 will respond to an ICMP Echo Request message known as a ping. When you ping the 2572 from a network node, it should reply. If the module does not reply, make sure that you have set the module IP address properly. When converting from dotted decimal format to dotted hexadecimal format, it is easy to make a mistake.
  • Page 39: Ethernet Tcp/Ip Operation

    (LB) LED should be lit, indicating that the 2572 is receiving a Link Beat signal from the hub. If you are using the AUI port, the AUI LED should be lit, indicating that the 2572 module has selected the AUI port.
  • Page 40: Serial Port Operation

    The 2572 serial ports provide a method for configuring the module, performing diagnostic operations, and accessing the PLC memory. The 2572 module has a Transmit LED and a Receive LED for each port. When a signal is received at the port, the Receive LED will light. When a signal is transmitted from the port, the Transmit LED will light.
  • Page 41: Chapter 4. Camp Client Commands

    If the connection cannot be established, the 2572 will return an error code to the PLC. If UDP is specified, the 2572 module saves the address and port number as the default remote socket, but no connection attempt is made. Once the C...
  • Page 42 When bit 15 is set to 0, the IP address and port number entered in this command block will be used. The TCP protocol, since it is REATE OCKET connection-oriented, will always use the IP address and port number in this C REATE CTI 2572 Installation and Operation Guide...
  • Page 43 If the TCP connection cannot be established, the 2572 will indicate an error. NOTE: If TCP is selected and the connection with the target node (remote host) is lost, the 2572 will report a socket connection error code (such as 240A - Socket not Connected) the next time you attempt to read/write data.
  • Page 44: Close Socket Command

    2572, you will typically set this value to 1505 (the recommended value for the 2572 PLC server). If you are using UDP and bit 15 of offset 4 is set to 1, then this address becomes the default port number.
  • Page 45 Based on the specification, the 2572 reads the local V memory and sends a message to the network recipient associated with the Connection Number. When the response is returned from the remote PLC, the 2572 verifies that the message was properly processed. If not, the 2572 places an error code in the command block and raises the applicable error bit.
  • Page 46 Connection Number. When the response is returned, the 2572 verifies the response. If there is no error, the 2572 writes the data in local V memory. If an error is encountered, the 2572 will post an error which may be processed by PLC logic.
  • Page 47 2572, you will typically set this value to 1505 (the recommended value for the 2572 PLC server). If the IP Address Location bit is set to 0, these words are ignored and the port number contained in the C...
  • Page 48 1) UDP Port Number of Remote Device (UDP Only: IP Address Location bit in the Create Socket command must be set to 1) 13 - 15 Unused (Set to 0) 0000 CTI 2572 Installation and Operation Guide...
  • Page 49 UDP port number of the remote device. If you are accessing another 2572, you will typically set this value to 1505 (the recommended value for the 2572 PLC server). If the IP Address Location bit is set to 0, these words are ignored and the port number contained in the C command block is used.
  • Page 50: Application Example

    4.5. Application Example Start Network Server Command Block The following command block can be used to start up the 2572 network server at IP address 192.168.177.08 (in hex notation this is C0.A8.B1.08). The server is set up to listen on TCP/UDP port number 1505.
  • Page 51 This command block can be used to create a client connection to a TCP/IP socket. The socket is associated with another 2572 on the network at IP address 192.168.177.01 (hex C0.A8.B1.01) and TCP port 1505. The UDP protocol is selected.
  • Page 52 Unused (Set to 0) 0000 If you need to verify that the remote PLC (or a computer system emulating a 2572 PLC server) actually executed the request to store the data, you can monitor the error status. If a problem occurs while executing the command, the 2572 will set the CMD ERR bit and place the applicable error code in the Error Word.
  • Page 53 PLC Ladder Logic Example The following pages contain a sample of a PLC ladder logic application that implements the 2572 Client Mode. Client Mode allows the PLC to send a message containing commands and/or data from the local PLC to another network node via TCP/IP. It is typically used to send unsolicited alarm messages or production data based on an event detected by the PLC.
  • Page 54 PLC lowers the command trigger and the 2572 module has successfully completed the command. If there is an error, the 2572 will raise the error bit. In this case, it will not lower the command busy bit until the PLC sets the error acknowledge bit. When the command busy bit is lowered, the command cycle is complete and the 2572 can accept another command in the command slot.
  • Page 55 This example assumes you are starting the network server (and setting the IP address) using PLC logic. This method is strongly recommended by CTI. If you choose to automatically start the network server using network parameters in EEPROM, your logic will never “see” WX1.3 come on.
  • Page 56 Rung 4- - C15 captures the fact that Command Busy (WX2.3) went low after C14 was set. This indicates that a command cycle has been completed. This rung also resets C14. CTI 2572 Installation and Operation Guide...
  • Page 57 Rung 7- This sets the trigger after you have successfully completed the Create Socket command (C13 is on) and C100 is on. C100 represents the event which would cause you to execute the memory transfer. CTI 2572 Installation and Operation Guide...
  • Page 58 V400. Rung 11 - When the command error bit is on, raise the error acknowledge bit. This will cause the module to clear the error and lower command busy. CTI 2572 Installation and Operation Guide...
  • Page 59: Chapter 5. Send-Receive Protocol

    For this feature, the maximum TCP window size is set to 560 bytes, indicating that the 2572 will buffer up to 560 bytes (280 words) of data. When you send messages faster than the 505 PLC receives them, the messages are stored in the module until the PLC retrieves them.
  • Page 60 You may note that the 2572 module is capable of sending and receiving messages greater than 560 bytes. When a large message is transmitted, TCP will break the message up into multiple segments, each no larger then 560 bytes and will transmit each segment separately.
  • Page 61: Send/Receive Command Blocks

    If a connection cannot be made with the designated partner, an error code will be returned to the application, and the application must explicitly retry the connection attempt. Once the connection has been established, if the connection is subsequently lost, the 2572 will automatically attempt to re- establish the connection.
  • Page 62 Because an Open Passive connection must wait for an Active partner to connect, no error is returned if the Active partner is not present. You must access the connection with a Send or Receive command in order to detect that the partner has not connected. CTI 2572 Installation and Operation Guide...
  • Page 63 Remote TSAP – This must correspond to the Local TSAP value in the partner PLC block (unless the bypass checks flag bit is set). NOTE: TSAPs are case sensitive. If the case does not match, the connection will be rejected. CTI 2572 Installation and Operation Guide...
  • Page 64 If no initial connection has been made or the connection has been lost, the protocol manager will return an error to the Send command. PLC logic should periodically attempt to send data until the connection has been re-established. CTI 2572 Installation and Operation Guide...
  • Page 65 Offset Description Decimal Error Word 0000 Command Code (Close Connection) 2E05 11781 Connection Number 4B15 – 19221- 4B1C 19228 3-15 Unused CTI 2572 Installation and Operation Guide...
  • Page 66: Application Example

    The TSAP for the S7 connection endpoint is “S701”. This TSAP string is stored at V510 in the SIMATIC® 505 PLC. • The 2572 will send 100 words of data obtained from V1000 – V1099. • The S7 will reply with 10 words of status information, which will be written to V1200 – V1209.
  • Page 67 C9 TRUE = Open Command Enabled but not Executed. If “Cmd Busy” and “Cmd Error” FALSE, set “Cmd Mode” and “Cmd Trigger” bits to execute Open Command in Coupled mode. ! C9 WX2.3 WX2.1 WY4.2 [-] [---]/[---]/[-------------------------------------------------*-( ! WY4.3 CTI 2572 Installation and Operation Guide...
  • Page 68 !-------------------------------------*-(SET ) ! A:WY5 ! N=120 ! C107 +-(SET ) +-------------+ This rung triggers “S7 Receive Command” when X3 (Recv Input) transitions High when X4 (Send Input) is FALSE. ! X3 [-] [---]/[---:O:---------------------------------------------------(SET ) CTI 2572 Installation and Operation Guide...
  • Page 69 C107 (Recv Timer) is reset. ! C14 WX2.3 WY4.3 C108 MOVW3---------+ [-]/[---]/[---]/[-*-]/[---! !-*-] [-------------------*-(RST ) ! A:V1000 ! B:V1700 ! N=25 [-(SET ) +-------------+ ! !C101 ! C107 +-] [-------------------+ +-(RST ) CTI 2572 Installation and Operation Guide...
  • Page 70 Send Command in Coupled mode. ! C15 WX2.3 WX2.1 WY4.2 [-] [---]/[---]/[-------------------------------------------------*-( ! WY4.3 When “Cmd Busy” bit TRUE, turn off C15. If C15 is FALSE, then Send Command has been triggered. !WX2.3 CTI 2572 Installation and Operation Guide...
  • Page 71 CP343-1 module and an “Other” Station named CP2572. Since there is no router on this network, set the subnet default to “No Router”. Then, selecting “Standard Router” under the individual node network properties will automatically select no router. CTI 2572 Installation and Operation Guide...
  • Page 72 Step 7 will accept. Configuring the Other Station (2572) Enter the following Network Connection properties for the 2572 module. Again, the MAC ID is not used by TCP/IP, but some versions of Step 7 may require the entry. You may any arbitrary value acceptable by Step 7.
  • Page 73 Configuring the ISO on TCP Connection Create a new connection to the 2572 as shown below. Enter the following TSAP information. CTI 2572 Installation and Operation Guide...
  • Page 74 S7 Logic The following S7 Function Block (FC6) receives data from the 2572 module. ID must correspond to the “Connection ID” in the S7 Ethernet setup. LADDR must correspond to the value shown in “Block Parameters”. RECV is memory block where the S7 writes the received data. Your S7 logic should execute this function block on a regular basis to check for input from the 505 PLC.
  • Page 75: Chapter 6. Datashare Protocol

    Most DataShare applications will produce data on a cyclic basis (e.g. once per scan or once per second). Thus if a packet is dropped, retry is automatic. However, application software may choose to acknowledge consumption by producing data acknowledging the receipt. In this case, application logic must re-send the packet. CTI 2572 Installation and Operation Guide...
  • Page 76: Implementation

    PLC, the software will allow an incoming packet to be written to this buffer. Should another data packet arrive before the PLC write has been completed, the incoming packet will overwrite the previous data in the buffer with the new value. CTI 2572 Installation and Operation Guide...
  • Page 77: Plc Command Blocks

    Command Code – The number for this command is0x2F01. Connection Number – Connection Number must be with range and unique. Protocol Manager Number - The number for this Protocol Manager is 0x2F Option Bits – Reserved for Future Use. Set to 0. CTI 2572 Installation and Operation Guide...
  • Page 78 The actual data production interval may be greater than the value entered. Production may be delayed by factors such as service requests from other protocol instances or large data packet sizes that require multiple scans to update the PLC CTI 2572 Installation and Operation Guide...
  • Page 79 Command Code – The number for this command is 0x2F03. Connection Number – Connection Number must be within specified range and unique. Protocol Manager Number - The number for this Protocol Manager is 0x2F CTI 2572 Installation and Operation Guide...
  • Page 80 Command Code – The number for this command is 0x2F04. Connection Number – Connection Number of Instance you are closing Option Bits - Reserved for future use. CTI 2572 Installation and Operation Guide...
  • Page 81: Master Controller Update Example

    Trigger Option (1 = timer, 2 = logic, 3 = scan) 0003 V110 Timer Interval (when Offset 9 = 1) 0001 Scan Interval (when Offset 9 = 3) V111-115 Reserved, Set to 0 0000 CTI 2572 Installation and Operation Guide...
  • Page 82 V107 LSW: Destination V Memory Address 07D0 2000 V108 Data Length in Words (1 - 512) 0064 V109 Starting Data Word in Data Block (1 - 512) 00C9 V110-V115 Reserved, Set to 0 0000 CTI 2572 Installation and Operation Guide...
  • Page 83: Peer To Peer Update Example

    The command block being executed begins at V100. The command is fired on the rising edge of X1. If a command error is encountered, the 2572 module will turn the error bit (WX2.1) ON. In that case, the logic turns the Error Acknowledge bit (WY4.1) ON to clear the error condition.
  • Page 84 Trigger Option (1 = timer, 2 = logic, 3 = scan) 0003 V110 Timer Interval (when Offset 9 = 1) 0001 Scan Interval (when Offset 9 = 3) V111-115 Reserved, Set to 0 0000 CTI 2572 Installation and Operation Guide...
  • Page 85 V107 LSW: Destination V Memory Address 03E8 1000 V108 Data Length in Words (1 - 512) 0064 V109 Starting Data Word in Data Block (1 - 512) 0001 V110-V115 Reserved, Set to 0 0000 CTI 2572 Installation and Operation Guide...
  • Page 86 V107 LSW: Destination V Memory Address 04B0 1200 V108 Data Length in Words (1 - 512) 0064 V109 Starting Data Word in Data Block (1 - 512) 0001 V110-V115 Reserved, Set to 0 0000 CTI 2572 Installation and Operation Guide...
  • Page 87: Chapter 7. E-Mail Feature

    Feature uses the Simple Mail Transfer Protocol (SMTP), allowing the message to be processed by standard E-mail servers using TCP/IP protocol. The 2572 E-mail feature incorporates a subset of features typically found in E-mail clients such as Eudora or Microsoft Outlook. However, the CP2572 E-mail facility is unidirectional; it can be used to send E-mail but not to receive it.
  • Page 88: 2572 Command Block

    V memory address of Reply to address – Address of the character string containing the Reply Address account name. Since the 2572 module is not equipped to receive E-mail, this field identifies an E-mail account to which the recipient may reply. It may also be used by the mail server for delivery problem notification.
  • Page 89: Application Example

    Contents of the PLC status words 141-144 will be copied to the command block by PLC logic. The message is sent on 12/15/1999 at 3:10PM. • The time zone is Eastern Standard Time (GMT – 5). • The module is logged into the PLC starting at WX1. CTI 2572 Installation and Operation Guide...
  • Page 90 The date/time information from Status Words 141, 142, 143 and 144 is copied into the corresponding V memory locations in the command block every PLC logic scan ! C5 MOVW----------+ [-] [---! !---------------------------------------------( ! A:STW141 ! B:V110 ! N=4 +-------------+ CTI 2572 Installation and Operation Guide...
  • Page 91 This rung acknowledges an error if the error bit is set. !WX2.1 WY4.1 [-] [---------------------------------------------------------------( Resulting E-mail From: bjones@ABCcompany.com. Sent: December 15, 1999 @ 3:10PM jdoe@ABCcompany.com;dsmith@ABCcompany.com Subject: Zone 1, PLC A – Pump Station Low coolant level detected in main reservoir CTI 2572 Installation and Operation Guide...
  • Page 93: Chapter 8. Troubleshooting

    See Appendix D. 5. If you are using a computer application to access the PLC via the 2572, check the application for errors in sending the commands. You should also check to determine if the 2572 PLC Server Error Word (available if you started the 2572 PLC network server via PLC logic) contains any “information only”...
  • Page 94: General Module Problems

    8.2. General Module Problems When the 2572 is reset, it performs a Power On Self Test (POST) to determine if all module components are operating properly. This test takes only a few seconds. Once the POST is complete, the ACTIVE LED should blink at a fast (2Hz) rate, indicating that the network parameters have not been loaded.
  • Page 95: Network Communications Problems

    Most of the problems you encounter with the Ethernet network data link will probably be associated with cabling problems. The LEDs on the 2572 can help you locate the problem source. If you are connected to an active network you should see the Ethernet Receive LED flash. Note that this LED detects all traffic not just packets directed to module address.
  • Page 96 2572’s. You are making heavy use of the Don’t trigger the Client Client function in combination with command more often than the Server function. required. Split the load among multiple 2572’s CTI 2572 Installation and Operation Guide...
  • Page 97: Serial Communications Problems

    Baud Rate Mismatch First, check to ensure that the baud rate settings on both the Model 2572 and the operator interface are set to the same data rate. If you note a problem, set both to the same baud rates and retry.
  • Page 98 RCV Indicator does not No signal is being received by the Check the communications cable flash when attempting 2572. This is probably due to a wiring. Replace with a known to send data from a defective cable. It may be due to a good cable and retry.
  • Page 99: Plc Logic Problems

    If you enter a V memory address which does not contain a valid command block or enter an address of 0, the 2572 will raise the PLC ERR bit as well as the CMD ERR bit. No error code will be written, since there is no valid location in which to write one.
  • Page 100: Development And Debugging Tips

    Command Status Command Status Bits - Slot 1 Bits - Slot 2 Bits - Slot 3 Bits - Slot 4 Hex 0-F Hex 0 - F Hex 0 - F Hex 0 - F CTI 2572 Installation and Operation Guide...
  • Page 101 V2000 is assumed to contain data you wish to monitor. Change the display to match your setup. CTI 2572 Installation and Operation Guide...
  • Page 102 6. If WX2 changes to hex E000, you have entered an incorrect address in WY5 or you have an invalid connection number in the Command Block. Acknowledge the error as described in step 5 above and repeat the operation. CTI 2572 Installation and Operation Guide...
  • Page 103: Appendix A. 2572 Connectors

    Use a communications cable that complies with RS-422 requirements. RS-422 uses two shielded twisted pair signal wires and a ground. Please refer to the following diagram if you wish to construct custom cables. Connect shield wire at one end only. Figure 17. RS-422 Connector CTI 2572 Installation and Operation Guide...
  • Page 104: 10Baset Connector

    Attach an external power supply capable of supplying at least 500ma at 12 VDC. This connector is not fused; however, it is diode protected. When you are using external power, ensure that the AUI power switch on the 2572 is set to E XTERNAL Figure 20.
  • Page 105: Appendix B. Error Codes

    Offset 0 of the Command Block. Following is a list of the errors in numerical order. 2572 System Error Codes The following error codes may be returned by the 2572 operating system. They are almost always the result of invalid data in the command block or faulty PLC logic. All system error codes begin with hex 00.
  • Page 106 Make sure you are not triggering the Start Network Server Command more You attempted to Start the 2572 Network than once or that you have not already Server and it was already started. started the network server using the dipswitch A setting.
  • Page 107 You cannot write to the EEPROM 00B0 EEPROM HARDWARE WRITE ERROR Retry. If the problem persists, replace the module. The 2572 was unable to write data to the EEPROM 00B1 EEPROM HARDWARE READ ERROR Retry. If the problem persists, replace the module.
  • Page 108: General Memory Transfer Error Codes

    The receiving device detected a bad or missing delimiter in the command message If the receiving node is a computer simulating a 2572 PLC server, ensure that the software is correctly processing the message. If the error persists contact CTI.
  • Page 109 This error may result from a transient error in the data link. You should retry the command. If The 2572 detected an invalid device code in the problem persists, check the quality of the the response from the remote device data link.
  • Page 110 You may correct this condition by increasing the timeout value. This may also be caused by an improperly programmed server. If the server is a PLC emulating a 2572 server, review the code and correct as required. 029A ERROR WRITING SERIAL PORT Retry the command.
  • Page 111 MEMORY READ ERROR When this error occurs, it is usually due to an invalid memory address specification in the The 2572 was unable to read the requested command block. Check the value for Source in V memory. Offset 3 and make corrections if necessary.
  • Page 112: Plc Server Error Codes

    The 2572 received an invalid NITP message. No action is required at the 2572/PLC. NITP protocol errors include: The 2572 will send an error message to the - Odd number of characters received, remote device. The remote device is responsible for error recovery.
  • Page 113 237C 9084 BAD BCC - CAMP PROTOCOL This error is for information only. The 2572 received a CAMP message with bad See error 237A above Block Check Character field. 237D 9085 INVALID TYPE CODE -CAMP PROTOCOL This error is for information only.
  • Page 114 The 2572 received a CAMP Read message No action is required at the 2572/PLC. which contained an invalid word count. The 2572 will send an error message to the remote device, which is responsible for error recovery and corrective action.
  • Page 115 Valid data bit values are 5, 6, 7, and 8. 23A2 9122 PARITY SELECTION ERROR See error code 23A0 (Serial Ports Only) The protocol manager was passed an invalid parity value. Valid parity values are 0-None, 1-Odd, 2-Even. CTI 2572 Installation and Operation Guide...
  • Page 116 V MEMORY READ ERROR This error code is for information only. The remote device is requesting the 2572 to The 2572 PLC server was unable to read the read a V memory location that is out of the V requested V memory block.
  • Page 117: Plc Client Error Codes

    2401 9217 PROTOCOL NOT SUPPORTED The protocol may have been disabled in the startup options of the remote 2572 Network The remote device does not support the Server. Check the remote device. TCP/IP protocol you are requesting. Check the network address in the command block.
  • Page 118 240D 9229 CONNECTION REFUSED If the remote host is a 2572, the maximum number of TCP connections allowed has been The remote host refused the connection. exceeded. Wait and try again. 240E...
  • Page 119 The receiving device detected a bad or missing delimiter in the command message If the receiving node is a computer simulating a 2572 PLC server, ensure that the software is correctly processing the message. If the error persists contact CTI.
  • Page 120 The address class is not supported by the latest revision. remote device. If the server is a PLC emulating a 2572 server, review the code and correct as required. 2492 9362 CAMP ID MISMATCH Check the remote device for problems and correct as required.
  • Page 121 2499 9369 ERROR READING PORT See error code 2498. The protocol manager detected an error during a read on a 2572 serial port. 249A 9370 ERROR WRITING PORT See error code 2498. The protocol manager detected an error during a write on a 2572 serial port.
  • Page 122 MEMORY READ ERROR When this error occurs, it is usually due to an invalid memory address specification in the The 2572 was unable to read the requested V command block. Check the command block memory. and make corrections if necessary.
  • Page 123: E-Mail Error Codes

    2D16 11543 Illegal IP address (0.0.0.0 or 255.255.255.255) Correct the entry and retry 2D17 11544 Illegal GMT offset (greater than +12 or less than - Correct the Entry and retry CTI 2572 Installation and Operation Guide...
  • Page 124 Description Corrective Action 2D18 11545 Error starting SMTP protocol manager Ensure that all command block parameters are valid. 2D20 - System errors Contact Technical Support 2DFF CTI 2572 Installation and Operation Guide...
  • Page 125: Send Receive Error Codes

    TCP connection on port 102 at the IP address. If the target is a 505 PLC using specified IP address. The PLC address a 2572 module, ensure that the firmware exists but the target does not support ISO supports the Send/Receive feature.
  • Page 126: Datashare Error Codes

    For example, the logic could periodically trigger a manual production to test the network. A consumer application could use the embedded sequence number (written to the first V memory location) to CTI 2572 Installation and Operation Guide...
  • Page 127 Attempt to trigger a producer that has not Ensure you have entered the correct been started. Connection Number is not Connection Number in use. Start the producer instance. 2F97 12183 Invalid Command Correct the Command Block entry CTI 2572 Installation and Operation Guide...
  • Page 128 Contact Technical Support 2FFF 12287 2572 Internal Errors Error codes whose lower byte is greater than C8 hex are internal code errors. If you should experience one of these errors, contact CTI for assistance. CTI 2572 Installation and Operation Guide...
  • Page 129: Appendix C. Reference Material

    APPENDIX C. REFERENCE MATERIAL Hexadecimal to ASCII Conversion Table space " & < > CTI 2572 Installation and Operation Guide...
  • Page 130: Monitoring The Aui/10Baset Bit

    Writing Network Parameters to EEPROM (PLC Method) You can use PLC logic to write the network parameters to the 2572 EEPROM. The following Command Block structure is used for this function. The command is triggered using the command control bits in module WY4.
  • Page 131 2572 will automatically close a server TCP socket. If the value is set to 0, then the 2572 will not automatically close the socket unless the client application explicitly closes the connection or a network error is detected.
  • Page 132: Reading Network Parameters From Eeprom (Plc Method)

    Module Ethernet ID (Low 16 bits) TCP Stale Socket Timeout Module IP Address (High 16 bits) Module IP Address (Low 16 bits) TCP/UDP Port Number (2572 PLC Server) Default Router (High 16 bits) Default Router (Low 16 bits) Subnet Mask (High 16 bits)
  • Page 133: Appendix D. Plc Command Interface

    APPENDIX D. PLC COMMAND INTERFACE General Description CTI 2572 modules log into the PLC as 2 WX inputs and 6 WY outputs. The PLC controls the module by placing values in specific WY words. The PLC obtains status information from the module via the WX words.
  • Page 134 Set up the Command Block(s) in V memory using your PLC programming software • Load the command slot(s) with the address of the Command Block(s). • Set the applicable command trigger and mode bits in WY4. • Monitor the status of the command processing using WX2. CTI 2572 Installation and Operation Guide...
  • Page 135: Wx/Wy Description

    Command Slot 2: V Memory Address of Command Block for CMD2 Command Slot 3: V Memory Address of Command Block for CMD3 Command Slot 4: V Memory Address of Command Block for CMD4 Figure 22. WX/WY Map CTI 2572 Installation and Operation Guide...
  • Page 136 This bit is set when the AUI port is selected. processing. If the fault recurs, the wait and The 2572 will automatically select the AUI reset cycle will be repeated indefinitely. If the port when there is no link beat signal on the fault is cleared, the module will resume 10bT port.
  • Page 137 The four command slots execute commands independently. Thus, an error on one command does not affect processing on the other commands than happen to be executing at the same time. The command slots can be triggered at different times or some (or all) may be triggered concurrently. CTI 2572 Installation and Operation Guide...
  • Page 138 PLC logic: 0 = Uncoupled mode - The 2572 command processing is not synchronized with the PLC logic. 1 = Coupled mode - The 2572 command processing is synchronized with the PLC logic. CMD Trig Command Trigger.
  • Page 139 Offset 0 of the command block unless PLC E is also set (see below). PLC Read/Write Error. The 2572 sets this bit to indicate that it could not PLC Err read a valid command block from V memory. Therefore, there is no place to write an error word.
  • Page 140 When the module starts the process of aborting a command, it raises the A bit. When the BORT process is complete, it lowers A (and also CMD B BORT The timing diagrams in this appendix describe the interaction of the various Command Control and Command Status bits. CTI 2572 Installation and Operation Guide...
  • Page 141 Read Command they may specify where to obtain the data, how many words to Parameters read, and where to store the results. The number of command parameters required will vary with different commands. CTI 2572 Installation and Operation Guide...
  • Page 142: Wx/Wy Quick Reference

    WX/WY Quick Reference CTI 2572 Installation and Operation Guide...
  • Page 143: Command Timing Diagrams

    The Command Block is subject to access and change by the module anytime after CMD TRIG is asserted (time C) until CMD BUSY is cleared (time F). Thus, the Command Block should not be changed by the PLC at any time between time C and F. CTI 2572 Installation and Operation Guide...
  • Page 144: Figure 24. Uncoupled Mode Timing

    NOTE: As long as the 2572 detects that CMD TRIG is high when CMD BUSY is lowered, it will execute the same command again, It will not re-read the Command Block from the PLC. Therefore, if you wish to change the command to the module, the PLC logic should clear CMD TRIG and ensure CMD BUSY is cleared before changing the contents of the Command Block or the associated Command Slot.
  • Page 145: Figure 25. Command Error Timing

    PLC ERR is clear. Since the ERROR ACK signal is sampled only when CMD ERR or PLC ERR is asserted, PLC logic can leave the ERROR ACK bit on, if you wish to ignore all errors. CTI 2572 Installation and Operation Guide...
  • Page 146: Figure 26. Plc Error Timing

    1) an invalid address in the Command Slot (WY5, WY6, WY7, or WY8) or 2) a command block connection number that does not have hex 4B in the high byte If the PLC ERR bit is on, you should check your PLC logic carefully! CTI 2572 Installation and Operation Guide...
  • Page 147: Figure 27. Command Abort Timing

    Depending upon the nature of the command and circumstances of execution, some commands cannot be aborted. NOTE: Setting all four abort triggers and asserting the module reset bit in WY3 will cause the module to perform a complete reset. CTI 2572 Installation and Operation Guide...
  • Page 148 With the notable exception of Module Reset (all four abort triggers are set along with the module reset bit) the command slots are totally independent. Unless the commands are directed to a common resource, the command slots should have no effect on each other. CTI 2572 Installation and Operation Guide...
  • Page 149: Appendix E. Ip Address Information

    223 are reserved for Class D - special protocols such as ICMP multicast. The 2572 will not allow IP addresses which are Class D addresses (254.0.0.0 or greater) or where the address bits are all zeroes or all ones (0.0.0.0 or 255.255.255.255).
  • Page 150: Private Ip Addresses

    Private IP Addresses If you are planning on connecting to the 2572 modules via the Internet, you must obtain a set of IP addresses from the Internet Assigned Numbers Authority (IANA). You may access the web site at the following URL: http://www.isi.edu/div7/infra/iana.html.
  • Page 151: Port Number

    The Port Number identifies a particular process or service offered by the host. Some services, such as echo server, are provided via standard "well known" port numbers. For the 2572 PLC Network Server facility, you can configure the TCP/UDP port number.
  • Page 153: Hardware Specifications

    3 ea. - Receive Data (Serial Port 1, Serial Port 2, Ethernet) 1 ea. - 10BaseT Link Beat Detected 1 ea. - AUI Port Selected 1 ea. - Collision Detected 1 ea. - Reversed Polarity (10BaseT Port). Module Size: Single Wide 505 I/O CTI 2572 Installation and Operation Guide...
  • Page 154 AUI port. If you are using a transceiver, see the Installation Planning section of this manual. Operating Temperature: 0º to 60º C (32º to 185º F) Storage Temperature: -40º to 85º C (-40º to 185º F) Humidity: 0% to 95%, non-condensing Agency Approvals: UL Canada CTI 2572 Installation and Operation Guide...
  • Page 155: Limited Product Warranty

    All exchanged parts or Products become the property of CTI. Should any Product or part returned to CTI hereunder be found by CTI to be without defect, CTI will return such Product or part to the customer.
  • Page 156 CTI 2572 Installation and Operation Guide...
  • Page 157: Repair Policy

    Authorization (RMA) number can be requested orally or in writing from CTI main offices. Whether this equipment is in or out of warranty, a Purchase Order number provided to CTI when requesting the RMA number will aid in expediting the repair process. The RMA number that is issued and your Purchase Order number should be referenced on the returning equipment's shipping documentation.
  • Page 158 WX / WY Quick Reference CTI 2572 Installation and Operation Guide...

Table of Contents