Troubles to get started with SD240 Retrofit
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18844
- Thank you received: 5203
04 Jul 2025 21:12 #331270
by PCW
Replied by PCW on topic Troubles to get started with SD240 Retrofit
Sounds like the jogging setup in the hal file is not quite right
can you post your hal file?
can you post your hal file?
Please Log in or Create an account to join the conversation.
- ziggi
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 0
05 Jul 2025 08:26 - 05 Jul 2025 08:29 #331305
by ziggi
Replied by ziggi on topic Troubles to get started with SD240 Retrofit
Thank you for the reply, attached you find the current HAL and INI files
Sigi
Sigi
Attachments:
Last edit: 05 Jul 2025 08:29 by ziggi.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18844
- Thank you received: 5203
05 Jul 2025 14:47 #331319
by PCW
Replied by PCW on topic Troubles to get started with SD240 Retrofit
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
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
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 0
05 Jul 2025 16:12 #331325
by ziggi
Replied by ziggi on topic Troubles to get started with SD240 Retrofit
Please Log in or Create an account to join the conversation.
- ziggi
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 0
05 Jul 2025 17:01 #331331
by ziggi
Replied by ziggi on topic Troubles to get started with SD240 Retrofit
No, sorry- doesn´t do it. No jogging the selected axis possilble.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18844
- Thank you received: 5203
05 Jul 2025 17:32 - 05 Jul 2025 17:33 #331334
by PCW
Replied by PCW on topic Troubles to get started with SD240 Retrofit
Does normal motion work?
When attempting jogging, what does:
halcmd show pin | grep jog
(typed in a terminal) report?
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
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 0
05 Jul 2025 20:19 - 05 Jul 2025 21:27 #331341
by ziggi
Replied by ziggi on topic Troubles to get started with SD240 Retrofit
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.
the command brings up the following when I write the command into the terminal and press ENTER while turning the handwheel.
Attachments:
Last edit: 05 Jul 2025 21:27 by ziggi.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18844
- Thank you received: 5203
06 Jul 2025 03:00 #331364
by PCW
Replied by PCW on topic Troubles to get started with SD240 Retrofit
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
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
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 0
06 Jul 2025 09:55 #331381
by ziggi
Replied by ziggi on topic Troubles to get started with SD240 Retrofit
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
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