background image

Modbus - RTU Setup

Modbus-RTU Se   ngs 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 communicate with the MicroLink-HM. The Modbus address 
can be set to any value from 1 to 247. The MicroLink-HM 
con

fi

 gura  on so  ware will discover this address as part of the 

connec  on process.

Baud Rate & Parity

The MicroLink-HM baud rate and parity must be set to the 
same se   ngs as your Modbus master.  If you are using the 
MicroLink-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 applica  on.  Register maps 

can be viewed using the MicroLink-HM con

fi

 gura  on so  ware. 

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 frac  onal informa  on, 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 e

 ect of the decimal place se   ng. Decimal place 

se   ngs are not used for the Modus 

fl

 oa  ng point register values. 

Figure 6. Modbus se   ngs dialog.

Figure 7. Menu for viewing modbus register maps.

Floating Point Byte Order

Modbus 32 bit 

fl

 oa  ng point numbers are stored in two 

consecu  ve 16 bit registers using the IEEE-754 standard 
big endian byte order (AB-CD). The most signi

fi

 cant byte 

(A) is sent 

fi

 rst. For compa  bility 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 
communica  ons errors it will retry for the number of 

 mes set in the HART Protocol Se   ngs dialog.  If a  er 

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

 oa  ng point value. This can help the 

modbus master determine when a HART device is no 
longer responding.

All manuals and user guides at all-guides.com

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

Страница 1: ...odems communica ons direc on control is handled internally so there is no need to handle tricky request to send RTS handshake ming greatly simplifying so ware development and enabling the MicroLink HM modem to be compa ble 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 communica ons between the Micr...

Страница 2: ...m and then transmi ed 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 character Modbus packets begin with the slave address If no HART commands are received over the se...

Страница 3: ...nd pin 5 with the power supply ground If external power is used then DTR should not be connected to the ma ng RS 232 port Only transmit receive and ground are required for communica ons 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 DTR 5 GND 6 7 8 9 9 Pin RS ...

Страница 4: ...ce 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 mul drop loop The device polling address for each device is stored in the MicroLink HM using the MicroLink HM configura on so ware Modbus slave address baud rate parity and other se ngs are set using the MicroL...

Страница 5: ...op 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 revisions 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 func on as a standard HART protocol modem and not poll HART devices to fill Modbus registers In ...

Страница 6: ...signed Modbus register the value can range from 32768 to 32767 To allow the 16 bit integer to represent a smaller number and include frac onal informa on 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 of the decimal place s...

Страница 7: ...gers 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ĞƚƌŝĞƐ ŝƚ ϬͿ Ϭс ŝůů ZĞŐŝƐƚĞƌƐ ϭс Zd DŽĚĞŵ ϭс...

Страница 8: ...ttings 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 57600 9 115200 All manuals ...

Страница 9: ...ϳϯϯ 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 informa on is read from each polled device using the devices pol...

Страница 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 Number of Decimal Places Table When storing the HART variable data in 16 bit modbus registers the maximum range is 32768 to 32767 To increase the possible r...

Страница 11: ...s ŶƚĞŐĞƌ ϭϭ 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 ŶƚĞŐĞƌ ϮϬ Zd ƚĂƚƵƐ ϰϰ ...

Страница 12: ...ƌ ϴϭ 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 ŶƚĞŐĞƌ ϵϬ ds ŶƚĞŐĞƌ ϲϳ s Ŷƚ...

Страница 13: ... ϯϱϯ 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 ůŽĂƚ ϯϳϲ ϯϳϳ Ws ůŽĂƚ ϯϲϮ...

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

Страница 15: ...x Status LED Green Transmi ng HART packet Red Receiving HART packet Environmental Opera ng 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 Floa ng point byte order AD CD...

Страница 16: ...ated 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 because it has no protecti...

Страница 17: ...O 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 of the for...

Отзывы: