© Microhard Systems Inc.
69
6.0 Configuration
S143
Sleep Mode
This register applies only to Remote (i.e. not Master) modems, and determines if the
Remote should remain active continuously (S143=0, default), or enter a timer-based
sleep mode.
(Sleep mode is not supported on n2420 at this time)
Sleep Mode 1
When status register S143 is set to a value of 1, the unit will use the registers S144
and S145 to determine how long a unit will remain awake when idle, or if the unit has
gone to sleep, how long it will sleep for.
In this mode, data will be monitored on the
serial port
and the
RF link
. If no data is
being transmitted or received after an amount of time specified by S145 (Wake
Time), the unit will begin to sleep for the amount of time determined by register S144
(Sleep Time).
If data is detected on the local serial port, the unit will immediately wake up.
For OEM models, the
!WAKEUP_usr
input (pin #8) can be used wake the unit at any
time. Sleeps for S144 seconds or until the falling edge of the !WAKEUP line. The unit
will stay awake for at least S145 seconds. After that the unit will go to sleep if the !
WAKEUP line is high and all data is sent.
Sleep Mode 2
This mode is similar to Sleep mode 1, except , data will be monitored
only on the
serial port
. If no data is being transmitted or received after an amount of time
specified by S145 (Wake Time), the unit will begin to sleep for the amount of time
determined by register S144 (Sleep Time).
Sniff Mode 1
When status register S143 is set to a value of 3, the unit will monitor all data from the
serial
and
RF link
. Upon wake up, the unit will begin to try to find a master or
repeater to synchronize to. The amount of time the unit tries to find a master is
determined by the number of hops, rather than time. (Time can be calculated by
multiplying the number of hops in S237 and the hop interval specified in register
S109).
If a master is found, the unit will stay awake for at least the time specified by register
S145 (Wake Time). If there is data to transmit, the unit will stay awake until all data
has been transmitted. If a master or repeater is not found, the unit will go to sleep for
S144 (Sleep Time) seconds. The sniffing cycle is very brief.
If data is detected on the local serial port, the unit will immediately wake up.
The most effective way to put
an entire network into sleep/
sniff mode is by turning off, or
putting into command mode,
the Master modem.