Page 3 - MANUAL PUBLICATION HISTORY; SIMATIC TI500/TI505 TIWAY I Gateway User Manual; Event; Original Issue
MANUAL PUBLICATION HISTORY SIMATIC TI500/TI505 TIWAY I Gateway User Manual Order Manual Number: PPX:TIWAY–8104–2 Refer to this history in all correspondence and/or discussion about this manual. Event Date Description Original Issue 09/85 Original Issue (2491964–0001) Second Edition 09/92 Second Edit...
Page 4 - LIST OF EFFECTIVE PAGES; Pages
LIST OF EFFECTIVE PAGES Pages Description Pages Description Cover/Copyright Second History/Effective Pages Second iii — x Second 1-1 — 1-4 Second 2-1 — 2-12 Second 3-1 — 3-14 Second A-1 — A-4 Second B-1 — B-3 Second C-1 — C-28 Second D-1 — D-11 Second Index-1 — Index-3 Second Registration Second
Page 5 - iii; Contents; Preface; Introduction; Chapter 2; TIWAY I Network and Gateway Installation Checklist
Contents iii Contents Preface Chapter 1 Product Overview 1.1 Introduction 1-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Gateway Interface 1-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 6 - iv
iv Contents Chapter 3 Gateway Installation and Configuration 3.1 Installing the TIWAY I Gateway 3-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Basic Mounting Guidelines 3-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 7 - Appendix C
Contents v Appendix C Modbus Commands C.1 Modbus Protocol Overview C-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The RTU Transmission Frame C-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 8 - List of Figures
vi Contents List of Figures 1-1 TIWAY I Gateway as Interface Between PLC Network and Host System 1-2 . . . . . . . . . . . . . 1-2 TIWAY I Gateway 1-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 Basic Installatio...
Page 9 - vii
Contents vii C-26 Write Multiple Coils Example — Request C-23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-27 Coil Bit Pattern C-23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 10 - viii; List of Tables
viii Contents List of Tables 1 TIWAY I Gateway Models ix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Data Transmission Rates Supported 1-4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 11 - ix; Table 1; Model Number
Preface ix TIWAY I Gateway User Manual Preface This manual describes the basic features, operation, and installation of theTIWAY I Gateway . The Gateway provides an interface between the SIMATIC TIWAY I network and a distributed control system host using Modbus protocol. The TIWAY I Gateway ...
Page 12 - Related Manuals
Preface x TIWAY I Gateway User Manual The information in this manual is supplemented by the following Siemensmanuals. You may find it helpful to refer to these or other related manualswhen using the TIWAY I Gateway. • TIWAY I Systems Manual (2587871–0001) • TIWAY I Series 505 Network Interface U...
Page 13 - Chapter 1; Product Overview
Product Overview 1-1 TIWAY I Gateway User Manual Chapter 1 Product Overview 1.1 Introduction 1-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Gateway Interface 1-2 . . . . . . . . . . . . . . . . . . . . ....
Page 14 - or; TIWAY I Gateway as Interface Between PLC Network and Host System
Product Overview 1-2 TIWAY I Gateway User Manual 1.1 Introduction The TIWAY I Gateway allows a TIWAY I network of PLCs to be hosted by aModbus-compatible host system. Figure 1-1 shows the relationship of theGateway to one of several possible Modbus-compatible host systems. The Foxboro SPECTRUM, Fish...
Page 15 - Basic Operating Features; TIWAY I Gateway
Product Overview 1-3 TIWAY I Gateway User Manual 1.2 Basic Operating Features Two interface ports are located on the bottom of the TIWAY I Gateway unit.The AC power connections are also located on the bottom, covered by aprotective plate. (See Figure 1-2.) • Host: an RS-232-C host interface port (25...
Page 16 - Data Transmission Rates Supported; Host System; Examples of data retrieval include the following:
Product Overview 1-4 TIWAY I Gateway User Manual Basic Operating Features (continued) The Gateway provides protocol and electrical interface conversion. Acommand issued by the host system is transmitted to the Gateway. Once itreceives the command, the Gateway converts the protocol and electricalsign...
Page 17 - Network Installation
Network Installation 2-1 TIWAY I Gateway User Manual Chapter 2 Network Installation 2.1 TIWAY I Network and Gateway Installation Checklist 2-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Quick Reference Installation Steps 2-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 18 - Basic Installation and Set-up Steps
Network Installation 2-2 TIWAY I Gateway User Manual 2.1 TIWAY I Network and Gateway Installation Checklist Figure 2-1 is a quick reference list of steps to be taken when installing theTIWAY I Gateway. Refer to Chapter 3 for specific procedures and cautions. Attach AC power cable to the Gateway. Run...
Page 20 - Network Media Installation — Local Line; Although addresses can range from 1 to 254 on TIWAY I, addresses; Pin Assignments for Local Line Connector; Pin; Overview
Network Installation 2-4 TIWAY I Gateway User Manual 2.2 Network Media Installation — Local Line TIWAY I is a multi-drop communications network. It consists of a maintrunk cable (the “spine”) and dropline cables. The network can connect up to248 secondaries to a host computer. NOTE: Although address...
Page 21 - Number of Local Line Secondaries vs. Cable Distance
Network Installation 2-5 TIWAY I Gateway User Manual The TIWAY I network cable consists of a main cable or spine with droplinesor taps for each secondary. The maximum main line cable length, cable type,tap length, tap spacing, number of secondaries, and maximum baud ratesare interrelated network var...
Page 22 - Network Media Installation — Local Line (continued); These components are described in the following sections.; Siemens; TIWAY I Tap Housing
Network Installation 2-6 TIWAY I Gateway User Manual Network Media Installation — Local Line (continued) The hardware components of a Local Line network consist of the following: TIWAY I Tap Housing (PPX:500–5606) Shielded, twisted-pair cabling (customer-supplied) These components are described in t...
Page 23 - Terminating the Local Line
Network Installation 2-7 TIWAY I Gateway User Manual The terminating resistors must be used to ensure that the main line cable isproperly terminated and biased for improved reliability. Each tap housing issupplied with terminating resistors to connect to the ends of the main linecable. At each end, ...
Page 24 - Basic Tap Spacing Rules
Network Installation 2-8 TIWAY I Gateway User Manual Network Media Installation — Local Line (continued) Local Line networks must adhere to specific tap spacing requirements tomaintain signal integrity. These requirements are outlined in the followingsections. 60 ′ 100 ′ 100 ′ 100 ′ 50 ′ min 50 ′ mi...
Page 25 - Additional Tap Spacing Rules; Double drops are allowed, but triple drops are not allowed.; Double Drops
Network Installation 2-9 TIWAY I Gateway User Manual 100 ′ 80 ′ 100 ′ max 30 ″ 30 ′ Double Drop Drop lines lessthan 36 inchescan be ignored. 100 ′ 50 ′ min I000000 36 ″ max Figure 2-6 Additional Tap Spacing Rules If a tap cable is installed less than the minimum distance as stated in theprimary rule...
Page 26 - In general, there are three types of network cabling routes:; Cable Routing; CAUTION
Network Installation 2-10 TIWAY I Gateway User Manual Network Media Installation — Local Line (continued) Cable routing should be planned as if the path between all stations on thenetwork were free of obstructions. The next step is to modify the firstrouting to account for obstructions, then calcula...
Page 27 - Obstructions
Network Installation 2-11 TIWAY I Gateway User Manual Some disadvantages are the following. • Is is impractical for buildings without drop ceilings • Working in high ceilings can be hazardous • Ceilings often collect dust and other debris Surface ducting — Surface ducting for network cabling is usua...
Page 28 - Network Media Installation — RS-232-C Modem Interface; Description
Network Installation 2-12 TIWAY I Gateway User Manual 2.3 Network Media Installation — RS-232-C Modem Interface The physical layer in TIWAY I provides a modem interface for synchronousor asynchronous communications at data transmission rates up to 115.2 Kbps. The modem interface provides standard si...
Page 29 - Chapter 3; Gateway Installation and Configuration; Installing the TIWAY I Gateway
Gateway Installation and Configuration 3-1 TIWAY I Gateway User Manual Chapter 3 Gateway Installation and Configuration 3.1 Installing the TIWAY I Gateway 3-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Basic Mounting Guidelines 3-2 . . . . ....
Page 30 - Possible Bracket Locations for Mounting Gateway
Gateway Installation and Configuration 3-2 TIWAY I Gateway User Manual 3.1 Installing the TIWAY I Gateway There are three possible places on the Gateway where the two L-shapedmounting brackets can be located. Depending on how you want to mount theGateway, attach the brackets to the appropriate locat...
Page 31 - AC Power Connections; Apply power to the unit.
Gateway Installation and Configuration 3-3 TIWAY I Gateway User Manual After mounting the unit in an appropriate location, follow these steps forconnecting the power supply and running diagnostic tests. 1. Remove the shield covering the three AC terminals (Line, Ground, andNeutral). 2. With power of...
Page 32 - Installing the TIWAY I Gateway (continued)
Gateway Installation and Configuration 3-4 TIWAY I Gateway User Manual Installing the TIWAY I Gateway (continued) 6. Run the user-initiated test. (Refer to the Diagnostics Tests section.) 7. Remove loopback connector. 8. Set the Online/Offline switch on the Gateway to the ONLINE position. 9. Connect...
Page 33 - Dipswitch Settings for the Network and Host Ports
Gateway Installation and Configuration 3-5 TIWAY I Gateway User Manual 10 987654321 87654321 Y CoilsOperateNRZ EncodingMODBUSHalf DuplexAsynchronous0000 NETWORKBaud RateSelect Odd ParityParity OffHalf DuplexAsynchronous0000 C Coils Test NRZI Encoding IDT Data Addressing Full Duplex Synchronous 1111 ...
Page 34 - Dipswitch Configuration and Function; Most of the dipswitch settings are read by the Gateway only after a; Host Port Dipswitch Configuration; Network Port Dipswitch Configuration
Gateway Installation and Configuration 3-6 TIWAY I Gateway User Manual 3.2 Dipswitch Configuration and Function Two banks of dipswitches are located behind the access cover on the front ofthe Gateway. One is for the host port and the other is for the network port.The following sections define the sw...
Page 36 - Dipswitch Configuration and Function (continued); Dipswitch Settings for Network Data Transmission Rates
Gateway Installation and Configuration 3-8 TIWAY I Gateway User Manual Dipswitch Configuration and Function (continued) The 10-dipswitch bank governs the network communications port. Thefollowing paragraphs describe the switch-selectable options available for thenetwork port. Data Transmission Rate ...
Page 37 - family of
Gateway Installation and Configuration 3-9 TIWAY I Gateway User Manual Full/Half Duplex Operation (Switch 6): the Full/Half Duplex switchselects operation compatible with full or half-duplex modems even thoughcommunication with the Gateway is half-duplex only. When you selectHalf-duplex operation, t...
Page 38 - Switches and Indicator Lights; Gateway Operation Switches
Gateway Installation and Configuration 3-10 TIWAY I Gateway User Manual 3.3 Switches and Indicator Lights I000000 Reset Self-Test Online/Offline Online Offline Figure 3-5 Gateway Operation Switches The Online/Offline switch, when placed in the Online position, allows theGateway to communicate with t...
Page 40 - Diagnostic Tests; Operational Diagnostic test
Used only in qualityassurance tests bymanufacturer Gateway Installation and Configuration 3-12 TIWAY I Gateway User Manual 3.4 Diagnostic Tests The Gateway has five levels of built-in tests, three of which are designed forthe user. • Power-on test • Operational Diagnostic test • User-initiated test ...
Page 41 - Signal; RAM data and address line verification (internal and external RAM)
Gateway Installation and Configuration 3-13 TIWAY I Gateway User Manual You should run the user-initiated test only when the Gateway is in Off-linemode (that is, when the On-line/Off-line switch is in the OFFLINE position).Normal Gateway operation is suspended during this test mode. NOTE: Before ini...
Page 42 - Indicator Status after User-Initiated Test; Indicator; Indicator Status; To exit TEST mode, press the RESET button.
Gateway Installation and Configuration 3-14 TIWAY I Gateway User Manual Diagnostic Tests (continued) Table 3-5 shows how to interpret the results of the user-initiated diagnostictest according to the status of the indicator lights. Table 3-5 Indicator Status after User-Initiated Test Indicator Pass ...
Page 43 - Appendix A; Data Type Identification; Corresponding Data Types
Data Type Identification A-1 TIWAY I Gateway User Manual Appendix A Data Type Identification A.1 Corresponding Data Types A-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.2 SIMATIC TI PLCs Supported by TIWAY I Gateway A-3 . . . . . . ....
Page 44 - TI
Data Type Identification A-2 TIWAY I Gateway User Manual A.1 Corresponding Data Types This appendix provides information on which Siemens PLCs are supportedby the Gateway, and how SIMATIC TI data types correspond to those of the host systems. Also included in this appendix are a list of features...
Page 45 - SIMATIC TI PLCs Supported by TIWAY I Gateway; SIMATIC TI PLCs Supported and Accessible Data; Discrete Points
Data Type Identification A-3 TIWAY I Gateway User Manual A.2 SIMATIC TI PLCs Supported by TIWAY I Gateway Table A-2 shows all the PLCs supported by the TIWAY I Gateway and liststhe maximum number of discrete points, V-memory locations, and wordinput memory locations which are accessible from the Gat...
Page 46 - TIWAY I Gateway Specifications; TIWAY I Gateway Features; TIWAY I Gateway Physical and Environmental Specifications
Data Type Identification A-4 TIWAY I Gateway User Manual A.3 TIWAY I Gateway Specifications Table A-3 TIWAY I Gateway Features TIWAY I Gateway Features Before Rel. 1.3 Release 1.3 User-defined commands for IDT products n Message resynchronization after timeout n Selectable coil type (Y or C) n IDT d...
Page 47 - Appendix B; System Configuration Forms; System Configuration
System Configuration Forms B-1 TIWAY I Gateway User Manual Appendix B System Configuration Forms B.1 System Configuration B-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.2 V-Memory Offset Tables B-3 . . . . . . . . . . . . ....
Page 48 - System Configuration Form; Reference
System Configuration Forms B-2 TIWAY I Gateway User Manual B.1 System Configuration It is extremely important to keep complete, up-to-date records on systemconfiguration. This appendix provides some sample record-keeping forms foruse with a TIWAY I Gateway system. Table B-1 System Configuration Form...
Page 49 - V-Memory Offset Tables; Number of Words
System Configuration Forms B-3 TIWAY I Gateway User Manual B.2 V-Memory Offset Tables Table B-2 V-Memory Offset Table (Resident Information) PLC # Base/Slot # Number of Words V Offset Word # Moved From Word/Image Register Comments 1 2 3 4 5 6 7 8 Table B-3 V-Memory Offset Table (Received Information...
Page 50 - Modbus Commands; Modbus Protocol Overview
Modbus Commands C-1 TIWAY I Gateway User Manual Appendix C Modbus Commands C.1 Modbus Protocol Overview C-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The RTU Transmission Frame C-2 . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 51 - Table C-1 describes the Modbus functions supported by the Gateway.; Modbus Functions Supported; Code; RTU Transmission Frame
Modbus Commands C-2 TIWAY I Gateway User Manual C.1 Modbus Protocol Overview This appendix describes the Modbus protocol in detail. For each of theModbus functions described, examples of requests and responses are given. Table C-1 describes the Modbus functions supported by the Gateway. Table C-1 Mo...
Page 52 - RTU Timing; Baud Rate; The Address Field
Modbus Commands C-3 TIWAY I Gateway User Manual The start and finish of a message is determined by timing in RTU mode.Any time longer than 3.5 character lengths marks the end of atransmission. The next character after that would then mark the start ofthe next message. This time period is dependent o...
Page 53 - Incorrect checksum; Bit Orientation
Modbus Commands C-4 TIWAY I Gateway User Manual Modbus Protocol Overview (continued) The Gateway ignores messages that contain invalid characters. Messagescontaining the following errors will also be ignored. • Incorrect checksum • Parity error • Framing errors • Incomplete transmission This section...
Page 54 - Terminology Differences; SIMATIC TI PLCs; Addressing
Modbus Commands C-5 TIWAY I Gateway User Manual • Terminology is another area in which differences occur. Some of thedifferences in terms are given in Table C-3. Table C-3 Terminology Differences Modbus-based PLCs SIMATIC TI PLCs Coil Discrete output (Y) or Control Relay (C) Input Register Word Imag...
Page 55 - Modbus Function Descriptions; Read Coil Status Example — Request; WARNING
Modbus Commands C-6 TIWAY I Gateway User Manual C.2 Modbus Function Descriptions In the descriptions that follow, each function starts on a separate page andincludes the TIWAY primitive sent to the secondary in square brackets. Foreach function, an example of request and response is given. Code 01 e...
Page 56 - Read Coil Status Example — Response
Modbus Commands C-7 TIWAY I Gateway User Manual I000000 Response: 07 01 01 1A XXXX Checksum (XXXX)Data (1A)Number of bytes (01)Function code (01)Slave address (07) Figure C-4 Read Coil Status Example — Response The response returns in the data field a single byte (1A) which contains the1’s or 0’s fo...
Page 57 - Read Input Status Example — Request
Modbus Commands C-8 TIWAY I Gateway User Manual Modbus Function Descriptions (continued) Code 02 allows the application to read a series of discrete inputs. Thecommand includes the start address and the number of points to be read. Addressing is sequential up to the maximum memory size for a particu...
Page 58 - Read Input Status Example — Data Field
Modbus Commands C-9 TIWAY I Gateway User Manual The response returns in the data field a single byte (1A) containing the 1’sor 0’s for the 5 discrete inputs, packed out with zeros for the three high bits. I000000 1A = 0 0 0 1 1 0 1 0 Input 0A (OFF)Input 0B (ON)Input 0C (OFF)Input 0D (ON)Input 0E (ON...
Page 59 - Read Output Register Example — Request
Modbus Commands C-10 TIWAY I Gateway User Manual Modbus Function Descriptions (continued) Code 03 allows you to read the contents of holding registers in the attachedsecondary device. The data field of this command includes the start addressof the registers and the number of registers to be read. Ad...
Page 60 - Read Input Register Example — Request
Modbus Commands C-11 TIWAY I Gateway User Manual Code 04 allows you to read the contents of input registers in the attachedPLC. These registers hold the values returned by the I/O devices. The datafield of this command includes the start address of the registers and thenumber of registers to be read...
Page 61 - ON; Write a Single Coil Example — Request
Modbus Commands C-12 TIWAY I Gateway User Manual Modbus Function Descriptions (continued) Code 05 allows a designated coil [discrete output Y or C, depending on theposition of Switch 10 on the network dipswitches] to be written. Dependingon the code passed in the data field, it can be changed to On ...
Page 62 - Read Input Register Example — Response
Modbus Commands C-13 TIWAY I Gateway User Manual I000000 Response: 07 05 0064 FF00 XXXX Checksum (XXXX)OFF/ON code (FF00 = ON)Coil address (0064)Function code (05)Slave address (07) Figure C-14 Read Input Register Example — Response The response to Function Code 05 is to return the request as receiv...
Page 63 - Write a Single Register Example — Request
Modbus Commands C-14 TIWAY I Gateway User Manual Modbus Function Descriptions (continued) Code 06 allows the contents of a holding register to be changed. Addressingis sequential up to the maximum memory size for a particular PLC. Thisfunction is limited to integer values contained in V-memory. The ...
Page 64 - The programmer of a non-Modbus PLC must make certain that the; Read Exception Status Example — Request
Modbus Commands C-15 TIWAY I Gateway User Manual Code 07 instructs the Gateway to read 8 predefined Cs within a secondary. This implementation will read the first 8 Cs in the discrete image register ina secondary and pack them into one data byte. NOTE: The programmer of a non-Modbus PLC must make ce...
Page 65 - Exception Status Bits
Modbus Commands C-16 TIWAY I Gateway User Manual Modbus Function Descriptions (continued) The response shows that 3B (hex) has been returned. If the individual bitsare examined, they indicate the status of each bit. I000000 Coil 1 (ON)Coil 2 (ON)Coil 3 (OFF)Coil 4 (ONCoil 5 (ON)Coil 6 (ON)Coil 7 (OF...
Page 66 - Execute Diagnostics Example — Request
Modbus Commands C-17 TIWAY I Gateway User Manual Code 08 enables diagnostic information to be retrieved to conduct networktesting. This function does not affect the operation of the PLC. Example: I000000 Request: 02 08 0000 B405 XXXX Checksum (XXXX)Information Field (B405)Diagnostic code (0000)Funct...
Page 67 - Table C-4 details the diagnostic codes supported.; Diagnostic Codes Supported; Diagnostic Description
Modbus Commands C-18 TIWAY I Gateway User Manual Modbus Function Descriptions (continued) Table C-4 details the diagnostic codes supported. Table C-4 Diagnostic Codes Supported Code(hex) Diagnostic Description Is Code Supported? 00 Return request message Yes 01 Restart communications with the slave ...
Page 68 - Diagnostic Code — 00
Modbus Commands C-19 TIWAY I Gateway User Manual The diagnostics codes supported are described in the following paragraphs. Diagnostic Code — 00 I000000 0000 | any data Diagnostic code Information frame When Function Code 08 uses diagnostic code 0000, any data passed in theinformation field is retur...
Page 69 - Get Comms Event Counter Example — Request
Modbus Commands C-20 TIWAY I Gateway User Manual Modbus Function Descriptions (continued) Code 11 returns a 2-byte status word and an associated 2-byte eventcounter. The status word is defined in the Modbus Protocol ReferenceSpecification as being 0 for no command in progress and FFFF if a previousc...
Page 70 - Get Comms Event Log Example — Request; This request to address 16 (decimal) is for the Exception Event Log.; Get Comms Event Log Example — Response
Modbus Commands C-21 TIWAY I Gateway User Manual Code 12 returns the same information as Function Code 11 plus a messagecount and an additional 64-event byte. This means that a 2-byte statusword, a 2-byte event counter, a message count, and the most recent 64events are returned. A buffer records eac...
Page 71 - Event Byte Types; Event Byte
Modbus Commands C-22 TIWAY I Gateway User Manual Modbus Function Descriptions (continued) Table C-5 Event Byte Types Event Byte Bit Definitions Slave Bus Receive. Bytestored on receipt of message Bit 0 – ReservedBit 1 – Set if communications errorBit 2 – ReservedBit 3 – ReservedBit 4 – Set if charac...
Page 72 - Write Multiple Coils Example — Request
Modbus Commands C-23 TIWAY I Gateway User Manual Code 15 allows the host computer to write multiple coils. When thiscommand is given, successive coils are changed, by an associated bitpattern, to the indicated state; where each bit indicates: 1 = ON 0 = OFF Addressing is sequential up to the maximum...
Page 73 - Write Multiple Coils Example — Response
Modbus Commands C-24 TIWAY I Gateway User Manual Modbus Function Descriptions (continued) I000000 Response: 07 0F 0012 000C XXXX Checksum (XXXX)Number of coils (000C)Start coil address (0012)Function code (0F)Slave address (07) Figure C-28 Write Multiple Coils Example — Response
Page 74 - Write Multiple Registers Example — Request
Modbus Commands C-25 TIWAY I Gateway User Manual Code 16 allows the host computer to write multiple values into successiveregisters. Addressing is sequential up to the maximum memory size for aparticular PLC. The maximum number of registers that can be addressedwith one command is 100. If more are g...
Page 75 - User-Defined Modbus Commands; Command 65 — Request; The response for this command is as follows.; Command 65 — Response
Modbus Commands C-26 TIWAY I Gateway User Manual C.3 User-Defined Modbus Commands There are three user-defined commands implemented in the TIWAY IGateway. These commands, described below, allow the Gateway to workwith the IDT operator interface family of products. This command permits the collection...
Page 76 - Command 66 — Request; Command 67 — Request
Modbus Commands C-27 TIWAY I Gateway User Manual This command permits the collection of constant (K) memory. The formats ofthe command and response are as follows. I000000 Request: aa 42 llll nnnn XXXX Checksum (XXXX)Number of locations to collect (nnnn)Starting location to collect from (llll)Comman...
Page 77 - Error Responses; Exception Response Frame; The TIWAY I network uses Exception Primitives. Exceptions sent by; Exception Responses
Modbus Commands C-28 TIWAY I Gateway User Manual C.4 Error Responses Errors such as illegal addressing or failure of communications with a PLCare reported by exception responses. Exception responses replace theexpected response to a request and are recognized by the returned FunctionCode with the to...
Page 78 - Appendix D; Configuring the PLC for Fisher PROVOX; Considerations for Configuring a TIWAY I/PROVOX System
Configuring the PLC for Fisher PROVOX D-1 TIWAY I Gateway User Manual Appendix D Configuring the PLC for Fisher PROVOX D.1 Considerations for Configuring a TIWAY I/PROVOX System D-2 . . . . . . . . . . . . . . . . . . . . . . . . . PLC Configuration Requirements D-2 . . . . . . . . . . . . . . . . ....
Page 79 - Data can be read from and written to contiguous blocks of V-memory.
Configuring the PLC for Fisher PROVOX D-2 TIWAY I Gateway User Manual D.1 Considerations for Configuring a TIWAY I/PROVOX System To configure the PLC to operate with the Fisher PROVOX ProgrammableController Interface Unit (PCIU), you need to consider the followingrestrictions and requirements. • A m...
Page 80 - PLC Programming Considerations; The PLC ladder logic program must be carefully designed to avoid; PLC Status Register
Configuring the PLC for Fisher PROVOX D-3 TIWAY I Gateway User Manual D.2 PLC Programming Considerations The restrictions on data types and numbers of contiguous data blocks thatcan be accessed by a PCIU influence the design of the PLC programs to beused in a PROVOX environment. To increase the numb...
Page 81 - PLC Programming Example; PLC Data to be Accessed; Network Operation; The contents column is defined in terms of Series 500/505 data for
Configuring the PLC for Fisher PROVOX D-4 TIWAY I Gateway User Manual D.3 PLC Programming Example Assume that you have several Series 500 or Series 505 PLCs and PM550PLCs which need to be attached to a PROVOX system. You need to accessthe following data from each PLC in the network. Table D-1 PLC Da...
Page 88 - SPECIAL FUNCTION 15
Configuring the PLC for Fisher PROVOX D-11 TIWAY I Gateway User Manual SPECIAL FUNCTION 15 I/O MOVE START ADDRESS: C220 NEXT ADDRESS: C224 ERROR OUTPUT? N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ERROR OUTPUT DESIGNATOR: . . . . . . . . . . . . . . . . ...
Page 89 - Index; See also Local Line
Index-1 Index A AC power connections, 1-3, 3-3 Addressing, limits, C-5 B Baud rates, 3-4–3-8 Bracket locations, 3-2 Burn-in test, 3-14 C Cable routing in ceiling, 2-10surface ducting, 2-11under floor, 2-10 Checksum, C-3 Components installing Gateway, 2-3Local line hardware, 2-6 Configuration, system...
Page 93 - Customer Registration
Customer Registration We would like to know what you think about our user manuals so that we can serve you better.How would you rate the quality of our manuals? Excellent Good Fair Poor AccuracyOrganizationClarityCompletenessOverall designSizeIndex Would you be interested in giving us more detailed ...
Page 94 - BUSINESS REPLY MAIL; FOLD
BUSINESS REPLY MAIL FIRST CLASS PERMIT NO.3 JOHNSON CITY, TN FOLD FOLD POSTAGE WILL BE PAID BY ADDRESSEE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES SIEMENS INDUSTRIAL AUTOMATION, INC. 3000 BILL GARLAND RD.P.O. BOX 1255JOHNSON CITY TN 37605–1255 ATTN: Technical Communications M/S 3519