background image

Modbus - RTU Setup

Modbus-RTU Settings can be accessed and changed by clicking 

Setup>Modbus

 from the top drop-down menu.

Modbus Address

Each device on a Modbus network must have a unique address.  Set 
this to match the address that your Modbus master will use to com-
municate with the MicroLink-HM. The Modbus address can be set 
to any value from 1 to 247. The MicroLink-HM confi guration soft-
ware will discover this address as part of the connection process.

Baud Rate & Parity

The MicroLink-HM baud rate and parity must be set to the 
same settings as your Modbus master.  If you are using the Mi-
croLink-HM as a HART protocol modem these should be set to 
1200 baud, odd parity.  Click 

Use HART Protocol Settings

 to set the 

correct values for a HART modem.

Holding Registers Map

Accumulated data is stored in Modbus registers that are grouped or 
mapped by HART device or by variable type. Choose the register 
map that best fi ts your application.  Register maps can be viewed 
using the MicroLink-HM confi guration software. From the top 
drop-down menu select 

View -> Modbus Registers Maps 

(Figure 7.)

Decimal Places

When device data is stored into a 16 bit signed Modbus register the value can range from -32768 to 32767.  To allow the 
16 bit integer to represent a smaller number and include fractional information, the number of decimal places is stored in 
a separate Modbus register and applied later. The number of decimal places can be set from 0 to 5.  Decimal places can 
be set for each variable. The 

Device Variables

 box shows the eff ect of the decimal place setting. Decimal place settings are 

not used for the Modus fl oating point register values. 

Figure 6. Modbus settings dialog.

Figure 7. Menu for viewing modbus register maps.

Floating Point Byte Order

Modbus 32 bit fl oating point numbers are stored in two 
consecutive 16 bit registers using the IEEE-754 standard 
big endian byte order (AB-CD). The most signifi cant byte 
(A) is sent fi rst. For compatibility with some modbus 
systems you may need to use the word swapped format 
(CD-AB).

HART Device Failed Register Value

If a polled HART device fails to respond, or has commu-
nications errors it will retry for the number of times set 
in the HART Protocol Settings dialog.  If after retries the 
device does not respond you can choose to hold the last 
value, set to a preset number, or set to the IEEE-754 NaN 
fl oating point value. This can help the modbus master 
determine when a HART device is no longer responding.

Содержание MicroLink-HM 101-0029

Страница 1: ...Unlike many HART modems communications direction control is handled internally so there is no need to handle tricky request to send RTS handshake timing greatly simplifying software development and enabling the MicroLink HM modem to be compatible with common USB to RS 232 serial converters Serial port baud rates can be set from 1200 to 57 600 and parity can be odd even or none HART protocol commun...

Страница 2: ...e HART loop The 1200 baud odd parity HART reply packet is received by the MicroLink HM modem and then transmitted back at the higher baud rate If MicroLink HM is configured to Fill Modbus Registers and the serial port detects a HART packet on the RS 232 port MicroLink HM will temporarily switch to HART mode and stop polling devices HART protocol packets always begin with the hex FF preamble charact...

Страница 3: ...ive will share the ground pin 5 with the power supply ground If external power is used then DTR should not be con nected to the mating RS 232 port Only transmit receive and ground are required for communications 5 GROUND 2 RX 3 TX 4 DTR 5 30Vdc Figure 2 DB 9 Wiring Diagram HART Status LED Power Supply RS 232 Driver Rcvr HART Modem Microcontroller Modbus Register Tables TX RX CD RTS 1 2 RX 3 TX 4 D...

Страница 4: ... device or up to 16 devices When more than one device is in the loop each HART device must have a unique HART polling address The address for each device is set before wiring the device into the multi drop loop The device polling address for each device is stored in the MicroLink HM using the MicroLink HM configuration software Modbus slave address baud rate parity and other settings are set using ...

Страница 5: ...ted to a multi drop HART loop and can be set from 1 to 63 Address 0 can only be used when one device is in the HART loop Polling addresses 16 63 should only be used with HART revi sions 6 and higher For HART 3 5 use addresses 1 15 for multi drop systems HART Protocol Settings With Fill Modbus Registers unchecked MicroLink HM will function as a standard HART protocol modem and not poll HART devices...

