Simatic / TI 505 Ethernet Driver Help © 2015 Kepware Technologies
Simatic/TI 505 Ethernet Driver Help 2 Table of Contents Table of Contents 2 Simatic / TI 505 Ethernet Driver Help 3 Overview 3 Device Setup 4 Cable Diagrams 5 Communications Parameters 5 Addressing Options 7 Optimizing Simatic / TI 505 Ethernet Communications 9 Data Types Description 11 Address Descriptions 12 Addressing 12 Common Data Type Addressing 12 Status Words 16 Alarm Addressing 21 AVF Bit Definitions 23 ACF Bit Definitions 24 Loop Addressing 25 LVF Bit Definition
Simatic/TI 505 Ethernet Driver Help 3 Simatic / TI 505 Ethernet Driver Help Help version 1.
Simatic/TI 505 Ethernet Driver Help 4 Device Setup Supported Devices CTI Interface Cards CTI 2572, CTI 2572-A, and CP2572 Ethernet interface cards on TI series CPUs TI545, 555, and 565. Simultaneous device connections are allowed. The model should be set to 505-CP2572. For more information, refer to "Connection Limitations" below. Siemens Interface Cards 505-CP1434-TCP Ethernet host card on TI Series CPUs TI545 and 565. Simultaneous device connections are allowed.
Simatic/TI 505 Ethernet Driver Help 5 Cable Diagrams Communications Parameters www. kepware.
Simatic/TI 505 Ethernet Driver Help 6 Descriptions of the parameters are as follows: l l Port Number: This parameter specifies the port number that the remote device is configured to use. The default port number is 1505. IP Protocol: This parameter specifies whether the driver should connect to the remote device using the User Datagram Protocol (UDP) or Transfer Control Protocol (TCP). This driver requires Winsock V1.1 or higher.
Simatic/TI 505 Ethernet Driver Help 7 For applications where the data can be divided into large blocks, using CAMP memory transfer will result in the most efficient data transfer. Note that, in one CAMP read, up to 125 words could be returned which could include 2000 discrete points. Since CAMP memory transfer allows only one data type and only one memory range per message, applications which read many small blocks or many different data types may benefit from using the Packed Task Code format.
Simatic/TI 505 Ethernet Driver Help 8 Bit Order for V, K, WX, WY and STW This option is used to select the order in which bits will be presented to V, K, WX, WY and STW memory types when bit-accessed. Bit Order for Loops/Alarms This option is used to select the order in which bits will be presented to Loop and Alarm memory types that are bit-accessible and are being bit-accessed (such as LCF).
Simatic/TI 505 Ethernet Driver Help Optimizing Simatic / TI 505 Ethernet Communications The Simatic / TI 505 Ethernet driver has been designed to provide the best performance with the least amount of impact on the system's overall performance. While the Simatic / TI 505 Ethernet driver is fast, there are a couple of guidelines that can be used to control and optimize the application and gain maximum performance. Our server refers to communications protocols like Simatic / TI 505 Ethernet as a channel.
Simatic/TI 505 Ethernet Driver Help 10 Each device has now been defined under its own channel. In this new configuration, a single path of execution is dedicated to the task of gathering data from each device. If the application has 100 or fewer devices, it can be optimized exactly how it is shown here. The performance will improve even if the application has more than 100 devices. While 100 or fewer devices may be ideal, the application will still benefit from additional channels.
Simatic/TI 505 Ethernet Driver Help 11 Data Types Description Data Type Description Boolean Single bit Word Unsigned 16-bit value bit 0 is the low bit bit 15 is the high bit Short Signed 16-bit value bit 0 is the low bit bit 14 is the high bit bit 15 is the sign bit DWord Unsigned 32-bit value bit 0 is the low bit bit 31 is the high bit Long* Signed 32-bit value bit 0 is the low bit bit 30 is the high bit bit 31 is the sign bit Float** 32-bit floating point value The driver interprets two cons
Simatic/TI 505 Ethernet Driver Help 12 Address Descriptions Address specifications vary depending on the model in use. Select a link from the following list to obtain specific address information for the model of interest. Addressing Common Data Type Addressing Status Words Addressing The following sections define addressing. For information on the Event Log, refer the OPC server's help documentation.
Simatic/TI 505 Ethernet Driver Help 13 V-Word Memory BCD Decimal V
B 1-16777215 1-16777214 Short, Word, BCD Long, DWord, Float Read/Write V-Word Memory Floating Point VR VP V. 1-16777215 1-16777214 Short, Word, BCD Long, DWord, Float Read/Write V-Word Memory Bit Access V.Simatic/TI 505 Ethernet Driver Help 14 DWord, Float System Status Bit Access STW
.Simatic/TI 505 Ethernet Driver Help 15 This type of string is a Standard String with LoHi byte order except the string length is always the maximum because the string is padded with blank spaces on the right until its length becomes the maximum (no NULLs). Recall the maximum length of the string is ( - ) / 2 bytes in the address.
Simatic/TI 505 Ethernet Driver Help 16 Note: All 10 characters are displayed with the null-terminated string "hello" padded with 5 spaces to fill the 5 words. To write "world" to this address, the memory data would look as follows: V200/MSB = 'w' V200/LSB = 'o' V201/MSB = 'r' V201/LSB = 'l' V202/MSB = 'd' V202/LSB = ' ' V203/MSB = ' ' V203/LSB = ' ' V204/MSB = ' ' V204/LSB = ' ' V205/MSB = ' ' Since "world" is less than 10 characters in length, it is padded with blanks to become 10 characters in length.
Simatic/TI 505 Ethernet Driver Help 17 0 = Status is good. 1 = Base is not present or has a problem. Bit 1, Base 15 Bit 2, Base 14 Bit 3, Base 13 Bit 4, Base 12 Bit 5, Base 11 Bit 6, Base 10 Bit 7, Base 9 Bit 8, Base 8 Bit 9, Base 7 Bit 10, Base 6 Bit 11, Base 5 Bit 12, Base 4 Bit 13, Base 3 Bit 14, Base 2 Bit 15, Base 1 Bit 16, Base 0 STW00003-00009 Profibus DP Slave Status Each bit is 0 if a slave is present, or 1 if the slave is missing or failed.
Simatic/TI 505 Ethernet Driver Help 18 Bit 9-12, Seconds - Tens digit Bit 13-16, Seconds - Units digit STW144 Bit 1-4, Seconds - Tenths digit Bit 5-8, Seconds - Hundredths digit Bit 9-12, Not used - Always 0 Bit 13-16, Day of the week x x x x STW00145 Receive Error Counts x x x x STW00146 Timeout Counts x x x x STW00147 This Status Word records the number of times that x the Profibus-DP slaves have failed to respond to a request from the Series 505 or CTI 2500 CPU since the most recent
Simatic/TI 505 Ethernet Driver Help 19 1 = Error or single power supply STW00177-00183 Not used x x x x STW00184 Module Mismatch Indicator x x x x Bit 1, 1 = Module mismatch error Bit 5-8 = Indicates the number of the base with the error STW00185-00190 Not used x x x x STW00191 Serial Port Print Status N/A N/A N/A x STW00192 Discrete Execution Scan Time - The time spent on the last scan x x x x STW00193-199 Not used x x x x STW00200 User Program Error Cause (associated
Simatic/TI 505 Ethernet Driver Help STW213 STW214 STW215 STW216 STW217 Bit 1-16 Bit 1-16 Bit 1-16 Bit 1-16 Bit 1-16 20 slave addresses slave addresses slave addresses slave addresses slave addresses 48-33 64-49 80-65 96-81 112-97 STW00218 Not used x x x x STW00219 RLL Task Overrun x x x N/A x x N/A N/A Bit 1, Task 1: 0 = Good, 1 = Task scan cycle overrun Bit 2, Task 2: 0 = Good, 1 = Task scan cycle overrun STW00220 Interrupting Slots in Local Base Bit 1-16 are slots 16-1 For each Bit:
Simatic/TI 505 Ethernet Driver Help 21 Checksum STW00243 Reserved N/A N/A N/A x STW00244 Additional Control Status Flags N/A N/A N/A x N/A N/A N/A x Bit 1, Controller Mode 0 = Program Mode, 1 = Run Mode Bit 2, Scan Mode 0 = Variable, 1 = Fixed Bit 3, User Program Source 0 = Ram, 1 = Flash Bit 4, Ethernet Port Link Status 1 = Connected Bit 5, TCP/IP Network Status 1 = Operational Bit 6, Duplicate IP Address Status 1 = Duplicate Detected STW00245 Additional Controller Error Status Bit 1, 1 =
Simatic/TI 505 Ethernet Driver Help 22 Note: The actual number of addresses available for of each type depends on the PLC's configuration. If the driver finds at runtime that an address is not present in the device, it will post an error message and remove the tag from its scan list. Address Type Format Range Data Types Access Alarm Status (V) Flags AVF
1-65536 Word Read/Write Alarm Status (V) Flag Bit Access* AVF.Simatic/TI 505 Ethernet Driver Help 23 Alarm MSW Alarm C Flags ACFH
1-65536 Word Read/Write Alarm LSW Alarm C Flags ACFL 1-65536 Word Read/Write Alarm ACK Flag AACK 1-65536 Word Read Only *For more information, refer to AVF Bit Definitions. **For more information, refer to ACF Bit Definitions. Array Support Non-Boolean addresses accept array notation. To view data as an array, append '[rows][cols]' to an address. For example, V500 [2][2], V100 [12].Simatic/TI 505 Ethernet Driver Help P 24 15/16, 0/1 Not used, set to 0 *Elements A and B are write-only triggers. Writing 1 to the triggers sets the mode. The mode (or status) is reported in Element L (Bit 12). **If a word is selected for the analog alarm V-flags, element L is written as bit 12 is written. If a C or Y is selected, bit 12 (element L) is not used.
Simatic/TI 505 Ethernet Driver Help 25 e 30/31, 1/2 Contains SF program number (if an SF program is scheduled to be called) f 31/32, 0/1 Contains SF program number (if an SF program is scheduled to be called) Loop Addressing The driver supports the following addresses. The default data type for each address type is indicated in bold. Note: The actual number of addresses available for of each type depends on the PLC's configuration.
Simatic/TI 505 Ethernet Driver Help 26 Loop Raw Setpoint LSPR
1-65536 Word Read/Write Loop Raw Error LERRR 1-65536 Word Read Only Loop Raw High-High Alarm Limit LHHAR 1-65536 Word Read/Write Loop Raw Low-Low Alarm Limit LLLAR 1-65536 Word Read/Write Loop Raw Alarm Deadband LADBR 1-65536 Word Read/Write Loop Raw Bias LMXR 1-65536 Word Read/Write Loop Raw Setpoint Low Limit LSPLR 1-65536 Word Read/Write Loop RaSimatic/TI 505 Ethernet Driver Help 27 Element LVF bit Description A 0/1, 15/16 1=Go to manual mode* B 1/2, 14/15 1=Go to auto mode* C 2/3, 13/14 1=Go to cascade mode* D 3/4, 12/13 E 4/5, 11/12 D E=description** 0 0=Loop is in manual mode 1 0=Loop is in auto mode 0 1=Loop is in cascade mode F 5/6, 10/11 0=Error is positive 1=Error is negative G 6/7, 9/10 1=PV is in high-high alarm H 7/8, 8/9 1=PV is in high alarm I 8/9, 7/8 1=PV is in low alarm J 9/10, 6/7 1=PV is in low-low
Simatic/TI 505 Ethernet Driver Help 28 L 11/12, 20/21 1=Auto-mode lock M 12/13, 19/20 1=Cascade-mode lock N 13/14, 18/19 1=Setpoint lock O 14/15, 17/18 0=Output scale 0% offset 1=Output scale 20% offset - only valid if output is unipolar. Refer to Element T.
Simatic/TI 505 Ethernet Driver Help 29 12/13 E 4/5, 11/12 1=Wait. This bit is set during a soak period when the PV is not within a specified deviation from the SP. The loop holds the soak timer when bit 5 is set.
Simatic/TI 505 Ethernet Driver Help 30 enough addresses are found to fill the output buffer. The search will cycle through all address types (C then X/Y for discretes, WX/WY for words) for the command given. If the search responds with the maximum number of addresses, then another request, beginning with the address following the last forced address returned, must be issued to continue the search.
Simatic/TI 505 Ethernet Driver Help 31 Error Descriptions The following messages may be generated. Click on the link for a description of the message. Address
is out of range for the specified device or register. Array size is out of range for address . Array support is not available for the specified address: . Data type is not valid for device address . Device address contains a syntax error. Device address is read only.Simatic/TI 505 Ethernet Driver Help 32 Data type is not valid for device address . Error Type: Warning Possible Cause: A tag address that has been specified dynamically has been assigned an invalid data type. Solution: Modify the requested data type in the client application. Device address contains a syntax error. Error Type: Warning Possible Cause: A tag address that has been specified dynamically contains one or more invalid characters.
Simatic/TI 505 Ethernet Driver Help 33 Solution: Check network connections. Device detected a Task Code error (tag , size ). Error Type: Serious Possible Cause: This error may occur when sending Packed Task Code messages. The device is experiencing network errors or PLC encountered an error when processing a task code. Solution: 1. Check network connections. 2. Refer to the specific error code. See Also: Task Error Codes Device input queue is full.
Simatic/TI 505 Ethernet Driver Help 34 Possible Cause: The device is unable to receive the amount of write data sent in one request. Note: This error is used for extended error information by some error responses. See Also: Device cannot execute a write request (, ). Device , write value not in range 1-->65536. (Tag 'FFSTART'). Error Type: Warning Possible Cause: Value written outside of range specified. Solution: Write a value in the range of 1-65536.
Simatic/TI 505 Ethernet Driver Help 35 Possible Cause: The version number of the Winsock DLL found on the system is less than 1.1. Solution: Upgrade Winsock to version 1.1 or higher. www. kepware.
Simatic/TI 505 Ethernet Driver Help 36 Task Code Error Codes Code Description 02 Address out of range (other than ladder logic). 03 Requested data not found. 04 Illegal task code request (such as "Task Code not supported"). 05 Request exceeds program memory size (ladder logic). 07 Fatal error detected. 09 Incorrect amount of data sent with request. 0C Attempted write operation did not verify. 0D Illegal number of ASCII characters received.
Simatic/TI 505 Ethernet Driver Help 37 Index 5 505 Protocol 6 A ACF Bit Definitions 24 Address
is out of range for the specified device or register. 31 Address Descriptions 12 Addressing 12 Addressing Options 7 Alarm Addressing 21 Array size is out of range for address . 31 Array support is not available for the specified address:.Simatic/TI 505 Ethernet Driver Help 38 F Find Forced Addressing 29 Float 11 L LCF Bit Definitions 27 Long 11 Loop Addressing 25 LRSF Bit Definitions 28 LVF Bit Definitions 26 M Missing address. 34 N Network 4 NITP 7 O Optimizing Your Simatic/TI 505 Ethernet Communications 9 Overview 3 P Packed Task Code 6 S Short 11 Status Words 16 T Task Code Error Codes 36 TISOFT 6 U Unable to write tag
on device . 34 www. kepware.Simatic/TI 505 Ethernet Driver Help 39 W Winsock initialization failed (OS Error = n). 34 Winsock V1.1 or higher must be installed to use the Simatic/TI 505 Ethernet device driver. 34 Word 11 www. kepware.