Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.

More
9 years 1 month ago #98688 by tecno
renamed and it became a mess.
Obviously there was a mix of ini and hal = now only these 2 files.
I suspect *wrong* ini was used thus wrong hal.
Newbie mistake assuming things ;)

Please Log in to join the conversation.

More
9 years 1 month ago #98697 by tecno
setp hm2_7i76e.0.encoder.00.scale [AXIS_0] ENCODER_SCALE

Error FIXED [AXIS_0] ENCODER_SCALE to [AXIS_0]ENCODER_SCALE

The Popup shows and is counting BUT manually turning Spindle
Now net spindle-vel hm.........04.velocity does not exist

Please Log in to join the conversation.

More
9 years 1 month ago #98698 by andypugh
You can use the "select" button on the halmeter to see what the encoder velocity pin is really called.

I probably got the hal pin name wrong, I don't actually have an encyclopedic knowledge of the exact hal pin names of every possible system configuration including hardware I have never even seen.

Please Log in to join the conversation.

More
9 years 1 month ago #98699 by Todd Zuercher

tecno wrote: setp hm2_7i76e.0.encoder.00.scale [AXIS_0] ENCODER_SCALE

Now error at above line = empty variable name

Attachment not found

Attachment not found


I think your problem here might be the space between [AXIS_0] ENCODER_SCALE
So change these lines to this.
Code:
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.03.scale [AXIS_3]ENCODER_SCALE setp hm2_7i76e.0.encoder.04.scale [SPINDLE_9]ENCODER_SCALE

Please Log in to join the conversation.

More
9 years 1 month ago #98700 by tecno
It is correct name
It counts turning by hand
BUT now only M4 is functioning not M3

Please Log in to join the conversation.

More
9 years 1 month ago #98702 by tecno
G33.1 is working by turning spindle by hand and returns with M4 when in position.

M3 = mysterious

edit/ output 8 is false all the time

Please Log in to join the conversation.

More
9 years 1 month ago #98704 by tecno

Todd Zuercher wrote:

tecno wrote: setp hm2_7i76e.0.encoder.00.scale [AXIS_0] ENCODER_SCALE

Now error at above line = empty variable name

Attachment not found

Attachment not found


I think your problem here might be the space between [AXIS_0] ENCODER_SCALE
So change these lines to this.
Code:
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.03.scale [AXIS_3]ENCODER_SCALE setp hm2_7i76e.0.encoder.04.scale [SPINDLE_9]ENCODER_SCALE


Done forum.linuxcnc.org/39-pncconf/33069-help...oing?start=380#98697

Please Log in to join the conversation.

More
9 years 1 month ago #98733 by tecno
Can somebody share their knowledge why M3 / Spindle forward is not functioning.

#*******************
# SPINDLE S
#*******************

net spindle-cmd-rpm motion.spindle-speed-out-abs => hm2_7i76e.0.7i76.0.0.spinout
net spindle-enable motion.spindle-on => hm2_7i76e.0.7i76.0.0.spinena
net spindle-ccw motion.spindle-reverse => hm2_7i76e.0.7i76.0.0.spindir
net spindle-index-enable motion.spindle-index-enable <=> hm2_7i76e.0.encoder.04.index-enable
net spindle-pos hm2_7i76e.0.encoder.04.position => motion.spindle-revs
loadusr halmeter sig spindle-pos
>>>> errors here net spindle-vel hm2_7i76.0.encoder.04.velocity => motion.spindle-speed-in

setp hm2_7i76e.0.7i76.0.0.spinout-scalemax 1200
setp hm2_7i76e.0.7i76.0.0.spinout-maxlim 2500



Testing G33.1 it works if I turn spindle by hand in CW direction and when in depth position M4 goes active and returns.

Please Log in to join the conversation.

More
9 years 1 month ago #98735 by PCW

errors here net spindle-vel hm2_7i76.0.encoder.04.velocity => motion.spindle-speed-in


You have a bad pin name (7i76 instead of 7i76e)

I usually make a "donor" file of pin names to select from so I don't ever have to type them

something like:

halcmd show pin hm2* > hardware-pins

Please Log in to join the conversation.

More
9 years 1 month ago #98739 by tecno
OK, error message gone BUT...
Still no M3 so something must be missing in Andys code for Spindle.

Please Log in to join the conversation.

Time to create page: 0.117 seconds
Powered by Kunena Forum