- Posts: 27
- Thank you received: 114
Winding up wire on a coil
- Rick G
- Offline
- Junior Member
-
However
You can take a look at G10 or G92.Do someone knows the command to set it to zero after each rotation, without rotating it backwards.
Rick G
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
This is what I did when winding my magneto, the code here was simply:
G95 F0.12
M3 S400
O100 repeat [200]
G1 X+25
G1 X -25
O100 endrepeat
Please Log in or Create an account to join the conversation.
- s4nj0k
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
ArcEye wrote:
Unfortunately the axis doesn´t rotate after the first 360°.
Try programming the move in incremental mode instead of absolute
Then you are telling it to move 360 deg not go to 360 deg, it probably won't move the second time because it is already there.
regards
Then the problem is, that it doesn´t stop at the endpoint of ten and is not moving backwards. Incremental distance mode g91 shall apply only to the number of degrees, but I don´t know how to put it in.
Please Log in or Create an account to join the conversation.
- s4nj0k
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
andypugh wrote:
G95 F0.12
M3 S400
O100 repeat [200]
G1 X+25
G1 X -25
O100 endrepeat
Unfortunately that code doesn´t work for my machine.
Please Log in or Create an account to join the conversation.
- s4nj0k
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 240
s4nj0k wrote: Then the problem is, that it doesn´t stop at the endpoint of ten and is not moving backwards. Incremental distance mode g91 shall apply only to the number of degrees, but I don´t know how to put it in.
You don't even have to use degrees, you can define a rotary axis as linear and just tell it to move a distance, you just have to work out how many linear units equal a complete turn.
Then you could use G91 G01 A600 Y1 say
All you need is a rotational axis holding the 'bobbin' and a 90deg opposed axis feeding the wire, moving up and down synchronised with the rotation.
I admit being somewhat confused by your original post, specifically this bit :S
By the way the A is my y-axis.
regards
Please Log in or Create an account to join the conversation.