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

More
9 years 2 months ago #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?

Please Log in to join the conversation.

More
9 years 2 months ago #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.

Attachment not found



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!

Please Log in to join the conversation.

More
9 years 2 months ago #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 to join the conversation.

More
9 years 2 months ago #97969 by tecno

Attachment not found




Stays true turning encoder or shorting pin 13 to GND

Please Log in to join the conversation.

More
9 years 2 months ago #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

Please Log in to join the conversation.

More
9 years 2 months ago #97971 by tecno
Did a power down and up and now xxxx encoder.00.input-index is low not high. WTF?

Please Log in to join the conversation.

More
9 years 2 months ago #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 to join the conversation.

More
9 years 2 months ago #97985 by tecno

tecno wrote: 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 to join the conversation.

More
9 years 2 months ago #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 to join the conversation.

More
9 years 2 months ago #97991 by Todd Zuercher
You also need to change the number of encoders in this line to 5 (maybe 6):
Code:
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
Code:
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 to join the conversation.

Time to create page: 0.143 seconds
Powered by Kunena Forum