MPG working with joint but not with axis ???

More
4 years 2 months ago #249758 by JPL
This is portion of the HAL file (mostly) generated by PncConf:

# ---jogwheel signals to mesa encoder - x axis MPG---
net x-jog-count          <=  hm2_7i92.0.7i77.0.0.enc0.count

#  ---mpg signals---
setp    axis.x.jog-vel-mode 0
net x-jog-enable         =>  axis.x.jog-enable
net x-jog-count          =>  axis.x.jog-counts
net selected-jog-incr    =>  axis.x.jog-scale
sets x-jog-enable    true
sets selected-jog-incr     1.00000

This is NOT working, although axis.x.jog-counts is updated correctly.

Now, replacing axis.x with joint.0 as below make this work correctly:
#  ---mpg signals---
#setp  joint.0.jog-vel-mode 0
#net x-jog-enable         =>  joint.0.jog-enable
#net x-jog-count          =>  joint.0.jog-counts
#net selected-jog-incr    =>  joint.0.jog-scale
#sets x-jog-enable    true
#sets selected-jog-incr     1.00000

Can someone explain why this work only with joint ???

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

More
4 years 2 months ago #249801 by cmorley
To confirm it won't jog axis _after_ homing?
The following user(s) said Thank You: JPL

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

More
4 years 2 months ago - 4 years 2 months ago #249805 by JPL
The original version generated by pncconf (with axis.x) is not working at all. Neither before or after homing.

The modified version with joint.0 is working both before and after homing.

(I can jog using the interface jog button with both versions ( with axis.x or joint.0))

Note that my config does not require homing before MDI/running. I'm really wondering since I'm using the downloadable 'official' ISO v2.8.2 (now updated to 2.8.3).
Last edit: 4 years 2 months ago by JPL.

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

More
4 years 2 months ago #249815 by cmorley
can you post all your config flles?
You can jog a joint before homing.
Jogging an axis requires homing.
There are no axis until a joint is homed.

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

More
4 years 2 months ago #249841 by JPL
See 'JPL_test03.hal' attached. This is working with the file with 'joint.0'as it is but have a look at the lines after  "---mpg signals". If I uncomment the original 6 lines generated by pncConf and comment the 6 lines right after that this will not work, which is puzzling me.

Also note that my version of pncConf is still generating the "setp hm2_7i92.0.stepgen.timer-number 1" line that I commented (lines 28 and 29). This is obviously wrong since I'm using 7i92 -> 7i77, thus no stepgen.

Thanks for having a look.

 

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

More
4 years 2 months ago #249843 by JPL

There are no axis until a joint is homed.


But what if it NO_FORCE_HOMING is set to 1 as I did ?

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

Moderators: cmorley
Time to create page: 0.064 seconds
Powered by Kunena Forum