10 Axis stepgen Mcode
- dgarrett
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 323
22 Mar 2019 12:08 #129249
by dgarrett
This parameter is only available when using
the experimental branch dgarr/motion_extrajoints
Replied by dgarrett on topic 10 Axis stepgen Mcode
Unknown parameter 'num_extrajoints=1'
This parameter is only available when using
the experimental branch dgarr/motion_extrajoints
The following user(s) said Thank You: sharp_reaper
Please Log in or Create an account to join the conversation.
- sharp_reaper
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 7
22 Mar 2019 12:22 #129250
by sharp_reaper
Replied by sharp_reaper on topic 10 Axis stepgen Mcode
It is not compatible with hostmot2? or my configs?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4864
22 Mar 2019 12:40 #129251
by andypugh
Replied by andypugh on topic 10 Axis stepgen Mcode
It is a version of 2.8 / master so needs the 2.8 config versions, but it is perfectly compatible with hostmot2 (probably more compatible, in fact, due to having all the latest driver updates)
Please Log in or Create an account to join the conversation.
- sharp_reaper
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 7
22 Mar 2019 14:22 #129259
by sharp_reaper
Replied by sharp_reaper on topic 10 Axis stepgen Mcode
I am using 2.8 version. How can I control plus one motor?
No need to interpolated motion, and I have one Stepgen available.
I have deleted the 'num_extrajoints' part.
How can I declare more than 9 joints in the .ini file? needs other versions?
What is the changes in the .ini file to consider one more joint and to be homed?
A little bit confused,
Thanks,
André
No need to interpolated motion, and I have one Stepgen available.
I have deleted the 'num_extrajoints' part.
How can I declare more than 9 joints in the .ini file? needs other versions?
What is the changes in the .ini file to consider one more joint and to be homed?
A little bit confused,
Thanks,
André
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4864
22 Mar 2019 14:37 #129260
by andypugh
Replied by andypugh on topic 10 Axis stepgen Mcode
dgarr/motion_extrajoints is an experimental version of 2.8
If you are already using 2.8, how did you get it? If you compiled from source then trying extrajoints is just a case of checking out the experimental version and recompiling.
If you got the 2.8 from the buildbot then you might find a .deb of extrajoints in one of the "scratch" folders here buildbot.linuxcnc.org/dists/
Though I couldn't see one from a cursory search.
You are exactly the sort of person that extrajoints was written for, but it won't get rolled in to the main distribution without more testing by people like you with a real use for it.
If you are already using 2.8, how did you get it? If you compiled from source then trying extrajoints is just a case of checking out the experimental version and recompiling.
If you got the 2.8 from the buildbot then you might find a .deb of extrajoints in one of the "scratch" folders here buildbot.linuxcnc.org/dists/
Though I couldn't see one from a cursory search.
You are exactly the sort of person that extrajoints was written for, but it won't get rolled in to the main distribution without more testing by people like you with a real use for it.
Please Log in or Create an account to join the conversation.
- sharp_reaper
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 7
03 Jun 2019 15:31 #135755
by sharp_reaper
Replied by sharp_reaper on topic 10 Axis stepgen Mcode
Hello,
After many tries I can make a move in my tenth axis motor using M-Codes.
Can you help me to build a homing sequence?
I am using a stepgen with a position control, after homing all the main axis activate a M-Code which leads to a movement in my 10th axis.
I am having trouble to stop the motion. I want to configure a input to be active in rising edge and not in falling
After many tries I can make a move in my tenth axis motor using M-Codes.
Can you help me to build a homing sequence?
I am using a stepgen with a position control, after homing all the main axis activate a M-Code which leads to a movement in my 10th axis.
I am having trouble to stop the motion. I want to configure a input to be active in rising edge and not in falling
Please Log in or Create an account to join the conversation.
- sharp_reaper
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 7
03 Jun 2019 15:48 - 03 Jun 2019 15:52 #135756
by sharp_reaper
Replied by sharp_reaper on topic 10 Axis stepgen Mcode
Hello,
After many tries I can make a move in my tenth axis motor using M-Codes.
I am using a stepgen with a position control, after homing all the main axis activate a M-Code which leads to a movement in my 10th axis.
I have connected a homing sensor to an input:
net 9-home => hm2.5i25.0.7i76.0.0.input-06 then associated a halui command net 9-home halui.mdi-command-04 (M110)
After Homing the XYZABCUVW I add an and2 logic to activate a halui.mdi-command-00 (M120) to make a motion in my 10th axis
M120:
halcmd sets 9-enable TRUE #enable on
halcmd setp hm2_5i25.0.stepgen.09.maxvel 0.1 #set vel
halcmd sets 9-pos-cmd 3 #set position
Then when hitting the home sensor active the M110
M110:
halcmd sets 9-enable FALSE #Stop the motion
halcmd setp hm2_5i25.0.stepgen.09-position-fb 0 # I CANT PUT THAT VALUE INTO 0
halcmd unlinkp hm2.5i25.0.7i76.0.0.input-06
halcmd sets 9-enable TRUE #enable on
halcmd setp hm2_5i25.0.stepgen.09.maxvel 0.05 #set vel
halcmd sets 9-pos-cmd -0.1 #set position
The problem is when I hit the sensor i cant put the position in 0. say that pin is not writable. There are any way to do that? Or can I have latch or something working like home?
Also I want to configure a input to be active in rising edge and not in falling
Much thanks in advance
After many tries I can make a move in my tenth axis motor using M-Codes.
I am using a stepgen with a position control, after homing all the main axis activate a M-Code which leads to a movement in my 10th axis.
I have connected a homing sensor to an input:
net 9-home => hm2.5i25.0.7i76.0.0.input-06 then associated a halui command net 9-home halui.mdi-command-04 (M110)
After Homing the XYZABCUVW I add an and2 logic to activate a halui.mdi-command-00 (M120) to make a motion in my 10th axis
M120:
halcmd sets 9-enable TRUE #enable on
halcmd setp hm2_5i25.0.stepgen.09.maxvel 0.1 #set vel
halcmd sets 9-pos-cmd 3 #set position
Then when hitting the home sensor active the M110
M110:
halcmd sets 9-enable FALSE #Stop the motion
halcmd setp hm2_5i25.0.stepgen.09-position-fb 0 # I CANT PUT THAT VALUE INTO 0
halcmd unlinkp hm2.5i25.0.7i76.0.0.input-06
halcmd sets 9-enable TRUE #enable on
halcmd setp hm2_5i25.0.stepgen.09.maxvel 0.05 #set vel
halcmd sets 9-pos-cmd -0.1 #set position
The problem is when I hit the sensor i cant put the position in 0. say that pin is not writable. There are any way to do that? Or can I have latch or something working like home?
Also I want to configure a input to be active in rising edge and not in falling
Much thanks in advance
Last edit: 03 Jun 2019 15:52 by sharp_reaper.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4864
04 Jun 2019 21:04 #135858
by andypugh
Replied by andypugh on topic 10 Axis stepgen Mcode
Which version of LinuxCNC are you using? Are you using extrajoits or something else?
Please Log in or Create an account to join the conversation.
- sharp_reaper
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 7
06 Jun 2019 13:25 - 06 Jun 2019 13:32 #136042
by sharp_reaper
Replied by sharp_reaper on topic 10 Axis stepgen Mcode
Hello andypugh,
I am using PREEMPT RT debian 4.9 the version of linuxcnc is 2.8
I was able to invert the input, expected what I want to do, and I have managed to control my extra motor via M code
I am using one M code to go up and another one to go down. I've got a limit switch when it turns on stop the motion on my extra motor and connect to a Mcode if needed call to stop motion.
I am using PREEMPT RT debian 4.9 the version of linuxcnc is 2.8
I was able to invert the input, expected what I want to do, and I have managed to control my extra motor via M code
I am using one M code to go up and another one to go down. I've got a limit switch when it turns on stop the motion on my extra motor and connect to a Mcode if needed call to stop motion.
Last edit: 06 Jun 2019 13:32 by sharp_reaper.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4864
06 Jun 2019 13:39 #136044
by andypugh
Replied by andypugh on topic 10 Axis stepgen Mcode
So, just to confirm, you are _not_ using the "extrajoints" experimental version?
Please Log in or Create an account to join the conversation.
Time to create page: 0.115 seconds