CAD CAM EDM DRO - Yahoo Group Archive

more R,P,Y and axes info wasRe[10]: emc really needs...

Posted by ballendo@y...
on 2000-11-21 13:55:14 UTC
Alan,

Once the motor is turning the correct direction, it should not need
to change. But...

The maxNC setup includes a file with different possible phase
outputs. This allows the S/W to match the wiring, rather than the
other way 'round.

It may be that the rotary table and axis are wired such that THEY are
rotating opposite dir's (given the same phase or step/dir input). If
that's the case change the coil connection (swap one coil end for end)
to one of the motors so that you can switch from rotary table to mill
table without resetting the S/W. Many of the S/W pkg's will let
you "save" configs under different names to deal with this problem.
Yes, CncPRO is one of them... :-)

Second point. Remember that the +/- dirs are in RELATION TO TOOL
MOVEMENT, NOT TABLE movement. On a sherline, when the table is coming
towards you, the TOOL is moving in the +Y dir! When the table is
moving towards the left, the TOOL is moving X+ . This can be
confusing for some beginners. Remember, all CNC movement is "seen"
from the TOOLs' perspective.

(More comments "mixed in" below)

>Funny thing is, driving the motors for the three axis, It appears
>that you can't always turn the motor the same way to get + axis
>movement. That is, I THINK that's the case.
<s>But I'm having to swap some of the directions (in my program)
>for the key directions to come out right. I must have something
>reversed somewhere. A + Y movement when used for the rotary table A
axis appears to yield the reverse direction!

>I probably just need a "sign table", so I can map directions at will.

Yes. OR's work well for flippin' bits...

>For handwheels, is clockwise always +?

Never say always... The "manual" encoder wheels of commercial CNC
machines use clockwise rotation to move an axis in the positive
direction.

>If you face a rotary table, is clockwise rotation always +?

This is a tricky question. Depends on the setup. So I have to say NO.

>It would seem that you'd want the table to turn clockwise if you
>rotate the encoder clockwise, or push the right-hand arrow key, up
>key, or page up key. Are these the favored keys?

See answer above. Clockwise encoder rotation "should" move the AXIS
in a POSITIVE direction. I prefer the keys you mentioned to the
F,B,L,R,U,D some S/W uses.

Hope this helps.

Ballendo

P.S. For those new to this, be aware that Alan is writing some
software which uses an encoder as a handwheel, and THAT'S
the "encoder" being referred to in this post...

Discussion Thread

ballendo@y... 2000-11-21 13:55:14 UTC more R,P,Y and axes info wasRe[10]: emc really needs...