wtw MIQ/2-MOD Operating Manual Download Page 12

Interface for the Modbus RTU

MIQ/2-MOD

12

ba75973e01

07/2012

3.2

Modbus checklist

The following checklist supports you when planning, projecting and

installing a Modbus plant with the IQ S

ENSOR

N

ET

. For smooth

operation, you should be able to answer all questions with "Yes".

Is the [bus system] (bus segment) installed without branch lines?

Was the correct Modbus cable used (cord type A according to 

EN 50170)?

Are the poles of the signal lines A line and B line correctly connected 

at all bus connections?

Is it guaranteed that there is no short-circuit between A line, B line 

and cable shielding?

Is the shielding installed free of interruptions?

Are the guidelines for shielding and grounding being observed, and

doesn't any unallowed potential equalization current flow

via the shielding?

Is the maximum cable length (per bus segment) observed for the

corresponding baud rate?

Do all devices support the required baud rate?

Are exactly two terminators switched on at the ends of the [bus

system] (bus segment)?

Are the terminators supplied with voltage so the following applies: 

U

B line

 - U

A line

 > + 500 mV?

Do all devices have individual bus addresses?

After changing the bus address, have the devices been restarted 

(switched off and on again)? Note: The IQ S

ENSOR

N

ET

 does not 

have to be restarted.

Do the addresses projected in the master correspond to the actual 

addresses?

After commissioning: 

Do all devices signal error-free behavior?

Is it guaranteed that the Modbus master has consistent access

to the 16 byte sensor data structure?

Summary of Contents for MIQ/2-MOD

Page 1: ...Q 2 MOD Operating Manual Modbus master Modbus module Further Modbus devices Further Modbus devices Modbus RTU RS 485 Controller MIQ MC2 Modbus RTU and RS 485 connection for the IQ SENSOR NET System 2020 XT CONNECT and System 2020 XT USB ...

Page 2: ...heim 2012 WTW GmbH Reproduction in whole or even in part is prohibited without the express written permission of WTW GmbH Weilheim Printed in Germany The latest version of the present operating manual can be found on the Internet under www WTW com ...

Page 3: ...documents providing safety information 7 2 2 Safe operation 8 2 2 1 Authorized use 8 2 2 2 Requirements for safe operation 8 2 2 3 Unauthorized use 8 2 3 User qualification 8 3 Interface for the Modbus RTU 11 3 1 Scope of delivery 11 3 2 Modbus checklist 12 3 3 Connecting the Modbus cable 13 3 4 Setting the Modbus interface parameters 15 3 5 Transmitted sensor data 16 3 5 1 Overview 16 3 5 2 Senso...

Page 4: ...Contents MIQ 2 MOD 4 ba75973e01 07 2012 ...

Page 5: ... NET operating manual The IQ SENSOR NET operating manual has a modular structure like the IQ SENSOR NET system itself It consists of the system operating man ual and the operating manuals of all the components used The space in the ring binder behind the system operating manual is intended for filing the component operating manuals Please file all component operating manuals here so that all infor...

Page 6: ...in the system communication With the MOD option the MIQ 2 MOD module upgrades the system communication by a Modbus interface Via this interface sensor data can be queried with the Modbus RTU protocol The Modbus interface RS 485 also enables a direct point to point connection from an IQ SENSOR NET system to a Modbus master e g PC or PLC Fig 1 2 Functional units of the IQ SENSOR NET System 2020 XT C...

Page 7: ... can lead to serious irre versible injury or death if the safety instruction is not followed CAUTION indicates a possibly dangerous situation that can lead to slight revers ible injury if the safety instruction is not followed Note indicates a possibly dangerous situation where goods might be dam aged if the actions mentioned are not taken 2 1 2 Safety signs on the product Note all labels informat...

