From cca0d15791f54369bca3eb46282393cb03d7b7b0 Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Sat, 14 May 2016 14:41:42 -0500 Subject: [PATCH 1/3] Added channel notes & comments, fixed PLC IP Address --- POCloud_Driver/channels.txt | 2 +- POCloud_Driver/ipp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/POCloud_Driver/channels.txt b/POCloud_Driver/channels.txt index c36552f..48c2a36 100644 --- a/POCloud_Driver/channels.txt +++ b/POCloud_Driver/channels.txt @@ -1 +1 @@ -[] - autoMode - BOOL - read only [] - cfgCFLASetting - REAL - WRITEABLE [] - cfgCTripEnableControl - UINT - WRITEABLE [] - cfgCWarningEnableControl - UINT - WRITEABLE [] - cfgClearTripCountAfter - DINT - WRITEABLE [] - cfgGFGroundFaultInhibitTime - USINT - WRITEABLE [] - cfgGFGroundFaultTripDelay - REAL - WRITEABLE [] - cfgGFGroundFaultTripLevel - REAL - WRITEABLE [] - cfgGFGroundFaultWarningDelay - REAL - WRITEABLE [] - cfgGFGroundFaultWarningLevel - REAL - WRITEABLE [] - cfgICTPrimary - UINT - WRITEABLE [] - cfgICTSecondary - UINT - WRITEABLE [] - cfgICurrentImbalanceInhibitTime - USINT - WRITEABLE [] - cfgICurrentImbalanceTripDelay - USINT - WRITEABLE [] - cfgICurrentImbalanceTripLevel - USINT - WRITEABLE [] - cfgICurrentImbalanceWarningLevel - USINT - WRITEABLE [] - cfgIJamInhibitTime - USINT - WRITEABLE [] - cfgIJamTripDelay - USINT - WRITEABLE [] - cfgIJamTripLevel - UINT - read only [] - cfgIJamWarningLevel - UINT - WRITEABLE [] - cfgILineLossInhibitTime - USINT - WRITEABLE [] - cfgILineLossTripDelay - REAL - WRITEABLE [] - cfgIOvercurrentInhibitTime - USINT - WRITEABLE [] - cfgIOvercurrentTripDelay - REAL - WRITEABLE [] - cfgIOvercurrentTripLevel - USINT - WRITEABLE [] - cfgIOvercurrentWarningLevel - USINT - WRITEABLE [] - cfgIStallEnabledTime - USINT - WRITEABLE [] - cfgIStallTripLevel - UINT - WRITEABLE [] - cfgIUndercurrentInhibitTime - USINT - WRITEABLE [] - cfgIUndercurrentTripDelay - REAL - WRITEABLE [] - cfgIUndercurrentTripLevel - USINT - WRITEABLE [] - cfgIUndercurrentWarningLevel - USINT - WRITEABLE [] - cfgIUnderloadInhibitTime - USINT - WRITEABLE [] - cfgIUnderloadTripDelay - REAL - WRITEABLE [] - cfgIUnderloadTripLevel - USINT - WRITEABLE [] - cfgIUnderloadWarningLevel - USINT - WRITEABLE [] - cfgOverloadTripCountLimit - DINT - WRITEABLE [] - cfgPLPhaseLossInhibitTime - USINT - WRITEABLE [] - cfgPLPhaseLossTripDelay - REAL - WRITEABLE [] - cfgREAD - BOOL - WRITEABLE [] - cfgSpecificGravity - REAL - WRITEABLE [] - cfgTCUOLResetLevel - USINT - read only [] - cfgTCUOLWarningLevel - USINT - read only [] - cfgTCUTripClass - USINT - WRITEABLE [] - cfgTimerModeEnabled - BOOL - WRITEABLE [] - cfgTimerRunTime - DINT - WRITEABLE [] - cfgTimerWaitTime - DINT - WRITEABLE [] - cfgTripCountLimit - DINT - WRITEABLE [] - cfgVOverfrequencyInhibitTime - USINT - WRITEABLE [] - cfgVOverfrequencyTripDelay - REAL - WRITEABLE [] - cfgVOverfrequencyTripLevel - USINT - WRITEABLE [] - cfgVOverfrequencyWarningLevel - USINT - WRITEABLE [] - cfgVOvervoltageInhibitTime - USINT - WRITEABLE [] - cfgVOvervoltageTripDelay - REAL - WRITEABLE [] - cfgVOvervoltageTripLevel - REAL - WRITEABLE [] - cfgVOvervoltageWarningLevel - REAL - WRITEABLE [] - cfgVPTPrimary - UINT - WRITEABLE [] - cfgVPTSecondary - UINT - WRITEABLE [] - cfgVPhaseRotationInhibitTime - USINT - WRITEABLE [] - cfgVPhaseRotationTripType - USINT - WRITEABLE [] - cfgVUnderfrequencyInhibitTime - USINT - WRITEABLE [] - cfgVUnderfrequencyTripDelay - REAL - WRITEABLE [] - cfgVUnderfrequencyTripLevel - USINT - WRITEABLE [] - cfgVUnderfrequencyWarningLevel - USINT - WRITEABLE [] - cfgVUndervoltageInhibitTime - USINT - WRITEABLE [] - cfgVUndervoltageTripDelay - REAL - WRITEABLE [] - cfgVUndervoltageTripLevel - REAL - WRITEABLE [] - cfgVUndervoltageWarningLevel - REAL - WRITEABLE [] - cfgVVoltageImbalanceInhibitTime - USINT - WRITEABLE [] - cfgVVoltageImbalanceTripDelay - REAL - WRITEABLE [] - cfgVVoltageImbalanceTripLevel - USINT - WRITEABLE [] - cfgVVoltageImbalanceWarningLevel - USINT - WRITEABLE [] - cfgVVoltageMode - USINT - WRITEABLE [] - cfgWRITE - BOOL - WRITEABLE [] - contactorStatus - BOOL - read only [] - dHDownholeStatusINT - UINT - read only [] - dHFluidLevel - REAL - read only [] - dHIntakePressure - REAL - read only [] - dHIntakeTemperature - REAL - read only [] - dHMaxIntakePressureForever - UINT - read only [] - dHMaxIntakePressureStartup - UINT - read only [] - dHMaxIntakeTemperatureForever - REAL - read only [] - dHMaxIntakeTemperatureStartup - REAL - read only [] - dHNumChannels - UINT - read only [] - dHPSIRating - UINT - read only [] - dHToolType - UINT - read only [] - dHToolVoltage - UINT - read only [] - downholeToolEnabled - BOOL - read only [] - downtimeTimeParameter - DINT - WRITEABLE [] - downtimeTimeParameterOL - DINT - WRITEABLE [] - e300AverageCurrent - REAL - read only [] - e300AverageLLVoltage - REAL - read only [] - e300AverageLNVoltage - REAL - read only [] - e300ConfigBuffer - USINT - read only [] - e300L1ApparentPower - REAL - read only [] - e300L1Current - REAL - read only [] - e300L1L2Voltage - REAL - read only [] - e300L1NVoltage - REAL - read only [] - e300L1ReactivePower - REAL - read only [] - e300L1RealPower - REAL - read only [] - e300L1TruePowerFactor - REAL - read only [] - e300L2ApparentPower - REAL - read only [] - e300L2Current - REAL - read only [] - e300L2L3Voltage - REAL - read only [] - e300L2NVoltage - REAL - read only [] - e300L2ReactivePower - REAL - read only [] - e300L2RealPower - REAL - read only [] - e300L2TruePowerFactor - REAL - read only [] - e300L3ApparentPower - REAL - read only [] - e300L3Current - REAL - read only [] - e300L3L1Voltage - REAL - read only [] - e300L3NVoltage - REAL - read only [] - e300L3ReactivePower - REAL - read only [] - e300L3RealPower - REAL - read only [] - e300L3TruePowerFactor - REAL - read only [] - e300LineFrequency - REAL - read only [] - e300PercentCurrentUnbalance - REAL - read only [] - e300PercentVoltageUnbalance - REAL - read only [] - e300ThreePhaseTruePowerFactor - REAL - read only [] - e300TotalApparentPower - REAL - read only [] - e300TotalReactivePower - REAL - read only [] - e300TotalRealPower - REAL - read only [] - e300kWh - REAL - read only [] - e300kWhRegen - REAL - read only [] - handMode - BOOL - read only [] - overloadTrip - BOOL - read only [] - pressureAlarmDelay - UDINT - WRITEABLE [] - pressureAlarmStartupDelay - DINT - WRITEABLE [] - pressureEUMax - REAL - WRITEABLE [] - pressureEUMin - REAL - WRITEABLE [] - pressureHi - BOOL - read only [] - pressureHiSP - REAL - WRITEABLE [] - pressureIn - REAL - read only [] - pressureLo - BOOL - read only [] - pressureLoSP - REAL - WRITEABLE [] - pressureOK - BOOL - read only [] - pressureShutdown - REAL - WRITEABLE [] - pressureShutdownEnabled - BOOL - WRITEABLE [] - pressureStartup - REAL - WRITEABLE [] - pressureStartupEnabled - BOOL - WRITEABLE [] - pressureSwitchEnabled - BOOL - WRITEABLE [] - pressureTransducerEnabled - BOOL - WRITEABLE [] - rPMode - BOOL - read only [] - rPPressure - BOOL - read only [] - rPTemperature - BOOL - read only [] - rPTrip - BOOL - read only [] - rPTubingPressure - BOOL - read only [] - runPermissive - BOOL - read only [] - sPMode - BOOL - read only [] - sPPressure - BOOL - read only [] - sPTemperature - BOOL - read only [] - sPTrip - BOOL - read only [] - sPVoltage - BOOL - read only [] - shutdownTime - DINT - read only [] - startButton - BOOL - read only [] - startCommand - BOOL - WRITEABLE [] - startPermissive - BOOL - read only [] - stopCommand - BOOL - WRITEABLE [] - tempShutdown - REAL - WRITEABLE [] - tempShutdownEnabled - BOOL - WRITEABLE [] - tempStartup - REAL - WRITEABLE [] - tempStartupEnabled - BOOL - WRITEABLE [] - testMode - BOOL - read only [] - tripEnableVOverfrequency - BOOL - WRITEABLE [] - tripEnableVOvervoltage - BOOL - WRITEABLE [] - tripEnableVPhaseRotation - BOOL - WRITEABLE [] - tripEnableVUnderfrequency - BOOL - WRITEABLE [] - tripEnableVUndervoltage - BOOL - WRITEABLE [] - tripEnableVVoltageUnbalance - BOOL - WRITEABLE [] - tripEnabledICurrentImbalance - BOOL - WRITEABLE [] - tripEnabledIGroundFault - BOOL - WRITEABLE [] - tripEnabledIJam - BOOL - WRITEABLE [] - tripEnabledILineLoss - BOOL - WRITEABLE [] - tripEnabledIOvercurrent - BOOL - WRITEABLE [] - tripEnabledIOverload - BOOL - WRITEABLE [] - tripEnabledIPhaseLoss - BOOL - WRITEABLE [] - tripEnabledIStall - BOOL - WRITEABLE [] - tripEnabledIUndercurrent - BOOL - WRITEABLE [] - tripEnabledIUnderload - BOOL - WRITEABLE [] - tripResetCmd - BOOL - WRITEABLE [] - tripStatus - BOOL - read only [] - tripStatusControlINT - UINT - read only [] - tripStatusCurrentINT - UINT - read only [] - tripStatusPowerINT - UINT - read only [] - tripStatusVoltageINT - UINT - read only [] - valOverloadTripCount - DINT - read only [] - valTripCount - DINT - read only [] - voltageOK - BOOL - read only [] - warningEnableVOverfrequency - BOOL - WRITEABLE [] - warningEnableVOvervoltage - BOOL - WRITEABLE [] - warningEnableVPhaseRotation - BOOL - WRITEABLE [] - warningEnableVUnderfrequency - BOOL - WRITEABLE [] - warningEnableVUndervoltage - BOOL - WRITEABLE [] - warningEnableVVoltageUnbalance - BOOL - WRITEABLE [] - warningEnabledICurrentImbalance - BOOL - WRITEABLE [] - warningEnabledIGroundFault - BOOL - WRITEABLE [] - warningEnabledIJam - BOOL - WRITEABLE [] - warningEnabledILineLoss - BOOL - WRITEABLE [] - warningEnabledIOvercurrent - BOOL - WRITEABLE [] - warningEnabledIOverload - BOOL - WRITEABLE [] - warningEnabledIPhaseLoss - BOOL - WRITEABLE [] - warningEnabledIStall - BOOL - WRITEABLE [] - warningEnabledIUndercurrent - BOOL - WRITEABLE [] - warningEnabledIUnderload - BOOL - WRITEABLE [] - warningStatus - BOOL - read only [] - warningStatusControlINT - UINT - read only [] - warningStatusCurrentINT - UINT - read only [] - warningStatusPowerINT - UINT - read only [] - warningStatusVoltageINT - UINT - read only \ No newline at end of file +[x] - autoMode - BOOL - read only [x] - cfgCFLASetting - REAL - WRITEABLE [DELETE] - cfgCTripEnableControl - UINT - WRITEABLE [DELETE] - cfgCWarningEnableControl - UINT - WRITEABLE [x] - cfgClearTripCountAfter - DINT - WRITEABLE [x] - cfgGFGroundFaultInhibitTime - USINT - WRITEABLE [x] - cfgGFGroundFaultTripDelay - REAL - WRITEABLE [x] - cfgGFGroundFaultTripLevel - REAL - WRITEABLE [x] - cfgGFGroundFaultWarningDelay - REAL - WRITEABLE [x] - cfgGFGroundFaultWarningLevel - REAL - WRITEABLE [x] - cfgICTPrimary - UINT - WRITEABLE [x] - cfgICTSecondary - UINT - WRITEABLE [30] - cfgICurrentImbalanceInhibitTim - USINT - WRITEABLE [x] - cfgICurrentImbalanceTripDelay - USINT - WRITEABLE [x] - cfgICurrentImbalanceTripLevel - USINT - WRITEABLE [30] - cfgICurrentImbalanceWarningLevel - USINT - WRITEABLE [x] - cfgIJamInhibitTime - USINT - WRITEABLE [x] - cfgIJamTripDelay - USINT - WRITEABLE [WRITE] - cfgIJamTripLevel - UINT - read only [x] - cfgIJamWarningLevel - UINT - WRITEABLE [x] - cfgILineLossInhibitTime - USINT - WRITEABLE [x] - cfgILineLossTripDelay - REAL - WRITEABLE [x] - cfgIOvercurrentInhibitTime - USINT - WRITEABLE [x] - cfgIOvercurrentTripDelay - REAL - WRITEABLE [x] - cfgIOvercurrentTripLevel - USINT - WRITEABLE [x] - cfgIOvercurrentWarningLevel - USINT - WRITEABLE [x] - cfgIStallEnabledTime - USINT - WRITEABLE [x] - cfgIStallTripLevel - UINT - WRITEABLE [x] - cfgIUndercurrentInhibitTime - USINT - WRITEABLE [x] - cfgIUndercurrentTripDelay - REAL - WRITEABLE [x] - cfgIUndercurrentTripLevel - USINT - WRITEABLE [x] - cfgIUndercurrentWarningLevel - USINT - WRITEABLE [x] - cfgIUnderloadInhibitTime - USINT - WRITEABLE [x] - cfgIUnderloadTripDelay - REAL - WRITEABLE [x] - cfgIUnderloadTripLevel - USINT - WRITEABLE [x] - cfgIUnderloadWarningLevel - USINT - WRITEABLE [x] - cfgOverloadTripCountLimit - DINT - WRITEABLE [x] - cfgPLPhaseLossInhibitTime - USINT - WRITEABLE [x] - cfgPLPhaseLossTripDelay - REAL - WRITEABLE [x] - cfgREAD - BOOL - WRITEABLE [x] - cfgSpecificGravity - REAL - WRITEABLE [WRITE] - cfgTCUOLResetLevel - USINT - read only [WRITE] - cfgTCUOLWarningLevel - USINT - read only [x] - cfgTCUTripClass - USINT - WRITEABLE [x] - cfgTimerModeEnabled - BOOL - WRITEABLE [x] - cfgTimerRunTime - DINT - WRITEABLE [x] - cfgTimerWaitTime - DINT - WRITEABLE [x] - cfgTripCountLimit - DINT - WRITEABLE [x] - cfgVOverfrequencyInhibitTime - USINT - WRITEABLE [x] - cfgVOverfrequencyTripDelay - REAL - WRITEABLE [x] - cfgVOverfrequencyTripLevel - USINT - WRITEABLE [x] - cfgVOverfrequencyWarningLevel - USINT - WRITEABLE [x] - cfgVOvervoltageInhibitTime - USINT - WRITEABLE [x] - cfgVOvervoltageTripDelay - REAL - WRITEABLE [x] - cfgVOvervoltageTripLevel - REAL - WRITEABLE [x] - cfgVOvervoltageWarningLevel - REAL - WRITEABLE [x] - cfgVPTPrimary - UINT - WRITEABLE [x] - cfgVPTSecondary - UINT - WRITEABLE [x] - cfgVPhaseRotationInhibitTime - USINT - WRITEABLE [x] - cfgVPhaseRotationTripType - USINT - WRITEABLE [x] - cfgVUnderfrequencyInhibitTime - USINT - WRITEABLE [x] - cfgVUnderfrequencyTripDelay - REAL - WRITEABLE [x] - cfgVUnderfrequencyTripLevel - USINT - WRITEABLE [x] - cfgVUnderfrequencyWarningLevel - USINT - WRITEABLE [x] - cfgVUndervoltageInhibitTime - USINT - WRITEABLE [x] - cfgVUndervoltageTripDelay - REAL - WRITEABLE [x] - cfgVUndervoltageTripLevel - REAL - WRITEABLE [x] - cfgVUndervoltageWarningLevel - REAL - WRITEABLE [30] - cfgVVoltageImbalanceInhibitTim - USINT - WRITEABLE [x] - cfgVVoltageImbalanceTripDelay - REAL - WRITEABLE [x] - cfgVVoltageImbalanceTripLevel - USINT - WRITEABLE [30] - cfgVVoltageImbalanceWarningLevel - USINT - WRITEABLE [x] - cfgVVoltageMode - USINT - WRITEABLE [x] - cfgWRITE - BOOL - WRITEABLE [x] - contactorStatus - BOOL - read only [x] - dHDownholeStatusINT - UINT - read only [x] - dHFluidLevel - REAL - read only [x] - dHIntakePressure - REAL - read only [x] - dHIntakeTemperature - REAL - read only [x] - dHMaxIntakePressureForever - UINT - read only [x] - dHMaxIntakePressureStartup - UINT - read only [x] - dHMaxIntakeTemperatureForever - REAL - read only [x] - dHMaxIntakeTemperatureStartup - REAL - read only [x] - dHNumChannels - UINT - read only [x] - dHPSIRating - UINT - read only [x] - dHToolType - UINT - read only [x] - dHToolVoltage - UINT - read only [WRITE] - downholeToolEnabled - BOOL - read only [x] - downtimeTimeParameter - DINT - WRITEABLE [x] - downtimeTimeParameterOL - DINT - WRITEABLE [x] - e300AverageCurrent - REAL - read only [x] - e300AverageLLVoltage - REAL - read only [x] - e300AverageLNVoltage - REAL - read only [DELETE] - e300ConfigBuffer - USINT - read only [x] - e300L1ApparentPower - REAL - read only [x] - e300L1Current - REAL - read only [x] - e300L1L2Voltage - REAL - read only [x] - e300L1NVoltage - REAL - read only [x] - e300L1ReactivePower - REAL - read only [x] - e300L1RealPower - REAL - read only [x] - e300L1TruePowerFactor - REAL - read only [x] - e300L2ApparentPower - REAL - read only [x] - e300L2Current - REAL - read only [x] - e300L2L3Voltage - REAL - read only [x] - e300L2NVoltage - REAL - read only [x] - e300L2ReactivePower - REAL - read only [x] - e300L2RealPower - REAL - read only [x] - e300L2TruePowerFactor - REAL - read only [x] - e300L3ApparentPower - REAL - read only [x] - e300L3Current - REAL - read only [x] - e300L3L1Voltage - REAL - read only [x] - e300L3NVoltage - REAL - read only [x] - e300L3ReactivePower - REAL - read only [x] - e300L3RealPower - REAL - read only [x] - e300L3TruePowerFactor - REAL - read only [x] - e300LineFrequency - REAL - read only [x] - e300PercentCurrentUnbalance - REAL - read only [x] - e300PercentVoltageUnbalance - REAL - read only [x] - e300ThreePhaseTruePowerFactor - REAL - read only [x] - e300TotalApparentPower - REAL - read only [x] - e300TotalReactivePower - REAL - read only [x] - e300TotalRealPower - REAL - read only [x] - e300kWh - REAL - read only [x] - e300kWhRegen - REAL - read only [x] - handMode - BOOL - read only [x] - overloadTrip - BOOL - read only [x] - pressureAlarmDelay - UDINT - WRITEABLE [x] - pressureAlarmStartupDelay - DINT - WRITEABLE [x] - pressureEUMax - REAL - WRITEABLE [x] - pressureEUMin - REAL - WRITEABLE [x] - pressureHi - BOOL - read only [x] - pressureHiSP - REAL - WRITEABLE [x] - pressureIn - REAL - read only [x] - pressureLo - BOOL - read only [x] - pressureLoSP - REAL - WRITEABLE [x] - pressureOK - BOOL - read only [x] - pressureShutdown - REAL - WRITEABLE [x] - pressureShutdownEnabled - BOOL - WRITEABLE [x] - pressureStartup - REAL - WRITEABLE [x] - pressureStartupEnabled - BOOL - WRITEABLE [x] - pressureSwitchEnabled - BOOL - WRITEABLE [x] - pressureTransducerEnabled - BOOL - WRITEABLE [x] - rPMode - BOOL - read only [x] - rPPressure - BOOL - read only [x] - rPTemperature - BOOL - read only [x] - rPTrip - BOOL - read only [x] - rPTubingPressure - BOOL - read only [x] - runPermissive - BOOL - read only [x] - sPMode - BOOL - read only [x] - sPPressure - BOOL - read only [x] - sPTemperature - BOOL - read only [x] - sPTrip - BOOL - read only [x] - sPVoltage - BOOL - read only [DELETE] - shutdownTime - DINT - read only [DELETE] - startButton - BOOL - read only [x] - startCommand - BOOL - WRITEABLE [x] - startPermissive - BOOL - read only [x] - stopCommand - BOOL - WRITEABLE [x] - tempShutdown - REAL - WRITEABLE [x] - tempShutdownEnabled - BOOL - WRITEABLE [x] - tempStartup - REAL - WRITEABLE [x] - tempStartupEnabled - BOOL - WRITEABLE [x] - testMode - BOOL - read only [x] - tripEnableVOverfrequency - BOOL - WRITEABLE [x] - tripEnableVOvervoltage - BOOL - WRITEABLE [x] - tripEnableVPhaseRotation - BOOL - WRITEABLE [x] - tripEnableVUnderfrequency - BOOL - WRITEABLE [x] - tripEnableVUndervoltage - BOOL - WRITEABLE [x] - tripEnableVVoltageUnbalance - BOOL - WRITEABLE [x] - tripEnabledICurrentImbalance - BOOL - WRITEABLE [x] - tripEnabledIGroundFault - BOOL - WRITEABLE [x] - tripEnabledIJam - BOOL - WRITEABLE [x] - tripEnabledILineLoss - BOOL - WRITEABLE [x] - tripEnabledIOvercurrent - BOOL - WRITEABLE [x] - tripEnabledIOverload - BOOL - WRITEABLE [x] - tripEnabledIPhaseLoss - BOOL - WRITEABLE [x] - tripEnabledIStall - BOOL - WRITEABLE [x] - tripEnabledIUndercurrent - BOOL - WRITEABLE [x] - tripEnabledIUnderload - BOOL - WRITEABLE [x] - tripResetCmd - BOOL - WRITEABLE [x] - tripStatus - BOOL - read only [x] - tripStatusControlINT - UINT - read only [x] - tripStatusCurrentINT - UINT - read only [x] - tripStatusPowerINT - UINT - read only [x] - tripStatusVoltageINT - UINT - read only [x] - valOverloadTripCount - DINT - read only [x] - valTripCount - DINT - read only [x] - voltageOK - BOOL - read only [x] - warningEnableVOverfrequency - BOOL - WRITEABLE [x] - warningEnableVOvervoltage - BOOL - WRITEABLE [x] - warningEnableVPhaseRotation - BOOL - WRITEABLE [x] - warningEnableVUnderfrequency - BOOL - WRITEABLE [x] - warningEnableVUndervoltage - BOOL - WRITEABLE [x] - warningEnableVVoltageUnbalance - BOOL - WRITEABLE [30] - warningEnabledICurrentImbalan - BOOL - WRITEABLE [x] - warningEnabledIGroundFault - BOOL - WRITEABLE [x] - warningEnabledIJam - BOOL - WRITEABLE [x] - warningEnabledILineLoss - BOOL - WRITEABLE [x] - warningEnabledIOvercurrent - BOOL - WRITEABLE [x] - warningEnabledIOverload - BOOL - WRITEABLE [x] - warningEnabledIPhaseLoss - BOOL - WRITEABLE [x] - warningEnabledIStall - BOOL - WRITEABLE [x] - warningEnabledIUndercurrent - BOOL - WRITEABLE [x] - warningEnabledIUnderload - BOOL - WRITEABLE [x] - warningStatus - BOOL - read only [x] - warningStatusControlINT - UINT - read only [x] - warningStatusCurrentINT - UINT - read only [x] - warningStatusPowerINT - UINT - read only [x] - warningStatusVoltageINT - UINT - read only \ No newline at end of file diff --git a/POCloud_Driver/ipp.py b/POCloud_Driver/ipp.py index 671263a..76e1a30 100644 --- a/POCloud_Driver/ipp.py +++ b/POCloud_Driver/ipp.py @@ -23,7 +23,7 @@ except: import simplejson as json min_upload_time = 30 -addr = '192.168.1.20' +addr = '10.20.4.5' From d46e4e0179ac1acc218b705d733b1af95127b7ad Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Mon, 16 May 2016 07:35:08 -0500 Subject: [PATCH 2/3] First version of POCloud HTML templates --- POCloud_Driver/HTML/Downhole.html | 58 +- POCloud_Driver/HTML/NodeDetailHeader.html | 6 + POCloud_Driver/HTML/Nodelist.html | 41 + POCloud_Driver/HTML/Overview.html | 100 +- POCloud_Driver/HTML/Permissives.html | 156 +- POCloud_Driver/HTML/Trends.html | 2 +- POCloud_Driver/channels.txt | 2 +- POCloud_Driver/ipp_channels.p | 4053 ++++++++------------- POCloud_Driver/ipp_channels_setup.py | 2 +- POCloud_Driver/parseTags.py | 24 +- POCloud_Driver/writeFunctions.txt | 2 +- 11 files changed, 1573 insertions(+), 2873 deletions(-) create mode 100644 POCloud_Driver/HTML/NodeDetailHeader.html create mode 100644 POCloud_Driver/HTML/Nodelist.html diff --git a/POCloud_Driver/HTML/Downhole.html b/POCloud_Driver/HTML/Downhole.html index a2343f9..5cd66c6 100644 --- a/POCloud_Driver/HTML/Downhole.html +++ b/POCloud_Driver/HTML/Downhole.html @@ -1,4 +1,4 @@ -<% if (channels["vfdipp.downholetoolenabled"].value == 0){ %> +<% if (channels["ipp.downholetoolenabled"].value == 0){ %>

THE DOWNHOLE SENSOR IS DISABLED

@@ -12,24 +12,24 @@

Intake Pressure

-
" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px">
- <%= channels["vfdipp.dhintakepressure"].timestamp %> +
" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px">
+ <%= channels["ipp.dhintakepressure"].timestamp %>

Fluid Level

-
- <%= channels["vfdipp.dhfluidlevel"].timestamp %> +
+ <%= channels["ipp.dhfluidlevel"].timestamp %>

Intake Temperature

-
- <%= channels["vfdipp.dhintaketemperature"].timestamp %> +
+ <%= channels["ipp.dhintaketemperature"].timestamp %>
@@ -37,15 +37,15 @@

Instrument Status

- <% if(channels["vfdipp.dhdownholestatusint"].value == 0) { %> + <% if(channels["ipp.dhdownholestatusint"].value == 0) { %> OK - <% } else if (channels["vfdipp.dhdownholestatusint"].value == 1){ %> + <% } else if (channels["ipp.dhdownholestatusint"].value == 1){ %> Connecting... - <% } else if (channels["vfdipp.dhdownholestatusint"].value == 2){ %> + <% } else if (channels["ipp.dhdownholestatusint"].value == 2){ %> Open Circuit - <% } else if (channels["vfdipp.dhdownholestatusint"].value == 3){ %> + <% } else if (channels["ipp.dhdownholestatusint"].value == 3){ %> Shorted - <% } else if (channels["vfdipp.dhdownholestatusint"].value == 4){ %> + <% } else if (channels["ipp.dhdownholestatusint"].value == 4){ %> Cannot Decode <% } %>

@@ -59,22 +59,22 @@ Max Pressure (Startup) - <%= channels["vfdipp.dhmaxintakepressurestartup"].value %> + <%= channels["ipp.dhmaxintakepressurestartup"].value %> Max Pressure (Lifetime) - <%= channels["vfdipp.dhmaxintakepressureforever"].value %> + <%= channels["ipp.dhmaxintakepressureforever"].value %> Max Temp. (Startup) - <%= channels["vfdipp.dhmaxintaketemperaturestartup"].value %> + <%= channels["ipp.dhmaxintaketemperaturestartup"].value %> Max Temp. (Lifetime) - <%= channels["vfdipp.dhmaxintaketemperatureforever"].value %> + <%= channels["ipp.dhmaxintaketemperatureforever"].value %> @@ -96,7 +96,7 @@

-
+

CONFIGURATION

@@ -109,7 +109,7 @@ Pressure Shutdown Enabled - <% if (channels["vfdipp.dhpressureshutdownenabled"].value == 1){ %> + <% if (channels["ipp.pressureshutdownenabled"].value == 1){ %> True <% } else { %> False @@ -119,13 +119,13 @@ Pressure Shutdown Limit - <%= channels["vfdipp.dhpressureshutdownlimit"].value %> PSI + <%= channels["ipp.pressureshutdown"].value %> PSI Pressure Restart Enabled - <% if (channels["vfdipp.dhpressurestartupenabled"].value == 1){ %> + <% if (channels["ipp.pressurestartupenabled"].value == 1){ %> True <% } else { %> False @@ -135,7 +135,7 @@ Pressure Startup Limit - <%= channels["vfdipp.dhpressurestartup"].value %> PSI + <%= channels["ipp.pressurestartup"].value %> PSI @@ -151,7 +151,7 @@ Temp. Shutdown Enabled - <% if (channels["vfdipp.dhtempshutdownenabled"].value == 1){ %> + <% if (channels["ipp.tempshutdownenabled"].value == 1){ %> True <% } else { %> False @@ -161,13 +161,13 @@ Temp. Shutdown Limit - <%= channels["vfdipp.dhtempshutdown"].value %> °F + <%= channels["ipp.tempshutdown"].value %> °F Temp. Restart Enabled - <% if (channels["vfdipp.dhtempstartupenabled"].value == 1){ %> + <% if (channels["ipp.tempstartupenabled"].value == 1){ %> True <% } else { %> False @@ -177,7 +177,7 @@ Temp. Startup Limit - <%= channels["vfdipp.dhtempstartuplimit"].value %> °F + <%= channels["ipp.tempstartup"].value %> °F @@ -192,22 +192,22 @@ Number of Channels - <%= channels["vfdipp.dhnumchannels"].value %> + <%= channels["ipp.dhnumchannels"].value %> PSI Rating - <%= channels["vfdipp.dhpsirating"].value %> PSI + <%= channels["ipp.dhpsirating"].value %> PSI Tool Type - <%= channels["vfdipp.dhtooltype"].value %> + <%= channels["ipp.dhtooltype"].value %> Tool Voltage - <%= channels["vfdipp.dhtoolvoltage"].value %> V + <%= channels["ipp.dhtoolvoltage"].value %> V diff --git a/POCloud_Driver/HTML/NodeDetailHeader.html b/POCloud_Driver/HTML/NodeDetailHeader.html new file mode 100644 index 0000000..28262a3 --- /dev/null +++ b/POCloud_Driver/HTML/NodeDetailHeader.html @@ -0,0 +1,6 @@ +
+
+
+
+

<%= node.vanityname %>

+
diff --git a/POCloud_Driver/HTML/Nodelist.html b/POCloud_Driver/HTML/Nodelist.html new file mode 100644 index 0000000..12368b8 --- /dev/null +++ b/POCloud_Driver/HTML/Nodelist.html @@ -0,0 +1,41 @@ + + +
+
+
+
+ +
+ +
+ +
+

<%= node.vanityname %>

+
+
+

Motor Current

+

<%=channels["ipp.e300averagecurrent"].value %> A

+
+ <% if (channels["ipp.downholetoolenabled"].value == 1) { %> +
+

Intake Pressure

+

<%=channels["ipp.dhintakepressure"].value %> PSI

+
+<% } %> +
diff --git a/POCloud_Driver/HTML/Overview.html b/POCloud_Driver/HTML/Overview.html index 24d947b..6d582db 100644 --- a/POCloud_Driver/HTML/Overview.html +++ b/POCloud_Driver/HTML/Overview.html @@ -1,28 +1,15 @@ -
-
-

Motor Speed

-
-
- <%= channels["vfdipp.vfdspeedfdbk"].timestamp %> -
-
-
-
-
-
- -<% if (channels["vfdipp.downholetoolenabled"].value == 1) {%> +<% if (channels["ipp.downholetoolenabled"].value == 1) {%>

Downhole Pressure

-
- <%= channels["vfdipp.dhintakepressure"].timestamp %> +
+ <%= channels["ipp.dhintakepressure"].timestamp %>
-
+
@@ -30,71 +17,60 @@

Downhole Temperature

-
- <%= channels["vfdipp.dhintaketemperature"].timestamp %> +
+ <%= channels["ipp.dhintaketemperature"].timestamp %>
-
+
<% } %> -<% if (channels["vfdipp.tubingpressuretransducerenabled"].value == 1) {%> +
+
+

Average Current

+
+
" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px">
+ <%= channels["ipp.e300averagecurrent"].timestamp %> +
+
+
+
+
+
+ +
+
+

Average L-L Voltage

+
+
+ <%= channels["ipp.e300averagellvoltage"].timestamp %> +
+
+
+
+
+
+ +<% if (channels["ipp.pressuretransducerenabled"].value == 1) {%>
-

Downhole Pressure

+

Tubing Pressure

-
- <%= channels["vfdipp.tubingpressure"].timestamp %> +
+ <%= channels["ipp.pressurein"].timestamp %>
-
+
<% } %> -
-
-

Output Current

-
-
" data-colors="0.1:#DF5353,0.5:#DDDF0D,0.9:#55BF3B" data-valuefontsize="18px">
- <%= channels["vfdipp.vfdoutputcurrent"].timestamp %> -
-
-
-
-
-
-
-
-

Output Voltage

-
-
- <%= channels["vfdipp.vfdoutputvoltage"].timestamp %> -
-
-
-
-
-
- -
-
-

DC Bus Voltage

-
-
- <%= channels["vfdipp.vfddcbusvoltage"].timestamp %> -
-
-
-
-
-