Advanced Search

Search Results (Searched for: 7i76e)

  • Aciera
  • Aciera's Avatar
27 Feb 2025 18:50

Kinematik Datei - Berechnung für B-Achse hinzufügen

Category: Deutsch

Für open loop kannst du den stepgen als position feedback verwenden. ZB:
net a-pos-fb     <= hm2_7i76e.0.stepgen.04.position-fb
net a-pos-fb     => joint.3.motor-pos-fb
  • Muftijaja
  • Muftijaja
26 Feb 2025 18:44
Replied by Muftijaja on topic 7i76e - Spindle FWD/ENA ok, but no speed output

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

That's been very successful! Thanks! MY spindle is turning! Just in the wrong direction but that's no problem. I can wire it up so that its CW. The next days I will check how to configure the pendant for spindle control. But today, Iam very happy that the spindle is turning!
Thanks a lot, PCW!
Hanno
  • PCW
  • PCW's Avatar
26 Feb 2025 15:51

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

net spindle.0.on => hm2_7i76e.0.7i76.0.0.spinena

should be

net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
 
  • PCW
  • PCW's Avatar
26 Feb 2025 15:33
Replied by PCW on topic QtPlasmac problems

QtPlasmac problems

Category: Plasmac

Mon24 13:59: hm2/hm2_7i76e.0: Watchdog has bit! (set the .has-bit pin to False to resume)

Indicates relatively huge network latency (>5 ms if the watchdog setting is the default 5 ms)
That sounds like maybe a power management issue so you might try adding pcie_aspm=off
in your kernel command line.

What is the current kernel command line?
 (cat /proc/cmdline)



 
  • Muftijaja
  • Muftijaja
26 Feb 2025 13:02
Replied by Muftijaja on topic 7i76e - Spindle FWD/ENA ok, but no speed output

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

Ok, I tried your lines out and LCNC gives me this erroro out:
"twopass: Error in file ./Hanno_Nr5_Neuer_Versuch1.hal:
Signal name 'spindle.0.on' must not be the same as a pin. Did you omit the signal name?"

The actual lines in my .HAL:
# ---digital potentionmeter output signals/setup---

setp hm2_7i76e.0.7i76.0.0.spinout-minlim [SPINDLE_0]OUTPUT_MIN_LIMIT
setp hm2_7i76e.0.7i76.0.0.spinout-maxlim [SPINDLE_0]OUTPUT_MAX_LIMIT
setp hm2_7i76e.0.7i76.0.0.spinout-scalemax [SPINDLE_0]OUTPUT_SCALE
setp hm2_7i76e.0.7i76.0.0.spindir-invert true

#net pdnt.spindle-speed-abs => hm2_7i76e.0.7i76.0.0.spinout
#net pdnt.spindle.is-on => hm2_7i76e.0.7i76.0.0.spinena # raus wg Problemen

net spindle.0.on => hm2_7i76e.0.7i76.0.0.spinena
net spindle-cw => hm2_7i76e.0.7i76.0.0.spindir
net spindle-vel-cmd-rpm-abs <= spindle.0.speed-out-abs => hm2_7i76e.0.7i76.0.0.spinout

# ---setup spindle control signals---

#net spindle-vel-cmd-rps <= spindle.0.speed-out-rps
#net spindle-vel-cmd-rps-abs <= spindle.0.speed-out-rps-abs
#net spindle-vel-cmd-rpm <= spindle.0.speed-out # raus wg Problemen
net spindle-vel-cmd-rpm-abs <= spindle.0.speed-out-abs
net spindle-enable <= spindle.0.on
net spindle-cw <= spindle.0.forward
net spindle-ccw <= spindle.0.reverse
net spindle-at-speed => spindle.0.at-speed

# ---Setup spindle at speed signals---
sets spindle-at-speed true

Did I do sth wrong?

Greetings,
Hanno
 

File Attachment:

File Name: Hanno_Nr5_...26-2.hal
File Size:12 KB
      

File Attachment:

File Name: linuxcnc_s...2-26.txt
File Size:9 KB
  • HenkvE
  • HenkvE
26 Feb 2025 07:40 - 27 Feb 2025 09:01
Replied by HenkvE on topic Qtdragon for lathe??

Qtdragon for lathe??

Category: Qtvcp

