RPICT3V1 Disable channels sketch 2

From lechacal
Revision as of 13:51, 14 February 2019 by Administrator (talk | contribs) (Created page with " RPICT3V1 by default outputs all channels. WHich are RealPower ApparentPower Irms Vrms PowerFactor for all 3 Current Voltage pairs computed (ct1 ct2 ct3). To prevent some...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


RPICT3V1 by default outputs all channels. WHich are

RealPower ApparentPower Irms Vrms PowerFactor

for all 3 Current Voltage pairs computed (ct1 ct2 ct3).

To prevent some of the channels to appear we can disable then by setting the debug variable with a particular number.

debug is coded on 8 bits where each bit correspond to the following (LSB first). bit 1 - debug 0 = OFF 1 = ON bit 2 - Apparent Power 1 = OFF 0 = ON bit 3 - Irms 1 = OFF 0 = ON bit 4 - Vrms 1 = OFF 0 = ON bit 5 - PowerFactor 1 = OFF 0 = ON bit 6 - ct3 1 = OFF 0 = ON bit 7 - ct2 = OFF 0 = ON bit 8 - ct1 1 = OFF 0 = ON