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

More
08 Sep 2017 14:09 #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 or Create an account to join the conversation.

More
08 Sep 2017 15:51 #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 or Create an account to join the conversation.

More
08 Sep 2017 16:05 #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 or Create an account to join the conversation.

More
08 Sep 2017 16:18 #98699 by Todd Zuercher

setp hm2_7i76e.0.encoder.00.scale [AXIS_0] ENCODER_SCALE

Now error at above line = empty variable name

File Attachment:

File Name: combimillx.ini
File Size:5 KB

File Attachment:

File Name: combimillx.hal
File Size:18 KB


I think your problem here might be the space between [AXIS_0] ENCODER_SCALE
So change these lines to this.
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 or Create an account to join the conversation.

More
08 Sep 2017 16:18 #98700 by tecno
It is correct name
It counts turning by hand
BUT now only M4 is functioning not M3

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

More
08 Sep 2017 16:31 - 08 Sep 2017 16:45 #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
Last edit: 08 Sep 2017 16:45 by tecno. Reason: added text

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

More
08 Sep 2017 17:04 #98704 by tecno

setp hm2_7i76e.0.encoder.00.scale [AXIS_0] ENCODER_SCALE

Now error at above line = empty variable name

File Attachment:

File Name: combimillx.ini
File Size:5 KB

File Attachment:

File Name: combimillx.hal
File Size:18 KB


I think your problem here might be the space between [AXIS_0] ENCODER_SCALE
So change these lines to this.
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 or Create an account to join the conversation.

More
09 Sep 2017 16:06 #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 or Create an account to join the conversation.

More
09 Sep 2017 16:16 #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 or Create an account to join the conversation.

More
09 Sep 2017 16:55 #98739 by tecno
OK, error message gone BUT...
Still no M3 so something must be missing in Andys code for Spindle.

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

Moderators: cmorley
Time to create page: 0.241 seconds
Powered by Kunena Forum