Troubles to get started with SD240 Retrofit

More
1 year 3 months ago #331270 by PCW
Sounds like the jogging setup in the hal file is not quite right
can you post your hal file?
 

Please Log in to join the conversation.

More
1 year 3 months ago #331305 by ziggi
Thank you for the reply, attached you find the current HAL and INI files
Sigi

 

Attachment not found


 

Attachment not found

Please Log in to join the conversation.

More
1 year 3 months ago #331319 by PCW
Looks basically ok
Maybe the machine does not think its homed
You should be able to jog without homing by adding
the joint jog pins:


# ---Handrad-Signale zu Mesa Encoder - shared MPG---

net axis-selected-count <= hm2_7i80.0.encoder.03.count

# ---mpg signals---

# for axis x MPG
setp axis.x.jog-vel-mode 0
net selected-jog-incr => axis.x.jog-scale joint.0.jog-scale
net axis-select-x => axis.x.jog-enable joint.0.jog-enable
net axis-selected-count => axis.x.jog-counts joint.0.jog-counts


# for axis z MPG
setp axis.z.jog-vel-mode 0
net selected-jog-incr => axis.z.jog-scale joint.1.jog-scale
net axis-select-z => axis.z.jog-enable joint.1.jog-enable
net axis-selected-count => axis.z.jog-counts joint.1.jog-counts

sets selected-jog-incr 1.000000

Please Log in to join the conversation.

More
1 year 3 months ago #331325 by ziggi
Thank you, I will try and report

Sigi

Please Log in to join the conversation.

More
1 year 3 months ago #331331 by ziggi
No, sorry- doesn´t do it. No jogging the selected axis possilble.

Please Log in to join the conversation.

More
1 year 3 months ago #331334 by PCW
Does normal motion work?

When attempting jogging, what does:

halcmd show pin | grep jog

(typed in a terminal) report?

Please Log in to join the conversation.

More
1 year 3 months ago #331341 by ziggi
Yes, normal jogging with the + - buttons works perfectly. 
the command brings up the following when I write the command into the terminal and press ENTER while turning the handwheel.
 

Attachment not found


 

Please Log in to join the conversation.

More
1 year 3 months ago #331364 by PCW
Note that no axis has jog enabled, you probably need to trace these back
to halui or wherever they are supposed to come from...


29 s32 IN 38852 axis.x.jog-counts <== axis-selected-count
29 bit IN FALSE axis.x.jog-enable <== axis-select-x
29 float IN 1 axis.x.jog-scale <== selected-jog-incr
29 bit IN FALSE axis.x.jog-vel-mode
29 bit OUT FALSE axis.x.kb-jog-active
29 bit OUT FALSE axis.x.wheel-jog-active
29 float IN 1 axis.y.jog-accel-fraction
29 s32 IN 0 axis.y.jog-counts
29 bit IN FALSE axis.y.jog-enable
29 float IN 0 axis.y.jog-scale
29 bit IN FALSE axis.y.jog-vel-mode
29 bit OUT FALSE axis.y.kb-jog-active
29 bit OUT FALSE axis.y.wheel-jog-active
29 float IN 1 axis.z.jog-accel-fraction
29 s32 IN 38852 axis.z.jog-counts <== axis-selected-count
29 bit IN FALSE axis.z.jog-enable <== axis-select-z
29 float IN 1 axis.z.jog-scale <== selected-jog-incr
29 bit IN FALSE axis.z.jog-vel-mode
29 bit OUT FALSE axis.z.kb-jog-active

Please Log in to join the conversation.

More
1 year 3 months ago #331381 by ziggi
Thanks for the hint.
I will try to find out how these pins can be set TRUE when starting Linuxcnc.
Ok, the y-axis I do not need for the lathe, but X and Z. So some homework to do.

Thanks PCW
Sigi

Please Log in to join the conversation.

More
1 year 3 months ago #331623 by ziggi
I think I probably detected the source of these  weird settings disabling jog. Guess it can just be the Config file. Nowhere else I can find a similar demonination of the pins etc.
I have to check this, but I started with a config file created by PC-Config and without MPG included.
Then I had PC-Config create a new one with a different name and copied the MPG related lines of the newly created .hal file to my existing .hal file.
But the config file is still the initial one (without MPG) and therefore jogging is disabled.
I will try this weekend to create a new config file with PC-Config, include the MPG and all data I know mean while. Hope to get it working this way.

Sigi

Please Log in to join the conversation.

Time to create page: 0.267 seconds
Powered by Kunena Forum