Home
H-4161 User Manual
Contents
1. 24 Extended Read Write AUtOS risens 25 Extended Read Write AutoScan 26 Extended Read Write Measure 27 Extended NERA EEA EARRANN 28 Extended XHEL P REE AER 28 Contents Warranty amp Warranty WATERLOG PRODUCTS MANUFACTURED BY YELLOW SPRINGS INSTRUMENTS INC are warranted by Yellow Springs Instruments Co Inc YSI to be free from defects in materials and workmanship under normal use and service for twelve 12 months from date of shipment unless otherwise specified in the corresponding YSI pricelist or product manual WaterLOG products not manufactured but that are re sold by YSI are warranted only to the limits extended by the original manufacturer Batteries desiccant and other consumables have no warranty 5 5 obligation under this warranty is limited to repairing or replacing 5 5 option defective products which shall be the sole and exclusive remedy under this warranty The customer shall assume all costs of removing reinstalling and shipping defective products to YSI YSI will return such products by surface carrier prepaid within the continental United States of America To all other locations YSI will return such products best way CIP Port of Entry INCOTERM 2010 prepaid This warranty shall not apply to any products which have been subjected to modification misuse neglect impro
2. aXRAC a0011 lt cr gt lt lf gt Read current AutoScan command setting aXWACn a0011 lt cr gt lt lf gt Write current AutoScan command setting Where a is the sensor address 0 9 A Z a z 12 XRAC are upper case characters XWAC are upper case characters n is the new parameter Example of a H 4161 Extended Read AutoScan Command Command Response Time Values Description aXRAC a0011 lt cr gt lt lf gt 1 sec 1 Read AutoScan setting Command Response Description aDO 0 lt gt lt gt Command will be OM Example of a H 4161 Extended Write AutoScan Command Command Response Time Values Description aXWAC2 0011 lt gt lt 1 1 Write AutoScan setting Command Response Description aDO 2 lt gt lt Command will be 0M2 Extended Read Write AutoScan Address Command When the Module Mode 1 initiate the H 4161 actively initiates measurements and collects the response from the sensor attached to the auxSDI port These two commands allow the user to select which sensor address is sent by the 4161 when it initiates a measurement aM aM1 aM2 etc The 4161 comes from the factory with this setting set to 0 OM This setting stored in non volatile Flash memory Once a new value is written to the Flash memory a copy is sent to the sensor data buffer for verification This set
3. gt lt gt 1 1 Read monitored address Command Response Description aDO atZ lt cr gt lt lf gt Monitored address Z Example of a H 4161 Extended Write Monitored Address command Command Response Time Values Description aXWMAS5 0011 lt gt lt gt 1 sec 1 Write monitored address Command Response Description aDO at5 lt cr gt lt lf gt Monitored address 5 Extended Read Write AutoScan Command When the Module Mode 1 initiate the H 4161 actively initiates measurements and collects the response from the sensor attached to the auxSDI port These two commands allow the user to select which command is sent by the H 4161 when it initiates a measurement 1 OM2 etc The 4161 comes from the factory with this setting set to 0 OM Only the settings 0 to 9 are valid 0 0M default 1 1 2 0 2 3 0M3 4 0M4 5 0 5 6 0M6 7 7 8 0M8 9 0M9 25 SDI 12 COMMAND amp RESPONSE This setting stored in non volatile Flash memory Once a new value is written to the Flash memory a copy is sent to the sensor data buffer for verification This setting can be viewed by using a subsequent D command To verify this setting any other time use the XRAC command This command takes 1 second to complete and places 1 value in the data buffer Command Response Description
4. To verify this setting any other time use the command This command takes 1 second to complete and places 1 value in the data buffer Command Response Description aXRMM 0011 lt gt lt gt Read current module mode aXWMMnh 0011 lt gt lt gt Write the module mode Where a is the sensor address 0 9 A Z a z XRMM are upper case characters XWMM are upper case characters n 0 MONITOR 1 INITIATE Example of a H 4161 Extended Read Module Mode command Command Response Time Values Description aXRMM 0011 lt gt lt gt 1 1 Read module mode Command Response Description aDO at0 lt cr gt lt lf gt Module Mode is MONITOR Example of a H 4161 Extended Write High max command Command Response Time Values Description aXWMM 1 0011 lt gt lt gt 1 sec 1 Write module mode Command Response Description 0 1 lt gt 2 lt 1 Module Mode is INITIATE 23 SDI 12 COMMAND amp RESPONSE Extended Set Transparent Mode command When the Module Mode 1 Initiate the H 4161 actively initiates measurements and collects the response from the sensor attached to the auxSDI port During setup and testing it may be useful for the user to access the sensor attached to the auxSDI port without changing the wiring or connectors When activated the Transparent mode causes the 4161 to stop making m
5. a tight loop Check the 4 20mA output for the expected response 5 Change the Measure Rate as needed Check for the expected response with an oscilloscope or other means to detect when a measurement is initiated Transparent Mode When the Module Mode 1 Initiate the H 4161 actively initiates measurements and collects the response from the sensor attached to the auxSDI port During setup and testing it may be useful for the user to access the sensor attached to the auxSDI port without changing the wiring or connectors When activated see Chapter 3 the Transparent mode causes the 4161 to stop making measurements the auxSDI port and to make a virtual connection between the primary and auxSDI ports While the Transparent Mode is active all communication to from the 41615 address is passed thru to the auxSDI port The aDO and other internal commands of the 4161 are disabled and the 4161 is essentially replaced by the sensor attached to the auxSDI port The Transparent Mode is automatically deactivated when the H 4161 detects an access to any sensor address other than its own Note the sensor address character of each command is forced to 0 by the 4161 before being forwarded to the auxSDI port 3 SDI 12 COMMAND amp RESPONSE PROTOCOL SDI 12 COMMAND amp RESPONSE This is a brief description of the Serial Digital Interface SDI 12 Command and Response Protocol used by the WaterLOG Series M
6. and collects the resulting data channel by channel The measurement data collected in response to the aM command will be the data from the most recent measurement made by the H 4161 to the sensor on the auxSDI 12 port no actual measurement is made The H 4161 supports simultaneous SDI 12 commands responses on both the primary and auxSDI 12 ports The data logger can collect gate position data without disturbing any measurements currently in progress with the gate position sensors The par tk ay Ate Nee ANY Ties Ney shen amm Wie sehen er Haha saanen Figure 3 Example architecture with sixteen 4 20mA channels and a data logger INSTALLATION AND TENANCE 2 9966 Installation and Maintenance The enclosure and connectors weather tight The 4161 must be installed in a protected location weather tight enclosure The enclosure has a 5 terminal connector for making power and SDI 12 connections and a 2 terminal connector for connecting the 4 20mA output connections The connectors can be detached while making the connections Caution Remove all power from the unit before making any connections Before beginning the installation take a minute to plan out your station grounding and wiring scheme Making Power and SDI 12 Connections Connect the 12V and GND terminals to
7. attached sensor Programmable Max and data set points for automatic data scaling Manual set of the 4 20mA output using an extended SDI 12 command Two SDI 12 ports Description The H 4161 includes a microprocessor LCD display 16 bit digital to analog converter precision voltage reference and 4 20mA current transmitter The 501 12 4 20mA sections are isolated from each other with a high voltage digital opto coupler Data collected from the SDI 12 bus is scaled by the microprocessor into a 16 bit value and loaded into the digital to analog converter The digital to analog converter directly controls the current transmitter The H 4161 has two SDI 12 ports The primary SDI 12 port provides data monitoring and communication with the H 4161 device itself When programmed to initiate measurements the H 4161 makes measurements and collects the data from a sensor connected to the auxiliary SDI 12 port Display The 4161 has a 2 line 16 character Liquid Crystal Display LCD which shows the current measurement data Line 1 displays the most recently captured SDI 12 data parameter If the sensor buffer is invalid no data captured or the previous measurement failed the message no data is shown instead of a number Line 2 displays the current setting of the 4 20mA output Note the mA value is the desired loop current setting which the microprocessor loads into the digital to analog converter If the 4 20mA loop is
8. d d represents numeric digits before and or after the decimal A decimal may be used in any position in the value after the polarity sign If a decimal is not used it will be assumed to be after the last digit For example 3 29 23 5 25 45 300 If the aDO returns no data a lt cr gt lt lf gt only it means that no measurement data is available or the measurement was aborted and a new command must be sent If the module mode is MONITOR an a lt cr gt lt lf gt response indicates no measurement has been captured If the module mode is INITIATE an a lt cr gt lt lf gt response indicates the most recent measurement on the AuxSDI port has failed Example of 4161 command Previous Command Response aM 0001 lt gt lt gt Subsequent Command Response aDO atAA AAA lt cr gt lt lf gt Where AA AAA Most recent measurement feet inches meters etc Send Acknowledge Command The Send Acknowledge Command returns a simple status response which includes the address of the sensor Any measurement data in the sensor s buffer is not disturbed Command Response Malt a lt cr gt lt lf gt Where a is the sensor address 0 9 A Z a z 18 501 12 Command amp Response 2 Command amp Response Initiate Verify Command The Verify Command causes a verify sequence to be performed The result of this command is similar to
9. linear mx b equation to scale the data into values between 4 0 and 20 00 suitable for the 4 20mA output The slope m and offset b terms are automatically computed using user programmable Max and Min settings This makes it easy to scale the measurement data into the proper 4 20mA output These four commands allow the user to read or write the current Max or Min settings The settings are stored in non volatile flash memory Once the new max or min value is written to the flash memory a copy is sent to the sensor data buffer for verification This data can be viewed by using a subsequent D command To verify these settings any other time usee the XRIH or commands This command takes 1 second to complete and places 1 value in the data buffer Command Response Description aXRIH a0011 lt cr gt lt lf gt Read current max high data setting aXRIL 0011 lt gt lt 1 Read current min low data setting a0011 lt cr gt lt lf gt Write max high data setting aXWILddd a0011 lt cr gt lt lf gt Write min low data setting Where a is the sensor address 0 9 A Z a z 2 XRIH are upper case characters XRIL are upper case characters XWIH are upper case characters XWIL are upper case characters ddd is the new max or min value For example 20 0 195 Example of a H 4161 Extended Read High max command Command Response Time Values Des
10. lt cr gt lt lf gt characters e Thecommandstring must be transmitted in a contiguous block with no gaps of more than 1 66 milliseconds between characters Command Summary The H 4161 supports the following SDI 12 commands Standard Commands Make measurement aM1 Make special measurement aDO Send Data Verify Send identification a Send Acknowledge aAn Change Address 14 Extended Commands aXTEST Displays the current module settings aXHELP Displays the supported commands aXRMM Read Module Mode O Monitor 1 Initiate aXWMMnh Write Module Mode 0 Monitor 1 Initiate aXRMA Read Monitored Address 0 9 A Z a z aXWMAn Write Monitored Address 0 9 A Z a z aXRMP Read Monitored Parameter 1 to 9 aXWRMPn _ Write Monitored Parameter 1 9 aXRAA Read AutoScan address 0 to 9 aXWRAAn Write AutoScan address 0 to 9 aXRAC Read AutoScan command setting 0 to 9 aXWRACn Write AutoScan command setting 0 to 9 aXRAMR Read Measure Rate seconds aXWMRdd Write Measure Rate seconds aXSTM Set Transparent Mode aXRIH Read High max data value for 20 0mA aXWIHdd Write High max data value for 20 0mA aXRIL Read Low min data value for 4 0mA aXWILdd Write Low min data value for 4 0mA aXSCSdd Set Current Stage for testing 4 20mA aXSMdd Set Milliamp output for testing 4 20mA Factory Use Only aXXSDACdd Set the DAC to dd counts for testing 4 20mA aXSCL Set Calibration Low
11. open or insufficient loop voltage is present the actual loop current may be zero or may not match the value on the display SDI xxx xx ft lout xx xx mA INTRODUCTION The character on the right hand side of Line 1 is an activity spinner Every time a measurement is captured or initiated the spinner changes rotates This indicator shows measurements are being made even if the measurement data is static not changing Connectors The H 4161 has a 5 terminal connector for making 12V and SDI 12 connections The primary SDI 12 terminal is connected to the data logger and it s attached sensors If the 4161 is to initiate measurements the auxSDI 12 terminal is connected to the SDI 12 sensor to be monitored The 2 terminal connector is for making connections to the 4 20mA loop Monitor SDI 12 Communications Module Mode 0 During normal operation the data recorder sends commands to one or more SDI 12 sensors and subsequently collects data from the sensors As a data monitor the H 4161 passively monitors the communication between the data recorder and its SDI 12 sensors The H 4161 waits for and collects a specified data parameter from a specified sensor The data is scaled and used to update the 41615 4 20mA output In this mode the H 4161 monitors but does not transmit data to the SDI 12 bus The data recorder must initiate any sensor measurements The data recorder can also communicate with the H 4161 directl
12. the aM command except that the values generated are fixed test data and the result of diagnostic checksum tests The data generated in response to this command is placed in the sensor s buffer for subsequent collection using D commands The data will be retained the sensor until another M C or V command is executed Command Response Description avi atttn lt cr gt lt lf gt Initiate verify sequence Where a is the sensor address 0 9 2 a z V is an upper case ASCII Character ttt is a three digit integer 000 999 specifying the maximum time in seconds the sensor will take to complete the command and have measurement data available in its buffer n is a single digit integer 0 9 specifying the number of values that will be placed in the data buffer If n is zero 0 no data will be available using subsequent D commands Example of a aV command Command Response Time Values Description av 0014 lt gt lt gt 1 sec 4 Return fixed data and diagnostic data for testing purposes Subsequent Command Response aDO a 123 456 78 9 x y lt cr gt lt lf gt Key Description Units 123 456 Fixed test data 78 9 Fixed test data x Memory checksum 0 65535 y ROM checksum test 0 Failed 1 Passed Send Identification Command The Send Identification Command responds with sensor vendor model and version data Any measurement data in
13. the sensor s buffer is not disturbed Command Response allccccccccmmmmmmvvvxx xx lt cr gt lt lf gt Where a is the sensor address 0 9 A Z a z 19 SDI 12 COMMAND amp RESPONSE is an upper case ASCII character is the SDI 12 version compatibility level e g version 1 2 is represented as 12 is an 8 character vendor identification to be specified by the vendor and usually in the form of a company name or its abbreviation mmmmmm is a character field specifying the sensor model number is 3 character field specifying the sensor version number is an optional field of up to maximum of 13 characters to be used for serial number other specific sensor information not relevant to operation of the data recorder Example of a al command a12 DAAH 4161vwS nnnnnnVkkk lt cr gt lt lf gt H 4161 implementation of the optional 13 character field S nnnnnnVkkk 12 bytes total Where nnnnnn is a six character sensor serial number kkk is a three digit sensor firmware revision level Change Sensor Address Command The Change Sensor Address Command allows the sensor address to be changed The address is stored in non volatile Flash memory within the sensor The H 4161 will not respond if the command was invalid the address was out of range or the Flash programming operation failed Command Response Description
14. 1 should respond with 00001 lt CR gt lt LF gt 9 Issue a ODO command to collect the captured data value from the 4161 The H 4161 should respond with 0 nnn nn lt CR gt lt LF gt installation and Maintenance and Maintenance nnn nn is the data value captured from your sensor by the H 4161 this value should match the data value measured by your sensor in Step 7 The value must be between the Min and Max set point settings of the 4161 or the output will be clamped at either 4 0mA or 20mA respectively Use the following equation to calculate the current which should be output by the H 4161 Compare this value with the reading displayed by the current meter installed in Step 1 Note if the loop power is removed or applied after the data collection sequence of Step 7 was completed the output of the H 4161 will be a random current value until a new measurement sequence is performed Xdata 160 4mA MAX MIN Where Xdata nnn nn as measured by your sensor the Max setpoint of the 4161 MIN the Min setpoint of the 4161 Testing with Module Mode 1 initiate Use the following procedure to verify your H 4161 is working properly These tests will also help you understand how the H 4161 works 1 Make the connections to the 12V power and the 4 20mA output Connect the sensor to be monitored to the auxSDI 12 port Make certain the address of this sensor is 0 If you wish to experiment wit
15. DAC 0x04000 aXSCH Set Calibration High DAC 0x18000 aXRCL Read DAC Calibration Low aXWCLdd Write DAC Calibration Low aXRCH Read DAC Calibration High aXWCHdd Write DAC Calibration High 501 12 Command amp Response 2 Command amp Response Measure Command The H 4161 is not a normal SDI 12 sensor and does not make sensor measurements Instead the Measure command copies the most recently captured SDI 12 data parameter If the module mode is Monitor the aM can used to read the most recent data the H 4161 has captured If the module mode is Initiate the aM command reads the most recent measurement made on the auxSDI port Data values generated in response to this command are stored in the sensors buffer for subsequent collection using D commands The data will be retained in the sensor until another M or V command is executed Command Response Description atttn lt cr gt lt lIf gt Initiate Measurement 15 SDI 12 COMMAND amp RESPONSE Where a is the sensor address 0 9 2 a z 5 M is an upper case ASCII Character ttt is a three digit integer 000 999 specifying the maximum time in seconds the sensor will take to complete the command and have measurement data available in its buffer n is a single digit integer 0 9 specifying the number of values that will be placed in the data buffer If n is zero 0 no data will be available usi
16. OWNERS MANUAL V1 3 1111 SDI 12 TO 4 20MA INTERFACE Pitty ty ty saat inns YSI 070 0915 a xylem brand CONTENTS WARRANTY This user manual is a guide for the H 4161 Interface Module For more information updated manuals brochures technical notes and supporting software on the H4161 please refer to waterlog com or contact your sales representative For additional assistance please contact us at 1 435 753 2212 or sales waterlog com Chapter 1 Introduction irinin nae 2 PEE E se 3 EENE lanai 3 OMIM GC CLO Sian 4 Monitor SDI 12 COMMUNICATION 4 initiate Measurements 2 TA 5 Chapter 2 Installation and 6 Making Power and 501 12 7 Making the 4 20 Connections ccescessseseseesereseeeseeceeeseeeseeeeeeseneseeesanseneeeeeaeees 7 Programming the H 4 16 8 Programming the Sensor 8 Programming the Max and Min data 8 Programming the Module Mode 8 Programming the Monitored Address 8 Programming the Monitored 9 Programming the AutoScan Addre
17. The 4161 should respond with l Out 10 0 lt CR gt lt LF gt This sets the H 4161s output to 10 0mA Check to see if the current meter you installed in Step 1 shows 10 0 mA flowing in the loop Experiment with different current settings using the XSMnnn command make certain your loop works at the 4 0 and 20 0 mA endpoints Next check to see if the H 4161 can successfully capture sensor data from your SDI 12 sensor and scale it into 4 20mA 5 Program the Max and Min setpoint as needed for your application set the Monitored Address setting as needed In these examples the address of the sensor to be monitored is 2 Experiment with the aXSCSddd comand make certain your Max and Min settings are correct 6 Issue a ZM measurement command to cause your SDI 12 sensor to make a measurement Your sensor should respond with Ztttnn lt CR gt lt LF gt Where a is the SDI 12 sensor address ttt is the three digit integer specifying the maximum time in seconds the sensor will take to complete the command and have data available in its buffer n is a single digit integer specifying the number of values that will be placed in the data buffer 7 Issue an 200 command to collect data from your 501 12 sensor The 4161 monitors and captures the response Your SDI 12 sensor should respond with Z nnn n lt CR gt lt LF gt or similar 8 Issue a OM command to measure the data value collected by the H 4161 The H 416
18. a 12V power source If the H 4161 is to be used to Monitor connect the primary SDI 12 data terminal to the SDI 12 bus between your data logger and its sensors If the H 4161 is to be used to Initiate connect the auxSDI 12 terminal to the sensor to be monitored The sensor address of the sensor connected to the auxSDI 12 terminal should be 0 this can be changed by editing the AutoScan address The sensor address must be set before connecting the sensor to the H 4161 Making the 4 20mA connections The H 4161 has a 2 wire self powered current loop transmitter Current loop sensors output a current rather than a voltage The 4 20mA output will drive standard industrial telemetry and process control instrumentation Use shielded twisted pair cable and take precautions to protect the wiring from noise and interference Your loop power source loop receiver and the 41615 output should all be connected in series The loop power supply must be sufficient to maintain 5 5V to 35V across the H 4161s output terminals in addition to whatever voltage is needed to maintain 20mA across the loop receiver and interconnect wiring The gauge station 12 0V SDI 12 power source will work if the resistance of your loop receiver and wiring is less than 250 ohms 5 5V 250 2 20mA 10 5V e Make certain their is 5 5 to 35V across the 4 20mA output terminals e Make certain the H 4161 is receiving 12V power from the SDI 12 data bus e Use shielded twisted
19. aAn n lt cr gt lt lf gt Change sensor address Where a is the current old sensor address 0 9 A Z a z An ASCII may be used as a wild card address if the current address is unknown only one sensor is connected to the bus A is an upper case ASCII character n is the new sensor address to be programmed 0 9 A Z NOTE To verify the new address use the Identify Command 20 5 12 Command amp Response 2 Command amp Response Example of a Change Sensor Address command Command Response Description 2 2 lt cr gt lt lf gt Change sensor address to 2 Extended Set_Current_Stage Command for testing the 4 20mA output During installation and testing it is convenient to force set the H 4161 s output to a particular value The aXSCSddd command allows the user to force the current measurement data Stage to a particular setting The H 4161 processes the ddd value using the current Max and Min settings and updates the 4 20mA output Both the Stage and mA output values are printed on the LCD display The H 4161 comes from the factory with the Max set to 20 00 and the Min to 4 00 With these settings the value ddd is conveniently the same as what the output current in milliamps will be For example if an aXSCS10 0 is issued the output current will be 10 0mA The data value must be between the current Max and Min settings or the
20. amming the Module Mode setting The H 4161 can either monitor SDI 12 communication between a data logger and its sensors or initiate measurements to a dedicated sensor connected to the auxSDI 12 terminal The H 4161 comes from the factory with Module Mode 0 monitor The extended commands to examine or change the Module Mode are explained in Chapter 3 Programming the Monitored Address setting As a data monitor the H 4161 passively monitors communication between the data recorder and its SDI 12 sensors The H 4161 waits for and collects data from a specified sensor The data recorder must initiate any sensor measurements The 4161 comes from the factory with the Monitored Address Z If you wish g to monitor data from another sensor you must change the monitored address to the desired value Installation and Maintenance and Maintenance This setting is not used if Module Mode 1 initiate The extended commands to examine or change the Monitored Address are explained in Chapter 3 Programming the Monitored Parameter setting Each SDI 12 sensor can make up to nine separate measurements or parameters The data recorder collects the measurement data using aDO aD9 commands The Monitored Parameter setting controls which of the nine data parameters is to be m onitored by the H 4161 The H 4161 also monitors the data sent in response to the new concurrent SDI 12 V1 2 aRO data collection commands T
21. ange 0 35mA 24mA Size 3 75 1 2 65 x1 25 D Power Requirements Voltage Input 9 to 16 Volts DC Connections Surge Protection Built in 1 5 KVA 12V SDI 12 AuxSDI 5 position plug in Supply Current terminal strip Sleep mode 2 1 mA typ Phoenix Combicon Active 8 0mA typ provided SDI 12 Ports Baud Rate 1200 4 20mA 2 position plug in Protocol SDI 12 7 bit even parity terminal strip 1 stop bit Phoenix Combicon Output Voltage Levels provided Minimum high level 3 5 volts Maximum low level 0 8 volts The WATERLOG H 4161 is warranted against defects in materials and workmanship for one Response Time year from date of shipment SDI 12 measurement sequence 0 seconds 1 parameter Notes all other 1 second 1 parameter Specifications subject to change without prior LCD Display notice a ongoing commitment to product Type 2 line x 16 character reflective Teed Sen Ovens Operating Temperature 0 Cto 50 Storage Temperature 20 C to 60 C Operating Modes Monitor Monitor the SDI 12 port for aDO commands update the 4 20mA output Initiate Initiate measurements on the AuxSDI port update the 4 20ma output data is available via aM on the primary SDI 12 port Transparent SDI 12 and AuxSDI ports are connected together 29 Xylem 1 The tissue in plants that brings water upward from the roots 2 a leading global water technology company We re 12 000 peo
22. ange the Measure Rate setting If the Measure Rate is set to a value less than the time it takes to make the actual measurement measurements will be made back to back as fast as possible At the factory the Measure Rate is set to zero seconds The Measure setting is stored in non volatile Flash memory Once new value is written to the Flash memory copy is sent to the sensor data buffer for verification This setting can be viewed by using a subsequent command To verify this setting any other time use the XRMR command This command takes 1 second to complete and places 1 value the data buffer Command Response Description aXRMR 0011 lt gt lt Read current measurement rate seconds aXWMRnn a0011 lt cr gt lt lf gt Write measurement rate seconds Where a is the sensor address 0 9 A Z a z 7 XRMR are upper case characters XWMR are upper case characters nn is the new measurement rate seconds 27 SDI 12 COMMAND amp RESPONSE Example of a H 4161 Read Measure Rate Command Command Response Time Values Description aXRMR a0011 lt cr gt lt lf gt 1 sec 1 Read Measure Rate Command Response Description 00 0 lt gt lt gt Measure Rate 0 seconds Example of a H 4161 Extended Write Measure Rate Command Command Response Time Values Description aXWMR5 0011 lt gt lt gt 1 sec 1 Wr
23. as possible The H 4161 comes from the factory with Measure Rate 0 seconds This setting is not used if Module Mode 0 monitor Testing with Module Mode 0 monitor Use the following procedure to verify your H 4161 is working properly These tests will also help you understand how the H 4161 works 1 Make the connections to the SDI 12 input and the 4 20mA output Connect the sensor to be monitored to your data logger Your loop power source loop receiver and the H 4161 s output should all be connected in series In addition temporariliy connect a current meter in series with the 4 20mA loop e Make certain there is 5 5 to 35V across the 4 20mA output terminals e Make certain the H 4161 is receiving 12V power from the SDI 12 data bus INSTALLATION amp MAINTENANCE 10 Use the transparent SDI 12 mode of your data recorder to issue and m onitor the following SDI 12 commands 2 Check to see if you can communicate with the H 4161 Issue Identify Command The H 4161 should respond with 012 DAAH 4161001S 000000V10 lt CR gt lt LF gt 3 Check to see if the 41615 self test is ok Issue a OV Verify command The 4161 should respond with 00011 lt CR gt lt LF gt Issue a ODO command to collect the data The 4161 should respond with 0 1 lt CR gt lt LF gt 4 Check to see if the 41615 4 20mA output is working by using the Set Milliamp command Issue OXSM10 0 command
24. cription aXRIH a0011 lt cr gt lt lf gt 1 sec 1 Read Max Command Response Description aDO a 50 0 lt cr gt lt lf gt Maxis 50 Example of a H 4161 Extended Write High max command Command Response Time Values Description aXWIH1 234 a0011 lt cr gt lt lf gt 1 sec 1 Write Max Command Response Description a 1 234 lt cr gt lt lf gt Maxis 1 234 22 50112 Command amp Response 2 Command amp Response Extended Read Module Mode Max High and Read Module Mode Min Low The H 4161 operates in one of two modes MONITOR or INITIATE When the Module Mode 0 monitor the H 4161 passively monitors the communication between the data recorder and 5 SDI 12 sensors The H 4161 waits for and collects a specified data parameter from a specified sensor The data is scaled and used to set the 41615 4 20mA output When the Module Mode 1 initiate the H 4161 actively initiates measu rements and collects the response from the sensor attached to the auxSDI port The specified data parameter is scaled and used to set the 41615 4 20mA output These two commands allow the user to examine or change the Module Mode The H 4161 comes from the factory with Module Mode 0 monitor The Module Mode stored in non volatile Flash memory Once a new value is written to the Flash memory a copy is sent to the sensor data buffer for verification This setting can be viewed by using a subsequent command
25. easurements the auxSDI port and to make virtual connection between the primary and auxSDI ports While the Transparent Mode is active all communication to from the 41615 address is passed thru to the auxSDI port The aM aDO and other internal commands of the H 4161 are disabled and the 4161 is essentially replaced by the sensor attached to the auxSDI port The Transparent Mode is automatically deactivated when the H 4161 detects an access to any sensor address other than its own Note the sensor address character of each command is forced to 0 by the H 4161 before being forwarded the auxSDI port Example of H 4161 Extended Set Transparent Mode Command Command Response Description aXSTM mode ON lt cr gt lt lf gt Transparent mode is active Extended Read Write Monitored Address and Read Write Monitored Parameter As a data monitor the 4161 passively monitors the communication between the data recorder and 5 SDI 12 sensors The H 4161 waits for and collects a specified data parameter from a specified sensor The data is scaled and used to set the 41615 4 20mA output These four commands allow the user to examine or set the sensor address and the sensor data parameter to be monitored At the factory the monitored address is set to 7 and the monitored parameter is set to 1 For example with these settings if a data recorder collects data from sensor 7
26. h the measure rate or other settings connect a data logger to the primary SDI 12 data port Your loop power source loop receiver and the 41615 output should all be connected in series In addition temporarily connect a current meter in series with the 4 20mA loop e Make certain there is 5 5 to 35V across the 4 20mA output terminals e Make certain the H 4161 is receiving 12V power the SDI 12 data bus Use the Transparent SDI 12 mode of your data recorder to issue and monitor the following SDI 12 commands 1 Set Module Mode 1 See Chapter 3 2 Program the Max and Min setpoint as needed for your application set the Monitored Parameter setting as needed 3 Check to see if the 4161 4 20mA output is working by using the Set Milliamp command Issue OXSM10 0 command The 4161 should respond with l out 10 0 lt CR gt lt LF gt This sets the H 4161s output to 10 0mA Check to see if the current meter you installed in Step 1 shows 10 0 mA flowing in the loop Note your setting will soon be overwritten when the next initiated measurement is made 11 INSTALLATION amp MAINTENANCE 12 Experiment with different current settings using the XSMnnn command Make certain your loop works at the 4 0 and 20 0mA endpoints Experiment with the aXSCSddd command to make certain your Max Min settings are correct 4 The H 4161 should be making measurements to the sensor attached to the auxSDI 12 port in
27. he H 4161 comes from the factory with Monitored Parameter 1 This setting should work with most sensors The extended commands to examine or change the Monitored Paramter are explained in Chapter 3 Programming the AutoScan Address setting When the Module Mode 1 initiate the H 4161 actively initiates measurements and collects the response from the sensor attached to the auxSDI port The 4161 normally issues an OM command the auxSDI port If desired the 4161 can be programmed to issue other addresses such as 2M The extended commands to examine or change the AutoScan Address are explained in Chapter 3 Programming the AutoScan Command setting When the Module Mode 1 initiate the H 4161 actively initiates measurements and collects the response from the sensor attached the auxSDI port The H 4161 normally issues an aM command to the auxSDI port If desired the 4161 be programmed to issue other commands such as 1 aM 1 to aM9 The extended commands to examine or change AutoScan Command are explained in Chapter 3 Programming the Measure Rate setting When Module Mode 1 initiate the H 4161 initiates measurements to the sensor attached to the auxSDI port The measurement interval is controlled by the Measure Rate setting If the Measure Rate is set to a value less than the time it takes to make the actual measurement measurements will be made back to back as fast
28. ite Measure Rate Command Response Description 00 5 lt gt lt gt Measure Rate 5 0 seconds Extended XTEST This command is used for installation and testing and requires the use of a H 4191 Sidekick interface and a PC This command causes the 4161 to display a listing of the H 4161 s current settings This is not compliant with the SDI 12 specification and is not used with data loggers An example of an XTEST printout is shown below H 4611 Settings Module Mode MONITOR Monitored Address Z Monitored Parameter 1 AutoScan Address 0 AutoScan Command 0 Measure Rate sec 0 Max data 20mA 20 0 Min data 4mA 4 0 Extended XHELP This command is used for installation and testing and requires the use of a H 4191 Sidekick interface and a PC This command causes the H 4161 to display a listing of the supported SDI 12 commands This is not compliant with the SDI 12 specification and is not used with data loggers 28 501 12 Command amp Response 2 Command amp Response Appendix A Specifications 4 20mA Current Transmitter Environmental Type 2 wire loop powered Operating Temperature 20 C to 50 C Isolation 1000V r m s min Storage Temperature 20 C to 60 C Loop Voltage 5 5V min 35V max 4 to 20mA Humidity Non condensing Resolution 16 bits Non linearity 0 01 of FS max Mechanical Offset drift 25ppm of FS C max Material ABS plastic R
29. ng subsequent D commands Upon completion of the measurement a service request a lt cr gt lt lf gt may be sent to the data recorder indicating the sensor data is ready The data recorder may wake the sensor with a break and collect the data any time after the service request is received or the specified processing time has elapsed The aM command takes 0 seconds to complete and places 1 value in the sensor buffer no service request is sent Example of an H 4161 aM command Command Response Time Values Description 0001 lt gt lt gt 0 sec 1 Make measurement Subsequent Command Response 0 lt gt lt gt Where AA AAA Most recent measurement feet inches meters etc The aM1 command is similar to the aM command however it places additional information in the sensor buffer If a data parameter has not been captured the message no data is placed in the sensor buffer During debug and testing this feature is useful for determining if the 4161 is properly and reliably capturing the monitored parameter The recommended test procedure is to configure the data logger to make a H 4161 aM1 measurement at the completion of the sensor scan Configure the data logger to record both the captured measurement and the calculated desired mA parameters During the sensor scan the data logger first initiates a measurement and collects measu
30. odel H 4161 sensor Included is a description of the commands and data format supported by the H 4161 Refer to the document A SERIAL DIGITAL INTERFACE STANDARD FOR HYDROLOGIC AND ENVIRONMENTAL SENSORS verion 1 2 April 12 1996 coordinated by the SDI 12 Support Group 135 East Center Logan Utah During normal communication the data recorder sends an address together with a command to the H 4161 SDI 12 interface The H 4161 then replies with a response In the following descriptions SDI 12 commands and responses are enclosed in quotes The SDI 12 address and the command response terminators are defined as follows Is the sensor address The following ASCII Characters are valid addresses 0 9 A Z a z 2 Sensors will be initially programmed at the factory with the address of 0 for use in single sensor systems Addresses 1 9 and 7 or a to 2 can be used for additional sensors connected to the same SDI 12 bus Address gt and are wild card addresses which select any sensor regardless of its actual address We Is the last character of acommon block lt er gt lt lf gt Are carriage return 00 hex and line feed hex characters They are the last two characters of a response block Notes e All commands responses are upper case printable ASCII characters e Commands must be terminated with a character e Responses are terminated with
31. output will be clamped at 4 00mA or 20 0mA This command is useful for testing the max and min settings over the dynamic range of your SDI 12 sensor For example if Max 10 0 and Min 0 0 an aXSCS5 0 will set the output current to 12 0mA Note if the module mode is INITIATE the output setting will be overwritten when the H 4161 initiates a measurement on the auxSDI port Example of a H 4161 Extended Set Current Stage command Command Response Description 5 52 3 Stage_F 2 3 lt cr gt lt lf gt Set the Stage to 2 3 Extended Set_Milliamp Command for testing the 4 20mA output During installation and testing it is convenient to force set the H 4161 s output to a particular value The aXSMddd command allows the user to force the output to a particular milliamp setting The value is not processed with the module s Max and Min settings For example aXSCS5 0 will set the output current to 5 0mA regardless of the Max or Min settings Note if the module mode is INITIATE the output setting will be overwritten when the H 4161 initiates a measurement on the auxSDI port Example of a 4161 Extended Set Milliamp command Command Response Description aXSM5 6 l Out 5 6mA lt cr gt lt lf gt Set the output to 5 6 milliamps 21 SDI 12 COMMAND amp RESPONSE Extended Read Write Max High and Read Write Min Low The H 4161 processes the captured SDI 12 data witth a
32. pair cables for the 4 20mA connections in noisy environments Note The SDI 12 logic and the 4 20mA interface are isolated from each other by digital optical isolators The SDI 12 logic is powered from the 12V input terminal the 4 20mA circuitry is self powered from 4 m0mA loop When the 4161 is first powered up the output current is set to 4 0mA It remains at 4 0mA until the first successful data collection sequence If the loop power is disconnected or is applied after the SDI 12 side is powered up the data in the digital to analog converter will be undefined When the loop power is restored the 4 20mA output will be at an unknown value Once a fresh SDI 12 data collection is made the digital to analog converter will be loaded with new valid data Caution Some Programmable Logic Controllers and telemetry devices multiplex their 4 20mA inputs such that the current loop s are momentarily opened as the controller makes it measurement scan The H 4161 will NOT work with equipment of this type because the optically isolated transmitter in the H 4161 will loose its current setting whenever the loop is momentarily opened 7 INSTALLATION amp MAINTENANCE Programming the H 4161 The H 4161 comes from the factory with the following settings H 4161 device address 0 Max setpoint 20 00 Min setpoint 4 00 Monitored Address Z Monitored Parameter 1 AutoScan Address 0 AutoScan Command 0 OM Module Mode 0 monitor Meas
33. per service accidents of nature or shipping damage This warranty is in lieu of all other warranties expressed or implied The warranty for installation services performed by YSI such as programming to customer specifications electrical connections to products manufactured by YSI and product specific training is part of YSI s product warranty YSI EXPRESSLY DISCLAIMS AND EXCLUDES ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE YSI is not liable for any special indirect incidental and or consequential damages A complete TERMS AND CONDITIONS OF SALE can be viewed at http www ysi com terms and conditions php a UCTION 01 nno introduction The WaterLOG H 4161 is an SDI 12 to two wire 4 20mA interface module The H 4161 can be programmed to either monitor communications between a data logger and its attached sensors or to initiate measurements by itself The measurement data is scaled as needed and output to a precision two wire 4 20mA current transmitter The SDI 12 Serial Digital Interface is ideal for data logging applications with the following requirements e Battery powered operation with minimal current drain Low system cost The H 4161 has the following features Precision 16 bit 4 20mA current output 1000V output isolation from the SDI 12 bus Can monitor the SDI 12 bus for a specified sensor address and data parameter Can initiate measurements to an
34. ple 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 future 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 xylem Let s Solve Water YSI Incorporated Lt tt a ttt 1700 1725 Brannum Lane Yellow Springs Ohio 45387 USA Request a Quote Tel 1 435 753 2212 a xylem brand Email sales waterlog com Internet www waterlog com Place an Order Tel 1 937 767 7241 Email orders ysi com Customer Support Tel 1 937 767 2772 2015 Xylem 070 0915
35. rement data from the sensor being monitored The H 4161 independently captures and processes the monitored parameter At the completion of the sensor scan the data logger issues an 1 command to the 4161 and collects the response The captured parameter value should always match the data value the data logger previously collected from the sensor Examine the logged data to make certain the data is being captured and processed into the proper mA setting 16 501 12 Command amp Response 2 Command amp Response Example of 4161 1 command Command Response Time Values Description aM 0014 lt gt lt gt 1 4 Make measurement Subsequent Command Response aDO at AA AAA BB BBB CC CC DD DD lt cr gt lt lf gt Where AA AAA Most recent measurement feet inches meters etc BB BB Calculated desired mA setting for this measurement CC CC Current Min low data setting see aXRIL command DD DD Current Max high data setting see aXRIH command Concurrent Measurement Command This is a new command for the Version 1 2 SDI 12 Specification A concurrent measurement is one which occurs while the other SDI 12 sensors on the bus are also taking measurements This command is similar to the aM command however the nn field has an extra digit and the sensor does not issue a service request when it has completed the measurement Communicating with other
36. sensors will NOT abort a concurrent measurement Data values generated in response to this command are stored in the sensors buffer for subsequent collection using commands The data will be retained in the sensor until another M command is executed Command Response Description atttnn lt cr gt lt lf gt Initiate Measurement Where a is the sensor address 0 9 A Z a z is an upper case ASCII Character ttt is a three digit integer 000 999 specifying the maximum time in seconds the sensor will take to complete the command and have measurement data available in its buffer nn is a two digit integer 00 99 specifying the number of values that will be placed in the data buffer If is zero 0 no data will be available using subsequent D commands The data recorder may wake the sensor with a break and collect the data anytime after the specified processing time has elapsed 17 SDI 12 COMMAND amp RESPONSE Send Data Command The Send Data command returns sensor data generated as the result of previous aM aC or commands Values returned will be sent 33 characters or less The sensor s data buffer will not be altered by this command Command Response aDO apd d lt cr gt lt lf gt Where a is the sensor address 0 9 2 a z DO are upper case ASCII characters is a polarity sign or
37. ss 9 Programming the AutoScan Command Setting 9 Programming the Measure Rate 9 Testing with Module Mode 0 9 Testing with Module Mode 1 1 Transparent 12 Chapter 3 501 12 Command amp Response 13 Command SUMMA ice 14 CO aid KE 15 Concurrent Measurement 17 Datta 18 Send Acknowledge 18 Initiate Verify Command 19 19 Change Sensor Address 20 Extended Set_Current_Stage 21 Extended Set_Milliamp 21 Extended 22 Extended Read Write Module 23 Extended Set Transparent 24 Extended Read Write Monitored
38. ting can be viewed by using a subsequent command To verify this set ting any other time use the XRAA command This command takes 1 second to complete and places 1 value in the data buffer Command Response Description aXRAA a0011 lt cr gt lt lIf gt Read current AutoScan address setting aXWAAn a0011 lt cr gt lt lf gt Write current AutoScan address setting 26 5 12 Command Response 2 Command amp Response Where a is the sensor address 0 9 A Z XRAA are upper case characters XWAA are upper case characters n is the new parameter Example of a H 4161 Read AutoScan Address Command Command Response Time Values Description aXRAA a0011 lt cr gt lt lf gt 1 1 Read AutoScan address setting Command Response Description 00 0 lt gt lt Command will be OM Example of a H 4161 Extended Write AutoScan Address Command Command Response Time Values Description axWAA2 0011 lt gt lt gt 1 1 Write AutoScan address etting Command Response Description 2 lt gt lt Command will be 2M Extended Read Write Measure Rate Commands When Module Mode 1 initiate the 4161 initiates measurements to the sensor attached to the 5 port The measurement interval is controlled by the Measure Rate setting These two command allows the user to examine or ch
39. urement Rate 0 seconds These setups are stored in Flash memory within the H 4161 and will not be lost if the power is removed The extended commands for changing these settings are described in detail in Chapter 3 Programming the Sensor Address H 4161 comes from the factory with its sensor address set to 0 If more than one sensor is to be connected to the SDI 12 bus make certain each sensor has a unique sensor address including any H 4161 modules The H 4161 is not a traditional sensor and does not make measurements However to facilitate programming the H 4161 it must have a unique address Programming the Max and Min data setpoints Captured SDI 12 data is scaled into 4 20mA units using the programmable Max and Min data setpoints This feature makes it easy to setup the H 4161 for your application For example if you are monitoring stream stage which could be up to 10 feet program the Max setpoint to 10 00 Perhaps the stream never falls below 5 feet and you would like to narrow the dynamic range of the 4 20mA output for more resolution In this case program the Min setpoint to 5 00 A captured SDI 12 data value of 5 00 will produce 4 0 mA output and data value of 10 00 will produce 20 0mA If the stage rises above 10 0 feet the output will clamp at 20mA or if the stage falls below 5 feet the output will clamp at 4 0mA The extended commands to examine or change the Min and Max values are explained in Chapter 3 Progr
40. with a 200 command and the sensor transmits Z 123 4 24 3 lt cr gt lt lf gt the value 123 4 will be captured by the H 4161 Note the monitored address setting is not used if Module Mode 1 initiate Do not set the Monitored Address to the same address as the 41615 address The address and parameter settings are stored in non volatile Flash memory Once a new value is written to the Flash memory a copy is sent to the sensor data buffer for verification This setting can be viewed by using a subsequent D command To verify these settings any other time use the XRMA or XRMP commands This command takes 1 sec ond to complete and places 1 value in the data buffer 24 501 12 Command amp Response 2 Command amp Response Command Response Description aXRMA 0011 lt gt lt gt Read current monitored address aXRMP a0011 lt cr gt lt lf gt Read current monitored parameter aXWMAn a0011 lt cr gt lt lf gt Write current monitored address aXWMPn a0011 lt cr gt lt lf gt Write current monitored parameter Where a is the sensor address 0 9 A Z a z 2 XRMA are upper case characters are upper case characters XWMA are upper case characters XWMP are upper case characters n is the new address or paramete Example of a H 4161 Extended Read Monitored Address command Command Response Time Values Description aXRMA 0011 lt
41. y as a normal SDI 12 sensor Using extended SDI 12 commands the data recorder user can manually set the 4 20mA output observe the last data collected or configure the H 4161 Data Recorder SDI 12 Bus H 4161 Interface 501 12 Sensors Figure 2 The H 4161 monitors the SDI 12 bus 4 for a selected parameter introduction Initiate Measurements Module Mode 1 Applications often arise where it is desired to connect an SDI sensor directly to a 4 20mA input device such as a PLC without the use of a data logger When programmed to initiate measurements the H 4161 sends OM or 1 to OM9 commands to the sensor attached to the auxSDI 12 port and collects the measurement data The data is scaled and used to update the 41615 4 20mA output The Initiate Measurement mode also provides support for a hybrid architecture employing both a data logger and PLC Both the primary and auxSDI 12 ports can be used For example the following illustration shows a dam equipped with sixteen SDI 12 gate position sensors inclinometers Each gate is equipped with a H 4161 module wich initiates measurements and sends 4 20mA data to the PLC All 16 channels make simultaneous measurements The radial architecture provides near real time gate position data to the PLC The system also has a data logger which periodically collects the gate position and other data on a timed schedule The data logger sends aM measurement commands to each 4161
Download Pdf Manuals
Related Search
Related Contents
Datavideo TLM-350 User's Manual Lenovo ThinkCentre M71z Deutsch - Gericom Intel MB879 User's Manual Sale results - Interencheres EPLAN 5 Basic Training Jongo A2 quick start guide (multilingual for Europe) Easy Move XS HP Wash Copyright © All rights reserved.
Failed to retrieve file