Страница 6: ...stored into a 16 bit signed Modbus register the value can range from 32768 to 32767 To allow the 16 bit integer to represent a smaller number and include fractional information the number of decimal places is stored in a separate Modbus register and applied later The number of decimal places can be set from 0 to 5 Decimal places can be set for each variable The Device Variables box shows the effect...

Страница 7: ...o IEEE 754 NaN 0 for integers Bits 7 6 HART poll retries Sets number of HART device poll retries from 1 to 3 After poll retries the HART failed mode value is stored in the variable register Bits 3 0 Number of polled devices 1 Range is 0 to 15 0 1 polled device 15 16 polled devices ϭϱ ϭϰ ϭϯ ϭϮ ϭϭ ϭϬ ϵ ϴ ϳ ϲ ϱ ϰ ϯ Ϯ ϭ Ϭ Zd ĂŝůĞĚ DŽĚĞ ŝƚ ϭͿ Zd ĂŝůĞĚ DŽĚĞ ŝƚ ϬͿ Zd ZĞƚƌŝĞƐ ŝƚ ϭͿ Zd ZĞƚƌŝĞƐ ŝƚ ϬͿ Ϭс ŝůů...

Страница 8: ... 01 Even 10 Odd Mode Settings Bit 9 Floating point value byte order 0 Standard byte order AB CD 1 Swapped words CD AB Bit 8 Modbus device map 0 Map register data by HART device 1 Map register data by variable type ϭϱ ϭϰ ϭϯ ϭϮ ϭϭ ϭϬ ϵ ϴ ϳ ϲ ϱ ϰ ϯ Ϯ ϭ Ϭ Ϭс ĨůŽĂƚ ďLJƚĞ ŽƌĚĞƌ ϭс ϬсďLJ ĞǀŝĐĞ DĂƉ ϭсďLJ sĂƌŝĂďůĞ DĂƉ ϳϳϰ Ͳ DŽĚĞ ĞƚƚŝŶŐƐ Bits 11 8 1 1200 Baud 2 2400 3 4800 4 9600 5 14400 6 19200 7 38400 8 5760...

Страница 9: ...ŝĐĞ dLJƉĞ ϭ ϳϯϮ Ϯ ϯ ϭϮ ϳϯϯ WƌĞĂŵďůĞƐ DĂŶ ŽĚĞ Žƌ dLJƉĞ ϳϯϰ ĞǀŝĐĞ dLJƉĞ ϭ ϳϯϱ Ϯ ϯ ϭϯ ϳϯϲ WƌĞĂŵďůĞƐ DĂŶ ŽĚĞ Žƌ dLJƉĞ ϳϯϳ ĞǀŝĐĞ dLJƉĞ ϭ ϳϯϴ Ϯ ϯ ϭϰ ϳϯϵ WƌĞĂŵďůĞƐ DĂŶ ŽĚĞ Žƌ dLJƉĞ ϳϰϬ ĞǀŝĐĞ dLJƉĞ ϭ ϳϰϭ Ϯ ϯ ϭϱ ϳϰϮ WƌĞĂŵďůĞƐ DĂŶ ŽĚĞ Žƌ dLJƉĞ ϳϰϯ ĞǀŝĐĞ dLJƉĞ ϭ ϳϰϰ Ϯ ϯ ϭϲ ϳϰϱ WƌĞĂŵďůĞƐ DĂŶ ŽĚĞ Žƌ dLJƉĞ ϳϰϲ ĞǀŝĐĞ dLJƉĞ ϭ ϳϰϳ Ϯ ϯ Polled HART Devices Long Address Table Device ID information is read from each polled devic...

Страница 10: ...ƚĞͿ ϭ ϳϱϲ WsͲ dsͲ s Ϯ ϳϱϳ WsͲ dsͲ s ϯ ϳϱϴ WsͲ dsͲ s ϰ ϳϱϵ WsͲ dsͲ s ϱ ϳϲϬ WsͲ dsͲ s ϲ ϳϲϭ WsͲ dsͲ s ϳ ϳϲϮ WsͲ dsͲ s ϴ ϳϲϯ WsͲ dsͲ s ϵ ϳϲϰ WsͲ dsͲ s ϭϬ ϳϲϱ WsͲ dsͲ s ϭϭ ϳϲϲ WsͲ dsͲ s ϭϮ ϳϲϳ WsͲ dsͲ s ϭϯ ϳϲϴ WsͲ dsͲ s ϭϰ ϳϲϵ WsͲ dsͲ s ϭϱ ϳϳϬ WsͲ dsͲ s ϭϲ ϳϳϭ WsͲ dsͲ s Number of Decimal Places Table When storing the HART variable data in 16 bit modbus registers the maximum range is 32768 to 32767 To ...

