# ReXgen Sleep/Wake up function Implementation

<figure><img src="/files/p4mrXSKe1mJByKwX8qGT" alt=""><figcaption></figcaption></figure>

The logger goes to sleep mode when both the CAN bus become inactive.

Following are the triggers that can wake the logger when it is in Deep/Normal Sleep Mode:

| **Wake UP Options** | **Deep Sleep(1mA)** | **Normal Sleep (25mA)** |
| ------------------- | ------------------- | ----------------------- |
| USB                 |                     | Yes                     |
| CAN0                | Yes                 | Yes                     |
| CAN1                | Yes                 | Yes                     |
| ALARM               |                     | Yes                     |
| ACCELEROMETER\*     | Yes                 |                         |
| CLAMP/ERASE PIN\*   | Yes                 |                         |

*\*Will be enabled in the next quarter.*

## Power Consumption.

* Deep Sleep: 1mA.
* Normal Sleep: 25 mA

<div align="left"><figure><img src="/files/u1icSSVRYADHFjNPPNaY" alt=""><figcaption></figcaption></figure></div>

The sleep delay is specified in the “Sleep after no CAN activity for (minutes).”

&#x20;Three types of sleep modes are available:

* No sleep
* Deep Sleep
* Normal Sleep

### No Sleep

ReXgen will not use the Sleep/Wakeup function when ‘No Sleep’ is selected.

<div align="left"><figure><img src="/files/5QGdSoDeWjHdZtRhTe98" alt="" width="322"><figcaption></figcaption></figure></div>

### Deep Sleep

Deep sleep mode with a power consumption of 1 mA

<div align="left"><figure><img src="/files/cuEJVTXQYFBtW2lwcPzb" alt="" width="361"><figcaption></figcaption></figure></div>

* Enable ‘Wake Up On Movement’ to wake up the logger on movement.

{% hint style="info" %}

#### Notes:

* 'Wake Up On Movement' is available only in ReXgen Air Devices and above.
* The logger will wake on CAN 0 and CAN 1 when Deep Sleep Mode is used.&#x20;
* The logger will not wake up from this mode on connecting to USB
  {% endhint %}

### Normal Sleep

Normal sleep mode with a power consumption of 25 mA.

<div align="left"><figure><img src="/files/NDecW9WIl1tQKDPgsvYB" alt="" width="355"><figcaption></figcaption></figure></div>

#### a) Wake On CAN Options:

<div align="left"><figure><img src="/files/fPzIP8SQcuYd7sv847Xn" alt="" width="311"><figcaption></figcaption></figure></div>

1. **Wake Up On CAN 0:** The logger will wake up from sleep mode when CAN activity is on the CAN 0 Bus.
2. **Wake Up On CAN 1:** The logger will wake up from sleep mode when CAN activity is on the CAN 1 Bus.

{% hint style="info" %}

#### Notes:

* Users can enable both options so the logger will wake on CAN 0 and CAN 1.
  {% endhint %}

#### b) Wake On Alarm Option:

* **Wake Up Once:** The logger will wake up from sleep mode once on the specified date at the specified time.

<div align="left"><figure><img src="/files/ePFL6SbN3DaqkYQShh9K" alt="" width="308"><figcaption></figcaption></figure></div>

* **Wake Up Everyday:** The logger will wake up from sleep mode at a specified time every day.

<div align="left"><figure><img src="/files/0KuuYy1fhRZoupvJQNEi" alt="" width="308"><figcaption></figcaption></figure></div>

* **Wake Up Minutes after Sleep:** The logger will wake up from sleep mode after the specified time in minutes.

<div align="left"><figure><img src="/files/KKbovXrhMIbFEGOHzbIK" alt="" width="312"><figcaption></figcaption></figure></div>

{% hint style="info" %}

#### Notes:

* User can combine all the options so the logger will wake on CAN 0/CAN 1/Alarm.
  {% endhint %}

#### c) Wake Up On Movement\* Option:

The logger will wake up from sleep mode once any movement is detected.

<div align="left"><figure><img src="/files/PTWXFomk61GBrwKhFd0H" alt="" width="332"><figcaption></figcaption></figure></div>

{% hint style="info" %}
Note:

* Available only in ReXgen Air Devices.
  {% endhint %}

How to [<mark style="color:blue;">configure Sleep mode</mark>](https://youtu.be/wrpywzmCuCY?si=tkjVArb43NxnQLO5) in a ReXgen data logger.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.influxtechnology.com/support_guides/rexdesk-configuration-software-s/rexdesk-rexgen-series-configuration-software/rexdesk-manual/software-introduction/configuration-panel/device-configuration/rexgen-sleep-wake-up-function-implementation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
