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
sudo i2cset -y 1 0x6c 0x00 0x01
for making the Schedule (ETR SAS) Active
7.
Enter
Year
for start, year must be the same with actual or higher, and
not
the past.
Two digits only in BCD format i.e. 2017 should be 0x17. Possible to program up to
2099.
sudo i2cset -y 1 0x6c 0x05 0x17
for starting year (in BCD)
8.
Enter
Month
for start, month must be the same with actual or higher, and
not
the
past. Two digits in BCD format i.e. August should be 0x08. Allowed from 0x01 up to
0x12.
sudo i2cset -y 1 0x6c 0x04 0x08
for starting month (in BCD)
9.
Enter
Month Date
for start, month day must be the same with actual or higher, and
not
the past. Two digits in BCD format i.e. 10th should be 0x10 Allowed from 0x01 up
to 0x31. Current version of firmware recognizes the leap year (so February as 28/29),
as also end of months as 30/31 so user not need to take extra care to avoid such
mistakes. Just when entering the improper Month Date, wrong data will be not
accepted.
sudo i2cset -y 1 0x6c 0x03 0x20
for starting month date (in BCD)
10.
Enter
Hour
for start, hour must be the same with actual or higher, and
not
the past.
Two digits in BCD format i.e. 20:00 should be 0x20. Allowed from 0x00 up to 0x23,
and always in 24h format.
sudo i2cset -y 1 0x6c 0x02 0x10
for starting hour (in BCD)
11.
Enter
Minute
for start, minute must be the same with actual or higher, and
not
the
past. Two digits in BCD format i.e. 45th should be 0x45. Allowed from 0x00 up to 0x59.
sudo i2cset -y 1 0x6c 0x01 0x00
for starting minute (in BCD)
12.
A simple python script can be used. This script can be executed at any time during
programming of any registered of ETR SAS.
sudo python status_etrsas.py
Below steps enters Duration of Running and Repetition time.
0x6d -> ETR SAS Actions Running Time Stamp
The second
ETR SAS
registers set is the
Running Time Stamp
, located at
0x6d
. It contains set
of 4 registers, that specify detailed time
Action
Duration
should run, as also the
ETR SAS
Action
Repetition Time, Action Multiplayer
and
Sequence Repetition Time
Register. Setting-
up them user should know that each entry is protected from wrong data. If user write a wrong