Manually controlling machine using EMC2?

More
28 Apr 2011 22:46 - 28 Apr 2011 22:50 #9478 by AssassinXCV
pasted the code from step 5

had to rename:

# the following does the magic of setting the jog speeds
net remote-speed-slow or2.0.in0 input.0.btn-trigger
net remote-speed-medium or2.1.in0 input.0.btn-thumb
net remote-speed-fast or2.0.in1 or2.1.in1 input.0.btn-thumb2

to this

# the following does the magic of setting the jog speeds
net remote-speed-slow or2.0.in0 input.0.btn-a <--- i didn't have any pinout named "trigger" so i set it to "a"
net remote-speed-medium or2.1.in0 input.0.btn-thumbl <----The L
net remote-speed-fast or2.0.in1 or2.1.in1 input.0.btn-thumbr <---the R

Because of pin names.

Added code from step 6 (not the reverse stuff yet)

I go to Manual control (auto when emc starst up), toggled emergency stop, turn on machine power, homed all axi...?axis's?.

I tried every button combination but the tool doesn't move.
Last edit: 28 Apr 2011 22:50 by AssassinXCV.

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

More
28 Apr 2011 22:52 #9479 by BigJohnT
Are you following this example on the wiki ?

wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant

If so you have to press a speed button first then move the joystick.

John

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

More
28 Apr 2011 22:57 #9480 by AssassinXCV
yes, that is the one i'm following. i've tried holding down each button and moving the joystick in all directions but it wont budge. :(

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

More
28 Apr 2011 23:04 - 28 Apr 2011 23:04 #9482 by BigJohnT
Do you have more pin names wrong or typo's?

Use Show Hal Configuration and verify that all the pins are doing what you expect.

John
Last edit: 28 Apr 2011 23:04 by BigJohnT.

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

More
28 Apr 2011 23:15 - 29 Apr 2011 04:51 #9483 by AssassinXCV
Here is the jog for x:

Hal Config>Pins>Input>0> (halfway down)

joy - x - jog
12 float IN 32767.5 input.0.abs - x - scale
12 s32 OUT 0 input.0.abs - x - counts
12 s32 IN 128 input.0.abs - x - flat
12 s32 IN 16 input.0.abs - x - fuzz
12 float IN -0.5 input.0.abs - x - offset
12 float IN 1.525902e - 05 input.0.abs - x - position ==>

Will post screen shot



I've set the button for slow to some of the buttons in that list, but it still isn't moving.

It just doesn't make any sense. I have a button for each speed... do i need toedit the Joystick inputs? They look alright to me, compared to the given code in wiki.
Last edit: 29 Apr 2011 04:51 by AssassinXCV.

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

Moderators: piasdom
Time to create page: 0.091 seconds
Powered by Kunena Forum