Advanced Search

Search Results (Searched for: )

  • masawee
  • masawee
Yesterday 08:12
Replied by masawee on topic Adding USB Keypad

Adding USB Keypad

Category: Advanced Configuration

how can add my linuxcnc 2.8.4 V whit mini usb wireles keyboard controll select continue or 1mm, 0,1mm not need go to display select this whit mouse, lot easy if can remote controll this scale or continue selection on to table i setting bit zero point.
  • rodw
  • rodw's Avatar
Yesterday 06:40

PLC + LinuxCNC for industrial machine with simple HMI (non-G-code operators)

Category: General LinuxCNC Questions

I don't think many people use a PLC in conjunction with Linuxcnc. There is an Ethercat master we have a driver for so getting IO and the like is pretty easy. Stick to Beckhoff for best support but making a custom XML driver for other IO and drives is pretty simple. Whilst people have mentioned Ladder Logic which is available, the secret magic nobody seems to mention is you can write hal components which when built and installed with a 1 line command : sudo halcompile --install mycomp.comp. Once these are built, they are treated exactly as if they are part of the core program and run in real time.

I do know a guy who has retrofitted a lot of big machines and recently on one big 5 axis machine with 100 tools and multiple pallet changers, the ladder wasn't doing it for him so he learnt a smattering of C and knocked out his working high speed tool changer component over a weekend.  
  • rodw
  • rodw's Avatar
Yesterday 06:25

How to update QtDragon_HD to latest version?

Category: Qtvcp

you have it. Best to build from source. then  Just do a git pull and make again  for the absolute latest I did a video recently on my @MrRodW youube channel
  • NWE
  • NWE
Yesterday 05:32

PLC + LinuxCNC for industrial machine with simple HMI (non-G-code operators)

Category: General LinuxCNC Questions

This is similar to how many industrial robotic cells are structured, where a dedicated motion controller handles paths, and a PLC controls the cell logic and operator interaction.

So the question is not whether LinuxCNC can do everything, but how others have structured a clean responsibility boundary between a real PLC and LinuxCNC in production machines.

Any practical examples along those lines would be appreciated.

I think of this: LinuxCNC has capability to be operated by the user, entirely using keyboard+mouse+monitor, at opposite extreme it can have external I/O wired to physical buttons, switches and dials for operator control without any keyboard+mouse+monitor if you wish.

I'm thinking wire connections from your PLC I/O to LinuxCNC I/O to "drive by wire"? Cycle start, Feed hold, etc. maybe also jogging, whatever you need can be brought out on a wire and connected to your PLC.

The Fanuc 6-axis robot bag palletizer I've been reprogramming lately is connected to an Allen Bradley PLC via ethernet/IP. I have never heard the words "LinuxCNC" and "ethernet/IP" in the same sentence, but I've been meaning to explore the possibilities. I have about $1500 usd worth of new Beckhoff ethernet/IP remote I/O hardware on the shelf for nearly a year now, that I plan to connect with LinuxCNC. My big hurdle has been my nil experience with ethernet/IP. Now on this Fanuc I got an idea what ethernet/IP configuration looks like...
  • NWE
  • NWE
Yesterday 05:05

PLC + LinuxCNC for industrial machine with simple HMI (non-G-code operators)

Category: General LinuxCNC Questions

Admittedly, the Click PLCs are fairly 'low-end', so higher-end PLC's likely have more sophisticated onboard motion control features.

I've always had good results with AutomationDirect's Click PLC's. But I've been disappointed with the reliability of their Productivity 2000 and also their BRX models. Maybe it was just bad luck. I've finally retrofitted most of my higher end AutomationDirect PLC's but those Clicks sure don't seem to make much trouble. Still I don't care for ladder logic.

The very first project I sold containing a Productivity 2000 quit about a week after it was out the door. I tried reprogramming it, also tried updating its firmware, no go. I was able to read out some error logs. Automation tech support told me it is bricked, and that they have been having that trouble with that one firmware version. I have to return it for warranty. They gave me a choice of sending back the bricked plc then after they have it back, they send me a replacement. Or I can buy a new plc and they refund me when they get the broken one back. So I bought the new one and got the refund later because the customer was in a hurry. This was a $1200 USD PLC about 7yr. ago. (CPU + base + PSU + motion I/O) Even the base was bricked, that contained a CPLD on its motherboard.
  • NWE
  • NWE
31 Jan 2026 04:34 - Yesterday 05:34

PLC + LinuxCNC for industrial machine with simple HMI (non-G-code operators)

Category: General LinuxCNC Questions

Just to be clear, in your setup you are using Beckhoff EtherCAT I/O as remote I/O, but without a Beckhoff PLC runtime (e.g. TwinCAT PLC), correct?

 

Yes, I'm using Beckhoff I/O strictly as remote I/O, all my logic exists in the pc running LinuxCNC
  • tommylight
  • tommylight's Avatar
31 Jan 2026 03:14 - 31 Jan 2026 03:39

First conversion, Axiom CNC Router with RichAuto controls

Category: Show Your Stuff

Sorry i had no time to watch this, will do very soon.
Thank you.
OK, watched it, left a comment, nicely done and very detailed.
  • tommylight
  • tommylight's Avatar
31 Jan 2026 03:12
Replied by tommylight on topic Remote - Camera - Touch - MPG

Remote - Camera - Touch - MPG

Category: Other User Interfaces

Magnificent or wunderbar in German, danke schon.
For context this is using a touchscreen to move the machine and watch the video from a camera, as MPG with vision.
Anyone have a better tittle, feel free to chime in, i feel this tittle does not do it justice.
Thank you.
  • tommylight
  • tommylight's Avatar
31 Jan 2026 03:09

How to connect any pulse/dir drive to EtherCAT network - a new hardware coming

Category: Show Your Stuff

Savaal teshekyr (if i recall correctly, been 30 years since i learned that).
One small complaint, turn the camera on it's side, it is hard to watch vertical video on a ultra wide monitor! :)
  • tommylight
  • tommylight's Avatar
31 Jan 2026 03:06
  • rodw
  • rodw's Avatar
31 Jan 2026 01:15
Replied by rodw on topic Lichuan 4 axis stepper need help-

Lichuan 4 axis stepper need help-

Category: EtherCAT

I've totally rewritten it anyway. I was able to move the state machine into a seperate procedure which has substantially streamlined the code. Now I just have to get it to compile 

A lot of that does not need to be in the component because you are setting the pin externally. But we may need to scale or otherwise calculate data for them in which case they need to pass through the component. Get the basics first....

write all becomes something like
FUNCTION(writeall) {
    // Restart sequence on rising edge of enable
    if (enable && !data.prev_enable) data.control.raw = 0x0000;
    data.prev_enable = enable;

    if (enable) {
        int drive_ready = runCiA402StateMachine(&__comp_inst);

        if (drive_ready) {
            if (homing) {
                opmode_out = 6; // Homing Mode
                // Bit 4 starts homing; check for errors before commanding
                if (!data.status.bits.op_error) data.control.bits.op_specific = 1;
            } else {
                opmode_out = (s8)default_opmode;
                data.control.bits.op_specific = 0; // Clear Bit 4
                
                // Normal Motion
                drive_target_position = (s32)(target_position * pos_scale);
                drive_target_velocity = (s32)(target_velocity * vel_scale);
            }
        }
    } else {
        data.control.raw = 0x0006; // Shutdown / Disable Voltage
    }

    controlword_out = data.control.raw;
}
 
homing feedback is in the read command
  • tommylight
  • tommylight's Avatar
30 Jan 2026 23:47
Replied by tommylight on topic Custom PC build for my brothers company and more

Custom PC build for my brothers company and more

Category: Show Your Stuff

And here is the short video of the build process of that same PC above:
  • tommylight
  • tommylight's Avatar
30 Jan 2026 23:22

OMRON Yaskawa controllers, what I/O board would you choose

Category: Driver Boards

Sorry PCW, i keep advising boards that are usually in stock.
-
For this use case, Mesa 7i95T should also be considered as it is a step/dir board with encoders for all axis/joins, for if you ever want to also include LinuxCNC in the loop.
  • Marcos DC
  • Marcos DC's Avatar
30 Jan 2026 23:11

PLC + LinuxCNC for industrial machine with simple HMI (non-G-code operators)

Category: General LinuxCNC Questions

Thanks for the replies — I think it may help to clarify one architectural point.

We are not evaluating a PLC + LinuxCNC setup because LinuxCNC lacks sequencing, ladder logic, or HMI capabilities.
The decision is driven by industrial architecture requirements.

In our case, the PLC is not intended to replace motion control.
The process is trajectory/raster-based (laser cleaning and spray overlap), where motion quality, lookahead, and path execution are critical — this is why LinuxCNC remains responsible for motion.

The PLC acts as the machine controller:
• machine state and sequencing
• safety and interlocks
• operator workflow and recipes
• maintaining a safe and known state independently of the PC

This is similar to how many industrial robotic cells are structured, where a dedicated motion controller handles paths, and a PLC controls the cell logic and operator interaction.

So the question is not whether LinuxCNC can do everything, but how others have structured a clean responsibility boundary between a real PLC and LinuxCNC in production machines.

Any practical examples along those lines would be appreciated.
  • aDm1N
  • aDm1N's Avatar
30 Jan 2026 22:55 - 30 Jan 2026 22:58

LatheEasyStep – experimental QtVCP macro for step-by-step lathe programming

Category: Qtvcp

The current state focuses on contour machining and the related LinuxCNC cycles.Contour (CONTOUR) is defined purely as geometry (lines, chamfers, radii, inner/outer).
Different operations can then be derived from this geometry, independent of their order in the workflow.Currently implemented:
  • Drilling using LinuxCNC cycles G81–G84 (including G82 with dwell, G83/G73 peck drilling, G84 tapping)
    • cycle-specific parameters are shown dynamically
    • internal correct switching to
      G17
      , followed by
      G80
      and back to
      G18
  • Roughing of contours
    • use of G71/G72 if the contour is monotonic
    • automatic fallback to move-based machining for non-suitable contours
  • Finishing of the same contour as a separate step
All operations reference the same contour geometry but are processed as logically separate steps.G-code generation (current logic):
  • Before every tool change, the machine always moves to a defined G53 tool change position
  • Definition of an explicit safe area (
    X_safe
    ,
    Z_safe
    ) derived from stock geometry and retract planes
  • After each cutting step:
    • retract in X first
    • then retract in Z (no combined retract moves)
  • Approach from the safe area may be diagonal
  • Coolant (
    M7/M8/M9
    ) is set explicitly per operation
  • Comments are sanitized (no nested parentheses)
The preview is directly based on the geometry:
  • true arcs for radii
  • separate visualization of contour, stock, toolpaths, retract planes, and safety limits
  • visual highlighting when machining or safety limits are exceeded
A reworked README describes the current feature set, safety logic, and G-code strategies in detail.
Screenshots will follow in the next few days.
The current state will also be published on GitHub in the coming days.Additionally, a test file (
Test.ngc
) is attached, reflecting the current state of the generated G-code.
Displaying 61 - 75 out of 19682 results.
Time to create page: 0.194 seconds
Powered by Kunena Forum