How config hall for Lathe spindle 2 mode with servo motor

More
28 Jul 2024 18:34 #306260 by abdulasis12
Hi
Now I have cnclathe
I use Servo motor for drive spindle
I create and setup on servo drive 2 input for on speed mode and second for position mode

Now I setup in hall for drive spindle in speedmode with Step gen signal
# Step Gen signals/setup
setp   hm2_7i96s.0.stepgen.02.dirsetup        [SPINDLE_0]DIRSETUP
setp   hm2_7i96s.0.stepgen.02.dirhold         [SPINDLE_0]DIRHOLD
setp   hm2_7i96s.0.stepgen.02.steplen         [SPINDLE_0]STEPLEN
setp   hm2_7i96s.0.stepgen.02.stepspace       [SPINDLE_0]STEPSPACE
setp   hm2_7i96s.0.stepgen.02.position-scale  [SPINDLE_0]STEP_SCALE
setp   hm2_7i96s.0.stepgen.02.step_type        0
setp   hm2_7i96s.0.stepgen.02.control-type     1
setp   hm2_7i96s.0.stepgen.02.maxaccel         [SPINDLE_0]STEPGEN_MAXACCEL
setp   hm2_7i96s.0.stepgen.02.maxvel           [SPINDLE_0]STEPGEN_MAXVEL

its good work.

then I swith to second signal output to
> servo drive for go to C axis (position mode) Now it's lock position but I dont know how to config in hall file and ini file for use stepgen.02 to drive in C axis when position mode
Please advice me.


Thank you

Azis

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

Time to create page: 0.058 seconds
Powered by Kunena Forum