Jump to content

Recommended Posts

Posted

Hallo,

Ich habe selbst eine Presse gebaut zu der es keine Anleitung gibt und habe jetzt das Problem, dass ich sie gerne über Mindstorms Classroom programmieren würde. Das bekomme ich auch grundlegend hin aber ich habe 4 große Motoren nebeneinander und muss gleichzeitig ansteuern. Ich weiß aber nicht wie ich das machen soll da ich (was ich bisher weiß) nur zwei ansteuern kann.

Gibt es eine Möglichkeit stirbt auf 4 zu erweitern?

Dankeschön im Voraus.

Posted
Just now, Sarah2005 said:
Hi there, I built a press myself for which there are no instructions and now have the problem that I would like to program it using Mindstorms Classroom. I can basically do that, but I have 4 large motors next to each other and have to control them at the same time. But I don't know how to do that because I (what I know so far) can only control two. Is there a way to expand this to 4? Thank you in advance.

 

Write two commands for 2 motors eachdirectly  one after another or 4 commands for the 4 motors.

Posted

Wenn ich das so schreibe drehen sich immer erst zwei und dann die anderen zwei Motoren. Mache ich etwas falsch oder geht das nur so? Ich bin noch neu was die Classroom Programmierung angeht deshalb muss ich so fragen.

Posted

There is a limitation in the EV3 firmware that makes it so that only one pair of motors can be used at a time. When the second block with ports B and D starts, it stops the motors on ports A and C and replaces them with B and D.

You can try using the single motor control blocks instead.

Posted

Hallo David Lechner,

Das Problem ist das ich eine Platte zum zerpressen über Kolben herunterfahren lassen muss. Ich bin auch auf angewiesen, dass sich die 4 Motoren meine Sternmotoren sich Parallelbewegung.

Wenn ich die einzelnen Motorblöcke nutze  schaltete er sie nacheinander.

Posted (edited)
45 minutes ago, David Lechner said:

There is a limitation in the EV3 firmware that makes it so that only one pair of motors can be used at a time.

 

Hi David, with LabView that all works.
So it should not be the FW.

But the program is wrong: of course first the command "run fur 1 revolution" is executed and finished, after that(!) the second. Which is correct and quite normal.
You should start all motors fur "run"  and then wait for an event to stop them all (sensor).

Or use parallel blocks (if this is possible in classroom)

 

 

Edited by Lok24
Posted (edited)

Try this for screenshot: https://1drv.ms/u/s!ApX9UuctkzDDkCqdHnBh8L229mjh

2021-01-09_11-15.png?psid=1&width=1424&h

Und auf Deutsch: https://1drv.ms/u/s!ApX9UuctkzDDkCmCjsYH67HJsbRM

2021-01-09_11-16.png?psid=1&width=1519&h

Quote

Hi David, with LabView that all works.
So it should not be the FW.

The same thing will happen with the EV3 Lab software if you try to use Move Steering or Move Tank with 4 motors at the same time. The second block with 2 motors will interrupt the first block with the other two motors.

Edited by David Lechner
Posted (edited)

Sorry, I missunderstood, you're right.

I meant  "start all" , which means 4 commands for 4 motors. And that works :wink:.

What I just did (in LabView, having no classroom installed):

Start A
Start B
Start C
Run D for 1 revolution
Stop A
Stop B
Stop C

That should work with classroom as well.

Edited by Lok24
Posted
Just now, Lok24 said:

I meant  "start all" , which means 4 commands for 4 motors. And that works :wink:. 

Yes indeed. This is what I tried to do in the EV3 Classroom example I posted, except it tries harder to make sure each motor runs exactly one rotation.

Posted (edited)

Just added my example to make clearer.....
But as you say: they don't turn exactly 360°

Edited by Lok24
Posted

Danke euch beiden,

ich habe es hinbekommen und alles läuft so wie es soll. Jetzt muss ich nur noch machen, dass sie am Ende wieder hoch fahren.

Danke.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...