- Posts: 5
- Thank you received: 0
x axis direction whb04b-6
5 years 1 month ago #220277
by dima_sz
x axis direction whb04b-6 was created by dima_sz
I have a linuxcnc lathe, how do I change the X axis direction when using whb04b-6? When rotated clockwise, the X coordinate value increases, but it is necessary for the coordinate values to decrease.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
5 years 1 month ago #220286
by tommylight
Replied by tommylight on topic x axis direction whb04b-6
Put a - (minus) in front of the SCALE for that axis/joint.
Never used one so not sure where exactly that would be.
Never used one so not sure where exactly that would be.
Please Log in to join the conversation.
5 years 1 month ago #220301
by Aciera
Replied by Aciera on topic x axis direction whb04b-6
Post your hal and ini files please.
Please Log in to join the conversation.
5 years 1 month ago #220332
by dima_sz
Replied by dima_sz on topic x axis direction whb04b-6
The machine is still in the build process, I am only tweaking the software part, so not all parameters are correct. gcode is executing correctly. Problem when using mpg whb04b-6. If you turn the knob clockwise on a physical machine, then the cutter moves from me to the center of rotation of the spindle and this is normal, but if you turn the mpg whb04b-6 knob clockwise, then the cutter moves towards me from the center of rotation of the spindle, and this is not correct. I want to get the controls I am accustomed to.
Please Log in to join the conversation.
5 years 1 month ago #220336
by dima_sz
Axis movement Z is correct
Replied by dima_sz on topic x axis direction whb04b-6
Axis movement Z is correct
Please Log in to join the conversation.
5 years 1 month ago #220360
by Aciera
Replied by Aciera on topic x axis direction whb04b-6
Maybe you could use a 'MULT2'-component to multiply 'whb.axis.x.jog-scale' with -1 to reverse the direction and then connect the output-pin to 'axis.x.jog-scale'
Please Log in to join the conversation.
5 years 1 month ago #220403
by dima_sz
Replied by dima_sz on topic x axis direction whb04b-6
everything worked out, only I had to use the functions conv_float_s32, conv_s32_float, mult2
Please Log in to join the conversation.
Time to create page: 0.183 seconds
