UPS PIco HV3.0A Firmware Code 040 Print Date 18.08.2017
Designed and Manufactured by PiModules and ModMyPi
www.pimodules.com www.modmypi.com
Basic Scheduler Involved PICo Registers/Sets
The following PICo Registers are involved in the
Basic
Scheduler
programming. There are:
•
BS_duration_time
•
BS_repetition_time
•
BS_multipier
In addition, user need to set properly the
Time Scheduler Selector
and make running the BS
by using
BS_ RUN
Register. The
Basic Scheduler
will start at once (start their timers) after the
BS_RUN will be set to ON (0x01).
All Registries related to the
Basic Scheduler
are located at the
0x6B -> UPS PIco Module
Commands
. There are:
0x6B -> UPS PIco 0x1A BS_duration_time (in minutes)
This register defines how long the ON of
Raspberry Pi® (
called Action) will be running after
starting up. This time must be shorter by at least 1 minute than the repetition time. In
Example, if the Raspberry Pi®
the repetition time is 11 minutes, the duration time must be
maximum 10 minutes (to give 1-minute time for system shutdown). The default value is 0x01.
Each value is in minutes. The maximum time is 0xfe (254 minutes). This register can be read
when Raspberry Pi® is running, user will see the decreased value as time is passed.
0x6B -> UPS PIco 0x1B BS_repetition_time (in minutes)
This register defines how long
after start of the Raspberry Pi® (Ac
tion) will be repeated (if so).
This time must be longer by at least 1 minute than the duration time of the ON
Raspberry Pi®
(Action). In Example, if the Raspberry PI will be running for 10 minutes (duration time = 10),
the repetition time must be minimum 11 minutes (to give 1-minute time for system
shutdown). The default value is 0x02. Each value is in minutes. This register can be read when
Raspberry Pi® is running, user will see the decreased value as time is passed.
0x6B -> UPS PIco 0x1C BS_multiplier
This register defines how many times the
Basic
Scheduler
Action (Raspberry Pi
®
ON/OFF) will
be running. It can make it run counted times (from 1 up to 254). If programmed 0xff (255)
then the Action will be executed unlimited times (repeated continuously). This register can be
read when Raspberry
Pi® is running, user will see the decreased value as counter is passed.
0x6B -> UPS PIco 0x1D BS_RUN
This register is used to make
Basic
Scheduler
running (if all parameters are properly set). By
setting the BS_RUN = 0x01 the BS will start running. It is not possible to change any related to
BS register value when BS_RUN is active. To do so, you need to deactivate the BS_RUN first.