- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- 6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
16 Aug 2017 14:25 #97575
by Patrik T
Hi
I bought a 6i25 + 7i76 plug and play kit from the Mesa store.
Card seems to be there in lspci -v and I can see at least some pins with halrun show pin.
Should I see more 7i76 pins in halrun? Do I need to add external power the 7i76 to see its pins in halrun, or are the 7i76 pins also named 5i25? Maybe this will be clearer to me as I get further in the setup.
Se attached txt files.
The major problem I am having is that the pncconf does not look like the documentation
linuxcnc.org/docs/2.7/html/config/pncconf.html
I have attached screenshots of how my pncconf looks.
I am using linuxcnc 2.7.8 and since I bought the plug and play version I have not used any mesa flashing.
What am I missing?
Would be thankful for some assistance in getting through the setup of these cards.
Patrik
I bought a 6i25 + 7i76 plug and play kit from the Mesa store.
Card seems to be there in lspci -v and I can see at least some pins with halrun show pin.
Should I see more 7i76 pins in halrun? Do I need to add external power the 7i76 to see its pins in halrun, or are the 7i76 pins also named 5i25? Maybe this will be clearer to me as I get further in the setup.
Se attached txt files.
The major problem I am having is that the pncconf does not look like the documentation
linuxcnc.org/docs/2.7/html/config/pncconf.html
I have attached screenshots of how my pncconf looks.
I am using linuxcnc 2.7.8 and since I bought the plug and play version I have not used any mesa flashing.
What am I missing?
Would be thankful for some assistance in getting through the setup of these cards.
Patrik
Please Log in or Create an account to join the conversation.
16 Aug 2017 15:48 #97582
by PCW
Replied by PCW on topic 6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
First to see the additional I/O tabs in pncconf, you must click the "accept component changes" button
(pncconf doesn't actually access any hardware here so this will work whether you have the hardware installed or not)
No 7I76 pins will show in hal up unless the 7I76 is fully powered (5V and field power)
(pncconf doesn't actually access any hardware here so this will work whether you have the hardware installed or not)
No 7I76 pins will show in hal up unless the 7I76 is fully powered (5V and field power)
Please Log in or Create an account to join the conversation.
16 Aug 2017 17:14 #97587
by Patrik T
Replied by Patrik T on topic 6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
Many thanks for the rapid reply.
All is good then. It just threw me that the pncconf did not look like the documentation.
I'll keep moving forward and see how far I get.
All is good then. It just threw me that the pncconf did not look like the documentation.
I'll keep moving forward and see how far I get.
Please Log in or Create an account to join the conversation.
21 Aug 2017 15:27 #97820
by Patrik T
Replied by Patrik T on topic 6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
Hi again
I used pncconf to generate a config and am now comparing it to the 7i76 sample files.
I see PIDs for the axes and for the spindle in the pncconf hal, but not in the sample hal.
I will use Delta servos with step/dir signaling, i.e., using the servos as steppers. I expected to rely on the servo driver's internal PID. I see no advantage for me to use any linuxcnc PIDs here. I have recently made a setup for steppers which I planned to almost copy and use for the "servo-steppers".
I also have a 7i77 card and I am comfortable with PIDs, but for this setup I want simple.
Is it safe to just delete the PID lines?
#*******************
# AXIS X
#*******************
setp pid.x.Pgain [AXIS_0]P
setp pid.x.Igain [AXIS_0]I
setp pid.x.Dgain [AXIS_0]D
setp pid.x.bias [AXIS_0]BIAS
setp pid.x.FF0 [AXIS_0]FF0
setp pid.x.FF1 [AXIS_0]FF1
setp pid.x.FF2 [AXIS_0]FF2
setp pid.x.deadband [AXIS_0]DEADBAND
setp pid.x.maxoutput [AXIS_0]MAX_OUTPUT
setp pid.x.error-previous-target true
setp pid.x.maxerror .0005
net x-index-enable <=> pid.x.index-enable
net x-enable => pid.x.enable
net x-pos-cmd => pid.x.command
net x-vel-cmd => pid.x.command-deriv
net x-pos-fb => pid.x.feedback
net x-output => pid.x.output
Thanks
Patrik
I used pncconf to generate a config and am now comparing it to the 7i76 sample files.
I see PIDs for the axes and for the spindle in the pncconf hal, but not in the sample hal.
I will use Delta servos with step/dir signaling, i.e., using the servos as steppers. I expected to rely on the servo driver's internal PID. I see no advantage for me to use any linuxcnc PIDs here. I have recently made a setup for steppers which I planned to almost copy and use for the "servo-steppers".
I also have a 7i77 card and I am comfortable with PIDs, but for this setup I want simple.
Is it safe to just delete the PID lines?
#*******************
# AXIS X
#*******************
setp pid.x.Pgain [AXIS_0]P
setp pid.x.Igain [AXIS_0]I
setp pid.x.Dgain [AXIS_0]D
setp pid.x.bias [AXIS_0]BIAS
setp pid.x.FF0 [AXIS_0]FF0
setp pid.x.FF1 [AXIS_0]FF1
setp pid.x.FF2 [AXIS_0]FF2
setp pid.x.deadband [AXIS_0]DEADBAND
setp pid.x.maxoutput [AXIS_0]MAX_OUTPUT
setp pid.x.error-previous-target true
setp pid.x.maxerror .0005
net x-index-enable <=> pid.x.index-enable
net x-enable => pid.x.enable
net x-pos-cmd => pid.x.command
net x-vel-cmd => pid.x.command-deriv
net x-pos-fb => pid.x.feedback
net x-output => pid.x.output
Thanks
Patrik
Please Log in or Create an account to join the conversation.
21 Aug 2017 15:39 #97822
by PCW
Replied by PCW on topic 6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
I would leave the PID in, The reason is the PID feedback improves the step generator performance
with regard host jitter (compared to the built in position mode controller in the driver)
with regard host jitter (compared to the built in position mode controller in the driver)
The following user(s) said Thank You: Patrik T
Please Log in or Create an account to join the conversation.
25 Aug 2017 16:36 #98004
by Patrik T
Replied by Patrik T on topic 6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
Thanks for the very fast support.
I am about to wire the 7i76 to the Delta ASDA-B2 servo drive.
I attach a wiring diagram from the servo drive manual.
I shows two possible wirings, I may use the high speed one.
Should I use both step+ and step- in either of the wirings?
Patrik
I am about to wire the 7i76 to the Delta ASDA-B2 servo drive.
I attach a wiring diagram from the servo drive manual.
I shows two possible wirings, I may use the high speed one.
Should I use both step+ and step- in either of the wirings?
Patrik
Please Log in or Create an account to join the conversation.
26 Aug 2017 12:50 #98039
by Patrik T
Replied by Patrik T on topic 6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
I guess the answer is that I should only use step+.
Looking at the high speed wiring in the previous diagram I see a 100 ohm short circuiting resistor I do not like.
5 Volt over 100 ohm is 50 mA. In the 7i76 manual I read that the 5 V step/dir signals can drive 24 mA.
Conclusion would be that I cannot use the high speed wiring.
But in the Delta servo manual there is also information saying that the high speed signal's forward specification is <25 mA, see attached picture.
What is "forward specification"?
I must ask Delta support to clarify this contradiction.
Can you say anything about what is the correct/safe way to proceed?
Best regards
Patrik
Looking at the high speed wiring in the previous diagram I see a 100 ohm short circuiting resistor I do not like.
5 Volt over 100 ohm is 50 mA. In the 7i76 manual I read that the 5 V step/dir signals can drive 24 mA.
Conclusion would be that I cannot use the high speed wiring.
But in the Delta servo manual there is also information saying that the high speed signal's forward specification is <25 mA, see attached picture.
What is "forward specification"?
I must ask Delta support to clarify this contradiction.
Can you say anything about what is the correct/safe way to proceed?
Best regards
Patrik
Please Log in or Create an account to join the conversation.
26 Aug 2017 15:18 #98041
by PCW
Replied by PCW on topic 6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
Differential mode is generally better, so:
You could use a Ohmmeter to see if the input termination is actually 100 ohms
Often high speed inputs use AC termination (100 ohms in series with a small capacitor)
The 7I76 outputs will drive AC terminated inputs without issue
If the inputs are actually 100 Ohm DC terminated, you could add a 50 Ohm series resistor
to one of the 7I76's outputs to limit the output current to <24 mA
(the 7i76 outputs already have ~75 Ohms differential output impedance)
You could use a Ohmmeter to see if the input termination is actually 100 ohms
Often high speed inputs use AC termination (100 ohms in series with a small capacitor)
The 7I76 outputs will drive AC terminated inputs without issue
If the inputs are actually 100 Ohm DC terminated, you could add a 50 Ohm series resistor
to one of the 7I76's outputs to limit the output current to <24 mA
(the 7i76 outputs already have ~75 Ohms differential output impedance)
Please Log in or Create an account to join the conversation.
26 Aug 2017 15:45 #98042
by Patrik T
Replied by Patrik T on topic 6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
Thanks
I measured the input to 220 ohm. It seems it is not AC terminated since the ohmmeter shows a steady 220 ohm.
This means it will draw 23 mA when 5 V is applied.
In single sided mode it ill draw 23 mA only when the pulse is high. In differential mode it will draw 23 mA always, right?
Do you recommend I use differential mode (both step+ and step-)?
I measured the input to 220 ohm. It seems it is not AC terminated since the ohmmeter shows a steady 220 ohm.
This means it will draw 23 mA when 5 V is applied.
In single sided mode it ill draw 23 mA only when the pulse is high. In differential mode it will draw 23 mA always, right?
Do you recommend I use differential mode (both step+ and step-)?
Please Log in or Create an account to join the conversation.
26 Aug 2017 16:00 - 26 Aug 2017 16:01 #98043
by Patrik T
Replied by Patrik T on topic 6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
BTW, just because I want to learn.
If the 7i76 step output has a 75 ohm impedance, does that mean that the 5 V is inside those 75 ohm and that the ouput from the 7i76 will be only 4 V when connected to a 300 ohm load?
If the 7i76 step output has a 75 ohm impedance, does that mean that the 5 V is inside those 75 ohm and that the ouput from the 7i76 will be only 4 V when connected to a 300 ohm load?
Last edit: 26 Aug 2017 16:01 by Patrik T.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- 6i25 + 7i76 plug and play, card not showing and no tabs in pncconf.
Time to create page: 0.100 seconds