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.
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.
• 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 •...
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.
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...
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 •...
• 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...
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.
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...
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...
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...
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...
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...
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:...
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.
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...
Need help?
Do you have a question about the smartlinx and is the answer not in the manual?
Questions and answers