Troubles to get started with SD240 Retrofit

More
04 Jul 2025 21:12 #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 or Create an account to join the conversation.

  • ziggi
  • ziggi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
05 Jul 2025 08:26 - 05 Jul 2025 08:29 #331305 by ziggi
Thank you for the reply, attached you find the current HAL and INI files
Sigi

 

File Attachment:

File Name: SD240_Vers...7-05.hal
File Size:10 KB

 

File Attachment:

File Name: SD240_Vers...7-05.ini
File Size:3 KB
Attachments:
Last edit: 05 Jul 2025 08:29 by ziggi.

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

More
05 Jul 2025 14:47 #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 or Create an account to join the conversation.

  • ziggi
  • ziggi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
05 Jul 2025 16:12 #331325 by ziggi
Thank you, I will try and report

Sigi

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

  • ziggi
  • ziggi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
05 Jul 2025 17:01 #331331 by ziggi
No, sorry- doesn´t do it. No jogging the selected axis possilble.

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

More
05 Jul 2025 17:32 - 05 Jul 2025 17:33 #331334 by PCW
Does normal motion work?

When attempting jogging, what does:

halcmd show pin | grep jog

(typed in a terminal) report?
Last edit: 05 Jul 2025 17:33 by PCW.

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

  • ziggi
  • ziggi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
05 Jul 2025 20:19 - 05 Jul 2025 21:27 #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.
 

File Attachment:

File Name: halcmnd_sh...port.txt
File Size:7 KB

 
Attachments:
Last edit: 05 Jul 2025 21:27 by ziggi.

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

More
06 Jul 2025 03:00 #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 or Create an account to join the conversation.

  • ziggi
  • ziggi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
06 Jul 2025 09:55 #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 or Create an account to join the conversation.

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