x axis direction whb04b-6
12 Sep 2021 04:02 #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 or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
12 Sep 2021 11:01 #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 or Create an account to join the conversation.
12 Sep 2021 13:00 #220301
by Aciera
Replied by Aciera on topic x axis direction whb04b-6
Post your hal and ini files please.
Please Log in or Create an account to join the conversation.
12 Sep 2021 15:45 #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 or Create an account to join the conversation.
12 Sep 2021 16:06 - 12 Sep 2021 16:08 #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
Last edit: 12 Sep 2021 16:08 by dima_sz.
Please Log in or Create an account to join the conversation.
12 Sep 2021 19:09 #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 or Create an account to join the conversation.
13 Sep 2021 06:18 - 13 Sep 2021 06:21 #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
Last edit: 13 Sep 2021 06:21 by dima_sz.
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
Time to create page: 0.087 seconds