Thanks.  The first issue is the output to control the spindle speed. I use a mesa 7i76e card with 0-10V as reference voltage on the spindle port TB4. The output won't go higher than +5V or for that matter, 50% of any reference voltage that I use.  The spindle also starts turning at 50% of the maximum spindle speed output setting when I use the slider in manual mode to control the spindle speed.  (The spindle only starts to run when the slider is in the middle.) The reason why I suspect that the issue is related to the qt_lathe gui is because when I do the exact same setup with pncconfig selecting AXIS as gui, the maximum output is the the same as the max+ reference voltage. 

The output is similar to "bipolar mode" as descibed in the 7i76e manual p15:as in the screenshot of the manual..     

I also noticed that the -5V to +5V (or 0-10V) output setting in the Spindle section of pncconfig for qtdragon has no influence on the output voltage of the spindle speed control. Whether the box is selected or not it makes no difference. 

My current goal is to get the lathe running with the correct axes and spindle control.  Once that is sorted I'll inform you of the other issues as I find them.

Remark:
The issue was resolved by changing the OUTPUT_SCALE parameter in the .ini file to a value of 1000.  As I read through the comments in the forum regarding the OUTPUT_SCALE value I realised that this is not an absolute value. 
 
  • Muftijaja
  • Muftijaja
26 Feb 2025 00:20
Replied by Muftijaja on topic 7i76e - Spindle FWD/ENA ok, but no speed output

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

Thank you very much! I will do that tomorrow (german time) and report the result!
Have a nice day!
Sincerely,
Hanno
  • PCW
  • PCW's Avatar
25 Feb 2025 23:19 - 25 Feb 2025 23:22

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

Doesn't even look like the current hal file would run
as there are two different signals connected to
hm2_7i76e.0.7i76.0.0.spinout:

net pdnt.spindle-speed-abs => hm2_7i76e.0.7i76.0.0.spinout
#net spindle-vel-cmd-rps-abs => hm2_7i76e.0.7i76.0.0.spinout
net pdnt.spindle.is-on => hm2_7i76e.0.7i76.0.0.spinena
net spindle-cw => hm2_7i76e.0.7i76.0.0.spindir
net spindle-vel-cmd-rpm-abs <= spindle.0.speed-out-abs => hm2_7i76e.0.7i76.0.0.spinout

I would first get things running in the usual way by adding

net spindle.0.on => hm2_7i76e.0.7i76.0.0.spinena

commenting out

net pdnt.spindle.is-on => hm2_7i76e.0.7i76.0.0.spinena

and uncommenting:

#net spindle-enable             <=  spindle.0.on

When this is working I would look into the pendant spindle control options
  • Muftijaja
  • Muftijaja
25 Feb 2025 20:51
Replied by Muftijaja on topic 7i76e - Spindle FWD/ENA ok, but no speed output

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

Ok, I didnt realize this, because the Probe Basic GUI and the VFD switched the ENA/FWD Output if I give some MDI S command. I can see that in the GUi, my relai clicks, the VFD switches to Run. But the Pin says the truth...

I don't fully understand why this Enable command should come only from the XHC-WHB-04 pendant (set pdnt....) and not from the PB Gui - I would like to enable the spindle over the pendant but more in an OR funktion not only with the pendant.
I have to say that all these spindle commands weren't made by myself but from someone else who wanted to help me out in the past. And I couldn't test it in real life, because my VFD wasn't connected until now.

How should I change the settings so that it works with GUI and pendant? can you give me some hints, please?
Thanks for your support!
Hanno
  • PCW
  • PCW's Avatar
25 Feb 2025 16:23

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

The spindle is off:

bit FALSE pdnt.spindle.is-on ==> hm2_7i76e.0.7i76.0.0.spinena
 
  • Muftijaja
  • Muftijaja
25 Feb 2025 15:33
Replied by Muftijaja on topic 7i76e - Spindle FWD/ENA ok, but no speed output

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

PCW, thanks for your eyes on it. Here the lines:

