7i96S card arrived what setup is recomended

More
29 Jul 2022 17:03 #248627 by PCW
Normally nothing else is needed.

If you have dual feedback (linear encoders on the axis)
you could add an encoder interface card.

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

More
29 Jul 2022 17:08 - 29 Jul 2022 17:09 #248629 by Samuelx
How you connect encoders to 7i96s?
There is only 1 encoder input for spindle encoder.
I got this motors and drivers
www.aliexpress.com/item/32452247259.html...t.0.0.21ef1802gwycFV

 
Last edit: 29 Jul 2022 17:09 by Samuelx.

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

More
29 Jul 2022 17:32 #248631 by tommylight
Mesa 7i85 should be for 4 encoders, not sure as there is also a 7i85S and they are not the same as far as i recall.
If you need more, Mesa 7i77 is good for 6 encoders although it does have 6 analog outputs that you do not need, so there might be something better.

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

More
29 Jul 2022 17:44 #248635 by PCW
Unless you have separate linear encoders, you do not need
any additional encoder inputs.

It is not recommended to connect to the drives encoder pins.
The following user(s) said Thank You: tommylight

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

More
29 Jul 2022 18:03 #248641 by tommylight


It is not recommended to connect to the drives encoder pins.

Probably should have mentioned that!
Thank you PCW.

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

More
29 Jul 2022 18:46 #248642 by Samuelx

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

More
29 Jul 2022 18:52 #248643 by PCW
I still recommend against connection to drive encoder input pins
This compromises grounding (because on inexpensive drives, encoder ground
is power ground) and has no real benefits.

If you have separate linear encoders, adding LinuxCNC encoder
feedback to a step/direction system has some benefits.

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

More
08 Aug 2022 07:30 - 08 Aug 2022 09:18 #249325 by xenon-alien
Hello!
Not really understand the analog output use...
Need I update the fw of the card to 7i96s_d to use the analog output?
Or I can just add the needed lines to my ini and hal file?
Can someone tell me what lines to add?
Or give me a link please if it was described somewhere.
Somewhere i saw

PCW post=244059 userid=481
Unfortunately there's a fair amount of "boilerplate" missing
(the Spindle PID setup for example)

To set up really basic operation (ignoring the ini file values and the PID), at the minimum,
you need to setup and connect PWMGen 00:

setp hm2_7i96s.0.pwmgen.00.scale 24000
setp hm2_7i96s.0.pwmgen.00.pwm_frequency 5000
setp hm2_7i96s.0.pwmgen.00.output_type 1

net spindle-vel-cmd-rpm-abs hm2_7i96s.0.pwmgen.00.value
net spindle-on spindle.0.on
net spindle-on hm2_7i96s.0.pwmgen.00.enable

You probably also need to connect the signal "spindle-on"
to a 7I96S isolated output:

net spindle-on hm2_7i96s.0.outm.00.out-04


 



May be there are an instruction or manual
Mesa 7i96s
1) Debian 10 Buster (LCNC 2.8.2 update to 2.9 master)
2) Mesaflash 3.4.3
3) Firmware - if needed.
4) Add lines to ini/hal file to use the spindle analog output.

First 2 i have already done.
The card can connect, set up all outputs axis an the 6 SSR.
The spindle analog left...
Internal               33   IOPort       SSR              0        AC Ref          (Out)
Last edit: 08 Aug 2022 09:18 by xenon-alien.

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

More
08 Aug 2022 13:01 #249338 by xenon-alien
Finally got it!
Used the Mesa Configuration tool.
But not really understand, why not needed to write
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=1 num_stepgens=2 sserial_port_0=0xxxxx"
Just
loadrt hm2_eth board_ip="10.10.10.10"

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

More
08 Aug 2022 14:32 - 08 Aug 2022 14:37 #249342 by PCW
The default driver behaviour is to enable all functions in the firmware

So with standard 7I96S firmware:

loadrt hm2_eth board_ip="10.10.10.10"

is the equivalent of:

loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=1 num_stepgens=5 sserial_port_0=0xxxxx"

If for example you used your config line:

loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=1 num_stepgens=2 sserial_port_0=0xxxxx"

stepgens 2,3,4 would be disabled
(and their outputs would become available as general purpose 5V outputs)

 
Last edit: 08 Aug 2022 14:37 by PCW.

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

Moderators: PCWjmelson
Time to create page: 0.135 seconds
Powered by Kunena Forum