question XYZACkins.c
- akex
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
sorry i am french and i knew very well english but i try

i do a cnc xyz mill
i want try 5 axis
i install and comp the xyzackins.c whithout problem
i modifie the hal and the ini but if you can verifie for stepgen i am not sure
# loop position commands back to motion module feedback
linksp J0pos => axis.0.motor-pos-fb
linksp J1pos => axis.1.motor-pos-fb
linksp J2pos => axis.2.motor-pos-fb
linksp J3pos => axis.3.motor-pos-fb
linksp J5pos => axis.5.motor-pos-fb
setp stepgen.0.position-scale [AXIS_0]SCALE
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 12000
setp stepgen.0.dirsetup 12000
setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL
net xpos-cmd axis.0.joint-pos-cmd => stepgen.0.position-cmd
net j0pos stepgen.0.position-fb
net xstep <= stepgen.0.step
net xdir <= stepgen.0.dir
net xena => stepgen.0.enable
i add that for x axis example
i am not sure for
because in original hal there are not "axis.0.joint-pos-cmd"net xpos-cmd axis.0.joint-pos-cmd => stepgen.0.position-cmd
and
i try with "net xpos-fb axis.0.joint-pos-fb stepgen.0.position-fb" but not worklinksp J0pos => axis.0.motor-pos-fb
net j0pos stepgen.0.position-fb
linuxcnc error i can't because is 2 OUT-BIT
can you see this for say me you think is good ?
thanks
Alex
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1175
JT
Please Log in or Create an account to join the conversation.
- akex
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
i see it's better for a gcode, it's not right ?
origina config
and modifed
if you want see all configuration
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1175
JT
Please Log in or Create an account to join the conversation.
- akex
- Offline
- New Member
-
- Posts: 19
- Thank you received: 0
Andypugh you don't have idea?
Thanks
Alex
Please Log in or Create an account to join the conversation.