Simulation of a motor with puls-switch
Verfasst: 18 Apr 2020, 11:48
I was busy with creating a complete simulation of the Teachin software.
This because like to see what is happening without the mechanical problems of the real model.
RoboPro can run in simulation mode. However in that mode the combination of a motor and a puls- switch does not work anymore.
So I created a simulation for a motor-switch combination and now the software can run in simulation mode too.
Now my software can run and tested without the presents of a TXT-controller.
This also is an illustration and example about the use of command filters.
The duration of the puls can be controlled, with a slower puls it is easier to follow the workflow
The complete simulation The motor react on the motor commands CW, CCW and stop. These commands has been transferred into values.
The stop has no value, so I add the 0. The RoboPRo ABS function does not work for integers so I create a work around for this problem/bug. =================Google translate=====================
Ik was bezig met het maken van een complete simulatie van de Teachin-software.
Dit omdat ik graag wil zien wat er gebeurt zonder de mechanische problemen van het echte model.
RoboPro kan in simulatiemodus draaien. In die modus werkt de combinatie van een motor en een pulsschakelaar echter niet meer.
Dus ik heb een simulatie gemaakt voor een motor-schakelaar combinatie en nu kan de software ook in simulatiemodus draaien.
Nu kan mijn software draaien en testen zonder de cadeautjes van een TXT-controller.
Dit is ook een illustratie en voorbeeld over het gebruik van opdrachtfilters.
De duur van de puls is regelbaar, bij een langzamere puls is het makkelijker om de workflow te volgen
De complete simulatie
De motor reageert op de motoropdrachten CW, CCW en stopt. Deze opdrachten zijn omgezet in waarden.
De stop heeft geen waarde, dus ik tel de 0 op.
De RoboPRo ABS-functie werkt niet voor gehele getallen, dus ik maak een oplossing voor dit probleem / deze bug.
==========================
Ich war damit beschäftigt, eine vollständige Simulation der Teachin-Software zu erstellen.
Dies liegt daran, gerne zu sehen, was ohne die mechanischen Probleme des realen Modells passiert.
RoboPro kann im Simulationsmodus ausgeführt werden. In diesem Modus funktioniert die Kombination aus Motor und Impulsschalter jedoch nicht mehr.
Also habe ich eine Simulation für eine Motor-Schalter-Kombination erstellt und jetzt kann die Software auch im Simulationsmodus ausgeführt werden.
Jetzt kann meine Software ohne die Geschenke eines TXT-Controllers ausgeführt und getestet werden.
Dies ist auch eine Illustration und ein Beispiel für die Verwendung von Befehlsfiltern.
Die Dauer des Impulses kann gesteuert werden. Mit einem langsameren Impuls ist es einfacher, dem Arbeitsablauf zu folgen
Die komplette Simulation
Der Motor reagiert auf die Motorbefehle CW, CCW und Stop. Diese Befehle wurden in Werte übertragen.
Der Stopp hat keinen Wert, also addiere ich die 0.
Die RoboPRo ABS-Funktion funktioniert nicht für ganze Zahlen, daher erstelle ich eine Problemumgehung für dieses Problem / diesen Fehler.
This because like to see what is happening without the mechanical problems of the real model.
RoboPro can run in simulation mode. However in that mode the combination of a motor and a puls- switch does not work anymore.
So I created a simulation for a motor-switch combination and now the software can run in simulation mode too.
Now my software can run and tested without the presents of a TXT-controller.
This also is an illustration and example about the use of command filters.
The duration of the puls can be controlled, with a slower puls it is easier to follow the workflow
The complete simulation The motor react on the motor commands CW, CCW and stop. These commands has been transferred into values.
The stop has no value, so I add the 0. The RoboPRo ABS function does not work for integers so I create a work around for this problem/bug. =================Google translate=====================
Ik was bezig met het maken van een complete simulatie van de Teachin-software.
Dit omdat ik graag wil zien wat er gebeurt zonder de mechanische problemen van het echte model.
RoboPro kan in simulatiemodus draaien. In die modus werkt de combinatie van een motor en een pulsschakelaar echter niet meer.
Dus ik heb een simulatie gemaakt voor een motor-schakelaar combinatie en nu kan de software ook in simulatiemodus draaien.
Nu kan mijn software draaien en testen zonder de cadeautjes van een TXT-controller.
Dit is ook een illustratie en voorbeeld over het gebruik van opdrachtfilters.
De duur van de puls is regelbaar, bij een langzamere puls is het makkelijker om de workflow te volgen
De complete simulatie
De motor reageert op de motoropdrachten CW, CCW en stopt. Deze opdrachten zijn omgezet in waarden.
De stop heeft geen waarde, dus ik tel de 0 op.
De RoboPRo ABS-functie werkt niet voor gehele getallen, dus ik maak een oplossing voor dit probleem / deze bug.
==========================
Ich war damit beschäftigt, eine vollständige Simulation der Teachin-Software zu erstellen.
Dies liegt daran, gerne zu sehen, was ohne die mechanischen Probleme des realen Modells passiert.
RoboPro kann im Simulationsmodus ausgeführt werden. In diesem Modus funktioniert die Kombination aus Motor und Impulsschalter jedoch nicht mehr.
Also habe ich eine Simulation für eine Motor-Schalter-Kombination erstellt und jetzt kann die Software auch im Simulationsmodus ausgeführt werden.
Jetzt kann meine Software ohne die Geschenke eines TXT-Controllers ausgeführt und getestet werden.
Dies ist auch eine Illustration und ein Beispiel für die Verwendung von Befehlsfiltern.
Die Dauer des Impulses kann gesteuert werden. Mit einem langsameren Impuls ist es einfacher, dem Arbeitsablauf zu folgen
Die komplette Simulation
Der Motor reagiert auf die Motorbefehle CW, CCW und Stop. Diese Befehle wurden in Werte übertragen.
Der Stopp hat keinen Wert, also addiere ich die 0.
Die RoboPRo ABS-Funktion funktioniert nicht für ganze Zahlen, daher erstelle ich eine Problemumgehung für dieses Problem / diesen Fehler.