Configuration 7i92m_7i76x1D

More
27 Feb 2018 15:40 - 27 Feb 2018 15:42 #106625 by Todd Zuercher
I believe the problem is probably the STEPGEN_MAXACCEL setting for axis.0. It needs to be about 25% larger than the max acceleration. Right now you have it %50 smaller.

edit:
So either lower the max acceleration to about 80 or raise the stepgen maxaccel to about 250.
Last edit: 27 Feb 2018 15:42 by Todd Zuercher.

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

More
28 Feb 2018 13:23 - 28 Feb 2018 13:43 #106694 by aleksamc
Thanks, Todd. It works.

I have in my configuration hal file
"net both-home-x <= hm2_7i92.0.7i76.0.0.input-07"
I choused that because there is no separete choice.
But I need separate minimum limit (could be for X Y and Z), maximum limit and separate home for each.
What I need to write in my hal file?

MESA 7i76 also has analog spindle Enable+, Enable-, Dir+, Dir- outputs. Does they support 24V?
Last edit: 28 Feb 2018 13:43 by aleksamc. Reason: Spindle question added.

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

More
28 Feb 2018 13:54 #106699 by andypugh
There is nothing "magic" about the name "both-home-x", it could be called anything.

If you look elsewhere in the HAL file you will probably find that somewhere there is something like

net both-home-x axis.0.neg-lim-sw-in axis.0.pos-lim-sw-in axis.0.home-sw-in

(May be split over several lines)

To do them separately you cold have:

net red hm2_7i92.0.7i76.0.0.input-07
net blue hm2_7i92.0.7i76.0.0.input-08
net yellow hm2_7i92.0.7i76.0.0.input-09
...
net red axis.0.neg-lim-sw-in
net blue axis.0.pos-lim-sw-in
net yellow axis.0.home-sw-in

Or any variation on that theme.
The following user(s) said Thank You: aleksamc

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

More
28 Feb 2018 14:06 - 28 Feb 2018 14:08 #106703 by Todd Zuercher
In PncConfig, you can choose almost any combination of combined or separate home and limit switches and you most certainly can choose separate positive, negative and home switch inputs. But it is a simple hal edit to make what ever combination that is not available.

Attachments:
Last edit: 28 Feb 2018 14:08 by Todd Zuercher.
The following user(s) said Thank You: aleksamc

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

More
28 Feb 2018 15:46 #106709 by aleksamc
MESA 7i76 also has outputs to control spindle - Enable+, Enable-, Dir+, Dir-. Does they support 24V if I have the same field voltage?

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

More
28 Feb 2018 16:38 #106715 by PCW
Replied by PCW on topic Configuration 7i92m_7i76x1D
The DIR and ENA outputs are isolated switches (optocoupler outputs) so connect between the + and - leads when ON
They can be to switch 5V to 50V signals with a maximum current of 50 mA. They have no connection to field power
So basically they are used just like a mechanical switch with the limitation that they are DC only, you must observe polarity
and they are limited to switching 50 mA.

You do have to be careful that you do not swicth into a shorted load or you will destroy the optocoupler
The following user(s) said Thank You: aleksamc

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

More
09 Mar 2018 14:55 #107152 by aleksamc
I start to test pindle analog output and it has some strange behave.
For easy count voltage, I set maximum speed as 1000
Warning: Spoiler!

I've measured voltage between 0V <> Vout.
Output is VERY! unlinear. What is the reason of this?

File Attachment:

File Name: MachineCNC...3-09.ini
File Size:5 KB

File Attachment:

File Name: MachineCNC...3-09.hal
File Size:20 KB
Attachments:

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

More
09 Mar 2018 15:05 #107153 by PCW
Replied by PCW on topic Configuration 7i92m_7i76x1D
Are you measuring between TB4 pin 1 and TB4 pin 2? (from SPINDLE- to SPINDLE OUT)
What's the voltage between TB4 pin 1 and TB4 pin 3? (from SPINDLE- to SPINDLE+)

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

More
09 Mar 2018 15:28 #107156 by aleksamc
Yes, I measure TB4: pin1, Pin2.
Between pin1 and pi3 there is 10,45V.

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

More
09 Mar 2018 15:35 #107157 by PCW
Replied by PCW on topic Configuration 7i92m_7i76x1D
What is the source of the 10.45V, is the 10.45 V constant at all spindle settings?

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

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