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

More
24 Aug 2017 09:59 - 24 Aug 2017 10:31 #97961 by tecno
Can anybody please tell me how to do this, I cannot find anywhere to fill up the gaps so to speak.

At the same time, where do I setup 7i85S board?
Last edit: 24 Aug 2017 10:31 by tecno. Reason: added text

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

More
24 Aug 2017 15:44 - 24 Aug 2017 16:38 #97967 by tecno
At last I´ve found it. How-come the wording/digit indication is different ??
Encoder 00 in LCNC and 0 in pncconf, not easy to follow what is what here.

So now I have done setting up spindle encoder but still NoGo.

File Attachment:

File Name: combimill_...8-24.hal
File Size:16 KB


sets spindle-encoder-enable true

Rotating encoder = nothing
shorting pin 13 to GND = nothing

Input-Index in hal show goes low when shorting

Why does it have to be so that pncconf overwrites previous settings = a lot of unnecessary editing!
Attachments:
Last edit: 24 Aug 2017 16:38 by tecno. Reason: added text

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

More
24 Aug 2017 17:38 #97968 by PCW
if the index signal (7i76e.0.encoder.00.input-index) is
working and 7i76e.0.encoder.00.index-enable gets set
I dont see any possible way 7i76e.0.encoder.00.index-enable
is not cleared by index

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

More
24 Aug 2017 17:45 #97969 by tecno



Stays true turning encoder or shorting pin 13 to GND
Attachments:

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

More
24 Aug 2017 17:54 - 24 Aug 2017 17:57 #97970 by PCW
I would expect that to stay true (or false)

show is not dynamic (it only samples the pin/signal when you select it)
You must use watch to look at dynamic signals
Last edit: 24 Aug 2017 17:57 by PCW.

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

More
24 Aug 2017 18:37 #97971 by tecno
Did a power down and up and now xxxx encoder.00.input-index is low not high. WTF?

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

More
25 Aug 2017 07:06 #97982 by tecno
Obviously this board (my spare 7i76e for the lathe in future) is not functioning as regards Inputs for spindle index.
I hope that the board in my milling machine is OK and only suffering from faulty setup.

Is it possible to use another input for the index pulse?

Is it possible to use 7i85S encoder inputs for spindle encoder? How do I setup 7i85S? Nothing in pncconf what I can find.

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

More
25 Aug 2017 09:38 #97985 by tecno

I hope that the board in my milling machine is OK and only suffering from faulty setup.

if the index signal (7i76e.0.encoder.00.input-index) is
working and 7i76e.0.encoder.00.index-enable gets set
I dont see any possible way 7i76e.0.encoder.00.index-enable
is not cleared by index


All is well when correctly setup. 7i76e.0.encoder.00.index-enable is cleared by index.

Thank you guys for helping me sort this out, now to the big task to edit my HAL file and get all functions back.

How is the 7i85S setup?

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

More
25 Aug 2017 09:59 #97986 by tecno
Assuming this is the only new lines to be added to my 'old' hal with all other functions in place.

# ---Encoder feedback signals/setup---

setp hm2_7i76e.0.encoder.00.counter-mode 0
setp hm2_7i76e.0.encoder.00.filter 1
setp hm2_7i76e.0.encoder.00.index-invert 0
setp hm2_7i76e.0.encoder.00.index-mask 0
setp hm2_7i76e.0.encoder.00.index-mask-invert 0
setp hm2_7i76e.0.encoder.00.scale [SPINDLE_9]ENCODER_SCALE

net spindle-revs <= hm2_7i76e.0.encoder.00.position
net spindle-vel-fb-rps <= hm2_7i76e.0.encoder.00.velocity
net spindle-index-enable <=> hm2_7i76e.0.encoder.00.index-enable

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

More
25 Aug 2017 12:56 #97991 by Todd Zuercher
You also need to change the number of encoders in this line to 5 (maybe 6):
loadrt hm2_eth board_ip="10.10.10.10" config="firmware=hm2/7i76/7i76e.BIT num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=21xxxx"
to
loadrt hm2_eth board_ip="10.10.10.10" config="firmware=hm2/7i76/7i76e.BIT num_encoders=5 num_pwmgens=0 num_stepgens=5 sserial_port_0=21xxxx"

Are you only using the encoders on the 7i85S? If you are using any of it's other outputs (stepgens, PWMgens, or SmartSerial port) you have to add that info as well.

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

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