Wenn dies dein erster Besuch hier ist, lies bitte zuerst die Hilfe - Häufig gestellte Fragen durch. Du musst dich vermutlich registrieren, bevor du Beiträge verfassen kannst. Klicke oben auf 'Registrieren', um den Registrierungsprozess zu starten. Du kannst auch jetzt schon Beiträge lesen. Suche dir einfach das Forum aus, das dich am meisten interessiert.
Yet another question, about the HS internal variables and logic modules.
I've defined a HS internal variable, init at 1.
In the graphical logic editor, I put the variable to BOTH inputs of an AND gate. So I expected the result to be 1 after the reboot of the HS !
Well no .
I can't understand this . There must some external condition before it runs ? pre-requisites ? (other then download & reboot)
In other words, when does this "init at 1" take place ?
First, to your question 3): it stops the calculation of the current module. The module will be re-triggered, when anything happens to one of the input-pins.
Second, to the comments: so far the DACOM documentation uses comments only as standalone lines starting with '#' as first character. Comments may work within a line, but I don't use them any more having lost some time searching the following effect (I will not call it a bug because inlne-comments are not defined to work). With HS Experte 2.1.2 the code
at any event on the Inputs the module is calculating/working.
Sorry, forgot to ask about the Grafisher Logikeditor ...
Suppose the output of the logic module is 1, is it sufficient to feed it directly to an Ausgangs-box i.e. just like a PB would do to light a lamp ? or do I need to specify "Befehle".
I thought the "Befehle" field is for additional commands ?
I've some questions about the working of the overall logic of the logic modules.
1) Is the logic module evaluated only once, or is it looping for ever ?
2) There is a variable EI "Die Berechnung findet innerhalb der Initialisierung statt."
but don't fully undestand the meaning or use, an example would help.
3) In the 5012 line, there is a flag "Ende nach Ausführen"
does it mean that only the current line is not executed anymore after this run (but all subsequent well) or does it stop the whole logic module for ever (in which case, another question arises: how can I restart it).
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Einen Kommentar schreiben: