larry
Level-2
- Beiträge
- 40
- Reaktionspunkte
- 1
-> Hier kostenlos registrieren
Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
I really don't understand why an external open command would reset a valve that has been manually opened...
But, the rising edge of the external command resets the manual valve opening command. Right now, there's no command to open the valve. You need to press the auto button to switch to auto mode. The valve will only open in auto mode with the external command.Was passiert an der Anlage, wenn jemand in der Betriebsart "Hand" bedient und vergisst, es zurück auf "Automatik" zu stellen?
Ich nutze solche Konstrukte häufig bei der Ansteuerung von Brandschutzklappen, Entrauchungsanlagen, aber auch z.Bsp. bei Behälterbefüllungen. Man kann alles per Hand bedienen, aber im Ernstfall muss die Priorität auf Automatikbetrieb liegen.
For example, in a tank, the liquid level gradually rises over time, and there’s a switch valve at the bottom. When the liquid level exceeds 400mm, the switch valve automatically opens to drain the liquid. Let’s assume the current liquid level is 350mm; at this moment, there’s no external command to open the valve. Even if the operator manually opens the valve, the liquid level continues to rise. The level rises until it reaches 405mm, at which point the external command immediately resets the manually opened valve. At this moment, there’s no command to keep the valve open, so the operator has to press the automatic button to switch to automatic mode. The valve can only operate when both automatic mode and external commands are satisfied. The program's logic seems off.Was passiert an der Anlage, wenn jemand in der Betriebsart "Hand" bedient und vergisst, es zurück auf "Automatik" zu stellen?
Ich nutze solche Konstrukte häufig bei der Ansteuerung von Brandschutzklappen, Entrauchungsanlagen, aber auch z.Bsp. bei Behälterbefüllungen. Man kann alles per Hand bedienen, aber im Ernstfall muss die Priorität auf Automatikbetrieb liegen.
Und was nun? Wie müsste es denn deiner Meinung nach funktionieren?... The program's logic seems off.
I think the rising edge of an external command shouldn't reset a manually opened valve. Because after resetting, if the operator forgets to press the auto button to switch to automatic mode, the valve won't get an open command and the liquid level will rise until the alarm goes off.Und was nun? Wie müsste es denn deiner Meinung nach funktionieren?
I don't get it. The rising edge of the external command resets the manually opened valve command, but only once. After that, both the manual open valve command and the external command can coexist. What's the purpose of this design?You can only die once.
You can either use automatic mode, manual mode, or a combination of both, in which case one of the modes must take precedence. You could create a fourth auto override mode that switches valves on or off when absolute upper and lower limits are reached.
If the function is simple, I can write the program according to my own ideas. But this automation company is really great, so I plan to learn from the way others think.Larry, warum änderst du das Programm eigentlich nicht nach deinen Vorstellungen? Der oben gezeigte Code gleicht doch so wie so eher einem als Syntax getarnten Hilferuf.
Thanks, your explanation helped me understand the main details to consider.Also wir haben ja schon festgestellt, dass das Programm ja schon nach Hilfe schreit, also hilf ihm.
Grundsätzlich ist Lernen immer gut und auch in einer großartigen Firma werden Dinge geschrieben, wo man im Nachhinein nicht besonders stolz drauf ist oder sein sollte.
Unabhängig vom Beispiel gibt es meines Erachtens nur zwei Zustände, die eine Maschine im Hinblick auf Ventilsteuerung haben sollte (Automatic/Manual) - also die Maschine hat einen Zustand und die Aktorik agiert danach.
Also Signale aus Schrittkette = Automatik, Signale von HMI/Handflasche beachten, wenn Automatik nicht aktiv ist zum Beispiel.
Sicherlich wird es in den Weiten des Sondermaschinenbaus nicht nur andere Meinungen dazu geben sondern auch vielleicht den ein oder anderen Fall, wo mehr als diese zwei Großzustände Sinn machen.
Wir verwenden essentielle Cookies, damit diese Website funktioniert, und optionale Cookies, um den Komfort bei der Nutzung zu verbessern.
Siehe weitere Informationen und konfiguriere deine Einstellungen