hanno@cnc2:~$ halcmd show all | grep spin
10 bit OUT FALSE halui.spindle.0.brake-is-on
10 bit IN FALSE halui.spindle.0.brake-off
10 bit IN FALSE halui.spindle.0.brake-on
10 bit IN FALSE halui.spindle.0.decrease
10 bit IN FALSE halui.spindle.0.forward
10 bit IN FALSE halui.spindle.0.increase
10 bit OUT FALSE halui.spindle.0.is-on
10 bit IN TRUE halui.spindle.0.override.count-enable
10 s32 IN 0 halui.spindle.0.override.counts
10 bit IN FALSE halui.spindle.0.override.decrease <== pdnt.spindle.override.decrease
10 bit IN FALSE halui.spindle.0.override.direct-value
10 bit IN FALSE halui.spindle.0.override.increase <== pdnt.spindle.override.increase
10 bit IN FALSE halui.spindle.0.override.reset
10 float IN 0 halui.spindle.0.override.scale <== pdnt.spindle-override.scale
10 float OUT 1 halui.spindle.0.override.value ==> pdnt.spindle.override.value
10 bit IN FALSE halui.spindle.0.reverse
10 bit OUT FALSE halui.spindle.0.runs-backward
10 bit OUT TRUE halui.spindle.0.runs-forward
10 bit IN FALSE halui.spindle.0.start
10 bit IN FALSE halui.spindle.0.stop
40 bit IN FALSE hm2_7i76e.0.7i76.0.0.spindir <== spindle-cw
40 bit IN FALSE hm2_7i76e.0.7i76.0.0.spinena <== pdnt.spindle.is-on
40 float IN 0 hm2_7i76e.0.7i76.0.0.spinout <== spindle-vel-cmd-rpm-abs
60 bit IN TRUE qtpyvcp.spindle-encoder-rpm.enable
60 float IN 0 qtpyvcp.spindle-encoder-rpm.in
60 float IN 0 qtpyvcp.spindle-load-indicator.in-f
60 u32 IN 0x00000000 qtpyvcp.spindle-load-indicator.in-i
60 float IN 150 qtpyvcp.spindle-load-indicator.max-val
60 float IN 0 qtpyvcp.spindle-load-indicator.min-val
60 bit IN FALSE qtpyvcp.spindle-override.reset
33 bit IN FALSE spindle.0.amp-fault-in
33 bit IN TRUE spindle.0.at-speed <== spindle-at-speed
33 bit OUT FALSE spindle.0.brake
33 bit OUT FALSE spindle.0.forward ==> spindle-cw
33 bit I/O FALSE spindle.0.index-enable
33 bit IN FALSE spindle.0.inhibit
33 bit IN FALSE spindle.0.is-oriented
33 bit OUT FALSE spindle.0.locked
33 bit OUT FALSE spindle.0.on ==> spindle-enable
33 bit OUT FALSE spindle.0.orient
33 float OUT 0 spindle.0.orient-angle
33 s32 IN 0 spindle.0.orient-fault
33 s32 OUT 0 spindle.0.orient-mode
33 bit OUT FALSE spindle.0.reverse ==> spindle-ccw
33 float IN 0 spindle.0.revs
33 float OUT 0 spindle.0.speed-cmd-rps
33 float IN 0 spindle.0.speed-in
33 float OUT 0 spindle.0.speed-out
33 float OUT 0 spindle.0.speed-out-abs ==> spindle-vel-cmd-rpm-abs
33 float OUT 0 spindle.0.speed-out-rps ==> spindle-vel-cmd-rps
33 float OUT 0 spindle.0.speed-out-rps-abs
27 bit OUT FALSE whb.button.macro-3 ==> pdnt.reserved.for.spindle+
27 bit OUT FALSE whb.button.macro-4 ==> pdnt.reserved.for.spindle-
27 bit OUT FALSE whb.button.macro-8 ==> pdnt.reserved.for.spindle.dir
27 bit OUT FALSE whb.button.spindle-minus
27 bit OUT FALSE whb.button.spindle-plus
27 bit OUT FALSE whb.halui.spindle-override.decrease ==> pdnt.spindle.override.decrease
27 bit OUT FALSE whb.halui.spindle-override.increase ==> pdnt.spindle.override.increase
27 float OUT 0 whb.halui.spindle-override.scale ==> pdnt.spindle-override.scale
27 float IN 1 whb.halui.spindle-override.value <== pdnt.spindle.override.value
27 float IN 0 whb.halui.spindle-speed-cmd
27 bit OUT FALSE whb.halui.spindle.decrease
27 bit OUT FALSE whb.halui.spindle.forward
27 bit OUT FALSE whb.halui.spindle.increase
27 bit IN FALSE whb.halui.spindle.is-on
27 bit OUT FALSE whb.halui.spindle.reverse
27 bit OUT FALSE whb.halui.spindle.start
27 bit OUT FALSE whb.halui.spindle.stop
bit FALSE pdnt.reserved.for.spindle+
bit FALSE pdnt.reserved.for.spindle-
bit FALSE pdnt.reserved.for.spindle.dir
float 0 pdnt.spindle-override.scale
==> halui.spindle.0.override.scale
<== whb.halui.spindle-override.scale
bit FALSE pdnt.spindle.is-on
==> hm2_7i76e.0.7i76.0.0.spinena
bit FALSE pdnt.spindle.override.decrease
==> halui.spindle.0.override.decrease
<== whb.halui.spindle-override.decrease
bit FALSE pdnt.spindle.override.increase
==> halui.spindle.0.override.increase
<== whb.halui.spindle-override.increase
float 1 pdnt.spindle.override.value
<== halui.spindle.0.override.value
==> whb.halui.spindle-override.value
bit TRUE spindle-at-speed
==> spindle.0.at-speed
bit FALSE spindle-ccw
<== spindle.0.reverse
bit FALSE spindle-cw
==> hm2_7i76e.0.7i76.0.0.spindir
<== spindle.0.forward
bit FALSE spindle-enable
<== spindle.0.on
float 0 spindle-vel-cmd-rpm-abs
==> hm2_7i76e.0.7i76.0.0.spinout
<== spindle.0.speed-out-abs
float 0 spindle-vel-cmd-rps
<== spindle.0.speed-out-rps
40 bit RW TRUE hm2_7i76e.0.7i76.0.0.spindir-invert
40 bit RW FALSE hm2_7i76e.0.7i76.0.0.spinena-invert
40 float RW 24000 hm2_7i76e.0.7i76.0.0.spinout-maxlim
40 float RW 1000 hm2_7i76e.0.7i76.0.0.spinout-minlim
40 float RW 24000 hm2_7i76e.0.7i76.0.0.spinout-scalemax
hanno@cnc2:~$

 
  • PCW
  • PCW's Avatar
