Page 1
SIMATIC TI505/TI500 MODNIM User Manual Order Number: PPX:505-8122-1 Manual Assembly Number: 2586546-0083 Original Edition...
Page 2
Technical data is subject to change. contents is not permitted without express consent of Siemens Industrial Automation, Inc. All rights, including rights We check the contents of every manual for accuracy at the created by patent grant or registration of a utility model or time it is approved for printing;...
Page 3
MANUAL PUBLICATION HISTORY SIMATIC TI505/TI500 MODNIM User Manual Order Manual Number: PPX:505-8122-1 Refer to this history in all correspondence and/or discussion about this manual. Event Date Description Original Issue 03/93 Original Issue (2801280–0001), Software Release 3.0...
Page 4
LIST OF EFFECTIVE PAGES Pages Description Pages Description Cover/Copyright Original History/Effective Pages Original iii — ix Original 1-1 — 1-20 Original 2-1 — 2-39 Original A-1 — A-4 Original B-1 — B-2 Original C-1 — C-3 Original D-1 — D-6 Original Index-1 —...
If you need information that is not included in this manual, or if you have Assistance problems using the module, contact your Siemens Industrial Automation, Inc. distributor or sales office. If you need assistance in contacting your distributor or sales office in the United States, call 1–800–964-4114.
Page 12
..............1-20 SIMATIC TI505/TI500 MODNIM User Manual Installation and Set-up...
The two modes are the following. ASCII (American Standard Code for Information Interchange) RTU (Remote Terminal Unit) The MODNIM can be set to operate in either mode. Installation and Set-up SIMATIC TI505/TI500 MODNIM User Manual...
Series 505 PLC is equivalent to the use of the Modicon J475 modem interface with a Modicon PLC. Modbus host Modbus host Modem Modbus Network Modem Modem Programmable Controllers MODNIM MODNIM Multidrop Configuration Point-to-point Figure 1-1 Multidrop and Point-to-point Configurations SIMATIC TI505/TI500 MODNIM User Manual Installation and Set-up...
Insert module into selected I/O slot (Series 505) or two adjacent slots (Series 500). Power up the I/O base. Check MODNIM indicator lights. Verify MODNIM is logged into PLC. Connect network cables. Figure 1-2 Quick Reference Installation Procedures Installation and Set-up SIMATIC TI505/TI500 MODNIM User Manual...
Installation the MODNIM, and initializing the system for operation. Before installing the MODNIM, make sure that the PLC is installed and the programming device is connected to the system. SIMATIC TI505/TI500 MODNIM User Manual Installation and Set-up...
(0001 1001) (1100 1011) Weight Represents direction to slide a sliding-type switch, or side of switch to press down on a rocker-type switch on Series 505 MODNIM. Figure 1-3 Address Setting Examples Installation and Set-up SIMATIC TI505/TI500 MODNIM User Manual...
Switch 10 is used to determine whether the MODNIM collects data from the PLC’s Discrete Output (Y) memory or the Control Relay (C) memory. Set switch to the left for C coils, to the right for Y outputs. SIMATIC TI505/TI500 MODNIM User Manual Installation and Set-up...
(These screws also ground the module to the base.) Minimum torque: 2.61 in-lb (0.3 N-m) Maximum torque: 5.22 in-lb (0.6 N-m) Figure 1-7 Installing the Series 505 MODNIM in the I/O Base 1-10 Installation and Set-up SIMATIC TI505/TI500 MODNIM User Manual...
Stop bits 2 or 1 Parity OFF/ON Parity ODD/EVEN Mode RTU/ASCII RTS/CTS: OFF/ON C coils/Y outputs Note: = side of switch to press down. Figure 1-8 Series 505 MODNIM Example Dipswitch Settings SIMATIC TI505/TI500 MODNIM User Manual Installation and Set-up 1-11...
MODNIM or the I/O slot keys. Figure 1-9 Keying the I/O Base Slot for the Series 500 MODNIM 1-12 Installation and Set-up SIMATIC TI505/TI500 MODNIM User Manual...
Figure 1-10 Installing the Series 500 MODNIM in the I/O Base To remove the module, pull the tabs away from the module and slide it out of the base, being careful not to damage the edge card. SIMATIC TI505/TI500 MODNIM User Manual Installation and Set-up 1-13...
When set to Local mode, only the Read functions 1, 2, 3, 4, 7, 11, 12, and 17 plus diagnostics function 8 can be performed. All other functions (write operations) will be rejected with Exception Code 01. 1-14 Installation and Set-up SIMATIC TI505/TI500 MODNIM User Manual...
Connected to the network: Local mode RECEIVE (REC) Receiving data over the network TRANSMIT (XMT) Transmitting data over the network MODNIM in Test mode TEST MODE (TEST) Failure detected after power-up diagnostics Flashing Tests completed SIMATIC TI505/TI500 MODNIM User Manual Installation and Set-up 1-15...
GOOD GOOD Reset or Power-up LINE TEST LINE TEST LINE TEST LINE TEST Successful Communicating 1 second 5 seconds internal tests with PLC Figure 1-12 LED Status during Power-Up Self Test 1-16 Installation and Set-up SIMATIC TI505/TI500 MODNIM User Manual...
The Watchdog Timer circuit provides an extra measure of protection against network lockup due to a failed MODNIM. This circuit will force a RESET if the operating software fails to execute normally. SIMATIC TI505/TI500 MODNIM User Manual Installation and Set-up 1-17...
If the User-Initiated Self Test is completed successfully, then you can reconnect the network cable to the MODNIM and press the Reset button. The MODNIM will re-initialize and be ready for normal operation. 1-18 Installation and Set-up SIMATIC TI505/TI500 MODNIM User Manual...
Slot Number SF Module Install the module into any The MODNIM is logged in as available I/O slot in the I/O base. a Special Function Module. Figure 1-14 Sample I/O Definition Chart SIMATIC TI505/TI500 MODNIM User Manual Installation and Set-up 1-19...
If the data on the line is incorrect, first check to see if the module is firmly seated in the I/O base and enter the command again. If you still cannot verify the module login, contact your local Siemens Industrial Automation, Inc. distributor.
Page 32
..............2-38 SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands...
The Function field is a 2-character (16-bit) code that determines the action that a slave takes when receiving the message. The function codes supported by the MODNIM are summarized in Table 2-1 and described in more detail with examples in section 2.4. Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
This character can be changed using Function Code 08, with Diagnostic code 03. Unless there is a compelling reason to change this character, it should be left as the default value (LF). SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands...
Protocol Reference Manual. Invalid Characters The MODNIM ignores messages that contain invalid characters. Messages and Messages containing the following errors are also ignored. Incorrect checksum Parity error Framing errors Frame too long Incomplete transmission SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands...
PLC memory. When a request goes beyond the memory of a particular PLC, the command will be rejected by the PLC and the MODNIM will notify the host computer with Exception Code 02. SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands...
[This is equivalent to sending a TIWAY Primitive 20 request using TT-type 7 (Packed Discrete Outputs or Ys) or TT-type 8 (Packed Cs), depending on the position of Switch 10 of the network dipswitch bank in the MODNIM.] Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
Figure 2-11 Read Output Register Example — Response The response has returned the number of bytes of data (06) and the values for the requested registers; these are 032C, 0001, and 0030 respectively (812, 1, and 48 decimal). 2-12 Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
Slave address (07) Figure 2-13 Read Input Register Example — Response The response has returned the number of bytes of data (02) and the value 0020 (32 decimal) from the requested input register (0008). SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-13...
Function code (05) Slave address (07) Figure 2-14 Write a Single Coil Example — Request This request to secondary 7 is asking for coil 0064 (100 decimal) to be changed to the ON state. 2-14 Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
Figure 2-15 Read Input Register Example — Response The response to Function Code 05 is to return the request as received. In the case of a broadcast request, there is no response. SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-15...
Figure 2-17 Write a Single Register Example — Response The response to Function Code 06 is to return the request as received. In the case of a broadcast request, there is no response. 2-16 Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
This request to secondary 17 (decimal) is asking for exception status data. Response: 11 07 3B XXXX Checksum (XXXX) Data value (3B) Function code (07) Slave address (11) Figure 2-19 Read Exception Status Example — Response SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-17...
Page 52
Event Log will be cleared. If any other value is passed in the information field, the Communications Event Log will not be cleared, and no response will be returned. This code has significant effect on the functioning of the MODNIM. SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-21...
EEPROM card RAM download error Not used Not used If the bit contains a 1, then the error associated with that bit is current. This code has no effect on the functioning of the MODNIM. 2-22 Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
Page 54
RESET button is pressed or the power is cycled. When the MODNIM enters Listen Only Mode, the ONLINE indicator goes off. This code has a significant effect on the operation of the MODNIM. SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-23...
Page 55
MODNIM since the last RESET or power-up. The counter will increment to a value of FFFF (65535) and will then return to zero (0). This code has no effect on the operation of the MODNIM. 2-24 Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
Page 56
MODNIM since the last RESET or power-up. The counter will increment to a value of FFFF (65535) and will then return to zero (0). This code has no effect on the operation of the MODNIM. SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-25...
Page 57
This code has no effect on the operation of the MODNIM. This Modbus diagnostic code has no equivalent in Series 500 or Series 505 PLCs. In this application, 0000 is always returned. 2-26 Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
Page 58
This code has no effect on the operation of the MODNIM. This Modbus diagnostic code has no equivalent in Series 500 or Series 505 PLCs. In this application, 0000 is always returned. SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-27...
Page 59
This code has no effect on the operation of the MODNIM. This Modbus diagnostic code has no equivalent in Series 500 or Series 505 PLCs. In this application, 0000 is always returned. 2-28 Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
Page 60
When Function Code 08 uses diagnostic code 0014 and any value in the information field (00 00 shown), the MODNIM will clear the character overrun counter. This command affects the operation of the MODNIM. SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-29...
Function code 11 (0B hex) Slave address 21 (15 hex) Figure 2-24 Get Comms Event Counter Example — Response The response shows that the status word is 0000 and that 323 (decimal) events have occurred. 2-30 Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
+ 2 message counts + 64 event bytes). Only two of the event bytes are shown; these indicate the secondary node was reset (00) and then received a broadcast message (C0). The most recent events are returned first. SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-31...
Initiate Communications Bit 0 – 0 RESET. Complete log is set Bit 1 – 0 to zeros. Bit 2 – 0 Bit 3 – 0 Bit 4 – 0 Bit 5 – 0 2-32 Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
Slave address (02) Figure 2-31 Write Multiple Registers Example — Response The response to this command is to return the address, code, starting address, and the numbers of registers to be changed. SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-35...
Slave ID is a TI530C PLC, the RUN light is On, the operational mode is 01, auxiliary power is good, and the operational port is A. The last byte contains the software version number (see Table 2-7). 2-36 Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
Auxiliary power source good. Power Supply Auxiliary power source not good. Status (EE) MODNIM Port A is in use. Operational Port Port B is in use. Release 1.0 Software Version Release 2.0 Release 3.0 SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-37...
Code 81 (01 with the high bit set), with the exception code 02 indicating that the data address was illegal. NOTE: The TIWAY I network uses Exception Primitives. Exceptions sent by SIMATIC TI PLCs are mapped to Modbus Exception Codes. 2-38 Modbus Commands SIMATIC TI505/TI500 MODNIM User Manual...
[equivalent to SIMATIC TI codes 0A, 0B, 0D, 17, 1A]. Memory parity error If during a read of memory, a parity error occurs, this exception response is returned. SIMATIC TI505/TI500 MODNIM User Manual Modbus Commands 2-39...
Page 71
........SIMATIC TI505/TI500 MODNIM User Manual...
Network Cables Recommended The following cables are available through your Siemens distributor. Communication Cables Cable P/N Description Adapter at Module 2601094–8001 Standard 9-pin null modem 9-pin (F) to 25-pin (M) port adapter VPU200–3605 Standard 25-pin null modem None required Building Cables If you prefer to build your own 25-pin cable, ensure that the following requirements are met to minimize the possibility of noise interference.
The resulting data element location formed by the starting address plus the number of data elements to access, is out of range. Communications has not been established with the attached device. The number of locations to access is zero. Exception Codes SIMATIC TI505/TI500 MODNIM User Manual...
All parts are of corrosion resistant material or are plated or painted as corrosion protection. Agency Approvals ULr Listed (UL508 industrial control equipment) CSAr Certified (CSA142 process control equipment) FM Approved (Class I, Div. 2, Hazardous locations) Specifications SIMATIC TI505/TI500 MODNIM User Manual...
At the DOS prompt on your machine, type: Enter modasst Enter You will now see the start-up screen. Press to continue. The program Enter starts your configuration setup with the screen as shown in Figure D-1. Using the MODASST Program SIMATIC TI505/TI500 MODNIM User Manual...
( ) Addr 0x3F8 ( ) Addr 0x2F8 ( ) Addr 0x3E8 ( ) Addr 0x2E8 Cancel Help Alt-X Exit F10 Top Menu Press F1 for Help Figure D-1 First Configuration Screen after Start-Up SIMATIC TI505/TI500 MODNIM User Manual Using the MODASST Program...
Press and one of the highlighted letters on the top row of the screen to select the function option you want. To exit the MODASST program, press and X together. Using the MODASST Program SIMATIC TI505/TI500 MODNIM User Manual...
08. You can select and run a diagnostic function by using the up/down arrows and pressing . This option uses the communications Enter parameters selected on the Setup menu item to run diagnostics. SIMATIC TI505/TI500 MODNIM User Manual Using the MODASST Program...
MODNIM or TIWAY Gateway module to the host computer or the host computer itself may need to be evaluated to determine the source of the problem. Using the MODASST Program SIMATIC TI505/TI500 MODNIM User Manual...
Page 89
SIMATIC is a registered trademark of Siemens AG. MODNIM, Series 500, Series 505, 5TI, PM550, PM550C, TISOFT, and TIWAY are trademarks of Siemens Industrial Automation, Inc. Modbus is a trademark of Modicon, Inc. Texas Instruments and TI are registered trademarks of Texas Instruments Incorporated.
Page 90
Would you be interested in giving us more detailed comments about our manuals? Yes! Please send me a questionnaire. No. Thanks anyway. Your Name: Title: Telephone Number: Company Name: Company Address: Manual Name: SIMATIC TI505/TI500 MODNIM User Manual Edition: Original Manual Assembly Number: 2586546-0083 Date: 03/93 Order Number: PPX:505-8122-1...
Page 91
IN THE UNITED STATES BUSINESS REPLY MAIL PERMIT NO.3 FIRST CLASS JOHNSON CITY, TN POSTAGE WILL BE PAID BY ADDRESSEE SIEMENS INDUSTRIAL AUTOMATION, INC. 3000 BILL GARLAND RD. P.O. BOX 1255 JOHNSON CITY TN 37605–1255 ATTN: Technical Communications M/S 3519 FOLD...