Adds a little error message
This commit is contained in:
@@ -246,6 +246,7 @@ def main():
|
||||
if setupTags():
|
||||
pass
|
||||
else:
|
||||
print("Unable to read tags... Restarting.")
|
||||
main()
|
||||
|
||||
status = Status('run_status', 'Pump.Run_Status', 0, 'STRING', 0, 3600, mapFn=maps['statusMap'], ip_address=main_plc['address'], device_type=device_types[main_plc['device_type']])
|
||||
|
||||
Reference in New Issue
Block a user