Страница 11: ...ƚĞŐĞƌ ϭϬ ds ŶƚĞŐĞƌ ϯϰ ds ŶƚĞŐĞƌ ϭϭ s ŶƚĞŐĞƌ ϯϱ s ŶƚĞŐĞƌ ϭϮ Zd ƚĂƚƵƐ ϯϲ Zd ƚĂƚƵƐ ϭϯ D с Ws hKD с s hKD ϯϳ D с Ws hKD с s hKD ϭϰ D с ds hKD с s hKD ϯϴ D с ds hKD с s hKD Ϯϲϰ Ϯϲϱ Ws ůŽĂƚ Ϯϴϴ Ϯϴϵ Ws ůŽĂƚ Ϯϲϲ Ϯϲϳ s ůŽĂƚ ϮϵϬ Ϯϵϭ s ůŽĂƚ Ϯϲϴ Ϯϲϵ ds ůŽĂƚ ϮϵϮ Ϯϵϯ ds ůŽĂƚ ϮϳϬ Ϯϳϭ s ůŽĂƚ Ϯϵϰ Ϯϵϱ s ůŽĂƚ ĞǀŝĐĞ ϯ ĞǀŝĐĞ ϲ ϭϲ Ws ŶƚĞŐĞƌ ϰϬ Ws ŶƚĞŐĞƌ ϭϳ s ŶƚĞŐĞƌ ϰϭ s ŶƚĞŐĞƌ ϭϴ ds ŶƚĞŐĞƌ ϰϮ ds ŶƚĞŐĞƌ ϭϵ s ŶƚĞŐĞƌ ϰϯ s...

Страница 12: ...ϴϬ Ws ŶƚĞŐĞƌ ϱϳ s ŶƚĞŐĞƌ ϴϭ s ŶƚĞŐĞƌ ϱϴ ds ŶƚĞŐĞƌ ϴϮ ds ŶƚĞŐĞƌ ϱϵ s ŶƚĞŐĞƌ ϴϯ s ŶƚĞŐĞƌ ϲϬ Zd ƚĂƚƵƐ ϴϰ Zd ƚĂƚƵƐ ϲϭ D с Ws hKD с s hKD ϴϱ D с Ws hKD с s hKD ϲϮ D с ds hKD с s hKD ϴϲ D с ds hKD с s hKD ϯϭϮ ϯϭϯ Ws ůŽĂƚ ϯϯϲ ϯϯϳ Ws ůŽĂƚ ϯϭϰ ϯϭϱ s ůŽĂƚ ϯϯϴ ϯϯϵ s ůŽĂƚ ϯϭϲ ϯϭϳ ds ůŽĂƚ ϯϰϬ ϯϰϭ ds ůŽĂƚ ϯϭϴ ϯϭϵ s ůŽĂƚ ϯϰϮ ϯϰϯ s ůŽĂƚ ĞǀŝĐĞ ϵ ĞǀŝĐĞ ϭϮ ϲϰ Ws ŶƚĞŐĞƌ ϴϴ Ws ŶƚĞŐĞƌ ϲϱ s ŶƚĞŐĞƌ ϴϵ s ŶƚĞŐĞƌ ϲϲ ds ŶƚĞŐ...

Страница 13: ... D с ds hKD с s hKD ϯϱϮ ϯϱϯ Ws ůŽĂƚ ϯϲϴ ϯϲϵ Ws ůŽĂƚ ϯϱϰ ϯϱϱ s ůŽĂƚ ϯϳϬ ϯϳϭ s ůŽĂƚ ϯϱϲ ϯϱϳ ds ůŽĂƚ ϯϳϮ ϯϳϯ ds ůŽĂƚ ϯϱϴ ϯϱϵ s ůŽĂƚ ϯϳϰ ϯϳϱ s ůŽĂƚ ĞǀŝĐĞ ϭϰ ĞǀŝĐĞ ϭϲ ϭϬϰ Ws ŶƚĞŐĞƌ ϭϮϬ Ws ŶƚĞŐĞƌ ϭϬϱ s ŶƚĞŐĞƌ ϭϮϭ s ŶƚĞŐĞƌ ϭϬϲ ds ŶƚĞŐĞƌ ϭϮϮ ds ŶƚĞŐĞƌ ϭϬϳ s ŶƚĞŐĞƌ ϭϮϯ s ŶƚĞŐĞƌ ϭϬϴ Zd ƚĂƚƵƐ ϭϮϰ Zd ƚĂƚƵƐ ϭϬϵ D с Ws hKD с s hKD ϭϮϱ D с Ws hKD с s hKD ϭϭϬ D с ds hKD с s hKD ϭϮϲ D с ds hKD с s hKD ϯϲϬ ϯϲϭ Ws ů...

Страница 14: ...ϲϯ ϳϵ ϵϱ ϭϭϭ Zd Ws s ds Ys ĞǀŝĐĞ ůŽĂƚ ůŽĂƚ ůŽĂƚ ůŽĂƚ ϭ Ϯϱϲ Ϯϱϳ Ϯϴϴ Ϯϴϵ ϯϮϬ ϯϮϭ ϯϱϮ ϯϱϯ Ϯ Ϯϱϴ Ϯϱϵ ϮϵϬ Ϯϵϭ ϯϮϮ ϯϮϯ ϯϱϰ ϯϱϱ ϯ ϮϲϬ Ϯϲϭ ϮϵϮ Ϯϵϯ ϯϮϰ ϯϮϱ ϯϱϲ ϯϱϳ ϰ ϮϲϮ Ϯϲϯ Ϯϵϰ Ϯϵϱ ϯϮϲ ϯϮϳ ϯϱϴ ϯϱϵ ϱ Ϯϲϰ Ϯϲϱ Ϯϵϲ Ϯϵϳ ϯϮϴ ϯϮϵ ϯϲϬ ϯϲϭ ϲ Ϯϲϲ Ϯϲϳ Ϯϵϴ Ϯϵϵ ϯϯϬ ϯϯϭ ϯϲϮ ϯϲϯ ϳ Ϯϲϴ Ϯϲϵ ϯϬϬ ϯϬϭ ϯϯϮ ϯϯϯ ϯϲϰ ϯϲϱ ϴ ϮϳϬ Ϯϳϭ ϯϬϮ ϯϬϯ ϯϯϰ ϯϯϱ ϯϲϲ ϯϲϳ ϵ ϮϳϮ Ϯϳϯ ϯϬϰ ϯϬϱ ϯϯϲ ϯϯϳ ϯϲϴ ϯϲϵ ϭϬ Ϯϳϰ Ϯϳϱ ϯϬϲ ϯϬϳ ϯϯϴ ϯϯϵ ϯϳϬ ϯϳϭ ϭϭ Ϯϳϲ...

Страница 15: ... to Process Loop 10μA Max Status LED Green Transmitting HART packet Red Receiving HART packet Environmental Operating Temperature 30ºC to 60ºC 22ºF to 140ºF Storage Temperature 40ºC to 85ºC 40ºF to 185ºF Humidity 0 to 95 non condensing Specifications PP PP PP 57 223 5 6 5 7 50 1 6 PP PP 1 5 3 67 786 56 3257 Modbus RTU Baud Rates 1200 2400 4800 9600 114400 19200 38400 57600 Parity None Odd Even Flo...

Страница 16: ...95 A1 1998 A2 2001 Radiated Immunity EN 61000 4 3 2002 Safety Compliance EN 60950 1 2002 This device does not have protection from over voltages which may exist on RS 232 ports of computers and relies on the protection existing in a host computer This device is not intended for connection to the phone line through the appropriate converters and shall not be connected to telecommunication lines bec...

Страница 17: ... S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF MICROFLEX SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER MICROFLEX LLC WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA PROFITS USE OF PRODUCTS OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITIES THEREOF This limitation of the liability of Microflex LLC will apply regardless o...

Отзывы: