Unidirectional motor
- roughtyper
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
19 Sep 2019 19:10 #145617
by roughtyper
Unidirectional motor was created by roughtyper
My pellet extruder takes step and direction as control. We have added it as our 7th axis (A).
The problem is that we NEVER want it to run in reverse. Unlike reverse during filament extrusion (which will remove the filament from the heating area), the screw in our pellet extruder will move the melt pool from the hot area back up into the (cool) reservoir of pellets. This causes the mother of all clogs.
Right now our A direction (adir) is
net adir not.2.in <= stepgen.6.dir
I would think something like:
net adir <= FALSE
would be the solution, but it's syntactically incorrect.
I'm new to HAL, so I hope I'm just overlooking the obvious. Any help would be appreciated.
Roughtyper
The problem is that we NEVER want it to run in reverse. Unlike reverse during filament extrusion (which will remove the filament from the heating area), the screw in our pellet extruder will move the melt pool from the hot area back up into the (cool) reservoir of pellets. This causes the mother of all clogs.
Right now our A direction (adir) is
net adir not.2.in <= stepgen.6.dir
I would think something like:
net adir <= FALSE
would be the solution, but it's syntactically incorrect.
I'm new to HAL, so I hope I'm just overlooking the obvious. Any help would be appreciated.
Roughtyper
Please Log in or Create an account to join the conversation.
19 Sep 2019 19:52 #145619
by PCW
Replied by PCW on topic Unidirectional motor
You cannot "net" a signal to a constant but you can set a signal:
sets adir false
(sets means "set signal")
sets adir false
(sets means "set signal")
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19217
- Thank you received: 6439
20 Sep 2019 07:03 #145649
by tommylight
Replied by tommylight on topic Unidirectional motor
Just disconnect the DIR wire going to the drive.
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds