Home

IQ SensorNet Field Bus Linking User Manual

image

Contents

1. Code Model 0906h VARION N VARiON 7001Q 0907h VARION K VARION 7001IQ OAO1h NitraVis701 IQ NiCaVis7011Q NI 0A02h NitraVis705 IQ NiCaVis705lQ NiCaVis705lQ NI OAO3h CarboVis701 IQ NiCaVis7011Q NI OAO04h CarboVis705 IQ NiCaVis705lQ NiCaVis705lQ NI 0A07h SolidVis701 IQ UV VIS sensors with TSS option 0A08h SolidVis705 IQ UV VIS sensors with TSS option OA1Ah Virtual N sensor NitraVis7011Q NI OA1Bh Virtual N sensor NitraVis705lQ NI OA1Ch Virtual C sensor 1 CarboVis701 IQ OA1Dh Virtual C sensor 2 CarboVis701 IQ OA1Eh Virtual C sensor CarboVis701 IQ OA1Fh Virtual C sensor 4 CarboVis701 IQ OA20h Virtual C sensor 1 CarboVis705 IQ OA21h Virtual C sensor 2 CarboVis705 IQ 0A22h Virtual C sensor CarboVis705 IQ OA23h Virtual C sensor 4 CarboVis705 IQ OBO1h P 700 IQ OCO1h IFL 700 IQ OCO2h IFL 701 IQ 76148 01 06 2013 35 Encoded data for field bus communication IQ SENSOR NET Field bus linking 5 4 Status info of sensors Model Bit 0 Bit 1 Bit 2 Bit 3 31 SensoLyt700lQ Component SensCheck pH electrode hardware defective glass broken defecti TetraCon700lQ m TriOxmatic700lQ SensReg Electrolyte SensLeck Mem supply is depleted brane head dam TriOxmatic7011Q aged TriOxmatic7021Q 7 SC 700 Measurement interfered SC
2. Byte Value Information Meaning of the value Offset 02h Sensor number 02h Int 8 gt 2 Sensor number S02 Offset 1h 02h Sensor status 02h Int 8 gt MEASURE see section 5 2 Offset 2h 04h Sensor model 0401h Int 16 VisoTurb 700 IQ Offset 3h 01h Sensor model Se Sante ke Offset 4h OOh Status info 0000h Int 16 gt no errors Offset 5h 00h Status info Sete len eut Offset 6h 00h Measuring mode OOh Int 8 gt FNU Turb see section 5 5 Offset 7h 14h Measured value 14h Int 8 status Main measured value bits 7 4 1h VALID Secondary measured value bits 3 0 4h gt MISSING see section 5 6 Offset 8h 42h Main measured 429E46C2h Float 32 value 79 1382 Offset9h 9Eh Measured parameter and Offset Ah 46h unit see byte 10 measur ing mode Offset Bh C2h Offset Ch 00h Secondary mea 00000000h Float 32 sured value gt 0 but measured value invalid Offset Eh 00h MISSING see byte 11 measured Offset Fh 00h value status 24 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Communication with field buses 4 2 Communication with Modbus RTU Modbus TCP 4 2 1 Data transmission On each query of sensor data with the Modbus protocol a block of con secutive registers is read Query and response Data transmission takes place via query and response telegrams The telegram form of the telegrams is determined
3. Byte Value Information Meaning of the value 1 01h Modbus address of 01h gt 1 the IQ SENSOR NET 2 04h Function 04h gt 4 Read Input Register see section 4 2 2 3 00h Start address HI 0008h gt 8 Start with register 9 4 08h Start address LO Modbus counting method 5 00h Number of HI regis 0008h gt 8 ters 8 registers 6 08h Number of LO regis ters 7 70h CRC HI Checksum CRC 8 OEh CRC LO ba76148e01 06 2013 27 Communication with field buses IQ SENSOR NET Field bus linking Response with sensor data block of the sensors S02 Modbus response Byte Value Information Meaning of the value 1 01h Modbus address of the 01h gt 1 IQ SENSOR NET 2 04h Function 04h gt 4 Read Input Register 3 10h Number of bytes 10h gt 16 16 Byte 8 registers 4 02h Contents of register 9 HI 02h Int 8 gt 2 sensor number Sensor number S02 5 02h Contents of register 9 LO 02h Int 8 gt sensor status MEASURE see section 5 2 6 04h Contents of register 10 HI 0401h Int 16 sensor model VisoTurb 700 IQ ti 7 01h Contents of register 10 LO sensor model 8 00h Contents of register 11 HI 0000h Int 16 status info gt no errors ti A 9 e Cenacle 0 status info 10 00h Contents of register 12 HI 00 Int 8 gt FNU measuring mode Turb see section 5 5 11 14h Contents of register 12 LO
4. no no Fig 4 1 Data transmission in Profinet Profibus Ethernet IP 4 1 2 Query format output data of the PLC 1 Byte from the superordinate control system PLC to the IQ SENSOR NET For Ethernet IP Instance ID 101 SensorSelector Address Information Data format Datatype Bit Offset Oh Sensor number Sxx in the IQ SENSOR NET Int 8 7 0 22 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Communication with field buses 4 1 3 Data block of the sensors input data of the PLC 16 bytes from the IQ SENSOR NET to the superordinate control system PLC For Ethernet IP Instance ID 2102 SensorData Address Information Data format Data Bit type Offset Oh Sensor number Int 8 7 0 Offset 1h Sensor status Int 8 7 0 Offset 2h Sensor model Int 16 15 8 Offset 3h 7 0 Offset 4h Status info Int 16 15 8 Offset 5h 7 0 Offset 6h Measuring mode Int 8 7 0 Offset 7h Status of main measured value Int 8 7 4 Status of secondary measured value 3 0 Offset 8h Main measured value IEEE 754 floating point Float 32 31 24 Offset 9h sony 23 16 Offset Ah 16 8 Offset Bh 7 0 Offset Ch Secondary measured value IEEE 754 floating point Float 32 31 24 Offsetbh 320 23 16 Offset Eh 16 8 Offset Fh 7 0 ba76148e01 06 2013 23 Communication with field buses IQ SENSOR NET Field bus linking 4 1 4 Example Sensor data
5. 14h Int 8 measured value status Main measured value bits 7 4 1h gt VALID Secondary measured value bits 3 0 4h gt MISSING see section 5 6 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Communication with field buses Modbus response Byte Value Information Meaning of the value 12 42h Contents of register 13 main measured value 429E46C2h Float 32 79 1382 13 9Eh Contents of register 13 LO Measured parameter main measured value smel unii 14 46h Contents of register 14 HI See byte 10 measur main measured value ing mode 15 C2h Contents of register 14 LO main measured value 16 00h Contents of register 15 secondary measured 00000000h Float 32 value gt 0 but d val 17 00h Contents of register 15 LO invalid MISSING secondary measured see Byte 11 mea value sured value status 18 00h Contents of register 16 secondary measured value 19 00h Contents of register 16 LO secondary measured value 20 23h CRC HI Checksum CRC 21 5Eh CRC LO 76148 01 06 2013 29 Encoded data for field bus communication IQ SENSOR NET Field bus linking Measured values Float 32 5 Encoded data for field bus communication 5 1 Data formats of the sensor datablock The data for the main and secondary measured values are transmitted in the IEE 754 standard 32 bit floating point form
6. FDO 701 Measurement interfered VisoTurb700lQ SensCheck Sensor con SensCheck Ultra ViSolid70010 taminated sound cleaning sys E tem has failed AmmoLyt700lQ AmmoLyt AmmoLyt K NitraLyt700IQ NitraLyt z NitraVis700 xlQ 2 CarboVis700 xlQ 2 SolidVis700IQ z z NitraVis70XIQ Component hardware Optical measuring 2 fecti CarboVis70xlQ defective xxx range exceeded SolidVis70xlQ MIQ IC2 VARION A VARION N VARION K The SensLeck function is not available with the sea water model SW variant 36 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Encoded data for field bus communication continued Model Bit 0 Bit 1 Bit 2 Bit 3 31 IFL 700 IQ Component hardware IFL 701 IQ defective i P 700 IQ Liquid tank xxx almost Air bubbles in the depleted analyzer Note Li The status info must be evaluated for each bit individually ba76148e01 06 2013 37 Encoded data for field bus communication IQ SENSOR NET Field bus linking 5 5 Measuring mode Code Model 00h 01h 02h 03h 04h 05h 06h 07h 08h SensoLyt700IQ pH mV TetraCon700lQ S cm SAL TDS S m TriOxmatic700lQ mg l 96 O2 TriOxmatic7011Q O2 TriOxmatic7021Q SC FDO 700 mg l O2 SC FDO 701 02 VisoTurb700IQ FNU
7. NTU TEF mg l ppm g l TS Turb Turb Turb SiO2 SiO2 ViSolid700IQ glTSS 96 glTSS 96 g l SiO2 SiO2 g 1SiO2 SiO2 M11 TSS M21 TSS M1 M11 M2 M21 M11 M21 AmmoLyt700IQ mg l mg l mV AmmoLyt 4 NH4 AmmoLyt K mg l K mV NitraLyt700IQ mg l mg l mV NitraLyt NO3 N NO3 1 M1 matrix type 1 M2 matrix type 2 matrix types see ViSolid 700 IQ sensor operating manual 38 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Encoded data for field bus communication Code Model 00h 01h 02h 03h 04h 05h 06h 07h 08h NitraVis700 xlQ mg l mg l mg l NitraVis70xIQ NON NO3 N NitraVis7OxIQ NI mg l mg l NO2 N NO2 CarboVis700 xlQ mg ICO mg ITO mg IB mg IDO Abs m Abs m mg l UVT CarboVis70xlQ Dto C OD C SACto SACds CSB4 2545 SolidVis7001Q m g l SolidVis70xlIQ TSS MIQ IC2 VARION A mg l mg l mV NH4 N NH4 VARION N mg l mg l mV NO3 N NO3 VARION K mg lK mV P 700 IQ mg l mg l PO4 P PO4 IFL 70x IQ m M1 matrix type 1 M2 matrix type 2 matrix types see ViSolid 700 IQ sensor operating manual The measurement unit depends on the settings of the main sensor The measured parameter and measurement unit depend on the set tings of the display values see MIQ IC2 sensor operating manual Only xxxVis700 xIQ Test measurement with standards Only CarboVis70
8. connection section 2 2 2 Configure the interface of the section 3 4 IQ SENSOR NET 3 Program the queries and access section 4 1 section 4 2 thorization muse EDS file GSD file section section 3 4 2 3 4 1 4 Interpret the data of the section 5 ff IQ SENSOR NET Configuring the order of the sensors in the IQ SENSOR NET see sec tion 3 6 4 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Installing the interface in the IQ SENSOR NET 2 Installing the interface in the IQ SENSOR NET 2 1 Installing the RS485 interface Profibus and Modbus use the same interface RS485 for data exchange We especially recommend the Aufbaurichtlinie PROFIBUS FMS published by the PROFIBUS user organization PNO PNO order num ber 2 111 with many practical tips for installation that also apply to Modbus systems http www profibus com download installa tion quide Further instructions for the installation and operation of a Modbus net work are availabe on the Internet under www modbus org Detailed information on the subject of PROFIBUS is given on the Inter net by the PROFIBUS user organization PNO under www profi bus com Connecting the Profibus The Profibus Modbus cable is connected to the IQ SENSOR NET using Modbus cable a 9 pin D SUB connector on the top of the housing Suitable cables Field bus type Cable Profibus PROFIBUS cable Modbus Cable for RS485 e g PROFIBUS cable Conn
9. contact the cable shield across a wide area Connect the Rx Rx Tx and Tx wires to the LSA terminal strip with the aid of an LSA punch down tool Make sure that the cable assignment agrees with the specification on the ter minal label under the terminal strip 10 Fasten the cap nut of the screwed cable gland 11 Close the module ba76148e01 06 2013 11 Configuring the IQ SENSOR NET IQ SENSOR Field bus linking 3 Configuring the IQ SENSOR NET 3 1 Configuring the IQ SENSOR NET for Profibus 3 1 4 Setting the PROFIBUS address Opening the setting men for Profibus 1 Open the setting menu with S 2 For MIQ MC2 Press A V 4 gt and lt OK gt to select and confirm the menu item Settings of bus interfaces 3 Select and confirm the bus interface with A V P and lt OK gt Settings Setting Selection Values Explanation Device Address 1 126 Instrument address of the IQ SENSOR NET in the Profibus 4 Edit the settings 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 lt OK gt If you exit the setting table via lt M gt lt ESC gt Quit or the Quit menu item all changes are ignored 3 1 2 GSD file The GSD file contains all necessary information on the Profibus module and is required by the configuration program of the Profibus master The current GSD file is pro
10. through the MIQ MC2 controller Basic knowledge of network engineering is helpful when establishing a local network Depending on the network configuration several settings have to be made on the individual network components Settings that concern network components from third party manufac turers such as the router are only referred to in general here Detailed information on in which menus the settings should be done are given in the respective operating manual of your instrument If you have no network knowledge please contact your network admin istrator Profinet Modbus TCP and Ethernet IP use the same inter face Ethernet and the same cable type Ethernet for data exchange 2 2 1 Communication via Ethernet The IQ SENSOR NET provides an interface for Fast Ethernet 100 MBit s If configured as a DHCP client the IQ SENSOR NET can automatically get its IP settings from a DHCP server in the network 2 2 2 Ethernet connection in case of indoor installation The Ethernet cable is connected to the IQ SENSOR NET with the RJ45 connector on the underside of the enclosure of the MIQ MC2 controller 2 2 3 Ethernet connection in case of outdoor installation When plugged in the RJ45 socket is not sufficiently protected against moisture With outdoor installation the Ethernet cable must therefore be clamped directly on the PCB of the MIQ MC2 controller to ensure a safe Ethernet communication For this purpose there is a
11. value and measured value status are frozen while the sensor is in the MAINTENANCE condition In the case of the measured value status VALID the measured value is frozen with the value displayed at the start of the MAINTENANCE status ba76148e01 06 2013 33 Encoded data for field bus communication IQ SENSOR NET Field bus linking 5 3 Sensor model The sensor model is the model name the sensor registers with on the IQ SENSOR NET Code Model 0101h SensoLyt700lQ 0201h TetraCon700lQ 0301h TriOxmatic700lQ 0302h TriOxmatic7011Q 0303h TriOxmatic702lQ 0304h SC FDO 700 FDO7001Q 0305h SC FDO 701 FDO700IQ 0401h VisoTurb700lQ 0402h ViSolid700lQ 0501h AmmoLyt700IQ 0503h AmmoLyt AmmoLyt 700lQ 0907h AmmoLyt K AmmoLyt 700IQ 0601h NitraLyt700IQ 0602h NitraLyt NitraLyt 700IQ 0701h NitraVis700 1lQ 0702h NitraVis700 5IQ 0703h CarboVis700 5lQ 0704h SolidVis700lQ UV VIS sensors with TSS option 0705h NitraVis700 5IQ NiCaVis700lQ 0706h CarboVis700 5IQ NiCaVis700lQ 0707h CarboVis700 11Q 0801h MIQ IC2 current input 1 0802h MIQ IC2 current input 2 0901h VARION A VARiION700IQ 0902h VARION N VARION7OOIQ 0905h VARION A 70019 34 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Encoded data for field bus communication
12. 2 PR 100 TAN Ko approx 100 mm 100 Y C E Y E 5 l x Hb 1 p E 2 00950 L Q H H A 0 H Hi i D NE Fig 2 2 SENSOR NET modules with Phoenix connector ba76148e01 06 2013 7 Installing the interface in the IQ SENSOR NET IQ SENSOR NET Field bus linking Phoenix connector IQ SENSOR NET instrument Wire Terminals Pin Potential at Function color instrument connector 1 2 2 Red 1B and 2B 3 B line Positive RxD TxD according to RS 485 specification 4 RTS Request To Send 5 GND BUS Reference potential for data wires and terminating resistors 6 5 V BUS Supply voltage for terminating resistors T Green 1A and 2A 8 Aline Negative RxD TxD according to RS 485 specification 9 Wire colors when using standard PROFIBUS cable Please observe the operating manual of the connector 8 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Installing the interface in the IQ SENSOR NET 2 2 Installing the Ethernet interface The IQ SENSOR NET system can be linked to a LAN
13. 4 pole termi nal strip and a shielding terminal on the main PCB An LSA punch down tool is required for the assembly ba76148e01 06 2013 9 Installing the interface in the IQ SENSOR NET IQ SENSOR NET Field bus linking Connecting the Ethernet cable with the main PCB 1 Open the MIQ module 2 Disconnect the flat flexible cable pos 1 in Fig 2 3 from the main PCB 2 Fig 2 3 Ethernet connection with RJ45 socket 3 Unscrew the RJ45 socket enclosure pos 2 in Fig 2 3 4 Screw a cable gland with sealing ring into the free duct Then loosen the cap nut of the cable gland 10 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Installing the interface in the IQ SENSOR NET LSA terminal strip SHIELD CLAMP ENTHERNET CABLE Fig 2 4 Ethernet connection via terminal strip Strip the Ethernet cable for approx 2 cm and untwist the Rx Rx Tx and Tx wires Carefully slash the cable shield foil netting lengthwise and put it backwards over the cable sheath pos 3 in Fig 2 4 Feed the Ethernet cable through the cable gland into the mod ule housing Where the cable shield was put backwards press the Ethernet cable into the shielding terminal pos 4 in Fig 2 4 The shield ing terminal must
14. 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 eo 00 0004 1 8 Measuring mode Int 8 7 0 2 0004 9 16 Measured value status Int 8 7 0 0005 1 16 Main measured value IEEE 754 floating point Float 32 31 16 32 bit 0006 1 16 15 0 0007 1 16 Secondary measured value IEEE 754 floating point Float 32 31 16 32 bit 0008 1 16 ID 15 0 0009 1 8 Sensor number S02 Int 8 7 0 0009 9 16 Sensor status Int 8 7 0 0010 1 16 Sensor model Int 16 15 0 A 0011 1 16 Status info Int 16 15 0 e 2 0012 1 8 Measuring mode Int 8 7 0 2 0012 9 16 Measured value status Int 8 7 0 us 0013 1 16 Main measured value IEEE 754 floating point Float 32 31 16 2 bit 0014 146 250 15 0 0015 1 16 Secondary measured value IEEE 754 floating point Float 32 31 16 32 bit 0016 1 16 15 0 0017 1 8 Int 8 7 0 e 0018 9 16 Int 8 7 0 i c 26 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Communication with field buses Query of the sensor data block for sensor S02 The counting method of the Modbus registers and Modbus il bits and the allocation of MSB and LSB is different from the usual method of most programming languages Modbus Usually Count start of the register 1 0 MSB allocation of the register Bit 1 Bit 15 LSB allocation of the register Bit 16 Bit 0 MSB Vost significant bit LSB Least significant bit 4 2 4 Example Modbus query
15. Incorrect setting of the address Check change the setting of the address see section 3 2 1 Incorrect protocol Check the version of the GSD file Adapt the protocol IQ SENSOR NET defective Cause Send IQ SENSOR NET to YSI Remedy nput data and output data are not consistent When programming the PLC define input data and output data as consistent over the entire data length The data interpretation of the PLC is not correct Observe the data alignment of the PLC data representation If necessary exchange the high order and low order bytes word by word ba76148e01 06 2013 17 Configuring the IQ SENSOR NET IQ SENSOR NET Field bus linking Data transmission between the bus master and IQ SENSOR NET is faulty The PLC does not contain any plausible input data No network connection 3 5 2 Modbus RTU error elimination Cause Remedy Incorrect wiring Check change the connections see section Use checklist according to sec tion 3 3 ncorrect setting of address baud rate parity Check change the settings see section 3 2 1 Incorrect protocol Adapt the protocol Controller of the IQ SENSOR NET defective Cause Return the controller to YSI Remedy The data interpretation is not correct Heed the data formats of the IQ SENSOR NET see also sec tion 4 1 3 3 5 3 Ethe
16. Internet if DHCP No e g address of the DNS server in the network Entry of IP address or e g 127 0 0 1 Standard gateway Address Entry for field bus not required For a connection with the Internet if DHCP No e g address of the instrument establishing the access to the Internet Entry of IP address or e g 127 0 0 1 3 4 1 GSD file for Profinet The GSD file contains all necessary information on the Profinet module and is required by the configuration program for the Profinet master The current GSD file is provided on the Internet under www WTW com 3 4 2 EDS file for Ethernet IP The EDS file contains information on the Ethernet IP module It is eval uated by some configuration programs The current EDS file is provided on the Internet under www WTW com 16 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Configuring the IQ SENSOR NET Data transmission between the bus master and IQ SENSOR NET is faulty The PLC does not contain any plausible input data 3 5 Error elimination Here you will find causes and actions to take of errors con il cerning the PROFIBUS and Modbus communication only General errors of the IQ SENSOR NET system are dealt with in chapter 10 WHAT TO DO IF 3 5 1 Cause PROFIBUS error elimination Remedy Incorrect wiring Check change the connections see section Use checklist according to sec tion 3 3
17. NSOR NET system The sensor was removed from the IQ SENSOR NET system or the commu nication does not work The measured value status of the main and secondary measured value is MISSING 4h see section 5 6 MEASURED VALUE STATUS The measured value display on the terminal indicates nit or Error 32 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Encoded data for field bus communication Code Status Meaning of the status 02h MEASURE The sensor is in measuring mode The measured value status can be VALID OFL or INVALID The measured value display on the terminal indicates the valid mea sured value OFL or invalid measured value For the measured value to be evaluated e g by a superordinate con trol system the sensor status and measured value status also have to be taken into account together with the measured value see also sec tion 5 6 MEASURED VALUE STATUS 03h CALIBRATE The sensor is being calibrated No measured value is available The measured value status of the main and secondary measured value is MISSING 4h see section 5 6 MEASURED VALUE STATUS The measured value display on the terminal indicates Cal 04h ERROR The sensor is in a serious error status 05h MAINTENANCE The sensor is in maintenance condition or a cleaning cycle cleaning including adjustment phase is active The measured value display on the terminal shows a flashing mea sured value or Clean The measured
18. OPERATIONS MANUAL ba76148e01 06 2013 IO SENSOR NET Field bus linking LINKING THE IO SENSOR NET TO A FIELD BUS a xylem brand Field bus linking il For the most recent version of the manual please visit www ysi com Contact YSI 1725 Brannum Lane Yellow Springs OH 45387 USA Tel 1 937 767 7241 800 765 4974 Email environmental Q ysi com Internet www ysi com Copyright 2013 Xylem Inc ba76148e01 06 2013 Field bus linking Contents IQ SENSOR NET Field bus linking Contents Linking the IQ SENSOR NET to field bus 3 1 1 Interfaces of the IQ SENSOR NET 3 1 2 Linking the IQ SENSOR NET 4 1 2 1 Linking the IQ SENSOR NET via the RS485 internaten Gada kie eed ems oS bey oce 4 1 2 2 Linking the IQ SENSOR NET via the Ethernet In telidOQ pie me p IPAE d EA ETT 4 Installing the interface in the IQ SENSOR NET 5 2 1 Installing the RS485 interface 5 2 2 Installing the Ethernet interface 9 2 2 1 Communication via Ethernet 9 2 2 2 Ethernet connection in case of indoor installation 9 2 2 3 Ethernet connection in case of outdoor installation osse ea zwar e n 9 Configuring the IQ SENSOR NET 12 3 1 Configuring the IQ SENSOR NET for Profibus 12 3 1 1 Setting the PROFIBUS address 12 3 2 GSD 116 s Moers cua oou soa d 12 3 2 Confi
19. at Address Bit representation MSB LSB Offset Oh bits S sign bit 31 31 24 E exponent bits 30 23 Offset 1h bits CLE OLS 23 16 Offset 2h bits 15 8 Offset 3h bits 7 0 MSB Most significant bit LSB Least significant bit If not all of the bits of the exponent are O the value is calculated accord ing to V 1 2 77 4 M 27 4 M2 My 27t My 2 If all of the bits of the exponent are O the value is calculated according to y 2 P 275 M 2 M2 My 2 M27 A value is O if all the bits of both the exponent as well as the mantissa are 0 Evaluation Meaning Measured value 0 Check the measured value status Measured value lt gt 1 The measured value is invalid error status 30 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Encoded data for field bus communication Apart from the byte order described in the bit representa tion another order of the bytes is also possible Opposite to the order described the two lower bytes have been exchanged with the two upper bytes in this order b4 b3 b2 b1 b2 b1 b4 b3 For field bus applications that can independently interpret floating point numbers or allow to select a data format for certain registers the byte order the data interpretation is based on should be checked Sensor model The data for the sensor model and status info is transmitted as INT16 Status info i e consists of 2 bytes The assignment is carried o
20. by the Modbus RTU protocol The Modbus master transmits a query telegram with a Modbus com mand to the Modbus slave here the IQ SENSOR NET The Modbus slave transmits a response telegram with the requested data or an error message 4 2 2 Query format Supported The IQ SENSOR NET provides the data block for read access only Writ Modbus commands ing Modbus commands are not carried out The following commands are available Modbus commands Command code Read Input Register 04h Read Holding Register 03h For a query of sensor data determine the first register and the number of registers to be read Determining the first The first register to be read depends on the sensor number Sxx register to be read R Sxx 1 8 1 Example Determine the first register with data block for the sensor S02 R 2 1 8 1 9 The number of registers to be read for one sensor data block is 8 reg isters With one Modbus query up to 125 registers 15 data blocks can be read 76148 01 06 2013 25 Communication with field buses IQ SENSOR NET Field bus linking 4 2 3 Data block of the sensors The data block contains the data of the sensors in the order of their reg istering on the IQ SENSOR NET Sxx number The data of a sensor are stored in 8 registers each Modbus Information Data format Register Bit Data Bit type 0001 1 8 Sensor number S01 Int 8
21. d it from the Internet Only for Profibus Have admissible bus parameters been set only If you are in doubt set them to default values 14 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Configuring the IQ SENSOR NET 5 it guaranteed that the Profibus or Modbus master has consistent access to the 16 byte sensor data structure After commissioning Do all devices signal error free behavior IQ SENSOR NET status Online in the measured value and status display For consistent access with Siemens PLC with program ming language STEP7 the following commands have to be used SFC15 for writing SFC14 for reading ba76148e01 06 2013 15 Configuring the IQ SENSOR NET IQ SENSOR NET Field bus linking 3 4 Configuring the IQ SENSOR NET for Ethernet field buses Setting Selection Values Explanation DHCP Yes The IQ SENSOR NET is configured as a DHCP client If a DHCP server is in the network the IQ SENSOR NET receives all other network settings from the DHCP server No The IQ SENSOR NET is not configured as a DHCP client All other settings have to be done as required IP address Address Permanent IP address for the IQ SENSOR NET in the LAN if DHCP No Subnet mask Address Subnet mask if DHCP No The subnet mask depends on the network size for small networks e g 255 255 255 0 DNS server Address Entry for field bus not required For a connection with the
22. e us 32 5 3 Sensor model 45e cence they vind he eee LS 34 5 4 Status info of sensors 36 5 5 Measuring mode 38 5 6 Measured value status 40 76148 01 06 2013 IQ SENSOR NET Field bus linking Linking the IQ SENSOR NET to a field bus 1 Linking the IQ SENSOR NET to a field bus 1 1 Interfaces of the IQ SENSOR NET The IQ SENSOR NET system provides interfaces for the following net works Field bus Interface type IQ SENSOR NET components with interfaces Modbus RS485 XX MOD Profibus XX PR Modbus TCP Ethernet MIQ MC2 XX Profinet Ethernet IP ba76148e01 06 2013 Linking the IQ SENSOR NET to a field bus IQ SENSOR NET Field bus linking 1 2 Linking the IQ SENSOR NET 1 2 1 Linking the IQ SENSOR NET via the RS485 interface Steps Profibus Modbus 1 Establish the physical connection section 2 1 2 Configure the interface of the section 3 1 section 3 2 IQ SENSOR NET 3 Program the queries and access section 4 1 section 4 2 thorization authorization GSD file section 3 1 2 4 Interpret the data of the section 5 ff IQ SENSOR NET Configuring the order of the sensors in the IQ SENSOR NET see sec tion 3 6 1 2 2 Linking the IQ SENSOR NET via the Ethernet interface Steps Ethernet IP Profinet Modbus TCP 1 Establish the physical
23. e to be evaluated e g by a superordinate con trol system such as PLC the sensor status and measured value status also have to be taken into account together with the measured value A measured value is suitable for further evaluation if both of the follow ing conditions are met ist Sensor status MEASURE 2nd Measured value status VALID 4 1 Communication with Profibus Profinet Ethernet IP 4 1 1 Data transmission The sensor number Sxx is the identification for a sensor The sensor number is always transmitted in the first byte of the output and input da ta Thus the control system PLC can clearly query data of individual sensors The data is transferred cyclically in two steps Output data of the PLC The superordinate control system PLC sends a prompt to the IQ SENSOR NET to provide data of the sensor with a certain sensor number Input data of the PLC The IQ SENSOR NET checks whether the prompted sensor number is available and returns the data of the sensor with the relevant sen sor number to the superordinate control system PLC 76148 01 06 2013 21 Communication with field buses IQ SENSOR NET Field bus linking Output data in PLC Assign a sensor number Sxx to a sensor Input data in PLC Data from IQ SensorNet Is the sensor number identical in the output data and input data Process the data of the sensor Query the data of another sensor with different sensor number
24. ectors to be used Manufacturer Type Phoenix Contact GmbH amp VS 09 PROFB SC Co KG Phoenix article no 1654549 with Flachsmarkt 8 screwed contacts 32825 Blomberg available from YSI under the order no Germany 902 888Y http www phoenixcon tact com 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 2 1 ba76148e01 06 2013 5 Installing the interface in the IQ SENSOR NET IQ SENSOR NET Field bus linking 1 Safety bracket Fig 2 1 Removing the safety bracket Caution If water gets into the enclosure of a module with internal power supply there is danger of an electric shock If water gets into the enclosure of an MIQ module there is a risk of short circuits To prevent the enclosures of the IQ SENSOR NET from being pene trated by water the following must be observed Follow the safety instructions of the IQ SENSOR NET system op erating manual Use connectors recommended by YSI only When the connector is removed the connection socket of the IQ SENSOR NET must be closed with the blind plug and secured with the safety bracket 6 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Installing the interface in the IQ SENSOR NET Mounting the Phoenix connector DIQ S 182 MOD or PR MIQ MC 2 MOD MIQ MC
25. er Installation You want to change the assignment of sensor numbers to the sensors in an already running IQ SENSOR NET system 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 system in the required order After connecting a sensor wait until the sensor is recognized by the system see system operating manual chapter Installa tion You want to install several identical IQ SENSOR NET systems and at the same time to create the same sequence of sensor number assign ments to the sensors in all systems 1 Copy the configuration to a further controller from the original one see IQS Connect ConfigSaveLoad 20 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Communication with field buses 4 Communication with field buses The IQ SENSOR NET monitors the current state of each sensor operated on the system The sensor status documents sensor information mea sured value status and status info of the sensor and current processes e g calibration or cleaning The sensor status is superordinate to the measured value status The influence of the sensor status on the measured value is docu mented with the status descriptions For the measured valu
26. guring the IQ SENSOR NET for Modbus RTU 13 3 2 1 Setting the Modbus interface parameters 13 3 3 PROFIBUS Modbus RTU checklist 14 3 4 Configuring the IQ SENSOR NET for Ethernet field buses 16 3 4 1 GSD for Profinet 16 3 4 2 EDS file for Ethernet IP 16 3 5 Erorelimination 17 3 5 1 PROFIBUS error elimination 17 3 5 2 Modbus RTU error elimination 18 3 5 3 Ethernet field bus error elimination 18 3 6 Assigning the sensor numbers 19 Communication with field buses 21 4 1 Communication with Profibus Profinet Ethernet IP 21 4 1 1 Data transmission 21 4 1 2 Query format output data of the PLC 22 4 1 3 Data block of the sensors input data of the PEG uote Saute Sue 23 41 4 Example 24 4 2 Communication with Modbus RTU Modbus TCP 25 76148 01 06 2013 Contents IQ SENSOR NET Field bus linking 4 2 1 Data transmission 25 4 2 2 Query format 25 4 2 3 Data block of the sensors 26 42 4 27 Encoded data for field bus communication 30 5 1 Data formats of the sensor datablock 30 5 2 Sensor status ses
27. m bus segment installed without branch lines Was the correct cable used e g PROFIBUS cable see section 2 1 Are the poles ofthe signal lines A line and B line correctly connected at all bus connections 5 it guaranteed that there is no short circuit between A line B line and cable shielding 5 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 5 the maximum cable length per bus segment observed for the corresponding baud rate Do all devices support the required baud rate Only for Profibus With 12 Mbit s transmission rate only Are the bus plugs suitable for this baud rate Are exactly two terminators switched on at the ends of the bus sys tem bus segment Are the terminators supplied with voltage so the following applies UB line UA line gt 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 SENSOR NET does not have to be restarted Do the addresses projected in the master correspond to the actual addresses Are all addresses less than or equal to the parameter HSA and less than 126 HSA Highest Station Address Only for Profibus Is the currently valid GSD being used If you are in doubt downloa
28. rnet field bus error elimination Cause Remedy Ethernet hardware defective e g Ethernet cable defective Ethernet connection to MIQ MC2 Switch or router to which the IQS is connected is defective Openthe MIQ MC2 and check the red Ethernet LED The red Ethernet LED is not illuminated hardware defective Use other hardware e g Ethernet cable Ethernet connector on the router router The red Ethernet LED is illuminated hardware OK Check for other errors see below Wrong setting in the IQ SENSOR NET system TCP IP settings menu Correct the settings e g DHCP yes but no network addresses displayed 18 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Configuring the IQ SENSOR NET The PLC does not contain any plausible input data Creating the assignment of sensor numbers Cause Remedy Wrong setting in the router switch Correct the settings Blocking by firewall Contact your network adminis trator or a network specialist Cause Remedy nput data and output data are not consistent When programming the PLC define input data and output data as consistent over the entire data length Heed the data formats of the IQ SENSOR NET see also sec tion 4 1 3 Observe the data alignment of the PLC data representation If necessary exchange the high order and low order bytes word b
29. ut in Motorola for INT16 mat the higher value byte first Address Bit representation Information MSB LSB Offset Oh bits 15 8 High byte Offsetihbis 7 0 7 7 Low byte Measured value status The data for the measured value status of the main and secondary Int8 measured values are encoded jointly into a single byte Bits 7 4 encode the status of the main measured value bits 3 0 encode the status of the secondary measured value Other data INT8 All other data always consist of only a single byte Int8 ba76148e01 06 2013 31 Encoded data for field bus communication IQ SENSOR NET Field bus linking Code Status 5 2 Sensor status The sensor status applies to both the main and secondary measured value of a sensor Meaning of the status 00h UNUSED ID Sensor and sensor number are not available in the IQ SENSOR NET system The measured value status of the main and secondary measured value is MISSING 4h see section 5 6 MEASURED VALUE STATUS The UNUSED _ID status also occurs when the field bus interface of the IQ SENSOR NET does not receive any data from the IQ SENSOR NET controller for more than 2 minutes Possible cause Communication malfunction or controller failure The data transmitted last remain frozen for the two minutes delay time 01h INACTIVE The sensor is currently inactive The sensor number ID and respec tive setting dataset are available in the IQ SE
30. uture is central to our work We move treat analyze and return water to the environment and we help people use water efficiently in their homes buildings factories and farms In more than 150 countries we have strong long standing relationships with customers who know us for our powerful combination of leading product brands and applications expertise backed by a legacy of innovation For more information on how Xylem can help you go to www xyleminc com EJEJESESEEJES ET YSI 545 1725 Brannum Lane ee mmm Yellow Springs OH 45387 Tel 1 937 767 7241 800 765 4974 YS i Fax 1 937 767 1058 Email environmental ysi com Web www ysi com a xylem brand Xylem Inc
31. vided on the Internet under www WTW com 12 ba76148e01 06 2013 IQ SENSOR NET Field bus linking Configuring the IQ SENSOR NET 3 2 Configuring the IQ SENSOR NET for Modbus RTU 3 2 1 Setting the Modbus interface parameters Opening the setting menu for Modbus RTU 1 Open the setting menu with S 2 For MIQ MC2 item Settings of bus interfaces Press lt V lt P gt and OK to select and confirm the menu 3 Select and confirm the bus interface with lt V P and lt OK gt Settings Setting Selection Values Explanation Device Address 1 247 Instrument address of the IQ SENSOR NET in the Modbus RTU Baud rate 1200 Baud rate 2400 4800 9600 19200 38400 57600 Parity None Parity Even Odd None 2 stop bits Even 1 stop bit Odd 1 stop bit 4 Edit the settings 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 setting table via M lt ESC gt Quit or the Quit menu item all changes are ignored ba76148e01 06 2013 13 Configuring the IQ SENSOR NET IQ SENSOR NET Field bus linking 3 3 PROFIBUS Modbus RTU checklist The following checklist supports you when planning projecting and installing a PROFIBUS or Modbus RTU system with the IQ SENSOR NET For smooth operation you should be able to answer all questions with Yes 5 the bus syste
32. xlQ 76148 01 06 2013 39 Encoded data for field bus communication IQ SENSOR NET Field bus linking 5 6 Measured value status The measured value status is available for both the main and second ary measured value of a sensor Code Status Meaning of the status 1h VALID The measured value is valid In the case of the sensor status MAINTENANCE the measured value is frozen on the value of the start of the MAINTENANCE sta tus The measured value display of the IQ SENSOR NET shows a flashing measured value or Clean 2h OFL The measured value lies outside the selected measuring range The transmitted measured value is set to O The measured value display of the IQ SENSOR NET indicates OFL 3h INVALID The measured value is invalid The transmitted measured value is set to 0 The measured value display of the IQ SENSOR NET indicates invalid measured value 4h MISSING The measured value cannot be determined or is not available The transmitted measured value is set to 0 The measured value display of the IQ SENSOR NET indicates Cal or Error 40 ba76148e01 06 2013 Xylem zilem 1 The tissue in plants that brings water upward from the roots 2 a leading global water technology company We re 12 500 people unified in a common purpose creating innovative solutions to meet our world s water needs Developing new technologies that will improve the way water is used conserved and re used in the f
33. y word The data interpretation of the PLC is not correct 3 6 Assigning the sensor numbers The basis for data transmission between the superordinate control sys tem PLC and the IQ SENSOR NET is formed by the unique assignment of a sensor to its sensor number Sxx in the IQ SENSOR NET system During the initial commissioning the sensor numbers are assigned by the system in the order in which the sensors are recognized by the sys tem Preparation of the IQ SENSOR NET for communication with a field bus 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 You want to install an IQ SENSOR NET system and at the same time to create a specific sequence of sensor number assignments to the sen sors 76148 01 06 2013 19 Configuring the IQ SENSOR NET IQ SENSOR NET Field bus linking Changing the assignment of sensor numbers Creating the identical assignment of sensor numbers in several systems 1 Carry outa system start without any sensors see system oper ating manual 2 Connect the sensors to the system in the required order After connecting each sensor wait until the sensor is recog nized by the system see system operating manual chapt

Download Pdf Manuals

image

Related Search

Related Contents

Imetec Dolcevita SM2  User Manual - Easy PC Optimizer  Streptex [FR] - Thermo Scientific  設計及び工事監査の手引き  TMCM-1140-TMCL Manual  Cool frénésie - Madame Figaro - Alice d`Orgeval  Manuale di installazione Serie KFP-A    Cellular Line BTDONGLEMICRO2  

Copyright © All rights reserved.
Failed to retrieve file