Massa M3 Manuale Utente Pagina 15

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 29
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 14
MASSA PRODUCTS CORPORATION June 11, 2013
Product Manual 14 M3 Wireless Ultrasonic Level Sensor
9.0 Configuration Registers
The M3 Configuration Registers control the operation of the sensor. This section describes in detail the function of each register.
Use the write and read commands to configure and validate each register location. If any register is outside the limits, then it will
be replaced with the factory default and the Error Indicator byte 65 bit 0 will be set. So confirm the Error byte after changing any
register.
9.1 Configuration Register Table
Register Name
Register
Address
Register Limits Note
Data Collection Interval 1-3 0 - 16777215 default = 3600 (once an hour), resolution 1 second units
Deep-Sleep Timer 4-5 0 & 6 - 43200 default = 0 (timer disabled), 2.048 second units
Awake Timer 6-7 6-293 default = 12 (24 seconds), 2.048 second units
Outgoing Message Mode
(active when Deep-Sleep Timer non-zero)
8 0 – 6
Default = 0 (off), 1=AutoSend1, 2=AutoSend2, 3=AutoSend3,
4=Acknowledge, 5=AutoSend5, 6= AutoSend6
Zigbee / Unassociated state 9 0 & 4 - 254 default = 0, consecutive Awake periods to reboot if unassoc
User Description Field 32-63 32-126 default = 32 ASCII spaces
Error Indicator 65 see section 9.2.7 Note: bit 0 must be cleared to write to any register
Threshold Voltage #1 78 1 - 22 default = 8 (M3-150), 8 (M3-95) , 14 (M3-50)
Threshold Voltage #2 79 0 - 22 default = 6 (M3-150), 5 (M3-95) , 9 (M3-50)
Threshold Voltage #3 80 0 - 22 default = 4 (M3-150), 2 (M3-95) , 6 (M3-50)
Threshold Voltage #4 81 0 - 22 default = 2 (M3-150), 1 (M3-95) , 2 (M3-50)
Thresh. Switch Time #2 82-83 model dependent default = 2400 (M3-150), 8000 (M3-95) , 12000 (M3-50)
Thresh. Switch Time #3 84-85 model dependent default = 3200 (M3-150) , 12000 (M3-95) , 16000 (M3-50)
Thresh. Switch Time #4 86-87 model dependent default = 4000 (M3-150) , 16000 (M3-95) , 20000 (M3-50)
Outgoing Message Mode # Data
Records
101 1-8 default = 8. Available for FW versions 26 or greater.
Ultrasonic Waveform Cycles 109 1 - 20 default = 10
Ultrasonic Waveform Gain 110 0 or 1 Default = 1 (hi gain)
Ultrasonic Waveform Temperature 111 Temperature stored here at the time of ultrasonic waveform
Serial Number 115-118 Read Only
9.2 Sensor Configuration Register Description
9.2.1 Data Collection Interval Register (addr = 1-3)
The Data Collection Interval register controls the wake up period to acquire all pertinent sensor data and save it to the Sensor’s
Data History Buffer. The resolution for this 3-byte register is 1 bit per second with the LSB at location 1 and the MSB at location
3. A zero in this register will represent the Manual acquisition mode and will require Command #2 or Command #3 by the Host
device to perform a new acquisition of data. Minimum acquisition time is once every 10 seconds and a maximum of once every
194 days.
9.2.2 Deep-Sleep Timer Register (addr = 4-5)
The Deep-Sleep Timer register contains the time value which places the XBee radio in a low power sleep mode to increase battery
life of the sensor. The resolution for this 2-byte register is 2.048 seconds with the LSB at location 4 and the MSB at location 5.
After this timer expires, the XBee radio will turn on for the period indicated in the “Awake Timer” register (see below). The
Deep-Sleep Timer will wake up the sensor at its programmed rate and is independent of the Awake Timer. If the Awake Timer is
programmed to be longer than the Deep-Sleep Timer, a fault will be indicated in the Status1 byte message and bit 0 will be set in
the Error Indicator Register (section 9.2.7). On error, both of these timer registers will be replaced with the default values (see
Section 9.1). A zero in this register will disable the Deep-Sleep operation and the radio will wake up every 2 seconds (Awake
Timer register is ignored). However, if the sensor is not associated with a gateway, it will default to 1 minute sleep periods when
this register is zero. The sensor will not respond to any commands when it is sleeping.
Vedere la pagina 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 28 29

Commenti su questo manuale

Nessun commento