Page 8: ...y sources mentioned in this operating manual The product may only be operated under the environmental condi tions mentioned in this operating manual The product may not be opened 2 2 3 Unauthorized use The product must not be put into operation if it is visibly damaged e g after being transported it was stored under adverse conditions for a lengthy period of time storing conditions see chapter 8 T...

Page 9: ...ual of the relay output module WARNING A circuit except for the power supply connections that is connected to an IQ SENSOR NET component must not feed any voltages or cur rents that are not allowed It has to be made sure that the circuit at any time meets all requirements of a Limited circuit or Limited Power as well as of SELV Safety Extra Low Voltage These include the follow ing limiting value s...

Page 10: ...Safety MIQ 2 MOD 2 10 ba75973e01 07 2012 ...

Page 11: ...of the MIQ 2 MOD module comprises MIQ 2 MOD Accessory set including 4 x cable glands clamping range 4 5 10 mm with seals and blind plugs 4x ISO blind nuts M4 with suitable cheese head screws and plain washers 2x countersunk screws M3x8 to close the module lid 2 replacement screws 1 x contact base with fixing screws Operating manual Further instructions for the installation and operation of a Modbu...

Page 12: ...s for shielding and grounding being observed and doesn t any unallowed potential equalization current flow via the shielding Is the maximum cable length per bus segment observed for the corresponding baud rate Do all devices support the required baud rate Are exactly two terminators switched on at the ends of the bus system bus segment Are the terminators supplied with voltage so the following app...

Page 13: ...no 1654549 with screwed contacts available from WTW under the order no 902 888 or VS 09 PROFB SP Phoenix article no 1654345 with spring contacts To remove the blind plug lift the safety bracket with a suitable screw driver at both clamps on the left and right side see Fig 3 1 Fig 3 1 Removing the safety bracket Note To prevent the enclosure of the IQ SENSOR NET from being penetrated by water the f...

Page 14: ...l characteristics according to EN 50170 are suitable as a Modbus cable e g all Profibus cables approx 100 mm Pin Color Name Function 1 2 3 Red B line Positive RxD TxD according to RS 485 specification 4 RTS Request To Send 5 GND BUS Reference potential for data lines and terminating resistors 6 5 V BUS Supply voltage for terminating resistors 7 8 Green A line Negative RxD TxD according to RS 485 s...

Page 15: ...parameters Please observe the operating manual of the connector Setting Selection Values Description Device Address 1 247 Device address of the IQ SENSOR NET Baud rate 1200 2400 4800 9600 19200 38400 57600 Baud rate Parity None Even Odd Parity None 2 stop bits Even 1 stop bit Odd 1 stop bit 1 Using S open the Settings menu 2 Press and OK to select and confirm the menu item Settings bus interfaces ...

Page 16: ...odbus master as a consistent data block Sensor number Sxx Sensor status Sensor model Status info of sensors Measuring mode Measured value status main and secondary measured value Main measured value Secondary measured value 4 Edit the setting table To accept all settings you have to highlight the Save and quit menu item at the lower end of the setting table and to confirm with OK If you exit the s...

Page 17: ...ication with the Modbus may require e g the following Creating an IQ SENSOR NET system with specific assignment of sen sor numbers to sensors Creating several IQ SENSOR NET systems with the identical assign ment of sensor numbers to sensors Changing the order of the sensors in an already installed system The transmitted data of all IQ SENSOR NET sensors is given in the WTW document IQ SENSOR NET s...

Page 18: ...ors to the system in the required order With each sensor wait until the system has recognized the sensor 1 Unplug all sensors from the IQ SENSOR NET When the inactive datasets are deleted all settings for the sensors are deleted as well 2 Delete all inactive datasets in the list of sensors see System operating manual chapter Deleting inactive datasets of sen sors 3 Connect the sensors to the syste...

