Merge remote-tracking branch 'origin/feature/IPP-22-pocloud-driver'
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<% if (channels["vfdipp.downholetoolenabled"].value == 0){ %>
|
||||
<% if (channels["ipp.downholetoolenabled"].value == 0){ %>
|
||||
<div class="row">
|
||||
<div class="well mar15 text-center">
|
||||
<h1>THE DOWNHOLE SENSOR IS DISABLED</h1>
|
||||
@@ -12,24 +12,24 @@
|
||||
<div class='col-xs-4 text-center box-me'>
|
||||
<h2>Intake Pressure</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-dhintakepressure" data-chart="solidgauge" data-nodename="vfdipp.dhintakepressure" data-units="PSI" data-min="0" data-max="<%= channels["vfdipp.dhpsirating"].value %>" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="dhintakepressure"><%= channels["vfdipp.dhintakepressure"].timestamp %></span>
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-dhintakepressure" data-chart="solidgauge" data-nodename="ipp.dhintakepressure" data-units="PSI" data-min="0" data-max="<%= channels["ipp.dhpsirating"].value %>" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="dhintakepressure"><%= channels["ipp.dhintakepressure"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='col-xs-4 text-center box-me'>
|
||||
<h2>Fluid Level</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-dhfluidlevel" data-chart="solidgauge" data-nodename="vfdipp.dhfluidlevel" data-units="ft." data-min="0" data-max="1000" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="dhfluidlevel"><%= channels["vfdipp.dhfluidlevel"].timestamp %></span>
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-dhfluidlevel" data-chart="solidgauge" data-nodename="ipp.dhfluidlevel" data-units="ft." data-min="0" data-max="1000" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="dhfluidlevel"><%= channels["ipp.dhfluidlevel"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='col-xs-4 text-center box-me'>
|
||||
<h2>Intake Temperature</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-dhintaketemperature" data-chart="solidgauge" data-nodename="vfdipp.dhintaketemperature" data-units="°F" data-min="0" data-max="200" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="dhintaketemperature"><%= channels["vfdipp.dhintaketemperature"].timestamp %></span>
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-dhintaketemperature" data-chart="solidgauge" data-nodename="ipp.dhintaketemperature" data-units="°F" data-min="0" data-max="200" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="dhintaketemperature"><%= channels["ipp.dhintaketemperature"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -37,15 +37,15 @@
|
||||
<h2>Instrument Status</h2>
|
||||
<div class="gauge-box">
|
||||
<h1 data-valueupdate="dhdownholestatusint">
|
||||
<% if(channels["vfdipp.dhdownholestatusint"].value == 0) { %>
|
||||
<% if(channels["ipp.dhdownholestatusint"].value == 0) { %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else if (channels["vfdipp.dhdownholestatusint"].value == 1){ %>
|
||||
<% } else if (channels["ipp.dhdownholestatusint"].value == 1){ %>
|
||||
<span class="label label-warning">Connecting...</span>
|
||||
<% } else if (channels["vfdipp.dhdownholestatusint"].value == 2){ %>
|
||||
<% } else if (channels["ipp.dhdownholestatusint"].value == 2){ %>
|
||||
<span class="label label-danger">Open Circuit</span>
|
||||
<% } else if (channels["vfdipp.dhdownholestatusint"].value == 3){ %>
|
||||
<% } else if (channels["ipp.dhdownholestatusint"].value == 3){ %>
|
||||
<span class="label label-danger">Shorted</span>
|
||||
<% } else if (channels["vfdipp.dhdownholestatusint"].value == 4){ %>
|
||||
<% } else if (channels["ipp.dhdownholestatusint"].value == 4){ %>
|
||||
<span class="label label-danger">Cannot Decode</span>
|
||||
<% } %>
|
||||
</h1>
|
||||
@@ -59,22 +59,22 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Max Pressure (Startup)</td>
|
||||
<td><%= channels["vfdipp.dhmaxintakepressurestartup"].value %></td>
|
||||
<td><%= channels["ipp.dhmaxintakepressurestartup"].value %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Max Pressure (Lifetime)</td>
|
||||
<td><%= channels["vfdipp.dhmaxintakepressureforever"].value %></td>
|
||||
<td><%= channels["ipp.dhmaxintakepressureforever"].value %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Max Temp. (Startup)</td>
|
||||
<td><%= channels["vfdipp.dhmaxintaketemperaturestartup"].value %></td>
|
||||
<td><%= channels["ipp.dhmaxintaketemperaturestartup"].value %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Max Temp. (Lifetime)</td>
|
||||
<td><%= channels["vfdipp.dhmaxintaketemperatureforever"].value %></td>
|
||||
<td><%= channels["ipp.dhmaxintaketemperatureforever"].value %></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
@@ -96,7 +96,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class='clearfix col-xs-12' style='height: 300px' id="dynamicChart" data-chart="dynamicchart" data-daysofhistory="7" data-chartlabel="Data" data-ylabel="" data-xlabel="Date" data-units="" data-channelnames="vfdipp.dhintakepressure,vfdipp.dhintaketemperature,vfdipp.dhmaxintakepressureforever,vfdipp.dhmaxintakepressurestartup,vfdipp.dhmaxintaketemperaturestartup,vfdipp.dhmaxintaketemperatureforever"></div>
|
||||
<div class='clearfix col-xs-12' style='height: 300px' id="dynamicChart" data-chart="dynamicchart" data-daysofhistory="7" data-chartlabel="Data" data-ylabel="" data-xlabel="Date" data-units="" data-channelnames="ipp.dhintakepressure,ipp.dhintaketemperature,ipp.dhmaxintakepressureforever,ipp.dhmaxintakepressurestartup,ipp.dhmaxintaketemperaturestartup,ipp.dhmaxintaketemperatureforever"></div>
|
||||
</div>
|
||||
|
||||
<div class="text-center"><h1>CONFIGURATION</h1></div>
|
||||
@@ -109,7 +109,7 @@
|
||||
<tr>
|
||||
<td>Pressure Shutdown Enabled</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.dhpressureshutdownenabled"].value == 1){ %>
|
||||
<% if (channels["ipp.pressureshutdownenabled"].value == 1){ %>
|
||||
<span class="label label-success">True</span>
|
||||
<% } else { %>
|
||||
<span class="label label-warning">False</span>
|
||||
@@ -119,13 +119,13 @@
|
||||
|
||||
<tr>
|
||||
<td>Pressure Shutdown Limit</td>
|
||||
<td><%= channels["vfdipp.dhpressureshutdownlimit"].value %> PSI</td>
|
||||
<td><%= channels["ipp.pressureshutdown"].value %> PSI</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Pressure Restart Enabled</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.dhpressurestartupenabled"].value == 1){ %>
|
||||
<% if (channels["ipp.pressurestartupenabled"].value == 1){ %>
|
||||
<span class="label label-success">True</span>
|
||||
<% } else { %>
|
||||
<span class="label label-warning">False</span>
|
||||
@@ -135,7 +135,7 @@
|
||||
|
||||
<tr>
|
||||
<td>Pressure Startup Limit</td>
|
||||
<td><%= channels["vfdipp.dhpressurestartup"].value %> PSI</td>
|
||||
<td><%= channels["ipp.pressurestartup"].value %> PSI</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
@@ -151,7 +151,7 @@
|
||||
<tr>
|
||||
<td>Temp. Shutdown Enabled</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.dhtempshutdownenabled"].value == 1){ %>
|
||||
<% if (channels["ipp.tempshutdownenabled"].value == 1){ %>
|
||||
<span class="label label-success">True</span>
|
||||
<% } else { %>
|
||||
<span class="label label-warning">False</span>
|
||||
@@ -161,13 +161,13 @@
|
||||
|
||||
<tr>
|
||||
<td>Temp. Shutdown Limit</td>
|
||||
<td><%= channels["vfdipp.dhtempshutdown"].value %> °F</td>
|
||||
<td><%= channels["ipp.tempshutdown"].value %> °F</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Temp. Restart Enabled</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.dhtempstartupenabled"].value == 1){ %>
|
||||
<% if (channels["ipp.tempstartupenabled"].value == 1){ %>
|
||||
<span class="label label-success">True</span>
|
||||
<% } else { %>
|
||||
<span class="label label-warning">False</span>
|
||||
@@ -177,7 +177,7 @@
|
||||
|
||||
<tr>
|
||||
<td>Temp. Startup Limit</td>
|
||||
<td><%= channels["vfdipp.dhtempstartuplimit"].value %> °F</td>
|
||||
<td><%= channels["ipp.tempstartup"].value %> °F</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
@@ -192,22 +192,22 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Number of Channels</td>
|
||||
<td><%= channels["vfdipp.dhnumchannels"].value %></td>
|
||||
<td><%= channels["ipp.dhnumchannels"].value %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>PSI Rating</td>
|
||||
<td><%= channels["vfdipp.dhpsirating"].value %> PSI</td>
|
||||
<td><%= channels["ipp.dhpsirating"].value %> PSI</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Tool Type</td>
|
||||
<td><%= channels["vfdipp.dhtooltype"].value %></td>
|
||||
<td><%= channels["ipp.dhtooltype"].value %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Tool Voltage</td>
|
||||
<td><%= channels["vfdipp.dhtoolvoltage"].value %> V</td>
|
||||
<td><%= channels["ipp.dhtoolvoltage"].value %> V</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
6
POCloud_Driver/HTML/NodeDetailHeader.html
Normal file
6
POCloud_Driver/HTML/NodeDetailHeader.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<div class='col-xs-1'>
|
||||
<div class="<%= nodecolors.statuscolor %> nodecolor"></div>
|
||||
</div>
|
||||
<div class='col-xs-6'>
|
||||
<h3><%= node.vanityname %></h3>
|
||||
</div>
|
||||
41
POCloud_Driver/HTML/Nodelist.html
Normal file
41
POCloud_Driver/HTML/Nodelist.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<style>
|
||||
.header h4 {
|
||||
position: relative;
|
||||
top: 0.9em;
|
||||
}
|
||||
.header h2 {
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
color: #aaa;
|
||||
margin: 0.75em 0;
|
||||
}
|
||||
.header p {
|
||||
font-size: 24px;
|
||||
color: black;
|
||||
font-weight: 600;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="row header">
|
||||
<div class="col-xs-1">
|
||||
<div class="<%= nodecolors.statuscolor %> nodecolor"></div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2">
|
||||
<img src="<%= nodeimgurl %>" />
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2">
|
||||
<h4><%= node.vanityname %></h4>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<h2>Motor Current</h2>
|
||||
<p><%=channels["ipp.e300averagecurrent"].value %> A</p>
|
||||
</div>
|
||||
<% if (channels["ipp.downholetoolenabled"].value == 1) { %>
|
||||
<div class="col-xs-3">
|
||||
<h2>Intake Pressure</h2>
|
||||
<p><%=channels["ipp.dhintakepressure"].value %> PSI</p>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
@@ -1,28 +1,15 @@
|
||||
<div class='row row-flex box-me'>
|
||||
<div class='col-xs-4 text-center'>
|
||||
<h2>Motor Speed</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-vfdspeedfdbk" data-chart="solidgauge" data-nodename="vfdipp.vfdspeedfdbk" data-units="Hz" data-min="0" data-max="100" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="vfdspeedfdbk"><%= channels["vfdipp.vfdspeedfdbk"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-xs-8'>
|
||||
<div style="height:300px" id="chart-vfdspeedfdbk" data-chart="chart" data-nodename1="vfdipp.vfdspeedfdbk" data-datalabel1="Speed" data-daysofhistory="2" data-chartlabel="Motor Speed" data-ylabel="" data-xlabel="Date" data-units=" Hz"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% if (channels["vfdipp.downholetoolenabled"].value == 1) {%>
|
||||
<% if (channels["ipp.downholetoolenabled"].value == 1) {%>
|
||||
|
||||
<div class='row row-flex box-me'>
|
||||
<div class='col-xs-4 text-center'>
|
||||
<h2>Downhole Pressure</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-dhintakepressure" data-chart="solidgauge" data-nodename="vfdipp.dhintakepressure" data-units="PSI" data-min="0" data-max="400" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="dhintakepressure"><%= channels["vfdipp.dhintakepressure"].timestamp %></span>
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-dhintakepressure" data-chart="solidgauge" data-nodename="ipp.dhintakepressure" data-units="PSI" data-min="0" data-max="400" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="dhintakepressure"><%= channels["ipp.dhintakepressure"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-xs-8'>
|
||||
<div style="height:300px" id="chart-dhintakepressure" data-chart="chart" data-nodename1="vfdipp.dhintakepressure" data-datalabel1="Downhole Pressure" data-daysofhistory="2" data-chartlabel="DH Intake Pressure" data-ylabel="" data-xlabel="Date" data-units=" PSI"></div>
|
||||
<div style="height:300px" id="chart-dhintakepressure" data-chart="chart" data-nodename1="ipp.dhintakepressure" data-datalabel1="Downhole Pressure" data-daysofhistory="2" data-chartlabel="DH Intake Pressure" data-ylabel="" data-xlabel="Date" data-units=" PSI"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -30,71 +17,60 @@
|
||||
<div class='col-xs-4 text-center'>
|
||||
<h2>Downhole Temperature</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-dhintaketemperature" data-chart="solidgauge" data-nodename="vfdipp.dhintaketemperature" data-units=" ° F" data-min="0" data-max="400" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="dhintaketemperature"><%= channels["vfdipp.dhintaketemperature"].timestamp %></span>
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-dhintaketemperature" data-chart="solidgauge" data-nodename="ipp.dhintaketemperature" data-units=" ° F" data-min="0" data-max="400" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="dhintaketemperature"><%= channels["ipp.dhintaketemperature"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-xs-8'>
|
||||
<div style="height:300px" id="chart-dhintaketemperature" data-chart="chart" data-nodename1="vfdipp.dhintaketemperature" data-datalabel1="Downhole Temperature" data-daysofhistory="2" data-chartlabel="DH Intake Temperature" data-ylabel="" data-xlabel="Date" data-units=" ° F"></div>
|
||||
<div style="height:300px" id="chart-dhintaketemperature" data-chart="chart" data-nodename1="ipp.dhintaketemperature" data-datalabel1="Downhole Temperature" data-daysofhistory="2" data-chartlabel="DH Intake Temperature" data-ylabel="" data-xlabel="Date" data-units=" ° F"></div>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if (channels["vfdipp.tubingpressuretransducerenabled"].value == 1) {%>
|
||||
<div class='row row-flex box-me'>
|
||||
<div class='col-xs-4 text-center'>
|
||||
<h2>Average Current</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-e300averagecurrent" data-chart="solidgauge" data-nodename="ipp.e300averagecurrent" data-units="A" data-min="0" data-max="<%= channels["ipp.cfgcflasetting"].value %>" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="e300averagecurrent"><%= channels["ipp.e300averagecurrent"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-xs-8'>
|
||||
<div style="height:300px" id="chart-e300averagecurrent" data-chart="chart" data-nodename1="ipp.e300averagecurrent" data-datalabel1="Average Current" data-daysofhistory="2" data-chartlabel="Average Current" data-ylabel="" data-xlabel="Date" data-units=" A"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='row row-flex box-me'>
|
||||
<div class='col-xs-4 text-center'>
|
||||
<h2>Average L-L Voltage</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-e300averagellvoltage" data-chart="solidgauge" data-nodename="ipp.e300averagellvoltage" data-units="V" data-min="0" data-max="600" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="e300averagellvoltage"><%= channels["ipp.e300averagellvoltage"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-xs-8'>
|
||||
<div style="height:300px" id="chart-e300averagellvoltage" data-chart="chart" data-nodename1="ipp.e300averagellvoltage" data-datalabel1="Average L-L Voltage" data-daysofhistory="2" data-chartlabel="Average L-L Voltage" data-ylabel="" data-xlabel="Date" data-units=" V"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% if (channels["ipp.pressuretransducerenabled"].value == 1) {%>
|
||||
|
||||
<div class='row row-flex box-me'>
|
||||
<div class='col-xs-4 text-center'>
|
||||
<h2>Downhole Pressure</h2>
|
||||
<h2>Tubing Pressure</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-tubingpressure" data-chart="solidgauge" data-nodename="vfdipp.tubingpressure" data-units="PSI" data-min="0" data-max="400" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="tubingpressure"><%= channels["vfdipp.tubingpressure"].timestamp %></span>
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-pressurein" data-chart="solidgauge" data-nodename="ipp.pressurein" data-units="PSI" data-min="0" data-max="400" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="pressurein"><%= channels["ipp.pressurein"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-xs-8'>
|
||||
<div style="height:300px" id="chart-tubingpressure" data-chart="chart" data-nodename1="vfdipp.tubingpressure" data-datalabel1="Tubing Pressure" data-daysofhistory="2" data-chartlabel="Tubing Pressure" data-ylabel="" data-xlabel="Date" data-units=" PSI"></div>
|
||||
<div style="height:300px" id="chart-pressurein" data-chart="chart" data-nodename1="ipp.pressurein" data-datalabel1="Tubing Pressure" data-daysofhistory="2" data-chartlabel="Tubing Pressure" data-ylabel="" data-xlabel="Date" data-units=" PSI"></div>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
|
||||
<div class='row row-flex box-me'>
|
||||
<div class='col-xs-4 text-center'>
|
||||
<h2>Output Current</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-vfdoutputcurrent" data-chart="solidgauge" data-nodename="vfdipp.vfdoutputcurrent" data-units="A" data-min="0" data-max="<%= channels["vfdipp.vfdnameplatefla"].value %>" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="vfdoutputcurrent"><%= channels["vfdipp.vfdoutputcurrent"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-xs-8'>
|
||||
<div style="height:300px" id="chart-vfdoutputcurrent" data-chart="chart" data-nodename1="vfdipp.vfdoutputcurrent" data-datalabel1="Output Current" data-daysofhistory="2" data-chartlabel="Output Current" data-ylabel="" data-xlabel="Date" data-units=" A"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='row row-flex box-me'>
|
||||
<div class='col-xs-4 text-center'>
|
||||
<h2>Output Voltage</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-vfdoutputvoltage" data-chart="solidgauge" data-nodename="vfdipp.vfdoutputvoltage" data-units="V" data-min="0" data-max="600" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="vfdoutputvoltage"><%= channels["vfdipp.vfdoutputvoltage"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-xs-8'>
|
||||
<div style="height:300px" id="chart-vfdoutputvoltage" data-chart="chart" data-nodename1="vfdipp.vfdoutputvoltage" data-datalabel1="Output Voltage" data-daysofhistory="2" data-chartlabel="Output Voltage" data-ylabel="" data-xlabel="Date" data-units=" V"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='row row-flex box-me'>
|
||||
<div class='col-xs-4 text-center'>
|
||||
<h2>DC Bus Voltage</h2>
|
||||
<div class="gauge-box">
|
||||
<div data-labelheight="10" style="height: 170px; background: transparent; margin: 0 auto;" id="gauge-vfddcbusvoltage" data-chart="solidgauge" data-nodename="vfdipp.vfddcbusvoltage" data-units="V" data-min="0" data-max="700" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px"></div>
|
||||
<span data-timeupdate="vfddcbusvoltage"><%= channels["vfdipp.vfddcbusvoltage"].timestamp %></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-xs-8'>
|
||||
<div style="height:300px" id="chart-vfddcbusvoltage" data-chart="chart" data-nodename1="vfdipp.vfddcbusvoltage" data-datalabel1="DC Bus Voltage" data-daysofhistory="2" data-chartlabel="DC Bus Voltage" data-ylabel="" data-xlabel="Date" data-units=" V"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.box-me {
|
||||
|
||||
@@ -1,86 +1,5 @@
|
||||
<div class="text-center"><h1>LIVE VALUES</h1></div>
|
||||
<div class='row'>
|
||||
<div class='col-xs-4 text-center box-me'>
|
||||
<div class="gauge-box">
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<h2>Active Alarms</h2>
|
||||
</td>
|
||||
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>VFD</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.alarmvfd"].value == 0){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Mode</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.alarmmode"].value == 0){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>DH Pressure</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.alarmpressure"].value == 0){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>DH Temperature</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.alarmtemperature"].value == 0){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Remote</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.alarmremote"].value == 0){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Tubing Pressure</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.alarmtubingpressure"].value == 0){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row row-flex'>
|
||||
<div class='col-xs-4 text-center box-me'>
|
||||
<div class="gauge-box">
|
||||
<table class="table">
|
||||
@@ -92,7 +11,7 @@
|
||||
|
||||
<td>
|
||||
<h2>
|
||||
<% if (channels["vfdipp.startpermissive"].value == 1){ %>
|
||||
<% if (channels["ipp.startpermissive"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
@@ -102,9 +21,9 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>VFD</td>
|
||||
<td>Overload Relay</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.spvfd"].value == 1){ %>
|
||||
<% if (channels["ipp.sptrip"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
@@ -115,7 +34,7 @@
|
||||
<tr>
|
||||
<td>Mode</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.spmode"].value == 1){ %>
|
||||
<% if (channels["ipp.spmode"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
@@ -126,7 +45,7 @@
|
||||
<tr>
|
||||
<td>DH Pressure</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.sppressure"].value == 1){ %>
|
||||
<% if (channels["ipp.sppressure"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
@@ -137,18 +56,7 @@
|
||||
<tr>
|
||||
<td>DH Temperature</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.sptemperature"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Remote</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.spremote"].value == 1){ %>
|
||||
<% if (channels["ipp.sptemperature"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
@@ -170,7 +78,7 @@
|
||||
|
||||
<td>
|
||||
<h2>
|
||||
<% if (channels["vfdipp.runpermissive"].value == 1){ %>
|
||||
<% if (channels["ipp.runpermissive"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
@@ -180,9 +88,9 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>VFD</td>
|
||||
<td>Overload Relay</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.rpvfd"].value == 1){ %>
|
||||
<% if (channels["ipp.rptrip"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
@@ -193,7 +101,7 @@
|
||||
<tr>
|
||||
<td>Mode</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.rpmode"].value == 1){ %>
|
||||
<% if (channels["ipp.rpmode"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
@@ -204,7 +112,7 @@
|
||||
<tr>
|
||||
<td>DH Pressure</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.rppressure"].value == 1){ %>
|
||||
<% if (channels["ipp.rppressure"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
@@ -215,18 +123,7 @@
|
||||
<tr>
|
||||
<td>DH Temperature</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.rptemperature"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Remote</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.rpremote"].value == 1){ %>
|
||||
<% if (channels["ipp.rptemperature"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
@@ -237,7 +134,7 @@
|
||||
<tr>
|
||||
<td>Tubing Pressure</td>
|
||||
<td>
|
||||
<% if (channels["vfdipp.rptubingpressure"].value == 1){ %>
|
||||
<% if (channels["ipp.rptubingpressure"].value == 1){ %>
|
||||
<span class="label label-success">OK</span>
|
||||
<% } else { %>
|
||||
<span class="label label-danger">NOT OK</span>
|
||||
@@ -250,30 +147,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='row'>
|
||||
<div class='col-xs-6 col-xs-offset-3 text-center box-me'>
|
||||
<h2>Last Shutdown Cause</h2>
|
||||
<h1>
|
||||
<% if (channels["vfdipp.lastshutdowncause"].value == 0){ %>
|
||||
<span class="label label-primary">Unknown</span>
|
||||
<% } else if (channels["vfdipp.lastshutdowncause"].value == 1) { %>
|
||||
<span class="label label-primary">Mode</span>
|
||||
<% } else if (channels["vfdipp.lastshutdowncause"].value == 2) { %>
|
||||
<span class="label label-primary">DH Pressure</span>
|
||||
<% } else if (channels["vfdipp.lastshutdowncause"].value == 3) { %>
|
||||
<span class="label label-primary">DH Temperature</span>
|
||||
<% } else if (channels["vfdipp.lastshutdowncause"].value == 4) { %>
|
||||
<span class="label label-primary">Tubing Pressure</span>
|
||||
<% } else if (channels["vfdipp.lastshutdowncause"].value == 5) { %>
|
||||
<span class="label label-primary">VFD</span>
|
||||
<% } else if (channels["vfdipp.lastshutdowncause"].value == 6) { %>
|
||||
<span class="label label-primary">Remote Trip</span>
|
||||
<% } else if (channels["vfdipp.lastshutdowncause"].value == 7) { %>
|
||||
<span class="label label-primary">User Shutdown</span>
|
||||
<% } %>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<style>
|
||||
.box-me {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class='clearfix col-xs-12' style='height: 450px' id="dynamicChart" data-chart="dynamicchart" data-daysofhistory="7" data-chartlabel="Data" data-ylabel="" data-xlabel="Date" data-units="" data-channelnames="vfdipp.vfdoutputcurrent,vfdipp.vfdspeedref,vfdipp.vfdspeedfdbk,vfdipp.dhintakepressure,vfdipp.dhintaketemperature,vfdipp.tubingpressure,vfdipp.vfddcbusvoltage,vfdipp.vfdoutputvoltage"></div>
|
||||
<div class='clearfix col-xs-12' style='height: 450px' id="dynamicChart" data-chart="dynamicchart" data-daysofhistory="7" data-chartlabel="Data" data-ylabel="" data-xlabel="Date" data-units="" data-channelnames="ipp.e300averagecurrent,ipp.e300l1current,ipp.e300l2current,ipp.e300l3current,ipp.e300averagellvoltage,ipp.e300l1l2voltage,ipp.e300l2l3voltage,ipp.e300l3l1voltage,ipp.dhintakepressure,ipp.dhintaketemperature,ipp.pressurein,ipp.e300linefrequency,ipp.e300percentcurrentunbalance,ipp.e300percentvoltageunbalance"></div>
|
||||
<style>
|
||||
.dynamic-chart-form {
|
||||
background-color: whiteSmoke;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,36 +1,18 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import types
|
||||
import traceback
|
||||
import binascii
|
||||
import threading
|
||||
import time
|
||||
import thread
|
||||
import os
|
||||
import struct
|
||||
import sys
|
||||
import serial
|
||||
import minimalmodbus
|
||||
import pickle
|
||||
import re
|
||||
from device_base import deviceBase
|
||||
import micro800 as u800
|
||||
|
||||
import requests
|
||||
try:
|
||||
import json
|
||||
except:
|
||||
import simplejson as json
|
||||
|
||||
min_upload_time = 30
|
||||
addr = '192.168.1.20'
|
||||
|
||||
|
||||
|
||||
addr = '10.20.4.5'
|
||||
|
||||
|
||||
class start(threading.Thread, deviceBase):
|
||||
channels = {}
|
||||
|
||||
def updateGPS(self):
|
||||
gps = self.mcu.gps
|
||||
print("GPS found me at {0}".format(gps))
|
||||
@@ -55,10 +37,8 @@ class start(threading.Thread, deviceBase):
|
||||
threading.Thread.start(self)
|
||||
self.sendtodbJSON("device_address", self.device_address, 0)
|
||||
self.setupChannels()
|
||||
# self.run()
|
||||
|
||||
|
||||
# self.updateGPS()
|
||||
|
||||
# this is a required function for all drivers, its goal is to upload some piece of data
|
||||
# about your device so it can be seen on the web
|
||||
def register(self):
|
||||
@@ -77,7 +57,7 @@ class start(threading.Thread, deviceBase):
|
||||
valData = u800.readMicroTag(self.device_address, self.channels[i]['tag'])
|
||||
print(valData)
|
||||
if valData:
|
||||
nowVal = valData[0]
|
||||
nowVal = round(valData[0], 4)
|
||||
ch = self.channels[i]
|
||||
if ch['data_type'] == "BOOL":
|
||||
if ch['last_value'] == "":
|
||||
@@ -117,6 +97,7 @@ class start(threading.Thread, deviceBase):
|
||||
print self.channels
|
||||
self.setupChannels()
|
||||
time.sleep(30)
|
||||
|
||||
def write_vfdconfig(self):
|
||||
print("Writing config to drive")
|
||||
return u800.writeMicroTag(addr, 'VFD_Write', 1)
|
||||
@@ -130,499 +111,499 @@ class start(threading.Thread, deviceBase):
|
||||
return True
|
||||
|
||||
def vfdipp_gpsUpdate(self, name, value):
|
||||
updateGPS()
|
||||
self.updateGPS()
|
||||
return True
|
||||
|
||||
# ======== AUTOMATICALLY GENERATED TAG WRITE FUNCTIONS BELOW HERE ===========
|
||||
|
||||
def vfdipp_cfgCFLASetting(self, name, value):
|
||||
print('trying to set cfg_C_FLASetting to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_C_FLASetting', float(value))
|
||||
print('trying to set cfg_C_FLASetting to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_C_FLASetting', float(value))
|
||||
|
||||
def vfdipp_cfgCTripEnableControl(self, name, value):
|
||||
print('trying to set cfg_C_TripEnableControl to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_C_TripEnableControl', int(value))
|
||||
print('trying to set cfg_C_TripEnableControl to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_C_TripEnableControl', int(value))
|
||||
|
||||
def vfdipp_cfgCWarningEnableControl(self, name, value):
|
||||
print('trying to set cfg_C_WarningEnableControl to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_C_WarningEnableControl', int(value))
|
||||
print('trying to set cfg_C_WarningEnableControl to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_C_WarningEnableControl', int(value))
|
||||
|
||||
def vfdipp_cfgClearTripCountAfter(self, name, value):
|
||||
print('trying to set cfg_ClearTripCountAfter to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_ClearTripCountAfter', int(value))
|
||||
print('trying to set cfg_ClearTripCountAfter to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_ClearTripCountAfter', int(value))
|
||||
|
||||
def vfdipp_cfgGFGroundFaultInhibitTime(self, name, value):
|
||||
print('trying to set cfg_GF_GroundFaultInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_GF_GroundFaultInhibitTime', int(value))
|
||||
print('trying to set cfg_GF_GroundFaultInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_GF_GroundFaultInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgGFGroundFaultTripDelay(self, name, value):
|
||||
print('trying to set cfg_GF_GroundFaultTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_GF_GroundFaultTripDelay', float(value))
|
||||
print('trying to set cfg_GF_GroundFaultTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_GF_GroundFaultTripDelay', float(value))
|
||||
|
||||
def vfdipp_cfgGFGroundFaultTripLevel(self, name, value):
|
||||
print('trying to set cfg_GF_GroundFaultTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_GF_GroundFaultTripLevel', float(value))
|
||||
print('trying to set cfg_GF_GroundFaultTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_GF_GroundFaultTripLevel', float(value))
|
||||
|
||||
def vfdipp_cfgGFGroundFaultWarningDelay(self, name, value):
|
||||
print('trying to set cfg_GF_GroundFaultWarningDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_GF_GroundFaultWarningDelay', float(value))
|
||||
print('trying to set cfg_GF_GroundFaultWarningDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_GF_GroundFaultWarningDelay', float(value))
|
||||
|
||||
def vfdipp_cfgGFGroundFaultWarningLevel(self, name, value):
|
||||
print('trying to set cfg_GF_GroundFaultWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_GF_GroundFaultWarningLevel', float(value))
|
||||
print('trying to set cfg_GF_GroundFaultWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_GF_GroundFaultWarningLevel', float(value))
|
||||
|
||||
def vfdipp_cfgICTPrimary(self, name, value):
|
||||
print('trying to set cfg_I_CTPrimary to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CTPrimary', int(value))
|
||||
print('trying to set cfg_I_CTPrimary to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CTPrimary', int(value))
|
||||
|
||||
def vfdipp_cfgICTSecondary(self, name, value):
|
||||
print('trying to set cfg_I_CTSecondary to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CTSecondary', int(value))
|
||||
print('trying to set cfg_I_CTSecondary to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CTSecondary', int(value))
|
||||
|
||||
def vfdipp_cfgICurrentImbalanceInhibitTime(self, name, value):
|
||||
print('trying to set cfg_I_CurrentImbalanceInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CurrentImbalanceInhibitTime', int(value))
|
||||
print('trying to set cfg_I_CurrentImbalanceInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CurrentImbalanceInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgICurrentImbalanceTripDelay(self, name, value):
|
||||
print('trying to set cfg_I_CurrentImbalanceTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CurrentImbalanceTripDelay', int(value))
|
||||
print('trying to set cfg_I_CurrentImbalanceTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CurrentImbalanceTripDelay', int(value))
|
||||
|
||||
def vfdipp_cfgICurrentImbalanceTripLevel(self, name, value):
|
||||
print('trying to set cfg_I_CurrentImbalanceTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CurrentImbalanceTripLevel', int(value))
|
||||
print('trying to set cfg_I_CurrentImbalanceTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CurrentImbalanceTripLevel', int(value))
|
||||
|
||||
def vfdipp_cfgICurrentImbalanceWarningLevel(self, name, value):
|
||||
print('trying to set cfg_I_CurrentImbalanceWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CurrentImbalanceWarningLevel', int(value))
|
||||
print('trying to set cfg_I_CurrentImbalanceWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_CurrentImbalanceWarningLevel', int(value))
|
||||
|
||||
def vfdipp_cfgIJamInhibitTime(self, name, value):
|
||||
print('trying to set cfg_I_JamInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_JamInhibitTime', int(value))
|
||||
print('trying to set cfg_I_JamInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_JamInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgIJamTripDelay(self, name, value):
|
||||
print('trying to set cfg_I_JamTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_JamTripDelay', int(value))
|
||||
print('trying to set cfg_I_JamTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_JamTripDelay', int(value))
|
||||
|
||||
def vfdipp_cfgIJamWarningLevel(self, name, value):
|
||||
print('trying to set cfg_I_JamWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_JamWarningLevel', int(value))
|
||||
print('trying to set cfg_I_JamWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_JamWarningLevel', int(value))
|
||||
|
||||
def vfdipp_cfgILineLossInhibitTime(self, name, value):
|
||||
print('trying to set cfg_I_LineLossInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_LineLossInhibitTime', int(value))
|
||||
print('trying to set cfg_I_LineLossInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_LineLossInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgILineLossTripDelay(self, name, value):
|
||||
print('trying to set cfg_I_LineLossTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_LineLossTripDelay', float(value))
|
||||
print('trying to set cfg_I_LineLossTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_LineLossTripDelay', float(value))
|
||||
|
||||
def vfdipp_cfgIOvercurrentInhibitTime(self, name, value):
|
||||
print('trying to set cfg_I_OvercurrentInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_OvercurrentInhibitTime', int(value))
|
||||
print('trying to set cfg_I_OvercurrentInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_OvercurrentInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgIOvercurrentTripDelay(self, name, value):
|
||||
print('trying to set cfg_I_OvercurrentTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_OvercurrentTripDelay', float(value))
|
||||
print('trying to set cfg_I_OvercurrentTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_OvercurrentTripDelay', float(value))
|
||||
|
||||
def vfdipp_cfgIOvercurrentTripLevel(self, name, value):
|
||||
print('trying to set cfg_I_OvercurrentTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_OvercurrentTripLevel', int(value))
|
||||
print('trying to set cfg_I_OvercurrentTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_OvercurrentTripLevel', int(value))
|
||||
|
||||
def vfdipp_cfgIOvercurrentWarningLevel(self, name, value):
|
||||
print('trying to set cfg_I_OvercurrentWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_OvercurrentWarningLevel', int(value))
|
||||
print('trying to set cfg_I_OvercurrentWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_OvercurrentWarningLevel', int(value))
|
||||
|
||||
def vfdipp_cfgIStallEnabledTime(self, name, value):
|
||||
print('trying to set cfg_I_StallEnabledTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_StallEnabledTime', int(value))
|
||||
print('trying to set cfg_I_StallEnabledTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_StallEnabledTime', int(value))
|
||||
|
||||
def vfdipp_cfgIStallTripLevel(self, name, value):
|
||||
print('trying to set cfg_I_StallTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_StallTripLevel', int(value))
|
||||
print('trying to set cfg_I_StallTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_StallTripLevel', int(value))
|
||||
|
||||
def vfdipp_cfgIUndercurrentInhibitTime(self, name, value):
|
||||
print('trying to set cfg_I_UndercurrentInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UndercurrentInhibitTime', int(value))
|
||||
print('trying to set cfg_I_UndercurrentInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UndercurrentInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgIUndercurrentTripDelay(self, name, value):
|
||||
print('trying to set cfg_I_UndercurrentTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UndercurrentTripDelay', float(value))
|
||||
print('trying to set cfg_I_UndercurrentTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UndercurrentTripDelay', float(value))
|
||||
|
||||
def vfdipp_cfgIUndercurrentTripLevel(self, name, value):
|
||||
print('trying to set cfg_I_UndercurrentTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UndercurrentTripLevel', int(value))
|
||||
print('trying to set cfg_I_UndercurrentTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UndercurrentTripLevel', int(value))
|
||||
|
||||
def vfdipp_cfgIUndercurrentWarningLevel(self, name, value):
|
||||
print('trying to set cfg_I_UndercurrentWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UndercurrentWarningLevel', int(value))
|
||||
print('trying to set cfg_I_UndercurrentWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UndercurrentWarningLevel', int(value))
|
||||
|
||||
def vfdipp_cfgIUnderloadInhibitTime(self, name, value):
|
||||
print('trying to set cfg_I_UnderloadInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UnderloadInhibitTime', int(value))
|
||||
print('trying to set cfg_I_UnderloadInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UnderloadInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgIUnderloadTripDelay(self, name, value):
|
||||
print('trying to set cfg_I_UnderloadTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UnderloadTripDelay', float(value))
|
||||
print('trying to set cfg_I_UnderloadTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UnderloadTripDelay', float(value))
|
||||
|
||||
def vfdipp_cfgIUnderloadTripLevel(self, name, value):
|
||||
print('trying to set cfg_I_UnderloadTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UnderloadTripLevel', int(value))
|
||||
print('trying to set cfg_I_UnderloadTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UnderloadTripLevel', int(value))
|
||||
|
||||
def vfdipp_cfgIUnderloadWarningLevel(self, name, value):
|
||||
print('trying to set cfg_I_UnderloadWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UnderloadWarningLevel', int(value))
|
||||
print('trying to set cfg_I_UnderloadWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_I_UnderloadWarningLevel', int(value))
|
||||
|
||||
def vfdipp_cfgOverloadTripCountLimit(self, name, value):
|
||||
print('trying to set cfg_OverloadTripCountLimit to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_OverloadTripCountLimit', int(value))
|
||||
print('trying to set cfg_OverloadTripCountLimit to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_OverloadTripCountLimit', int(value))
|
||||
|
||||
def vfdipp_cfgPLPhaseLossInhibitTime(self, name, value):
|
||||
print('trying to set cfg_PL_PhaseLossInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_PL_PhaseLossInhibitTime', int(value))
|
||||
print('trying to set cfg_PL_PhaseLossInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_PL_PhaseLossInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgPLPhaseLossTripDelay(self, name, value):
|
||||
print('trying to set cfg_PL_PhaseLossTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_PL_PhaseLossTripDelay', float(value))
|
||||
print('trying to set cfg_PL_PhaseLossTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_PL_PhaseLossTripDelay', float(value))
|
||||
|
||||
def vfdipp_cfgREAD(self, name, value):
|
||||
print('trying to set cfg_READ to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_READ', int(value))
|
||||
print('trying to set cfg_READ to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_READ', int(value))
|
||||
|
||||
def vfdipp_cfgSpecificGravity(self, name, value):
|
||||
print('trying to set cfg_SpecificGravity to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_SpecificGravity', float(value))
|
||||
print('trying to set cfg_SpecificGravity to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_SpecificGravity', float(value))
|
||||
|
||||
def vfdipp_cfgTCUTripClass(self, name, value):
|
||||
print('trying to set cfg_TCU_TripClass to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_TCU_TripClass', int(value))
|
||||
print('trying to set cfg_TCU_TripClass to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_TCU_TripClass', int(value))
|
||||
|
||||
def vfdipp_cfgTimerModeEnabled(self, name, value):
|
||||
print('trying to set cfg_TimerModeEnabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_TimerModeEnabled', int(value))
|
||||
print('trying to set cfg_TimerModeEnabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_TimerModeEnabled', int(value))
|
||||
|
||||
def vfdipp_cfgTimerRunTime(self, name, value):
|
||||
print('trying to set cfg_TimerRunTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_TimerRunTime', int(value))
|
||||
print('trying to set cfg_TimerRunTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_TimerRunTime', int(value))
|
||||
|
||||
def vfdipp_cfgTimerWaitTime(self, name, value):
|
||||
print('trying to set cfg_TimerWaitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_TimerWaitTime', int(value))
|
||||
print('trying to set cfg_TimerWaitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_TimerWaitTime', int(value))
|
||||
|
||||
def vfdipp_cfgTripCountLimit(self, name, value):
|
||||
print('trying to set cfg_TripCountLimit to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_TripCountLimit', int(value))
|
||||
print('trying to set cfg_TripCountLimit to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_TripCountLimit', int(value))
|
||||
|
||||
def vfdipp_cfgVOverfrequencyInhibitTime(self, name, value):
|
||||
print('trying to set cfg_V_OverfrequencyInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OverfrequencyInhibitTime', int(value))
|
||||
print('trying to set cfg_V_OverfrequencyInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OverfrequencyInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgVOverfrequencyTripDelay(self, name, value):
|
||||
print('trying to set cfg_V_OverfrequencyTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OverfrequencyTripDelay', float(value))
|
||||
print('trying to set cfg_V_OverfrequencyTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OverfrequencyTripDelay', float(value))
|
||||
|
||||
def vfdipp_cfgVOverfrequencyTripLevel(self, name, value):
|
||||
print('trying to set cfg_V_OverfrequencyTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OverfrequencyTripLevel', int(value))
|
||||
print('trying to set cfg_V_OverfrequencyTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OverfrequencyTripLevel', int(value))
|
||||
|
||||
def vfdipp_cfgVOverfrequencyWarningLevel(self, name, value):
|
||||
print('trying to set cfg_V_OverfrequencyWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OverfrequencyWarningLevel', int(value))
|
||||
print('trying to set cfg_V_OverfrequencyWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OverfrequencyWarningLevel', int(value))
|
||||
|
||||
def vfdipp_cfgVOvervoltageInhibitTime(self, name, value):
|
||||
print('trying to set cfg_V_OvervoltageInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OvervoltageInhibitTime', int(value))
|
||||
print('trying to set cfg_V_OvervoltageInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OvervoltageInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgVOvervoltageTripDelay(self, name, value):
|
||||
print('trying to set cfg_V_OvervoltageTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OvervoltageTripDelay', float(value))
|
||||
print('trying to set cfg_V_OvervoltageTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OvervoltageTripDelay', float(value))
|
||||
|
||||
def vfdipp_cfgVOvervoltageTripLevel(self, name, value):
|
||||
print('trying to set cfg_V_OvervoltageTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OvervoltageTripLevel', float(value))
|
||||
print('trying to set cfg_V_OvervoltageTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OvervoltageTripLevel', float(value))
|
||||
|
||||
def vfdipp_cfgVOvervoltageWarningLevel(self, name, value):
|
||||
print('trying to set cfg_V_OvervoltageWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OvervoltageWarningLevel', float(value))
|
||||
print('trying to set cfg_V_OvervoltageWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_OvervoltageWarningLevel', float(value))
|
||||
|
||||
def vfdipp_cfgVPTPrimary(self, name, value):
|
||||
print('trying to set cfg_V_PTPrimary to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_PTPrimary', int(value))
|
||||
print('trying to set cfg_V_PTPrimary to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_PTPrimary', int(value))
|
||||
|
||||
def vfdipp_cfgVPTSecondary(self, name, value):
|
||||
print('trying to set cfg_V_PTSecondary to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_PTSecondary', int(value))
|
||||
print('trying to set cfg_V_PTSecondary to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_PTSecondary', int(value))
|
||||
|
||||
def vfdipp_cfgVPhaseRotationInhibitTime(self, name, value):
|
||||
print('trying to set cfg_V_PhaseRotationInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_PhaseRotationInhibitTime', int(value))
|
||||
print('trying to set cfg_V_PhaseRotationInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_PhaseRotationInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgVPhaseRotationTripType(self, name, value):
|
||||
print('trying to set cfg_V_PhaseRotationTripType to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_PhaseRotationTripType', int(value))
|
||||
print('trying to set cfg_V_PhaseRotationTripType to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_PhaseRotationTripType', int(value))
|
||||
|
||||
def vfdipp_cfgVUnderfrequencyInhibitTime(self, name, value):
|
||||
print('trying to set cfg_V_UnderfrequencyInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UnderfrequencyInhibitTime', int(value))
|
||||
print('trying to set cfg_V_UnderfrequencyInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UnderfrequencyInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgVUnderfrequencyTripDelay(self, name, value):
|
||||
print('trying to set cfg_V_UnderfrequencyTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UnderfrequencyTripDelay', float(value))
|
||||
print('trying to set cfg_V_UnderfrequencyTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UnderfrequencyTripDelay', float(value))
|
||||
|
||||
def vfdipp_cfgVUnderfrequencyTripLevel(self, name, value):
|
||||
print('trying to set cfg_V_UnderfrequencyTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UnderfrequencyTripLevel', int(value))
|
||||
print('trying to set cfg_V_UnderfrequencyTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UnderfrequencyTripLevel', int(value))
|
||||
|
||||
def vfdipp_cfgVUnderfrequencyWarningLevel(self, name, value):
|
||||
print('trying to set cfg_V_UnderfrequencyWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UnderfrequencyWarningLevel', int(value))
|
||||
print('trying to set cfg_V_UnderfrequencyWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UnderfrequencyWarningLevel', int(value))
|
||||
|
||||
def vfdipp_cfgVUndervoltageInhibitTime(self, name, value):
|
||||
print('trying to set cfg_V_UndervoltageInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UndervoltageInhibitTime', int(value))
|
||||
print('trying to set cfg_V_UndervoltageInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UndervoltageInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgVUndervoltageTripDelay(self, name, value):
|
||||
print('trying to set cfg_V_UndervoltageTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UndervoltageTripDelay', float(value))
|
||||
print('trying to set cfg_V_UndervoltageTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UndervoltageTripDelay', float(value))
|
||||
|
||||
def vfdipp_cfgVUndervoltageTripLevel(self, name, value):
|
||||
print('trying to set cfg_V_UndervoltageTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UndervoltageTripLevel', float(value))
|
||||
print('trying to set cfg_V_UndervoltageTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UndervoltageTripLevel', float(value))
|
||||
|
||||
def vfdipp_cfgVUndervoltageWarningLevel(self, name, value):
|
||||
print('trying to set cfg_V_UndervoltageWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UndervoltageWarningLevel', float(value))
|
||||
print('trying to set cfg_V_UndervoltageWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_UndervoltageWarningLevel', float(value))
|
||||
|
||||
def vfdipp_cfgVVoltageImbalanceInhibitTime(self, name, value):
|
||||
print('trying to set cfg_V_VoltageImbalanceInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_VoltageImbalanceInhibitTime', int(value))
|
||||
print('trying to set cfg_V_VoltageImbalanceInhibitTime to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_VoltageImbalanceInhibitTime', int(value))
|
||||
|
||||
def vfdipp_cfgVVoltageImbalanceTripDelay(self, name, value):
|
||||
print('trying to set cfg_V_VoltageImbalanceTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_VoltageImbalanceTripDelay', float(value))
|
||||
print('trying to set cfg_V_VoltageImbalanceTripDelay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_VoltageImbalanceTripDelay', float(value))
|
||||
|
||||
def vfdipp_cfgVVoltageImbalanceTripLevel(self, name, value):
|
||||
print('trying to set cfg_V_VoltageImbalanceTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_VoltageImbalanceTripLevel', int(value))
|
||||
print('trying to set cfg_V_VoltageImbalanceTripLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_VoltageImbalanceTripLevel', int(value))
|
||||
|
||||
def vfdipp_cfgVVoltageImbalanceWarningLevel(self, name, value):
|
||||
print('trying to set cfg_V_VoltageImbalanceWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_VoltageImbalanceWarningLevel', int(value))
|
||||
print('trying to set cfg_V_VoltageImbalanceWarningLevel to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_VoltageImbalanceWarningLevel', int(value))
|
||||
|
||||
def vfdipp_cfgVVoltageMode(self, name, value):
|
||||
print('trying to set cfg_V_VoltageMode to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_VoltageMode', int(value))
|
||||
print('trying to set cfg_V_VoltageMode to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_V_VoltageMode', int(value))
|
||||
|
||||
def vfdipp_cfgWRITE(self, name, value):
|
||||
print('trying to set cfg_WRITE to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_WRITE', int(value))
|
||||
print('trying to set cfg_WRITE to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'cfg_WRITE', int(value))
|
||||
|
||||
def vfdipp_downtimeTimeParameter(self, name, value):
|
||||
print('trying to set Downtime_Time_Parameter to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Downtime_Time_Parameter', int(value))
|
||||
print('trying to set Downtime_Time_Parameter to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Downtime_Time_Parameter', int(value))
|
||||
|
||||
def vfdipp_downtimeTimeParameterOL(self, name, value):
|
||||
print('trying to set Downtime_Time_Parameter_OL to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Downtime_Time_Parameter_OL', int(value))
|
||||
print('trying to set Downtime_Time_Parameter_OL to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Downtime_Time_Parameter_OL', int(value))
|
||||
|
||||
def vfdipp_pressureAlarmDelay(self, name, value):
|
||||
print('trying to set Pressure_Alarm_Delay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Alarm_Delay', int(value))
|
||||
print('trying to set Pressure_Alarm_Delay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Alarm_Delay', int(value))
|
||||
|
||||
def vfdipp_pressureAlarmStartupDelay(self, name, value):
|
||||
print('trying to set Pressure_Alarm_Startup_Delay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Alarm_Startup_Delay', int(value))
|
||||
print('trying to set Pressure_Alarm_Startup_Delay to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Alarm_Startup_Delay', int(value))
|
||||
|
||||
def vfdipp_pressureEUMax(self, name, value):
|
||||
print('trying to set Pressure_EU_Max to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_EU_Max', float(value))
|
||||
print('trying to set Pressure_EU_Max to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_EU_Max', float(value))
|
||||
|
||||
def vfdipp_pressureEUMin(self, name, value):
|
||||
print('trying to set Pressure_EU_Min to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_EU_Min', float(value))
|
||||
print('trying to set Pressure_EU_Min to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_EU_Min', float(value))
|
||||
|
||||
def vfdipp_pressureHiSP(self, name, value):
|
||||
print('trying to set Pressure_Hi_SP to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Hi_SP', float(value))
|
||||
print('trying to set Pressure_Hi_SP to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Hi_SP', float(value))
|
||||
|
||||
def vfdipp_pressureLoSP(self, name, value):
|
||||
print('trying to set Pressure_Lo_SP to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Lo_SP', float(value))
|
||||
print('trying to set Pressure_Lo_SP to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Lo_SP', float(value))
|
||||
|
||||
def vfdipp_pressureShutdown(self, name, value):
|
||||
print('trying to set Pressure_Shutdown to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Shutdown', float(value))
|
||||
print('trying to set Pressure_Shutdown to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Shutdown', float(value))
|
||||
|
||||
def vfdipp_pressureShutdownEnabled(self, name, value):
|
||||
print('trying to set Pressure_Shutdown_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Shutdown_Enabled', int(value))
|
||||
print('trying to set Pressure_Shutdown_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Shutdown_Enabled', int(value))
|
||||
|
||||
def vfdipp_pressureStartup(self, name, value):
|
||||
print('trying to set Pressure_Startup to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Startup', float(value))
|
||||
print('trying to set Pressure_Startup to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Startup', float(value))
|
||||
|
||||
def vfdipp_pressureStartupEnabled(self, name, value):
|
||||
print('trying to set Pressure_Startup_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Startup_Enabled', int(value))
|
||||
print('trying to set Pressure_Startup_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Startup_Enabled', int(value))
|
||||
|
||||
def vfdipp_pressureSwitchEnabled(self, name, value):
|
||||
print('trying to set Pressure_Switch_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Switch_Enabled', int(value))
|
||||
print('trying to set Pressure_Switch_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Switch_Enabled', int(value))
|
||||
|
||||
def vfdipp_pressureTransducerEnabled(self, name, value):
|
||||
print('trying to set Pressure_Transducer_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Transducer_Enabled', int(value))
|
||||
print('trying to set Pressure_Transducer_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Pressure_Transducer_Enabled', int(value))
|
||||
|
||||
def vfdipp_startCommand(self, name, value):
|
||||
print('trying to set Start_Command to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Start_Command', int(value))
|
||||
print('trying to set Start_Command to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Start_Command', int(value))
|
||||
|
||||
def vfdipp_stopCommand(self, name, value):
|
||||
print('trying to set Stop_Command to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Stop_Command', int(value))
|
||||
print('trying to set Stop_Command to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Stop_Command', int(value))
|
||||
|
||||
def vfdipp_tempShutdown(self, name, value):
|
||||
print('trying to set Temp_Shutdown to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Temp_Shutdown', float(value))
|
||||
print('trying to set Temp_Shutdown to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Temp_Shutdown', float(value))
|
||||
|
||||
def vfdipp_tempShutdownEnabled(self, name, value):
|
||||
print('trying to set Temp_Shutdown_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Temp_Shutdown_Enabled', int(value))
|
||||
print('trying to set Temp_Shutdown_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Temp_Shutdown_Enabled', int(value))
|
||||
|
||||
def vfdipp_tempStartup(self, name, value):
|
||||
print('trying to set Temp_Startup to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Temp_Startup', float(value))
|
||||
print('trying to set Temp_Startup to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Temp_Startup', float(value))
|
||||
|
||||
def vfdipp_tempStartupEnabled(self, name, value):
|
||||
print('trying to set Temp_Startup_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Temp_Startup_Enabled', int(value))
|
||||
print('trying to set Temp_Startup_Enabled to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'Temp_Startup_Enabled', int(value))
|
||||
|
||||
def vfdipp_tripEnableVOverfrequency(self, name, value):
|
||||
print('trying to set TripEnable_V_Overfrequency to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_Overfrequency', int(value))
|
||||
print('trying to set TripEnable_V_Overfrequency to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_Overfrequency', int(value))
|
||||
|
||||
def vfdipp_tripEnableVOvervoltage(self, name, value):
|
||||
print('trying to set TripEnable_V_Overvoltage to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_Overvoltage', int(value))
|
||||
print('trying to set TripEnable_V_Overvoltage to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_Overvoltage', int(value))
|
||||
|
||||
def vfdipp_tripEnableVPhaseRotation(self, name, value):
|
||||
print('trying to set TripEnable_V_PhaseRotation to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_PhaseRotation', int(value))
|
||||
print('trying to set TripEnable_V_PhaseRotation to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_PhaseRotation', int(value))
|
||||
|
||||
def vfdipp_tripEnableVUnderfrequency(self, name, value):
|
||||
print('trying to set TripEnable_V_Underfrequency to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_Underfrequency', int(value))
|
||||
print('trying to set TripEnable_V_Underfrequency to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_Underfrequency', int(value))
|
||||
|
||||
def vfdipp_tripEnableVUndervoltage(self, name, value):
|
||||
print('trying to set TripEnable_V_Undervoltage to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_Undervoltage', int(value))
|
||||
print('trying to set TripEnable_V_Undervoltage to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_Undervoltage', int(value))
|
||||
|
||||
def vfdipp_tripEnableVVoltageUnbalance(self, name, value):
|
||||
print('trying to set TripEnable_V_VoltageUnbalance to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_VoltageUnbalance', int(value))
|
||||
print('trying to set TripEnable_V_VoltageUnbalance to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnable_V_VoltageUnbalance', int(value))
|
||||
|
||||
def vfdipp_tripEnabledICurrentImbalance(self, name, value):
|
||||
print('trying to set TripEnabled_I_CurrentImbalance to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_CurrentImbalance', int(value))
|
||||
print('trying to set TripEnabled_I_CurrentImbalance to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_CurrentImbalance', int(value))
|
||||
|
||||
def vfdipp_tripEnabledIGroundFault(self, name, value):
|
||||
print('trying to set TripEnabled_I_GroundFault to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_GroundFault', int(value))
|
||||
print('trying to set TripEnabled_I_GroundFault to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_GroundFault', int(value))
|
||||
|
||||
def vfdipp_tripEnabledIJam(self, name, value):
|
||||
print('trying to set TripEnabled_I_Jam to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Jam', int(value))
|
||||
print('trying to set TripEnabled_I_Jam to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Jam', int(value))
|
||||
|
||||
def vfdipp_tripEnabledILineLoss(self, name, value):
|
||||
print('trying to set TripEnabled_I_LineLoss to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_LineLoss', int(value))
|
||||
print('trying to set TripEnabled_I_LineLoss to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_LineLoss', int(value))
|
||||
|
||||
def vfdipp_tripEnabledIOvercurrent(self, name, value):
|
||||
print('trying to set TripEnabled_I_Overcurrent to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Overcurrent', int(value))
|
||||
print('trying to set TripEnabled_I_Overcurrent to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Overcurrent', int(value))
|
||||
|
||||
def vfdipp_tripEnabledIOverload(self, name, value):
|
||||
print('trying to set TripEnabled_I_Overload to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Overload', int(value))
|
||||
print('trying to set TripEnabled_I_Overload to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Overload', int(value))
|
||||
|
||||
def vfdipp_tripEnabledIPhaseLoss(self, name, value):
|
||||
print('trying to set TripEnabled_I_PhaseLoss to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_PhaseLoss', int(value))
|
||||
print('trying to set TripEnabled_I_PhaseLoss to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_PhaseLoss', int(value))
|
||||
|
||||
def vfdipp_tripEnabledIStall(self, name, value):
|
||||
print('trying to set TripEnabled_I_Stall to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Stall', int(value))
|
||||
print('trying to set TripEnabled_I_Stall to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Stall', int(value))
|
||||
|
||||
def vfdipp_tripEnabledIUndercurrent(self, name, value):
|
||||
print('trying to set TripEnabled_I_Undercurrent to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Undercurrent', int(value))
|
||||
print('trying to set TripEnabled_I_Undercurrent to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Undercurrent', int(value))
|
||||
|
||||
def vfdipp_tripEnabledIUnderload(self, name, value):
|
||||
print('trying to set TripEnabled_I_Underload to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Underload', int(value))
|
||||
print('trying to set TripEnabled_I_Underload to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripEnabled_I_Underload', int(value))
|
||||
|
||||
def vfdipp_tripResetCmd(self, name, value):
|
||||
print('trying to set TripResetCmd to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripResetCmd', int(value))
|
||||
print('trying to set TripResetCmd to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'TripResetCmd', int(value))
|
||||
|
||||
def vfdipp_warningEnableVOverfrequency(self, name, value):
|
||||
print('trying to set WarningEnable_V_Overfrequency to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_Overfrequency', int(value))
|
||||
print('trying to set WarningEnable_V_Overfrequency to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_Overfrequency', int(value))
|
||||
|
||||
def vfdipp_warningEnableVOvervoltage(self, name, value):
|
||||
print('trying to set WarningEnable_V_Overvoltage to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_Overvoltage', int(value))
|
||||
print('trying to set WarningEnable_V_Overvoltage to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_Overvoltage', int(value))
|
||||
|
||||
def vfdipp_warningEnableVPhaseRotation(self, name, value):
|
||||
print('trying to set WarningEnable_V_PhaseRotation to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_PhaseRotation', int(value))
|
||||
print('trying to set WarningEnable_V_PhaseRotation to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_PhaseRotation', int(value))
|
||||
|
||||
def vfdipp_warningEnableVUnderfrequency(self, name, value):
|
||||
print('trying to set WarningEnable_V_Underfrequency to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_Underfrequency', int(value))
|
||||
print('trying to set WarningEnable_V_Underfrequency to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_Underfrequency', int(value))
|
||||
|
||||
def vfdipp_warningEnableVUndervoltage(self, name, value):
|
||||
print('trying to set WarningEnable_V_Undervoltage to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_Undervoltage', int(value))
|
||||
print('trying to set WarningEnable_V_Undervoltage to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_Undervoltage', int(value))
|
||||
|
||||
def vfdipp_warningEnableVVoltageUnbalance(self, name, value):
|
||||
print('trying to set WarningEnable_V_VoltageUnbalance to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_VoltageUnbalance', int(value))
|
||||
print('trying to set WarningEnable_V_VoltageUnbalance to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnable_V_VoltageUnbalance', int(value))
|
||||
|
||||
def vfdipp_warningEnabledICurrentImbalance(self, name, value):
|
||||
print('trying to set WarningEnabled_I_CurrentImbalance to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_CurrentImbalance', int(value))
|
||||
print('trying to set WarningEnabled_I_CurrentImbalance to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_CurrentImbalance', int(value))
|
||||
|
||||
def vfdipp_warningEnabledIGroundFault(self, name, value):
|
||||
print('trying to set WarningEnabled_I_GroundFault to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_GroundFault', int(value))
|
||||
print('trying to set WarningEnabled_I_GroundFault to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_GroundFault', int(value))
|
||||
|
||||
def vfdipp_warningEnabledIJam(self, name, value):
|
||||
print('trying to set WarningEnabled_I_Jam to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Jam', int(value))
|
||||
print('trying to set WarningEnabled_I_Jam to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Jam', int(value))
|
||||
|
||||
def vfdipp_warningEnabledILineLoss(self, name, value):
|
||||
print('trying to set WarningEnabled_I_LineLoss to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_LineLoss', int(value))
|
||||
print('trying to set WarningEnabled_I_LineLoss to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_LineLoss', int(value))
|
||||
|
||||
def vfdipp_warningEnabledIOvercurrent(self, name, value):
|
||||
print('trying to set WarningEnabled_I_Overcurrent to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Overcurrent', int(value))
|
||||
print('trying to set WarningEnabled_I_Overcurrent to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Overcurrent', int(value))
|
||||
|
||||
def vfdipp_warningEnabledIOverload(self, name, value):
|
||||
print('trying to set WarningEnabled_I_Overload to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Overload', int(value))
|
||||
print('trying to set WarningEnabled_I_Overload to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Overload', int(value))
|
||||
|
||||
def vfdipp_warningEnabledIPhaseLoss(self, name, value):
|
||||
print('trying to set WarningEnabled_I_PhaseLoss to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_PhaseLoss', int(value))
|
||||
print('trying to set WarningEnabled_I_PhaseLoss to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_PhaseLoss', int(value))
|
||||
|
||||
def vfdipp_warningEnabledIStall(self, name, value):
|
||||
print('trying to set WarningEnabled_I_Stall to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Stall', int(value))
|
||||
print('trying to set WarningEnabled_I_Stall to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Stall', int(value))
|
||||
|
||||
def vfdipp_warningEnabledIUndercurrent(self, name, value):
|
||||
print('trying to set WarningEnabled_I_Undercurrent to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Undercurrent', int(value))
|
||||
print('trying to set WarningEnabled_I_Undercurrent to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Undercurrent', int(value))
|
||||
|
||||
def vfdipp_warningEnabledIUnderload(self, name, value):
|
||||
print('trying to set WarningEnabled_I_Underload to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Underload', int(value))
|
||||
print('trying to set WarningEnabled_I_Underload to {}'.format(value))
|
||||
return u800.writeMicroTag(addr, 'WarningEnabled_I_Underload', int(value))
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,4 +1,3 @@
|
||||
import pickle
|
||||
import xml.etree.ElementTree as ET
|
||||
tree = ET.parse('tags.xml')
|
||||
root = tree.getroot()
|
||||
@@ -22,6 +21,7 @@ ignore_tags = [
|
||||
"DigitalInput_Status_3",
|
||||
"DigitalInput_Status_4",
|
||||
"DigitalInput_Status_5",
|
||||
"E300_Config_Buffer",
|
||||
"E300_OUTPUT_NUMBER",
|
||||
"E300_OUTPUT_SET_CORRECTLY",
|
||||
"E300_Output_Enable",
|
||||
@@ -69,9 +69,9 @@ ignore_tags = [
|
||||
"cfg_I_L3_UndercurrentTripDelay",
|
||||
"cfg_I_L3_UndercurrentTripLevel",
|
||||
"cfg_I_L3_UndercurrentWarningLevel",
|
||||
"cfg_I_TripEnableCurrent", # Enables get build by the enable bits
|
||||
"cfg_I_TripEnableCurrent", # Enables get build by the enable bits
|
||||
"cfg_I_WarningEnableCurrent",
|
||||
"cfg_P_OverApparentPowerInhibitTime", # We're not going to worry about the power configuration for this panel
|
||||
"cfg_P_OverApparentPowerInhibitTime", # We're not going to worry about the power configuration for this panel
|
||||
"cfg_P_OverApparentPowerTripDelay",
|
||||
"cfg_P_OverApparentPowerTripLevel",
|
||||
"cfg_P_OverApparentPowerWarningLevel",
|
||||
@@ -259,22 +259,28 @@ for child in root:
|
||||
tagName = child[1].text
|
||||
tagType = child[2].text
|
||||
struct = {
|
||||
'tag':tagName,
|
||||
'tag': tagName,
|
||||
"last_value": "",
|
||||
"data_type": tagType,
|
||||
"change_amount": .5,
|
||||
"last_time_uploaded": 0,
|
||||
"max_time_between_uploads": 360
|
||||
"max_time_between_uploads": 3600
|
||||
}
|
||||
if tagName in writeable_tags:
|
||||
struct['read_only'] = False
|
||||
else:
|
||||
struct['read_only'] = True
|
||||
|
||||
chName = tagName.replace("_", "") # Channel names cannot have underscores
|
||||
chName = chName[0].lower() + chName[1:] # Channel names should all start wth a lowercase letter
|
||||
if tagName[0:3] == "cfg":
|
||||
struct['max_time_between_uploads'] = 86400
|
||||
|
||||
if not tagName in ignore_tags:
|
||||
chName = tagName.replace("_", "") # Channel names cannot have underscores
|
||||
chName = chName.lower() # Channel names should all start wth a lowercase letter
|
||||
|
||||
if len(chName) > 30:
|
||||
chName = chName[0:30]
|
||||
|
||||
if tagName not in ignore_tags:
|
||||
if tagType == "BOOL":
|
||||
struct['change_amount'] = None
|
||||
channels[chName] = struct
|
||||
@@ -316,8 +322,6 @@ with open('channels.txt', 'wb') as ch_txt:
|
||||
rw = "WRITEABLE"
|
||||
ch_txt.write('[] - {} - {} - {}\r'.format(x, c['data_type'], rw))
|
||||
|
||||
|
||||
|
||||
print("UNREADABLE CHANNELS: ")
|
||||
for y in sorted(unreadable_channels):
|
||||
print("{} - {}".format(unreadable_channels[y]['data_type'], y))
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user