Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
Today 23:39
Replied by tommylight on topic Hurco BMC 30 AP

Hurco BMC 30 AP

Category: CNC Machines


I did, however, forget to add the "TOP_LEVEL = 0" command. I'll add that now.

That was not mentioned anywhere, so why?

PATH_PREPEND= ./python
PATH_APPEND= /home/cnc/linuxcnc/nc_files/remap_lib/python-stdglue
TOPLEVEL= ./python/toplevel.py
LOG_LEVEL = 0 


 

  • PCW
  • PCW's Avatar
Today 21:59
Replied by PCW on topic STMBL Driver DC Bus Options

STMBL Driver DC Bus Options

Category: Milling Machines

A 160V DC bus supply can only provide about 110 VAC to the motor
so you would be limited to about 1/2 the servo motors full speed.
  • 5_Zylinder
  • 5_Zylinder
Today 21:42
Replied by 5_Zylinder on topic Hurco BMC 30 AP

Hurco BMC 30 AP

Category: CNC Machines

We tried your suggestion, and the error message "G-Code error in axis.ngc" is now gone.

I did, however, forget to add the "TOP_LEVEL = 0" command. I'll add that now.

I wanted to execute the command "o<toolchange> call" in MDI mode. However, I received an error message referencing the tool change program sequence: "Named parameter #<tool_in_spindle> not defined." It seems to me that this parameter hasn't been declared yet, so the system can't locate it.

Perhaps you have a solution for this problem.
  • d12k6
  • d12k6
Today 21:35 - Today 21:45

ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board

Category: Driver Boards

Hello all, I’ve been struggling for about two weeks to flash a bitstream onto my Colorlight board (V8.2) using an external Adafruit FT232H USB-to-GPIO/SPI/I2C board, but I keep running into JTAG initialization and IDCODE errors.

I'm hoping someone here might spot what I am missing in my setup. Here are the details of my configuration and what I've observed so far:
  • FT232H D0(TCK) - Colorlight TCK J27
  • FT232H D1(TDI) - Colorlight TDI J32
  • FT232H D2(TDO) - Colorlight TDO J30
  • FT232H D3(TMS) - Colorlight TMS J31
  • GND - Colorlight J34 (3V3 is not connected)
The Problem: When running openFPGALoader, the tool successfully communicates with the FT232H, but the JTAG initialization fails because it reads erratic, shifting IDCODEs (e.g., 0xfffffffd, 0xffffffe1, 0xfff11043, or random bit patterns) instead of the expected ECP5 IDCODE. Note: If I try to supply an external 3.3V to the VCORE pin of the FT232H, openFPGALoader immediately throws an Error: no device found. Leaving it unpowered/floating lets the FT232H enumerate, but yields unstable JTAG reads.

Commands:

sudo /opt/oss-cad-suite/bin/openFPGALoader -c ft232 --fpga-part LFE5U-25F --freq 100000 --write-flash /home/cnc/Desktop/LiteCNC/colorlight_pins/gateware/colorlight_5a_75b.bit 

write to flash 

Can't read iSerialNumber field from FTDI: considered as empty string 

Jtag frequency : requested 100.00KHz -> real 100.00KHz 

Open file DONE 

Parse file b3bdffff DONE 

mismatch between target's idcode and bitstream idcode bitstream has 0x41111043 hardware requires 0xf819bfff 
Error: Failed to program FPGA: std::exception

Questions: 
Has anyone successfully used an Adafruit FT232H to flash a Colorlight V8.2 board via JTAG?
To completely rule out any issues with my current .bit file (or potential synthesis/mapping mismatches), does anyone happen to have a known-working, minimal test bitstream (e.g., a simple blinky for the ECP5 LFE5U-25F / Colorlight 5A-75B) that I could use just to verify that the flash programming and execution works?Any advice or working command configurations would be greatly appreciated!
Thanks
  • PCW
  • PCW's Avatar
Today 21:10
Replied by PCW on topic Parallel Port - how to invert PWM value

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

If you had signed PWM hardware and you got minus full scale
instead of full scale with a full scale positive PWM value, then  yes,
inverting the PWM scale would fix the problem.

For unsigned PWM when 0% duty cycle PWM gives you full scale output
and 100% duty cycle gives you 0% output, you would need to digitally invert
the PWM pin (and this is the situation here AFAICT)
 
  • PCW
  • PCW's Avatar
Today 20:42
Replied by PCW on topic Jogwheels won´t jog

Jogwheels won´t jog

Category: Basic Configuration

Yes, the 7I97/7I97T have 8 dedicated MPG pins on the isolated inputs  (inputs 0 ..7)

The four MPG counter names are:

hm2_7i97.0.inmux.00.enc0-count
hm2_7i97.0.inmux.00.enc1-count
hm2_7i97.0.inmux.00.enc2-count
hm2_7i97.0.inmux.00.enc3-count

One advantage of the MPG encoders over the normal high speed encoders
is that the MPG encoders support the 1X mode, which means you get one increment
per click on standard 100 PPR MPG dials.
  • rodw
  • rodw's Avatar
Today 20:33
Replied by rodw on topic Jogwheels won´t jog

Jogwheels won´t jog

Category: Basic Configuration

