- Posts: 4739
- Thank you received: 2
Configuration 7i92m_7i76x1D
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
8 years 8 months ago #106625
by Todd Zuercher
Replied by Todd Zuercher on topic Configuration 7i92m_7i76x1D
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.
edit:
So either lower the max acceleration to about 80 or raise the stepgen maxaccel to about 250.
Please Log in to join the conversation.
8 years 8 months ago #106694
by aleksamc
Replied by aleksamc on topic Configuration 7i92m_7i76x1D
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?
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?
Please Log in to join the conversation.
8 years 8 months ago #106699
by andypugh
Replied by andypugh on topic Configuration 7i92m_7i76x1D
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.
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.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
8 years 8 months ago #106703
by Todd Zuercher
Replied by Todd Zuercher on topic Configuration 7i92m_7i76x1D
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.
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
8 years 8 months ago #106709
by aleksamc
Replied by aleksamc on topic Configuration 7i92m_7i76x1D
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 to join the conversation.
8 years 8 months ago #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
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
Please Log in to join the conversation.
8 years 7 months ago #107152
by aleksamc
Replied by aleksamc on topic Configuration 7i92m_7i76x1D
I start to test pindle analog output and it has some strange behave.
For easy count voltage, I set maximum speed as 1000
Got values of output voltage:
S0 - 0
S10 - 9,64
S50 - 6,37
S100 - 2,37
S200 - 4,78
S300 - 7,92
S400 - 9,69
S500 - 1,64
S600 - 4,03
S700 - 6,45
S800 - 8,9
S900 - 0,9
S1000- 3,28
I've measured voltage between 0V <> Vout.
Output is VERY! unlinear. What is the reason of this?
For easy count voltage, I set maximum speed as 1000
Warning: Spoiler!
Got values of output voltage:
S0 - 0
S10 - 9,64
S50 - 6,37
S100 - 2,37
S200 - 4,78
S300 - 7,92
S400 - 9,69
S500 - 1,64
S600 - 4,03
S700 - 6,45
S800 - 8,9
S900 - 0,9
S1000- 3,28
I've measured voltage between 0V <> Vout.
Output is VERY! unlinear. What is the reason of this?
Attachment not found
Attachment not found
Please Log in to join the conversation.
8 years 7 months ago #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+)
What's the voltage between TB4 pin 1 and TB4 pin 3? (from SPINDLE- to SPINDLE+)
Please Log in to join the conversation.
8 years 7 months ago #107156
by aleksamc
Replied by aleksamc on topic Configuration 7i92m_7i76x1D
Yes, I measure TB4: pin1, Pin2.
Between pin1 and pi3 there is 10,45V.
Between pin1 and pi3 there is 10,45V.
Please Log in to join the conversation.
Time to create page: 0.204 seconds
