- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.
Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.
Is spindle encoder always 0? Can it be last and if so how is this done?
Please Log in or Create an account to join the conversation.
That's the great thing about HAL, any signal can go anywhere.
Please Log in or Create an account to join the conversation.
from HAL
setp hm2_7i76e.0.encoder.00.scale 1000
setp hm2_7i76e.0.encoder.01.scale 1000
setp hm2_7i76e.0.encoder.02.scale 2000
Assuming this is for the X/Y/Z, where do this be connected to the axis in question
7i85S 1st 2nd 3rd encoder inputs
Want to have spindle encoder on 4th encoder input, what syntax in hal for this.
Now 360ppr encoder so the INI will have to be ENCODER_SCALE = 1440
Please Log in or Create an account to join the conversation.
Definitely not needed, just measure your progress by the blood on your workshop floor.OK, but still looking for the book *HAL for Dummies*
I'm feeling very despondent here today. Wish I just had to sort out how to make a spindle work instead of a plasma torch!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Changes in HAL
setp hm2_7i76e.0.encoder.00.scale [AXIS_0] ENCODER_SCALE
setp hm2_7i76e.0.encoder.01.scale [AXIS_1] ENCODER_SCALE
setp hm2_7i76e.0.encoder.02.scale [AXIS_2] ENCODER_SCALE
setp hm2_7i76e.0.encoder.04.scale [SPINDLE_9] ENCODER_SCALE
Adding following to INI
in AXIS_0
ENCODER_SCALE = 1000
in AXIS_1
ENCODER_SCALE = 1000
in AXIS_2
ENCODER_SCALE = 2000
in SPINDLE_9
ENCODER_SCALE = 1440 ( 360ppr encoder )
forum.linuxcnc.org/39-pncconf/33069-help...oing?start=290#98338
Please Log in or Create an account to join the conversation.
OK, but still looking for the book *HAL for Dummies*
I assume that you have seen:
linuxcnc.org/docs/2.7/html/hal/intro.html
and
linuxcnc.org/docs/2.7/html/hal/basic-hal.html
and that these do not meet your requirements?
from HAL
setp hm2_7i76e.0.encoder.00.scale 1000
setp hm2_7i76e.0.encoder.01.scale 1000
setp hm2_7i76e.0.encoder.02.scale 2000
Assuming this is for the X/Y/Z, where do this be connected to the axis in question
net some-signal-name axis.N.motor-position-fb hm2_7i76e.0.encoder.MM.position
If you are using a PID component for each axis (this is optional, but pncconf currently sets things up that way) then you also need
net some-signal-name pid.X.feedback
Want to have spindle encoder on 4th encoder input, what syntax in hal for this.
net spindle-pos hm2_7i76e.0.encoder.04.position motion.spindle-revs
net spindle-vel hm2_7i76.0.encoder.04.velocity motion,spindle-vel
All the motion pins are listed here:
linuxcnc.org/docs/2.7/html/man/man9/motion.9.html
And the pid pins at:
linuxcnc.org/docs/2.7/html/man/man9/pid.9.html
Are you writing the HAL from scratch or using PnCConf?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.