Simatic/TI 505 Serial Driver Help © 2012 Kepware Technologies
Simatic/TI 505 Serial Driver Help 2 Table of Contents Table of Contents 2 Simatic/TI 505 Serial Driver Help 3 Overview 3 Device Setup 4 Modem Setup 4 Addressing Options 4 Data Types Description 6 Address Descriptions 7 NITP Addressing 7 Transparent Byte Addressing 8 Status Words 8 Error Descriptions 15 Address Validation 15 Missing address 15 Device address '
' contains a syntax error 15 Address '' is out of range for the specified device or register 16 DatSimatic/TI 505 Serial Driver Help 3 Simatic/TI 505 Serial Driver Help Help version 1.
Simatic/TI 505 Serial Driver Help 4 Device Setup Supported Devices TI Series 500/505 processors: 520, 525, 535, 545, 555, 565 and 575. Communication Protocol Non-Intelligent Terminal Protocol (NITP) Transparent Byte protocol (TB) Supported Communication Parameters* Baud Rate: 300, 600, 1200, 2400, 9600, 19200, or 38400 Stop Bits: 1 Parity: Odd for NITP, None for TB Data Bits: 7 for NITP, 8 for TB *Not all devices support the listed configurations.
Simatic/TI 505 Serial Driver Help 5 Memory types that allow bit within Word (for example, V) can be referenced as a Boolean. The addressing notation for doing this is as follows: . where represents the bit number within the Word or DWord, depending on the memory type. 0/1-Based Bit Addressing provides two ways of addressing a bit within the given Word or DWord: 0-Based and 1-Based. 0Based addressing simply means the "first bit" begins at 0.
Simatic/TI 505 Serial Driver Help 6 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.
Simatic/TI 505 Serial Driver Help 7 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. NITP Addressing Transparent Byte Addressing Status Words NITP Addressing The Simatic/TI 505 Serial driver supports the following addresses when using the NITP protocol. The default data type for each address type is indicated in bold.
Simatic/TI 505 Serial Driver Help 8 Transparent Byte Addressing The Simatic/TI 505 Serial driver supports the following addresses when using the Tranparent Byte protocol. The default data type for each address type is indicated in bold.
Simatic/TI 505 Serial Driver Help 9 Register Description CP525 CP545 CP565 CTI 2500 STW00001 Non-Fatal Errors. x x x x Base Control Status. Each bit reflects the status of x a single base. x x x x x x x Bit 4, 1 = Password has been entered. Bit 5, 1 = Password has been entered and disabled. Bit 6, 1 = User program error.* Bit 7, 1 = Subroutine stack overflow. Bit 8, 1 = Time of day clock failure. Bit 10 = Special function module communication error.
Simatic/TI 505 Serial Driver Help 10 DP Slave channels if present. STW027 is slave 1…STW138 is slave 112. Bit range is the same as for STW011. STW00139 This Status Word provides a count of the discrete points (X/Y or C) that are currently forced. x x x x STW00140 This Status Word provides a count of the word points (WX/WY) that are currently forced. x x x x STW00141-00144 Date, Time, and Day of Week. N/A. N/A. N/A. N/A. STW141 Bit 1-4, Year tens digit. Bit 5-8, Year units digit.
Simatic/TI 505 Serial Driver Help 11 Bit 13, 1 = Attempt to invoke restricted special function program or subroutine. STW00163 Contains the number of the ladder subroutine that x caused the stack overflow. x x x STW00164-00165 Contains the source RLL checksum (32 Bit integer). x x x x STW00166-00167 Contains the compiled RLL checksum (32 Bit integer). x x x x STW00168 Dual RBC Status. Bit 1-16 are bases 15-0. x x x x For each Bit: 0 = Dual RBC present and good.
Simatic/TI 505 Serial Driver Help 12 Bit 3, 1 = First Run Mode scan after transition from Hold Mode. Bit 9, 1 = First scan after battery bad power-up restart. Bit 10, 1 = First scan after battery good power-up restart. Bit 11, 1 = First scan after compile restart. Bit 12, 1 = First scan after partial restart. STW00202-00205 Not used. x x x x STW00206-00207 U-Memory Checksum C0 (32 bit integer). x x x N/A. STW00208-00209 U-Memory Checksum C1 (32 bit integer). x x x N/A.
Simatic/TI 505 Serial Driver Help 13 STW0231 Profibus DP I/O Status. x x x x x x x x Bit 1, 1 = DP in operate state. Bit 2, 1 = DP in clear state. Bit 3, 1 = Error: Unable to download configuration to the Profibus interface. Bit 4, 1 = Error: Unable to retrieve slave diagnostics from the interface. Bit 5, 1 = DP bus error. Bit 16, 1 = DP I/O bus system in not configured. STW00232-00238 Profibus I/O Diagnostics Status.
Simatic/TI 505 Serial Driver Help 14 stopped communicating with the remote base due to communications errors or response timeouts. STW 471 corresponds to remote base 1. STW 472 – STW 485 correspond to remote bases 2 – 15. STW00486 Not used. N/A. N/A. N/A. x STW00487-00501 Timeout Count – Remote Base 1 – 15. This contains the number of times that the base failed to respond to a request from the controller within the specified time. N/A. N/A. N/A. x STW 487 corresponds to remote base 1.
Simatic/TI 505 Serial Driver Help 15 Error Descriptions The following error/warning messages may be generated. Click on the link for a description of the message.
Simatic/TI 505 Serial Driver Help 16 Solution: Re-enter the address in the client application. Address '
' is out of range for the specified device or register Error Type: Warning Possible Cause: A tag address that has been specified dynamically references a location that is beyond the range of supported locations for the device. Solution: Verify that the address is correct; if it is not, re-enter it in the client application.Simatic/TI 505 Serial Driver Help 17 Serial Communications COMn does not exist Error opening COMn COMn is in use by another application Unable to set comm parameters on COMn Communications error on '' [] COMn does not exist Error Type: Fatal Possible Cause: The specified COM port is not present on the target computer. Solution: Verify that the proper COM port has been selected.
Simatic/TI 505 Serial Driver Help 18 T = TX buffer full. Possible Cause: 1. The serial connection between the device and the host PC is bad. 2. The communications parameters for the serial connection are incorrect. Solution: 1. Verify the cabling between the PC and the device. 2. Verify that the specified communications parameters match those of the device. Device Status Messages The following error/warning messages may be generated. Click on the link for a description of the message.
Simatic/TI 505 Serial Driver Help 19 2. The location is read only in the device. 3. The device could not perform the write operation. Solution: Refer to the list of error codes. See Also: Error Codes Unable to read block starting at
for device : Error code Error Type: Serious Possible Cause: 1. The address does not exist in the device. 2. The device could not perform the read operation. Solution: Refer to the list of error codes.
Simatic/TI 505 Serial Driver Help 20 Index A Address Descriptions Address Validation Addressing Options Array size is out of range for address '
' Array support is not available for the specified address:'' 7 15 4 16 16 B 19 6 Bad address Boolean C Communications error on '' [] COMn does not exist COMn is in use by another application 17 17 17 D Data Type '' is not valid for device address '' Data Types Description Device '' is nSimatic/TI 505 Serial Driver Help 21 17 Framing L 6 Long M 17 15 4 Mask Missing address Modem Setup N 4 7 Network NITP Addressing O 17 3 Overrun Overview P 17 Parity S Serial Communications Short Simatic/TI 505 Serial Device Specific Messages Status Words 16 6 18 8 T 8 Transparent Byte Addressing www. kepware.
Simatic/TI 505 Serial Driver Help 22 U Unable to read block starting at
for device :Error code Unable to set comm parameters on COMn Unable to write tag '' on device '' Unable to write tag for device :Error code 19 17 18 18 W 6 Word www. kepware.