spindle control of PM-728vt using linuxcnc

More
3 years 8 months ago #264234 by bird-dogman
First test PM pin1 (FW) connected to PM pin 3(COM)
     - command m3 s400  Spindle turns CW at 400rpm
     - command m4 s400  Spindle turns CW at 400rpm    Why
Second test PM pin2 (REV) connected to PM pin3(COM)
     - command m4 s400 spindle turns CCW at 400rpm
     - command m3 s400 spindle turns CCW at 400rpm     Why?

Why does connecting eaither FW or REV seperatly  allow the same rotation when issuing both m3 and m4 to each.  This cant be right.

thank you
jim


 

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago - 3 years 8 months ago #264235 by PCW
Its not right

You need to assert FWD or  REV to the PM interface independently
Your current wiring does not allow this

You also need to get the polarity of FWD and REV correct

The required polarity and function of the FWD/REV inputs 
should be determined  before running LinuxCNC
Last edit: 3 years 8 months ago by PCW.

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #264236 by bird-dogman
Test 1 was run with only FW signal connected .
Test2 was run win only REV signal connected.

jim

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #264237 by PCW
FWD or REV connected to COM with a wire?

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #264238 by bird-dogman
Yes, that's correct.

Thanks
jim

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago - 3 years 8 months ago #264239 by PCW
OK, that's the expected behavior for active low FWD and REV

(because LinuxCNC is not in control of direction of your hardware, your hardwiring is)

My OUT7/OUT8 or Relay suggestions in a previous post should work
Last edit: 3 years 8 months ago by PCW.

Please Log in or Create an account to join the conversation.

Time to create page: 0.337 seconds
Powered by Kunena Forum