Milltronics smartlinx Instruction Manual

Instruction Manual February 2004
smartlinx interface module
MODBUS RTU
Safety Guidelines
Warning notices must be observed to ensure personal safety as well as that of others, and to protect the product and the connected equipment. These warning notices are accompanied by a clarification of the level of caution to be observed.
Qualified Personne l
This device/system may only be set up and operated in conjunction with this manual. Qualified personnel are only authorized to install and operate this equipment in accordance with established safety practices and standards.
Warning: This product can only function properly and safely if it is correctly transported,
stored, installed, set up, operated, and maintained.
Note: Always use product in accordance with specifications.
Copyright Siemens Milltronics Process
Disclaimer of Liability
Instruments Inc. 2004. All Rights Reserved
This document is available in bound version and in electronic version. We encourage users to purchase authorized bound manuals, or to view electronic versions as designed and authored by Siemens Milltronics Process Instruments Inc. Siemens Milltronics Process Instruments Inc. will not be responsible for the contents of partial or whole reproductions of either bound or electronic versions.
MILLTRONICS®is a registered trademark of Siemens Milltronics Process Instruments Inc.
Contact SMPI Tech nical Publications at t he 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
While we have verified the contents of this manual for agreement with the instrumentation described, variations remain possible. Thus we cannot guarantee full agreement. The contents of this manual are regularly reviewed and corrections are included in subsequent editions. We welcome all suggestions for improvement.
Technical data subject to change.
For the library of SMPI instruction manuals, visit our Web site: www.siemens-milltronics.com
© Siemens Milltronics Process Instruments Inc. 2004
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
Status LEDs ...............................................................................................................................................9
Initialization LED ......................................................................................................................................9
Communications Setup ..........................................................................................................................10
General .....................................................................................................................................................10
Specific Parameters .............................................................................................................................10
Application Layer ......................................................................................................................................12
Parameter Indexes ................................................................................................................................12
How Modbus RTU Works ....................................................................................................................13
Register Mapping ..................................................................................................................................14
Data Access Methods ..........................................................................................................................15
Register Map – Level Products .........................................................................................................17
Data Types ...............................................................................................................................................21
Modbus RTU Error Codes ...................................................................................................................24
Troubleshooting ..........................................................................................................................................25
Generally .................................................................................................................................................25
Specifically ..............................................................................................................................................25
Wiring Guidelines .....................................................................................................................................26
i
ii
About this Module
About this Module
The Milltronics SmartLinx®Modbus® RTU Module plugs into a compatible Milltronics instrument to allow connection to any Modbus RTU master controller.
Modbus RTU is an industry standard protocol that is supported by many different instruments. 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.
Typical Modbus RTU RS-485 System
mmmmm
®.
Modbus is a registered trademark of Schneider Electric.
1234
5
mA
9
C
6078
PP
7ML19981BF01 SmartLinx Modbus RTU – INSTRUCTION MANUAL Page 1
mmmmm
About this Module
Typical Modbus RTU RS-232 System
1234
5
6078
mA
9
PP
C
Page 2 SmartLinx Modbus RTU – INSTRUCTION MANUAL 7ML19981BF01
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.
Modbus RTU is an industry standard protocol owned by Schneider Electric and is used throughout process control industries for communication between instruments, including those manufactured by Milltronics, and controllers, such as PLCs and PCs.
A brief description of Modbus RTU is given in this manual. For a full description of the Modbus RTU protocol, contact Schneider Electric or visit their website at www.modicon.com
Note: Milltronics does not own the Modbus RTU protocol. All information regarding
that protocol is subject to change without notice.
If you have any questions, comments, or suggestions about the manual contents, please email us at techpubs@siemens-milltronics.com.
.
About this Manual
mmmmm
For the complete library of Siemens Milltronics manuals, go to www.siemens-milltronics.com
.
7ML19981BF01 SmartLinx Modbus RTU – INSTRUCTION MANUAL Page 3
Specifications
Application:
• compatible with Modbus RTU masters that use function codes 03, 06, 16
Compatible Instruments:
• AiRanger XPL Plus/SITRANS LU 10
• AiRanger DPL Plus/SITRANS LU 02
• AiRanger SPL/SITRANS LU 01
•CraneRanger
• InterRanger DPS 300
Communication Settings
• baud rate: 1200, 2400, 4800, 9600, 19200, 38400 bps
• parity: none, odd or even
• stop bit: 1 or 2
• data bits: 8
• hardware flow control: none
Connection:
• 6-position screw terminal
Termination:
mmmmm
• RS-485 switch selectable, open or 110 internal
Cable:
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
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
AiRanger DPL Plus/SITRANS LU 02
AiRanger SPL/SITRANS LU 01
•CraneRanger
InterRanger DPS 300
Module Outline
module connector (underside) to Milltronics instrument
cable connector to host
initialization LED
status LEDs
termination switch
1.6 m
reserved
port configuration
Installation
mmmmm
7ML19981BF01 SmartLinx Modbus RTU – INSTRUCTION MANUAL Page 5
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.
termination setting
open off
110 on
Port Configuration
Switch one configures the port for either RS-232 or RS-485 transmission.
transmission dip switches
ON
RS-232
18
ON
RS-485
18
Reserved Switch
mmmmm
Installation
These switches are reserved and must be left in their factory setting.
ON
Page 6 SmartLinx Modbus RTU – INSTRUCTION MANUAL 7ML19981BF01
16
Loading...
+ 23 hidden pages