7i96S card arrived what setup is recomended
- PCW
-
- Away
- Moderator
-
- Posts: 18440
- Thank you received: 5036
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.
- Samuelx
- Offline
- Senior Member
-
- Posts: 56
- Thank you received: 4
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
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
- Posts: 20055
- Thank you received: 6822
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.
- PCW
-
- Away
- Moderator
-
- Posts: 18440
- Thank you received: 5036
any additional encoder inputs.
It is not recommended to connect to the drives encoder pins.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
- Posts: 20055
- Thank you received: 6822
Probably should have mentioned that!
It is not recommended to connect to the drives encoder pins.
Thank you PCW.
Please Log in or Create an account to join the conversation.
- Samuelx
- Offline
- Senior Member
-
- Posts: 56
- Thank you received: 4
store.mesanet.com/index.php?route=produc...oduct&product_id=304
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
- Posts: 18440
- Thank you received: 5036
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.
- xenon-alien
-
- Offline
- Premium Member
-
- Posts: 141
- Thank you received: 3
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)
Please Log in or Create an account to join the conversation.
- xenon-alien
-
- Offline
- Premium Member
-
- Posts: 141
- Thank you received: 3
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"
loadrt hm2_eth board_ip="10.10.10.10"
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
- Posts: 18440
- Thank you received: 5036
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)
Please Log in or Create an account to join the conversation.