There is also a good MPG example in the docs except in Mesa land, you don't use the encoder component
linuxcnc.org/docs/stable/html/examples/mpg.html
Not sure on the 7i97 but there are some dedicated MPG pins on the Mesa 7i76e (and for the 7i96 if you use the right bit file and give up some pins.
  • galmiklos
  • galmiklos
Today 19:49

"Probe Height of the current tool" button not active in versatool

Category: Qtvcp

I use LinuxCNC 2.9.8, and trying to use versatool to do manual tool change with a tool length sensor and a touch probe.

I do this sequence.

1. Defined tool 99, and load it: M6 T99,
2. Get a pop up window about manual tool change, install the probe in the spindle and press OK,
3. Go to the TLS by pressing the first button in the first row (Go to Tool Setter),
4. Measure the probe height by pressing the second button in the first row (Probe Tool Setter Z Height),
5. Jog above my stock (aluminum), and measure its height by pressing the button in the middle row (Probe Z Height of material),
6. Load a tool: M6 T3,
7. Get the pop up, install the tool and pressed OK

I can see the PROBE HT and BLOCK HT variables set, as seen in the screen shot below.

 

I would then expect to measure the tool height by pressing the first button in the bottom row (Probe Height of the current tool). But I can't, it is not active.

What else do I have to do to be able to measure the tool height?

 
  • Todd Zuercher
  • Todd Zuercher's Avatar
Today 19:11 - Today 19:12
Replied by Todd Zuercher on topic Parallel Port - how to invert PWM value

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

Wouldn't the proper way to invert a PWM be to use a negative value for the PWM scale? (setp pwmgen.N.scale = negative value)
  • NWE
  • NWE's Avatar
Today 18:34

Ursviken Pullmax Optima 130 press brake retrofit with 4 axis backgage

Category: Show Your Stuff

Finally got back to this project last week. So it seems the big difficulty is the unique hydraulic configuration. The left and right side (axis Y1 and Y2) are servo valves tee'd from the pump. The flow divider is fully emulated electronically. In this case directly in LinuxCNC hal. I seem to have improved control at this point. More testing...
  • RotarySMP
  • RotarySMP's Avatar
Today 18:33

Gmoccapy tool table not accepting lathe tool angles...

Category: Gmoccapy

Thanks for your help on this.
Cheers,
Mark
  • tuxcnc
  • tuxcnc
Today 18:24
Replied by tuxcnc on topic lcncgui simple web based linuxcnc GUI

lcncgui simple web based linuxcnc GUI

Category: Other User Interfaces

One more little gray text on a gray background...
No, thank you.
  • klopp
  • klopp
Today 18:08

lcncgui simple web based linuxcnc GUI

Category: Other User Interfaces

Hey,

I’ve been building a new GUI for LinuxCNC called lcncgui (mainly for my own use) and figured I’d throw it out here. It's a browser based, more "modern" looking UI.

Why browser?

Qt and the classic GUI stuff work fine, but design-wise a browser UI just gives you a lot more room — layouts, touch stuff, dialogs, etc. feel way less constrained (and I'm also not really proficient with qt).

On older PCs this might be an issue, but anyone something somewhat modern like a raspberry pi will be fine.

How it works

Python backend talks to LinuxCNC, frontend talks to the backend over WebSockets. Same role as gmoccapy — set `DISPLAY = lcncgui` and you’re good.

Because it’s network-based, you could also open and control it on another device, e.g. an iPad on the same network.

Control

It’s mainly meant for external buttons / hotkeys (and HAL panel inputs). Softkeys, keyboard, and physical buttons all do the same things.

If you don’t have a panel, there’s a virtual button sidebar so you can still run everything from the screen.

Things that are different from the classic linuxcnc GUI

- Macros — stack operations in a queue (drill, helical bore, face mill, patterns, …), hit go, gets turned into real G-code and opened in the program editor
- G/M-code tooltips — hover/click a code and you get a short explanation instead of digging through the manual
- Tool table — more info than the usual `.tbl` stuff, plus cut presets (RPM, feeds, etc.) so you can set cutting data quickly
- Shutdown — close the GUI, or close it and shut down the PC cleanly afterward

Plus the usual jog/home, DRO, program editor, MDI, overrides, etc.

Still WIP

Some things are missing or half-done (no machine visualization yet, not every macro tile actually generates G-code yet, etc.). Expect rough edges. Also coding was assisted a lot by AI.

Looking for feedback — what feels useful, what’s annoying, what’s missing for real use.

Repo: github.com/salomom/lcncgui  
Install via release tarball + `install.sh`, no Node needed on the machine.
If you're running on an older machine, consider installing chromium as your default browser, as it's a bit more performative.

Happy to answer questions.

Cheers,  
Tim

  • tommylight
  • tommylight's Avatar
Today 17:04
Replied by tommylight on topic Gantry oxyfuel / plasma type machine from scratch

Gantry oxyfuel / plasma type machine from scratch

Category: General LinuxCNC Questions


Now recently I have visited some exhibition and I saw today most of industrial things are on EtherCAT.

Yes, it does seem so...


My plan is to make linuxcnc act as an master node, and send signals to the motion controller which will then through some adapters transform the signal to pulse/dir and send to the drives.

That would be redundant as LinuxCNC is the motion controller.
In short:
-buy a Mesa 7i96S and a THCAD
-a used Entrprise PC
-A network cable
-Wire, install LinuxCNC, start wiring drives and motors
-those drives will have to be set in position mode, hence 7i96S
-yeah, wiring, you will need very good quality shielded cables for everything as cables that long will collect a lot of interference, not very important for oxy cutting, but a mist for plasma cutting.
-....well, that is it.
  • PCW
  • PCW's Avatar
Today 16:52

7I96S isolated inputs (InM) stopped updating live — read fine at load, then froz

Category: Driver Boards

Very strange, Do the GPIO inputs work?
 (GPIO0..GPIO10 match INM0..INM10 on a 7I96S)
Displaying 1 - 15 out of 14300 results.
Time to create page: 0.266 seconds
Powered by Kunena Forum