Mit eine,m 2. Programm möchte ich ab einer bestimmten Differenz den Pumpenmotor starten.
Derzeit weiß ich aber beim Script nicht witer. Es sieht im Moment so aus:
Syxstemvariablem Typ Zahl habe ich erstellt:
temp_1
temp_2
temp_3
Script:
Code: Alles auswählen
real temp_1 = dom.GetObject("BidCos-RF.HEQxxxxxxx:1.TEMPERATURE").Value();
real temp_2 = dom.GetObject("BidCos-RF.HEQxxxxxxx:1.TEMPERATURE").Value();
dom.GetObject("temp_3").State(temp_1 - temp_2);