background image

 

94 

Appendix C

 

Serial interfaces 

C.1

 

Protocols 

C.1.1

 

Sommer

 protocol 

A data string of the 

Sommer

 protocol has the following format (example): 

#M0000G00se01   17.25|02   65.13|03    2.41|04    7.08|05   145.2|06     
0.3|07     0.6|08    12.0|1978; 

Header 

The header (

#M0000G00se

) identifies the data by system key, device number and string number. 

Parameter 

Format

 

Description 

Start character 

 

Identifier 

 M 

M

 identifies an output string 

System key 

  dd 

 

Device number 

    dd 

 

Command ID 

      G 

G

 defines an output string with string number 

String number 

       dd 

01…49 

 Main values 

50…99 

 Aux values 

Command 

         se 

se

 identifies automatically sent values 

 

Table 16: Header of the 

Sommer

 protocol 

 

Measurement value 

A measurement value (

02   65.13|

has a length of 8 digits and is returned together with its index. 

If the measurement value is a decimal number one digit is reserved for the decimal character. Values 
are returned right-aligned, so blanks may occur between index and value. 

Parameter 

Format

 

Description 

Index 

dd 

2 numbers 

Value 

  xxxxxxxx 

8 character right-aligned 

Separator 

          | 

 

Table 17: Values in 

Sommer

 protocol 

End sequence 

The data string is terminated with a CRC-16 in hex format (

1978

) followed by an end character and 

<CR><LF>

. The CRC-16 is described in Appendix 

C.4

. 

Содержание MRL-7

Страница 1: ...MRL 7 Data Logger User Manual Setup version 2 14 2019 02 06 SOMMER GmbH All rights reserved...

Страница 2: ...aeuser 27 6842 Koblach Austria http www sommer at Email office sommer at Tel 43 5523 55 989 0 Fax 43 5523 55 989 19 Validity This manual applies to the MRL 7 data logger in its varieties listed in MRL...

Страница 3: ...owing standards EN 60950 1 EN 61326 1 EN 61010 following the provision of directive R TTE 1999 5 EC Image disclaimer All images displayed in this manual are for illustrative purposes only The actual p...

Страница 4: ...neer of SOMMER Mess technik Only replacement parts supplied by SOMMER Messtechnik should be used for repairs Make sure that NO power is connected to the equipment during installation and wiring Only u...

Страница 5: ...16 5 4 2 USB flash drive 16 5 4 3 Remote data storage 16 6 Operation 17 6 1 How to use the keyboard 17 6 1 1 Keyboard buttons 17 6 1 2 Display menu 17 6 1 3 Activating the display 18 6 1 4 Switching o...

Страница 6: ...43 8 4 Measurement interval 44 8 5 Data storage interval 44 8 6 Totalizer reset options 44 8 7 Measurement table 44 8 8 Messages Actions 45 8 9 Telecommunication modem 45 8 10 E Mail settings 46 8 11...

Страница 7: ...evice is not powering up 88 A 2 Data are not transmitted 88 A 3 Commander does not find connected digital sensors 88 A 4 Data logger clock displays year 2050 88 A 5 Camera does not record images 89 A...

Страница 8: ...of environmental data Its waterproof housing integrated modem and solar charger make the MRL 7 ideal for remote autonomous monitoring applications The MRL 7 is compatible with all sensors offered by S...

Страница 9: ...Article 20435 USB stick including Commander software and manual The following items are available as options RS 232 to USB converter cable Article 20181 Antenna 2G 3G 4G Article 21118 GPS Antenna Came...

Страница 10: ...figure the data logger 1 Select language and decimal character Section 8 3 2 Set the measurement and storage intervals Sections 8 4 and 8 5 3 Define the measurement variables Section 8 7 4 Configure t...

Страница 11: ...3x Switch output each approx 500 mA supply voltage 1x RS 232 1200 115200 Baud ASCII protocol 1x RS 485 1x USB 1x Bluetooth Memory 4 MB internal flash memory equivalent to approx 500 000 meas urement v...

Страница 12: ...d with 4G 3G 2G modem EU MRL 7B 2G 3G same as standard version but with additional internal lead acid 12V 4Ah battery see Figure 2 MRL 7GPS 2G 3G same as standard version but with integrated GPS recei...

Страница 13: ...12 Figure 3 MRL 7 housing dimensions in mm Figure 4 MRL 7B housing dimensions in mm...

Страница 14: ...13 5 Components Functions All data logger inputs outputs and additional features are illustrated in Figure 5 Figure 5 Data logger in and outputs...

Страница 15: ...ement options An 1 0 2 5V An 2 0 2 5V An 3 0 2 5V NTC Resistance 2k An 4 0 2 5V 0 0 3V Resistance 1k25 Resistance 1k25 PT1000 Wind direction Counter 2b Either resistance potentiometer or pulse counter...

Страница 16: ...and send a message if it crosses a defined limit 5 2 Sensor power supply Sensors can be powered by the voltage supply terminals listed in Table 4 Please consult the sensor manual for information on po...

Страница 17: ...y written to it once a month Once the internal flash memory is full the oldest data are overwritten No further data are written to a full MicroSD card 5 4 2 USB flash drive Data stored internally can...

Страница 18: ...s to data logger is denied Attention Pressing aborts any activity on the logger e g an active Bluetooth con nection modem test mode or data download to USB 6 1 2 Display menu The settings and data tha...

Страница 19: ...old key is shown and the display is switched off by holding the key 6 1 5 Displaying the latest measurement values After activating the data logger press any arrow key to show the value of the first m...

Страница 20: ...all data Copies all internally stored data to a USB flash drive Erase all data Erases all stored data Continuous M turn on Continuous Measurement Adjust Contrast weak Adjusts the display contrast Reb...

Страница 21: ...modem The SIM card IMSI number is displaced to freeze the display press the DATA BT button The signal strength of the mobile network is tested and displayed The defined mobile communication actions a...

Страница 22: ...erminal for handling the spring clips see Section 6 3 2 3 After closing the data logger carefully tighten the cable glands When closing the data logger pull out any excess cable without applying too m...

Страница 23: ...r supply max 100 mA 12V Out 12 V output for sensor supply max 200 mA X9 AGND Analog ground AN3 Analog input 3 5V Out 5 V output for sensor supply max 100 mA 12V Out 12 V output for sensor supply max 2...

Страница 24: ...igure 7 Connection pin layout 6 3 2 Using the spring clips To connect a sensor to the MRL 7 2 or 4 pin spring clips as shown in Figure 8 are used Figure 8 4 pin spring clip After removing the spring c...

Страница 25: ...ernal lithium button cell battery is replaced the current data logger time is lost and needs to be re synchronized 6 5 How to copy data to a USB flash drive 6 5 1 Copy data since last download 1 Inser...

Страница 26: ...wer up to 40 W at 12 V Follow the steps below to assemble a solar powered data logger unit 1 Prepare appropriately dimensioned wires for connecting the solar panel and battery For cable length up to 5...

Страница 27: ...rotection or SOMMER Messtechnik 6 8 Maintenance The MRL 7 does not require any special maintenance other than the occasional replacement of the supply battery of the MRL 7B The lithium button cell bat...

Страница 28: ...play of the MRL 7 by pressing one of the arrow buttons 2 Press until you get to the main menu i e Measurements 3 Navigate to Settings with and and press 4 Enter the access code by pressing 2x followed...

Страница 29: ...to the contact pins Close the cover and slide it back into the locked position 6 8 4 How to replace the internal fuse An internal fuse is mounted next to the X1 power supply terminal to protect the MR...

Страница 30: ...software The software of the MRL 7 consists of two parts the firmware that controls the data logger s hardware and the setup software that manages data acquisition signal analysis network communicati...

Страница 31: ...ate has finished and open the Param eters F2 tab 7 Click Download parameters from device The download of the new parameter list might take a few minutes After completion the new firmware and setup ver...

Страница 32: ...ty The issue of security may arise if the data logger is installed in sensitive areas the acquired measure ments are relevant for the safety of life and property or intense network traffic bears the r...

Страница 33: ...tware Alternatively a terminal editor can used to communicate with the data logger 7 1 1 USB to RS 232 converter Perform the following steps to set up the communication between the MRL 7 and your PC 1...

Страница 34: ...33 5 Select Serial Connection and press Next 6 Make sure the MRL 7 is powered either by internal or external batteries and press Next 7 Select Logger 115200 Bd and press Next...

Страница 35: ...and you are not sure which one to select open the Windows Device Manager press and type device manager and expand the menu Ports COM LPT By unplugging and re plugging your USB RS 232 converter you can...

Страница 36: ...ion is displayed in the Communication section of the Commander 13 Click Connect to open the connection with the data logger If the connection was successful a green icon is displayed at the top right...

Страница 37: ...Bluetooth or a Bluetooth dongle is connected 3 Start the Commander software 4 Make sure the MRL 7 is powered either by internal or external batteries 5 On the MRL 7 press the button DATA BT until the...

Страница 38: ...Select if you want to create a new station If yes assign an appropriate name If a station already exists it will be recognized and automatically selected 10 Click Finish Upon completion the newly crea...

Страница 39: ...an be configured manually please consult the Commander manual for detailed instructions 7 1 3 IP Call Perform the following steps to set up the communication between the MRL 7 and your PC 1 Start the...

Страница 40: ...39 3 Select IP Call and press Next...

Страница 41: ...ice s serial number Sommer ID the Name of the new station and your IMSI number Then press Next 6 The Commander is now searching for your devices This may take several seconds After the com munication...

Страница 42: ...der software ships with an integrated terminal program However communication with the MRL 7 can be performed with any terminal program Perform the following steps to connect to the MRL 7 using a termi...

Страница 43: ...device s serial number visible on the MRL 7 housing 3 Select the Connections used for the station Multiple selections are possible the default connec tion can be selected by ticking the circular fiel...

Страница 44: ...ick succession 1 Hint As an unwanted switching into the menu mode has to be avoided the timing of the three question marks is very restrictive and must never be finished with Return Enter This is espe...

Страница 45: ...g mean shall be stored See Measurements table for the available options 8 6 Totalizer reset options Precipitation and discharge measurements among others require a totalizer function For example in w...

Страница 46: ...e Table 13 for a full list of available codes The actions can be linked to the measurement table by ticking the corresponding Message fields Up to 16 actions can be specified and associated with multi...

Страница 47: ...ovider com Sender The e mail address of the sender e g sender name emailprovider com Username The username for the used e mail account Usually identical to Sender Password The password for the used e...

Страница 48: ...ttings NTP server and port I G and I H The address and the port of the time server NTP synchronization time I F The time at which the clock of the MRL 7 is synchronized every day This time should not...

Страница 49: ...ger until overwritten by newer data Data transmission offset I C C If multiple communication tasks are configured the offset is used to separate these tasks and thus avoid transmission conflicts The o...

Страница 50: ...automatic Data are returned after storage on the MRL 7 Table 8 Output moment options of RS 232 interface Operation modes The MRL 7 data logger can be configured to push measurement data to the RS 232...

Страница 51: ...nd Speed instantaneous 04 7 08 Wind Speed maximum 05 145 2 Wind Direction average 06 0 3 Precipitation 07 0 6 Precip Daily 08 12 0 Battery Voltage 1978 Closing sequence Table 9 Main values in the Somm...

Страница 52: ...A more detailed description is provided in Appendix C 2 Command types If a command contains the identifier W the receiving MRL 7 returns a confirmation on receipt This command type demands a closing s...

Страница 53: ...rement value The reading command R with the index of the requested measurement returns a single measurement value In the following example the battery voltage index 08 is requested R0000_080cv 3153 An...

Страница 54: ...h of the three analog inputs is measured sequentially 3x at the sampling rate defined in ADC conv Rate After the last measurement has been completed the sensor power supply is switched off The speed o...

Страница 55: ...5 Current measurement By adding a precision shunt resistor to one of the analog voltage inputs sensors with a current output can be measured The wiring of a infrared temperature sensor with an output...

Страница 56: ...tipping bucket rain gauge is illustrated in Figure 18 Figure 18 Wiring of a counter input tipping bucket rain gauge The rain gauge in this example is configured in Measurements table as follows Please...

Страница 57: ...modes to acquire data from various digital sensors Pushing mode This is the default operation mode The measurements are triggered internally by the sensor and the data are transferred automatically to...

Страница 58: ...of the MRL 7 5 Set Network scan extension J G K to on 6 In the Stations F7 tab click Scan devices The Commander will now search for all RS 485 devices connected to the data logger and will add them t...

Страница 59: ...command TD in the S ADD field this command requests the data from the IDS 20 device and needs to be set in the first variable acquired from the sensor Additionally Trig polling must be turned on Note...

Страница 60: ...t sensor a The sensor answers by returning the number of available measurements and the measurement duration After the required measurement time the MRL 7 sends a D command to request the meas urement...

Страница 61: ...ion of the data logger is recorded with the variables 02 and 03 The limit values listed in variables 02 03 and 98 99 specify the upper and lower limits respectively If the device with the data logger...

Страница 62: ...ight which correspond to the oldest and most recent data records Move the slider to the time from which data need to be collected and press OK Depending on the number of records to be downloaded this...

Страница 63: ...int Please note that indices may differ for different MRL 7 versions A Station ID By default the station ID is set to the MRL 7 serial number Adjust to your requirements if needed Value range Default...

Страница 64: ...the measurement table the required variables and any auxiliary variables are configured The meas urement table can have up to 99 entries Each entry is configured by the parameters described below Func...

Страница 65: ...m the correct value the correct value can be entered This adjusts the value in Offset The factor in Scale is not affected by this correction Test A measurement of the selected variable is triggered an...

Страница 66: ...server 2 not available for MRL 7O mo srv3 Modem data server 3 not available for MRL 7O Switch Status of switched current output Message Number of successful message transmissions since the last storag...

Страница 67: ...CCn Concurrent measurement command with CRC for measurement cycle n _Mn Measurement command for measurement cycle n MCn Measurement command with CRC for measurement cycle n _Rm Read command for data...

Страница 68: ...Multiple actions can be selected H Messages table The MRL 7 features a configurable messaging system Messages are transmitted to defined recipients whenever a measurement value exceeds or falls below...

Страница 69: ...result acquired before message transmission tval Limit value that was crossed rval Measurement result that triggered the message wnum Message number 01 16 cp Measurement result of a user defined chann...

Страница 70: ...Custom command 1 I Custom command 2 I B A SIM pin The PIN of the SIM card If set to 1 no PIN is required Value range Default Unit 1 9 999 1 The PIN cannot be changed with the MRL 7 Use a different dev...

Страница 71: ...he home network another operator is se lected automatically I B E APN address The APN of your carrier s mobile network The APN can be selected from a list displayed with Select APN in the Commander me...

Страница 72: ...mission offset The data transmission offset is used to prevent several MRL 7 from sending their data to the same server at the same time Thus set different transmission offsets when using several MRL...

Страница 73: ...r port Default is 80 I D Data transmission 2 See Data transmission 1 If Data transmission offset is the same as in Data transmission 1 the latter transmission executed first I E Data transmission 3 Se...

Страница 74: ...stens on its IP address with port 4646 for requests I K Standby start time The time of day from which the MRL 7 is available for remote communication CSD calls IP calls Value range Default Unit 00 00...

Страница 75: ...f requested by the server I P D Password Password of your e mail server account if requested by the server I P E Port The e mail server port Default is 25 J Technics A Language Sprache english englisc...

Страница 76: ...ts not to change the ID except if a MRL 7 device is replaced In such a case it can be practical to change the ID of the new device to the ID of the replaced device to guarantee data con sistency J C B...

Страница 77: ...de see Section 6 1 7 Attention As long as the display is active the entered access code keeps all system set tings of the logger unlocked J C F LCD Contrast The contrast of the LCD display Setting Des...

Страница 78: ...DD the variable is forced to be stored in the primary storage interval Value range Default Unit 00 00 00 23 59 59 00 01 00 J D C Sync date last The date at which the MRL 7 date is manually synchronize...

Страница 79: ...tch reset If activated the 12 V power supply of the X20 terminal is switched off and on again daily at Sum reset time Generally used to reset connected sensors Setting Description off default Reset is...

Страница 80: ...SDI 12 interface measured automatic Data output is performed automatically in the primary measurement inter val storage automatic Data output is performed in the main storage interval J E E OP wake u...

Страница 81: ...ge Default Unit 0 2 000 10 ms J F C Flow control Flow control of the RS 232 interface Setting Description Off No flow control XOFF XON XOFF XON flow control especially adapted for half duplex systems...

Страница 82: ...e to a command is delayed by the selected time Value range Default Unit 0 2 000 0 ms J G D Transmitter warm up time The time between the RS 485 interface is switched on and the first data package of a...

Страница 83: ...urement data The connected sensor must send a Prefix command to wake up the MRL 7 for data transmission J G K Network scan extension Optional detection of connected SOMMER sensors with the Commander s...

Страница 84: ...the SDI 12 address of a connected sensor J H D Ask for a sensor address Reads the SDI 12 address and its identification of a single SDI 12 sensor connected to the MRL 7 The address generally is a numb...

Страница 85: ...t pin 0 5mA 0 5mA are supplied at the CurrH pin 2 5V 0 5mA 2 5V are supplied at the 2 5V Ref Out pin and 0 5mA at the CurrH pin J I D Switch usage Activates switched 12 V supply SW for analog measurem...

Страница 86: ...es the resistance of an NTC thermistor R meas 2k Measures a resistance 2 k J I I AN4 D type Measurement type of analog input channel AN4 Setting Description voltage 2 5 default Analog voltage input 0V...

Страница 87: ...rminal editor the acquired image is dis played in its binary code K Special functions A Device status B View setup C Continuous measurement mode tempo D Inspection nominal values E Inspection start pr...

Страница 88: ...y available in terminal mode Resets all parameters to their factory defaults K G Temp load factory default Only available in terminal mode Temporarily sets all device parameters to their default value...

Страница 89: ...Antenna connector damaged Replace antenna connector Modem inactive Activate modem in Modem functionality Typo in server configuration Check APN settings in Modem config run mo dem test mode on data lo...

Страница 90: ...mpatibility information A 6 MRL 7 receives no data from RS 485 SBP sensors Reason Solution Trig polling is off Turn on Trig polling Connected sensor is not set to interval mode Set connected sensor to...

Страница 91: ...ors The error codes listed in Table 15 may be returned by the MRL 7 Any error messages are returned with the Special function Device status or can be recorded with system variables in Measurements tab...

Страница 92: ...rror of group 4 in Table 15 in the present example the value 16 has to be converted into its hex value which is 0x0010 The resulting error is SYSTEM_MAIN_ADDONBIT_ERROR The value of Error B represents...

Страница 93: ...0000 ERROR_TESTMODE_TIMEOUT 2 0x0001 0000 0000 0000 0001 SPI_ERROR 0x0002 0000 0000 0000 0010 FLSEQWC_ERROR 0x0004 0000 0000 0000 0100 EPCLK_TALK_ERROR 0x0010 0000 0000 0001 0000 RS1_RX_BUFFER_OVERRUN...

Страница 94: ...MEOUT_ERROR 0x1000 0001 0000 0000 0000 SYSTEM_CLK_WAS_OFF_ERROR 0x8000 1000 0000 0000 0000 SYSTEM_BAD_PROG_ERROR 4 0x0001 0000 0000 0000 0001 SYSTEM_MAIN_AV_ERROR 0x0002 0000 0000 0000 0010 SYSTEM_MAI...

Страница 95: ...er dd 01 49 Main values 50 99 Aux values Command se se identifies automatically sent values Table 16 Header of the Sommer protocol Measurement value A measurement value 02 65 13 has a length of 8 digi...

Страница 96: ...ues System key dd Device number dd Table 19 Header of the Standard protocol Measurement values Measurement values are returned in sequence and are separated by a blank A measurement value has a length...

Страница 97: ...ommands and answers Commands The following commands can be used with the USH 9 Command Description mt Trigger a measurement pt Return measurement values _dd0cv Return a single measurement value with i...

Страница 98: ...eout 0x0400 PLEASE NOTE Maybe difficult interpretation of archive data 0x0800 Action currently not available Please try again later 0x1000 DIRECTIVE Please don t forget to change the serial counterpar...

Страница 99: ...98 Appendix D Escape characters The following escape characters may be used for parameter values where indicated Escape character ASCII representation 1 2 3 4 r CR n LF t TAB...

Страница 100: ...d as counter input with a pull up resistor connects to a sensor with an open collector out put Pin Wind Dir on terminal X12 is deactivated Pin Counter 2b on terminal X19 is configured as counter input...

Отзывы: