RPICT3V1 Disable channels sketch 2: Difference between revisions

From lechacal
Jump to navigation Jump to search
(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...")
 
No edit summary
Line 8: Line 8:
To prevent some of the channels to appear we can disable then by setting the debug variable with a particular number.
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).
debug is coded on 8 bits where each bit correspond to the following (LSB first).<br>
bit 1 - debug 0 = OFF 1 = ON
bit 1 - debug 0 = OFF 1 = ON<br>
bit 2 - Apparent Power 1 = OFF 0 = ON
bit 2 - Apparent Power 1 = OFF 0 = ON<br>
bit 3 - Irms 1 = OFF 0 = ON
bit 3 - Irms 1 = OFF 0 = ON<br>
bit 4 - Vrms 1 = OFF 0 = ON
bit 4 - Vrms 1 = OFF 0 = ON<br>
bit 5 - PowerFactor 1 = OFF 0 = ON
bit 5 - PowerFactor 1 = OFF 0 = ON<br>
bit 6 - ct3 1 = OFF 0 = ON
bit 6 - ct3 1 = OFF 0 = ON<br>
bit 7 - ct2 = OFF 0 = ON
bit 7 - ct2 = OFF 0 = ON<br>
bit 8 - ct1 1 = OFF 0 = ON
bit 8 - ct1 1 = OFF 0 = ON<br>

Revision as of 13:51, 14 February 2019


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