Page 19: ...ster 0002 etc Modbus Information Data format Register Bit Data type Bit Sensor S01 0001 1 8 1 sensor number S01 Int 8 7 0 0001 9 16 Sensor status Int 8 7 0 0002 1 16 Sensor model Int 16 15 0 0003 1 16 Status info Int 16 15 0 0004 1 8 Measuring mode Int 8 7 0 0004 9 16 Measured value status Int 8 7 0 0005 1 16 Main measured value IEEE 754 floating point 32 bit Float 32 31 16 0006 1 16 Main measured...

Page 20: ... 1 8 Measuring mode Int 8 7 0 0012 9 16 Measured value status Int 8 7 0 0013 1 16 Main measured value IEEE 754 floating point 32 bit Float 32 31 16 0014 1 16 Main measured value IEEE 754 floating point 32 bit Float 32 15 0 0015 1 16 Secondary measured value IEEE 754 floating point 32 bit Float 32 31 16 0016 1 16 Secondary measured value IEEE 754 floating point 32 bit Float 32 15 0 Modbus Informati...

Page 21: ...t a data format for certain registers the byte order the data interpretation is based on should be checked INT16 The data for the sensor model and status info is transmitted in INT16 format The data consists of two bytes The assignment is carried out in Motorola format big endian the higher value byte first Bit representation Byte Bit 4 31 24 S sign bit 31 E Exponent Bit 30 23 M mantissa bits 22 0...

Page 22: ...of the 32 registers For a query of sensor data determine the first register and the number of registers to be read 1 32 Determining the first register to be read The first register to be read depends on the sensor number Sxx 1 to 4 and the number of the sensor register R 1 8 Sxx 1 8 R Example Determine the first register with data for the sensor S02 2 1 8 1 9 Determining the number of registers to...

Page 23: ...O 5 00h Number of HI registers 0008h 8 8 registers 6 08h Number of LO regis ters 7 70h CRC HI Checksum CRC 8 0Eh CRC LO Modbus response Byte Value Information Meaning of the value 1 01h Modbus address of the IQ SENSOR NET 01h 1 2 04h Function 04h 4 Read Input Register 3 10h Number of bytes 10h 16 16 Byte 8 registers 4 02h Contents of register 9 HI sensor number 02h Int 8 2 Sensor number S02 5 02h ...

Page 24: ...oat 32 79 1382 Measured parameter and unit see byte 10 measuring mode 13 9Eh Contents of register 13 LO main measured value 14 46h Contents of register 14 HI main measured value 15 C2h Contents of register 14 LO main measured value 16 00h Contents of register 15 HI secondary measured value 00000000h Float 32 0 but measured value invalid MISSING see Byte 11 mea sured value status 17 00h Contents of...

Page 25: ...use Remedy Incorrect wiring of the con nections on the terminal strip Check change the connections on the terminal strip Incorrect setting of address baud rate parity Check change the settings Incorrect protocol Adapt the protocol MIQ 2 MOD module defec tive Return the MIQ 2 MOD module to WTW Cause Remedy The data interpretation is not correct Heed the data formats of the MIQ 2 MOD see also sectio...

Page 26: ...What to do if MIQ 2 MOD 26 ba75973e01 07 2012 ...

Page 27: ...SOR NET for details see chapter TECHNICAL DATA of the IQ SENSOR NET system operating manual Power consumption 1 6 W Protective class III Number of MIQ 2 MOD in an IQ SENSOR NET system 1 Applicable norms EN 61010 1 UL 61010 1 CAN CSA C22 2 61010 1 IQ SENSOR NET connec tions 2 2 additional SENSORNET terminators that can be activated terminating resistors Terminal type Screw type terminal strip acces...

Page 28: ...Technical data MIQ 2 MOD 28 ba75973e01 07 2012 ...

Page 29: ......

Page 30: ...Wissenschaftlich Technische Werkstätten GmbH Dr Karl Slevogt Straße 1 D 82362 Weilheim Germany Tel 49 0 881 183 0 49 0 881 183 100 Fax 49 0 881 183 420 E Mail Info WTW com Internet http www WTW com ...

Reviews: