Milltronics smartlinx Instruction Manual
Hide thumbs Also See for smartlinx:

Advertisement

Instruction Manual February 2004
smartlinx interface module
MODBUS RTU

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Milltronics smartlinx

  • Page 1 Instruction Manual February 2004 smartlinx interface module MODBUS RTU...
  • Page 2 Contact SMPI Technical Publications at the following address: Technical Publications Siemens Milltronics Process Instruments Inc. 1954 Technology Drive, P.O. Box 4225 Peterborough, Ontario, Canada, K9J 7B1 Email: techpubs@siemens-milltronics.com For the library of SMPI instruction manuals, visit our Web site: www.siemens-milltronics.com © Siemens Milltronics Process Instruments Inc. 2004...
  • Page 3: Table Of Contents

    Table of Contents About this Module ............................1 Typical Modbus RTU RS-485 System ....................1 Typical Modbus RTU RS-232 System ....................2 About this Manual ............................3 Specifications ...............................4 Installation ..............................5 Compatibility .............................5 Module Outline ............................5 Termination Switch ..........................6 Port Configuration ...........................6 Reserved Switch ............................6 Cable Connection ............................7 Operation .................................9...
  • Page 5: About This Module

    A brief description of the protocol and the Milltronics memory map are outlined in Modbus RTU Protocol section of this manual (see page 20). Only those instruments which support the SmartLinx Modbus RTU module can use this card. See Specifications on page 5 for a list of compatible instruments.
  • Page 6: Typical Modbus Rtu Rs-232 System

    Typical Modbus RTU RS-232 System Page 2 SmartLinx Modbus RTU – INSTRUCTION MANUAL 7ML19981BF01...
  • Page 7: About This Manual

    About this Manual This manual is intended to provide the user with the information required to successfully install and connect a Milltronics SmartLinx Modbus RTU module and set it up for communication within a Modbus RTU network. This manual is targeted to a technical audience in the industrial communications field with a sound working knowledge of Modbus RTU.
  • Page 8: Specifications

    • for RS-232 connection use cable consistent with the RS-232 standard • for RS-485 connection use cable consistent with the RS-485 standard (see Wiring Guidelines on page 26 for more suggestions) Page 4 SmartLinx Modbus RTU – INSTRUCTION MANUAL 7ML19981BF01...
  • Page 9: Installation

    Installation The SmartLinx module may have been shipped installed in your unit, or separately for onsite installation. Refer to the manual for the Milltronics SmartLinx instrument for details on module location and physical installation. Compatibility AiRanger Series • AiRanger XPL Plus/SITRANS LU 10 •...
  • Page 10: Termination Switch

    Termination Switch Termination is generally of concern when communicating at higher baud rates, and when the Milltronics host instrument is the unique or terminating slave. If the 110 Ω switched termination is inappropriate, set the switch to open and connect an appropriate resistor across terminals 4 and 5.
  • Page 11: Cable Connection

    9-pin D-shell 25-pin D-shell RS-232 Connect to Modem SmartLinx Modbus modem 9-pin D-shell 25-pin D-shell Note: When using a modem, set the value of P758 to 15. See page 18. 7ML19981BF01 SmartLinx Modbus RTU – INSTRUCTION MANUAL Page 7...
  • Page 12 Note: For multidrop applications, pin 6 can be used to continue the shield. This terminal is not connected internally to anything. Page 8 SmartLinx Modbus RTU – INSTRUCTION MANUAL 7ML19981BF01...
  • Page 13: Operation

    Operation Communication on the Modbus RTU network is indicated by four SmartLinx LEDs. Three of the LEDs are grouped together at the bottom centre of the module and the other is located on the upper right of the module. Status LEDs Green LED •...
  • Page 14: Communications Setup

    • denotes factory setting. • The SmartLinx module only supports 8 data bits, and no hardware flow control. • For odd or even parity, use 1 stop bit. For no parity, use two stop bits (as per Modbus RTU specification).
  • Page 15 Any value from 1 to 32 specifies the time in milliseconds. A value of 33 specifies the highest possible value of 32.678 ms. Values: 0 to 33 Preset: 0 7ML19981BF01 SmartLinx Modbus RTU – INSTRUCTION MANUAL Page 11...
  • Page 16: Application Layer

    Modbus RTU is an industry standard protocol owned by Schneider Electric and is used throughout process control industries for communication between instruments. Modbus RTU is a master-slave type protocol. An instrument with a SmartLinx Modbus RTU is a slave unit.
  • Page 17: How Modbus Rtu Works

    For our purposes, everything has been mapped into holding registers so that Modbus RTU function code 03 can read them and Modbus RTU function codes 06 and 16 can write to them. 7ML19981BF01 SmartLinx Modbus RTU – INSTRUCTION MANUAL Page 13...
  • Page 18: Register Mapping

    If your instrument has fewer than 10 points, ignore data in registers associated to non-existing points of measurement. These registers are present but they contain undefined values. Note: Parameter P999 (Master Reset) is not accessible via the SmartLinx interface. Page 14 SmartLinx Modbus RTU – INSTRUCTION MANUAL 7ML19981BF01...
  • Page 19: Data Access Methods

    This is a hand-shaking method where the PLC requests the parameter number, primary index, secondary index, decimal place, format, read/write flag, and value, and then the SmartLinx module either reads or writes the value. With this method any value in the Milltronics product can be read or written.
  • Page 20 Read the value in word 40036 to confirm that the correct value has been written. Set word 40043 back to 0 (read). Note: Parameters should only be written in Program mode. Ensure word 40044 = 1. Page 16 SmartLinx Modbus RTU – INSTRUCTION MANUAL 7ML19981BF01...
  • Page 21: Register Map - Level Products

    01 to 04 are also 1 to indicate the operational problem. Operating Mode 0 = instrument in Run mode 1 = instrument in Program mode 11 to 15: Reserved These bits are undefined. 7ML19981BF01 SmartLinx Modbus RTU – INSTRUCTION MANUAL Page 17...
  • Page 22 The reading is expressed as a percent of full scale, multiplied by 100, giving a range of -20,000 to 20,000 which corresponds to –200.00% to 200.00%. Refer to the Milltronics’ instrument documentation for a definition of ‘P920’ . Note that these values may contain numeric level data for inoperative or malfunctioning points;...
  • Page 23 Specifies the parameter index for the value returned in R40022 to R40031. This word is ignored for parameters which don’t use indexes. Some specific Milltronics instrument parameters use indices to address the multiple values stored within the single parameter. See Parameter Indexes on page 12 for details.
  • Page 24 R40037. It is good practice to confirm the write by reading current value R40036 and then reset this register to zero. Values: 0 = read parameter value in R40036 1 = continually write new value to R40037 until reset to 0 Page 20 SmartLinx Modbus RTU – INSTRUCTION MANUAL 7ML19981BF01...
  • Page 25: Data Types

    If this word is used to control point-on-priority, then the Milltronics instrument must be configured to permit this. Parameter P720 must be set to 1 (manual, SmartLinx) for each point to permit priority control for that point. To enable priority control for all points, store ‘1’...
  • Page 26 If a parameter cannot be expressed in terms of percent (e.g. span), or has no meaningful value, the special number 22,222 is returned. Try requesting the parameter in units, or refer to the Milltronics host instrument manual to understand the format and use of the requested parameter.
  • Page 27 Text Messages Note: Used for Level products only. If a Milltronics instrument parameter returns a text message, that message is converted to an integer and provided in the register. The numbers are shown in the table below: Number Text Message as displayed on LCD...
  • Page 28: Modbus Rtu Error Codes

    Relay Function Codes (P111 Only) Note: Used for Level products only. If a Milltronics instrument parameter returns a relay function code, that message is converted to a number and provided in the register. The numbers are shown in the table below:...
  • Page 29: Troubleshooting

    Troubleshooting Generally In all cases, first check that the SmartLinx Modbus RTU Module has passed its on-going built-in self test (instrument parameter P790). The result should be PASS. If FAIL is indicated, either the module is defective, or the module connector on the Milltronics instrument is defective.
  • Page 30: Wiring Guidelines

    LAN • use good quality, communication grade (shielded, twisted pairs) cable that is recommended for the RS standard that you are using Page 26 SmartLinx Modbus RTU – INSTRUCTION MANUAL 7ML19981BF01...
  • Page 31 Mapping ............14 RS-232 ............7 Master Reset (P999) ........14 RS-485 ............8 Modbus RTU ........1 CraneRanger ..........4 modem ............7 Current Value ..........19 Module Outline ..........5 MPA See Multiple Parameter Access ..15 7ML19981BF01 SmartLinx Modbus RTU – INSTRUCTION MANUAL Page 27...
  • Page 32 Parameter Secondary Index (R40039) . Point Alarm (R40012 to R40021) ..18 Point Reading (R40002 to R40011) ..18 Point-on-Priority (R40045) ....21 Read / Write Flag, SPA (R40043) ..20 Page 28 SmartLinx Modbus RTU – INSTRUCTION MANUAL 7ML19981BF01...
  • Page 33 Siemens Milltronics Process Instruments Inc. Siemens Milltronics Process Instruments Inc. 2004 1954Technology Drive, P .O. Box 4225 Subject to change without prior notice Peterborough, ON, Canada K9J 7B1 Rev. 1.3 Tel: (705) 745-2431 Fax: (705) 741-0466 *7ml19981BF01* Email: techpubs@siemens-milltronics.com...

Table of Contents