25 Feb 2025 00:56

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

If you run LinuxCNC, enable the spindle and set the spindle speed say 1/2 way up, then:

halcmd show all | grep spin

and post the results here, that would help debugging this.
 
  • Muftijaja
  • Muftijaja
25 Feb 2025 00:20

7i76e - Spindle FWD/ENA ok, but no speed output

Category: Basic Configuration

Hello together,
another question and problem with my LCNC config.
After solving installation, homing, network, latency problems with your help, I could make the next step and check my spindle output function.
I'm using a chinese 2,2kW standard spindle with a Hitachi WJ200 VFD, parameters set with Hitachi proDrive, the FWD/Stop control is working correctly, but I cannot measure any volts at the Spindle Output of my 7i76e TB4. The electronic pot gets 10V from an external voltage source, these 10V are measureable at TB4, Pin 3.
Im using Probe Basiv V.5 under Debian 12 and LCNC 2.9.3. on a Lenovo Think Centre M92p Tiny, 8 GB i5 2900 GHz.
I set the output with MDI S6000 and can see, that spindle-out goes to 100 (rps), Spindle-enable goes on, but I can not see any voltage at Pin 3.
Do you have any idea what is going wrong here?

Wiring:
8 Dir + STP (Hitachi WJ200 D2)
7 Dir - GND
6 En + STA  (Hitachi WJ200 D1)
5 En - GND
4 nc
3 SPI + +10V external voltage
2 SPI OUTPUT  -> Analog In O
1 SPI -       -> GND, L


INI:
MAX_OUTPUT = 24000.0
OUTPUT_SCALE = 24000
OUTPUT_MIN_LIMIT =  1000
OUTPUT_MAX_LIMIT = 24000

HAL:
#    SPINDLE
#  ************
# ---digital potentionmeter output signals/setup---

setp   hm2_7i76e.0.7i76.0.0.spinout-minlim    [SPINDLE_0]OUTPUT_MIN_LIMIT
setp   hm2_7i76e.0.7i76.0.0.spinout-maxlim    [SPINDLE_0]OUTPUT_MAX_LIMIT
setp   hm2_7i76e.0.7i76.0.0.spinout-scalemax  [SPINDLE_0]OUTPUT_SCALE
setp   hm2_7i76e.0.7i76.0.0.spindir-invert true

