added 525 capabilities

This commit is contained in:
2020-03-24 14:10:42 -05:00
parent a041d84a74
commit 9564016bc9
3 changed files with 4 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ except:
persistence.store(PERSIST) persistence.store(PERSIST)
try: try:
isVFD = PERSIST['plc_ip'] plc_ip = PERSIST['plc_ip']
except: except:
PERSIST['plc_ip'] = '192.168.1.12' PERSIST['plc_ip'] = '192.168.1.12'
persistence.store(PERSIST) persistence.store(PERSIST)
@@ -69,7 +69,7 @@ class start(threading.Thread, deviceBase):
mqtt=mqtt, Nodes=Nodes) mqtt=mqtt, Nodes=Nodes)
self.daemon = True self.daemon = True
self.version = "21" self.version = "22"
self.finished = threading.Event() self.finished = threading.Event()
self.force_send = False self.force_send = False
self.public_ip_address = "" self.public_ip_address = ""

View File

@@ -41,6 +41,7 @@ if isVFD:
PLCChannel(plc_ip,'volume_flow','Val_FlowmeterFR','REAL',5,3600,plc_type='Micro800'), PLCChannel(plc_ip,'volume_flow','Val_FlowmeterFR','REAL',5,3600,plc_type='Micro800'),
PLCChannel(plc_ip,'current','val_VFD_OutputCurrent','REAL',5,3600,plc_type='Micro800'), PLCChannel(plc_ip,'current','val_VFD_OutputCurrent','REAL',5,3600,plc_type='Micro800'),
PLCChannel(plc_ip,'frequency','val_VFD_ActualSpeed','REAL',5,3600,plc_type='Micro800'), PLCChannel(plc_ip,'frequency','val_VFD_ActualSpeed','REAL',5,3600,plc_type='Micro800'),
PLCChannel(plc_ip,'pid_feedback','val_FluidLevel','REAL',5,3600,plc_type='Micro800'),
PLCChannel(plc_ip,'totalizer_1','Val_FlowMeterT1','REAL',5,3600,plc_type='Micro800'), PLCChannel(plc_ip,'totalizer_1','Val_FlowMeterT1','REAL',5,3600,plc_type='Micro800'),
PLCChannel(plc_ip,'totalizer_2','Val_FlowMeterT2','REAL',5,3600,plc_type='Micro800'), PLCChannel(plc_ip,'totalizer_2','Val_FlowMeterT2','REAL',5,3600,plc_type='Micro800'),
PLCChannel(plc_ip,'totalizer_3','Val_FlowMeterT3','REAL',5,3600,plc_type='Micro800'), PLCChannel(plc_ip,'totalizer_3','Val_FlowMeterT3','REAL',5,3600,plc_type='Micro800'),

View File

@@ -3,7 +3,7 @@
"driverFileName":"PiFlow.py", "driverFileName":"PiFlow.py",
"deviceName":"piflow", "deviceName":"piflow",
"driverId":"0280", "driverId":"0280",
"releaseVersion":"21", "releaseVersion":"22",
"files": { "files": {
"file1":"PiFlow.py", "file1":"PiFlow.py",
"file2":"Channel.py", "file2":"Channel.py",