- Posts: 157
- Thank you received: 4
7i96S card arrived what setup is recomended
- xenon-alien
- Offline
- Premium Member
-
Less
More
4 years 2 months ago #250066
by xenon-alien
Now I see the added stepgen index.
Can you write a simple example how to connect the *.hal file signals?
Or just enough to write
Can be the resistor 100 Om to protect the input? I have no 46 Om (or I can connect then in parallel and will got 50 Om)
Any news about
Replied by xenon-alien on topic 7i96S card arrived what setup is recomended
Finally assembled the electric box and updated the fw.7i96s with stepgen indexes 0..4 on P1 HDR pins 1,2,3,4,5
(DB25 pins 1,14,2,15,3)
Now I see the added stepgen index.
Can you write a simple example how to connect the *.hal file signals?
Or just enough to write
Code:
net index-x => hm2_7i96s.0.stepgen.00.index-enable => joint.0.index-enable
Can be the resistor 100 Om to protect the input? I have no 46 Om (or I can connect then in parallel and will got 50 Om)
Any news about
Can you do that for the 7i96 (pwm on 4th stepgen) too? (at home i have this card)
Please Log in or Create an account to join the conversation.
- xenon-alien
- Offline
- Premium Member
-
Less
More
- Posts: 157
- Thank you received: 4
4 years 2 months ago - 4 years 2 months ago #250069
by xenon-alien
Replied by xenon-alien on topic 7i96S card arrived what setup is recomended
The index (hm2_7i96s.0.stepgen.00.index-enable) not blinks when i touch the GND, or the 5v on the 1 pin
Or will it active only when will run the homing procedure?
Tried the
It's lights ON, after I touching the GND it's OFF.
Is it OK?
Or will it active only when will run the homing procedure?
Tried the
Code:
sets index-enable-x 1
Is it OK?
Last edit: 4 years 2 months ago by xenon-alien.
Please Log in or Create an account to join the conversation.
4 years 2 months ago #250073
by PCW
Replied by PCW on topic 7i96S card arrived what setup is recomended
That's correct, if you set stepgen-index-enable, an index occurrence
will clear it (and clear the stepgen position)
100 Ohms is fine
will clear it (and clear the stepgen position)
100 Ohms is fine
The following user(s) said Thank You: xenon-alien
Please Log in or Create an account to join the conversation.
- xenon-alien
- Offline
- Premium Member
-
Less
More
- Posts: 157
- Thank you received: 4
4 years 2 months ago #250693
by xenon-alien
When will you have time to help me out with the bit file for 7i96 (pwm on 4 stepgen) + index for homing
Replied by xenon-alien on topic 7i96S card arrived what setup is recomended
Hello.I can do this here but in a day or so
When will you have time to help me out with the bit file for 7i96 (pwm on 4 stepgen) + index for homing
Please Log in or Create an account to join the conversation.
4 years 2 months ago #250723
by PCW
7I96 firmware with 1 PWM replacing stepgen4
and 4 stepgen index pins on the expansion port
Replied by PCW on topic 7i96S card arrived what setup is recomended
7I96 firmware with 1 PWM replacing stepgen4
and 4 stepgen index pins on the expansion port
The following user(s) said Thank You: xenon-alien
Please Log in or Create an account to join the conversation.
- xenon-alien
- Offline
- Premium Member
-
Less
More
- Posts: 157
- Thank you received: 4
4 years 1 month ago #251170
by xenon-alien
Can you help me out with the turret feedback and spindle close-loop?
1) The turret drives a 3 ph 200W AC motor with 2 contactors (CW/CCW with classic-ladder, the algorithm is working).
When the contactor turns ON/OFF, the motor sends some "noise" to the 7i96s inputs (turning on by hands the contactor).
The 7i96s COM is the 24v Power Supply GND and the +24v goes to the Turret common, then they come back to the inputs from reed switch and a "turret closed" switch.
It looks like they needs to add for each input a pull-down resistor. (or may be something else...)
The cables comes out from the turret without any shielding. (24v signals and 3 ph AC 380v comes out parallel...)
(loud sound)
2) The Spindle Close-Loop
There is a simple 3 ph AC motor and inverter. They are connected and turning the Spindle CW/CCW.
The Lathe has 3 speeds. On the first speed when I command to turn 200 rpm (almost 1:1 ratio), it's turning with 275 ±2rpm.
The scaling not correct yet. I will do it soon.
Is it possible to use the Close-Loop to use all speeds automatically, without using any other hal component.
(the lathe config will upload on monday.)
Replied by xenon-alien on topic 7i96S card arrived what setup is recomended
It seems it's working. (loud sound)That's correct, if you set stepgen-index-enable, an index occurrencewill clear it (and clear the stepgen position)
100 Ohms is fine
Can you help me out with the turret feedback and spindle close-loop?
1) The turret drives a 3 ph 200W AC motor with 2 contactors (CW/CCW with classic-ladder, the algorithm is working).
When the contactor turns ON/OFF, the motor sends some "noise" to the 7i96s inputs (turning on by hands the contactor).
The 7i96s COM is the 24v Power Supply GND and the +24v goes to the Turret common, then they come back to the inputs from reed switch and a "turret closed" switch.
It looks like they needs to add for each input a pull-down resistor. (or may be something else...)
The cables comes out from the turret without any shielding. (24v signals and 3 ph AC 380v comes out parallel...)
(loud sound)
2) The Spindle Close-Loop
There is a simple 3 ph AC motor and inverter. They are connected and turning the Spindle CW/CCW.
The Lathe has 3 speeds. On the first speed when I command to turn 200 rpm (almost 1:1 ratio), it's turning with 275 ±2rpm.
The scaling not correct yet. I will do it soon.
Is it possible to use the Close-Loop to use all speeds automatically, without using any other hal component.
(the lathe config will upload on monday.)
Please Log in or Create an account to join the conversation.
Time to create page: 0.288 seconds