net pdnt.spindle-speed-abs   => hm2_7i76e.0.7i76.0.0.spinout
net pdnt.spindle.is-on       => hm2_7i76e.0.7i76.0.0.spinena
net spindle-cw               => hm2_7i76e.0.7i76.0.0.spindir
net spindle-vel-cmd-rpm-abs  <= spindle.0.speed-out-abs => hm2_7i76e.0.7i76.0.0.spinout

# ---setup spindle control signals---

net spindle-vel-cmd-rps        <=  spindle.0.speed-out-rps
    #net spindle-vel-cmd-rpm        <=  spindle.0.speed-out
    #net spindle-enable             <=  spindle.0.on
net spindle-cw                 <=  spindle.0.forward
net spindle-ccw                <=  spindle.0.reverse
    #net spindle-brake              <=  spindle.0.brake
    #net spindle-revs               =>  spindle.0.revs
net spindle-at-speed           =>  spindle.0.at-speed
    #net spindle-vel-fb-rps         =>  spindle.0.speed-in
    #net spindle-index-enable      <=>  spindle.0.index-enable

# ---Setup spindle at speed signals---
sets spindle-at-speed true

Thank you for any help!
Hanno




 

File Attachment:

File Name: Hanno_Nr5_...2-24.hal
File Size:12 KB
 

File Attachment:

File Name: Hanno_Nr5_...2-24.ini
File Size:6 KB
  • PCW
  • PCW's Avatar
24 Feb 2025 20:08
Replied by PCW on topic QtPlasmac problems

QtPlasmac problems

Category: Plasmac

The first problem is real time issues with the network interface.

To get a rough idea where things are, can you run these two commands and reply with the results:

sudo chrt 99 ping -i .001 -c 60000 -q 10.10.10.10

This will run for 1 minute and print statistics
(replace 10.10.10.10 with 192.168.1.121 if that's the 7I76Es address)

lspci | grep -i eth

(this should make it possible to determine the PCs Ethernet interface type)
  • denhen89
  • denhen89's Avatar
24 Feb 2025 18:46

(LPT) Debian 12 Latency spikes/unexpected real time delay. Looking for solution.

Category: General LinuxCNC Questions

Hello guys,
bad news for me.
Today i installed the VFD to the wall a bit far away from the control box. After i was done, i wanted to check if everything works and check if i still have some noise problems from the VFD. 
Due to the fact that i am again totally confused from 5-6hours of trying to fix it, i am not anymore sure if i got the unexpected real time delay on first start up (but later i got it all the time), but i have found out that when i jog by keyboard or mouseclick on the jog buttons quickly, lets say couple of short and quick jogs, then i get a joint following error 0 and the machine is then off. When i put it on and do the same quick and short jogs then i get following error 1. Then again the same and following error 2. (i would not take the sequence serious, i later also got following error 1 first, at least i believe, but i am not 100% sure)
I GET NO FOLLOWING ERROR WHEN:
- Jogging normalny, no quick clicks
- running a program

Is it possible that USB is the problem?
I havent changed anything since i posted the screenshot of the very-good latency in latency-histogram.

More info:
It happens also that when i want to start Linuxcnc i get a error (see picture), but its possible that it starts after trying second or third time.
Also sometimes Linuxcnc got stuck (freeze) or the whole PC, but of course i started to play around with the Bios settings and specific bios settings could create more problem.

I dont have PS/2 keyboard / mouse available to test. Changing two USB settings in BIOS did not help. (legacy usb something and one other option)

So, if you will have no idea, then my only option might be the 7i76eu, BUT i am also thinking to go back to Wheezy and Linuxcnc 2.8, IF its possible to do file sharing with e.g. Samba, but i believe that all tutorials are before windows did something to block the file sharing. Rodw wrote something about it, here in this thread.
PS: I need nothing but working Linuxcnc, mousepad/geany and file sharing or a browser that works so i can send files by mail or open Microsoft OneDrive.


 
Displaying 61 - 75 out of 456 results.
Time to create page: 0.864 seconds
Powered by Kunena Forum