Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
Today 21:05

Mesa 7i96s with 7i74 and additional pwmgen

Category: Driver Boards

7I96S+7I74 firmware with Step4 replaced with PWM 1
(Dir 4 is just GPIO)

 

File Attachment:

File Name: 7i96s2p_7i74d.zip
File Size:324 KB

 
  • andrax
  • andrax's Avatar
Today 19:56
Replied by andrax on topic EtherCAT Servo Drive Homing

EtherCAT Servo Drive Homing

Category: EtherCAT

Well, that was a real struggle, though
  • spumco
  • spumco
Today 19:27 - Today 19:41
Replied by spumco on topic Reset Custom M-codes on Machine Disable?

Reset Custom M-codes on Machine Disable?

Category: General LinuxCNC Questions

The only way I can think of doing something like what you want (without using ladder) is to have the M-codes trigger a one-shot to set the target hal pin rather than using the digital-out pin directly.

If you use a one-shot to set a pin state via M-code then there's nothing 'forcing' the pin to a certain value.  And you can use a 'turn-the-machine-on' sequence to set the value using another one-shot.  Maybe.

Are the hal pins all on/off bits, or do you have S32/U32/floats where you are setting/resetting a specific value?

EDIT - I think we both need to read the manual a bit.  

linuxcnc.org/docs/stable/html/remap/rema...p:sec:error-handling

This looks promising, in that maybe the on-abort isn't just for an aborted program.  Have to do more thinking.
  • Lennart
  • Lennart
Today 19:02

Mesa 7i96s with 7i74 and additional pwmgen

Category: Driver Boards

Hi,
I am currently running a 7i96S with a 7i74 sserial card (7i96s_7i74d.bin), but I need a second hardware PWM generator (pwmgen.01) on Step 5 (or any available physical Step pin) to modulate my Raycus fiber laser with a variable duty cycle. Is it possible to configure the 7i96s like that ?
  • Todd Zuercher
  • Todd Zuercher's Avatar
Today 18:59 - Today 19:01
Replied by Todd Zuercher on topic Reset Custom M-codes on Machine Disable?

Reset Custom M-codes on Machine Disable?

Category: General LinuxCNC Questions

I'm looking for a way to execute a. Bash script or some other way to setp the value of a number of Hal pins or hal signals when the machine goes to the off state. Not when just when aborting a running program. But a situation during a running program that results in machine off, such as hitting a hard limit, I would want to execute this.
  • spumco
  • spumco
Today 18:56
Replied by spumco on topic Reset Custom M-codes on Machine Disable?

Reset Custom M-codes on Machine Disable?

Category: General LinuxCNC Questions

I just re-read what I posted - that was kinda unhelpful of me.  Sorry.

The dirty way to 'turn off' the underlying M-code hal pins is an and2 component.

I assume you're using a motion.digital-out-NN to set the pins (G64 Pnn).  From there, the digital-out-NN pin is connected to something, maybe through some other signals/pins.

At some point downstream of the digital-out-NN pin, you can insert an and2 component that requires motion.motion-enabled (or halui..machine-is-on) be true along with the digital-out-NN pin.

Problem with that method is that an aborted program may leave the digital-out-NN pin true, and the second you turn the machine back on the above and2 component will resolve true and permit the and2.N.out to go true.

What you (and I) need is some way to clear out - reset - any lingering hal pin states left from aborted programs.  And the problem (as far as I know) is that an 'on-abort.ngc' file is only triggered during a program that's aborted on purpose.  If you get a power outage, or just hit the machine-off or estop button, the on-abort.ngc file isn't run and the undesired hal pin states aren't reset.

Some sort of start-up sequence that ensures the machine state is what you want - and it has to be set/run/active before the machine is permitted to enter the ON state.

This is why I'm thinking Ladder is maybe the route.
  • spumco
  • spumco
Today 18:36
Replied by spumco on topic Reset Custom M-codes on Machine Disable?

Reset Custom M-codes on Machine Disable?

Category: General LinuxCNC Questions

Are you looking for an 'abort' sequence, or a machine-is-off/tripped sequence?

The abort - i.e. an aborted g-code program - you can do with an on-abort.ngc that calls various M-codes to set the machine in a state you want.

If you need to force hal pins or write specific values to pins, you can create a bash program M-code and directly manipulate the hal pins.

I'm sympathetic to your question because I really, really need to go through all my custom stuff/logic and figure out the same thing you're thinking about now.  What are the various machine states, and what do I want to happen when it turns back on?

Example - I have a pneumatic door cover for my ATC.  If I stop the machine in the middle of a tool change the door stays open.  But when I retract the ATC (manual ATC M-codes) and restart LCNC, the door slams shut the moment the machine is 'on.'  Scares the you-know-what out of me every time.

It's not a graceful error-handling situation.

I'm rambling here, but I suspect all of the machine-state error handling and permissions might be better handled in Ladder.
  • Todd Zuercher
  • Todd Zuercher's Avatar
Today 17:18
Reset Custom M-codes on Machine Disable? was created by Todd Zuercher

Reset Custom M-codes on Machine Disable?

Category: General LinuxCNC Questions

A machine I'm working with uses a couple of M1xx custom M-codes to put the machine in a peculiar state for some machining processes.  This causes some significant problems if they are not properly canceled in the appropriate way.  To help with this, I would like to be able to "reset" the hal pins that the custom M-codes manipulate if the machine is disabled (put in the F2 "machine off" state.)  Is there a way to do this that won't interfear with the way the custom M-codes setp the hal pins they need to manipulate?  Basically I need the machine to setp certain hal pins when it goes to the "Machine Off" state.
  • Konstantin
  • Konstantin
Today 15:16
EtherCAT Servo Drive Homing was created by Konstantin

EtherCAT Servo Drive Homing

Category: EtherCAT

Hello,

I created a topic about a LinuxCNC EtherCAT configuration from scratch -  CiA 402 Folder Missing . I did receive support there but the topic got a bit large in pages and posts. By the way, thanks to @andrax, he was quite active in helping me to get the EtherCAT working.

The reason for this new topic is to help everyone create a working and robust EtherCAT homing configuration. Perhaps, it will be great if the people who worked on the CiA402 and CiA402 Homing components join and discuss together.

I am not an expert in LinuxCNC, I started a few months ago with the idea to upgrade my plasma machine and out of curiosity. During the last days I managed to get a working configuration with the servo drive internal homing. I would like to share the settings here and get feedback, because it does not completely match the documentation but it works.

Basically, this is the example from dbraun CiA402 component. What I achieved is that using the signal 'x-home-index' I can home the drive using its internal homing method. The feedback from the servo drive is also available - 'stat-homing' and 'stat-homed'. I tested with homing methods 34 and 19 and it works fine every time I set the 'x-home-index'.

As per dbraun's documentation this configuration should work only for index pulse homing but by changing the homing method via the 'ethercat-download' command it works for every homing method selected. This is kind of confusing because I was expecting that in order to use any internal servo homing method I should use rodw's custom home component. The index homing described by dbraun was interpreted by me that the servo drive sends its index pulse via CiA402 and the LinuxCNC takes it and completes the homing but apparently it does not work like that.

Attached are the configuration files.

Best Regards
Konstantin Kolev
  • tommylight
  • tommylight's Avatar
Today 15:08
Replied by tommylight on topic Installing ethercat repositories

Installing ethercat repositories

Category: EtherCAT

That is not the issue, it is the result of the issue, see if there is "raspi" mentioned in the error report.
  • low79fx
  • low79fx
Today 12:43
Replied by low79fx on topic Installing ethercat repositories

Installing ethercat repositories

Category: EtherCAT

Hello, First of my name is Samuel and I am completely new to the whole Linux enviroment but want to learn the process. I am experiencing some issues that I can go through whole setup process and everything is fine but the whole thing falls apart only when the sudo apt update followed by sudo apt upgrade messes everything up. And by evertyhing I mean I lose my link to mac address and some dependenciy files fail to complete and are left unconfigured. 
 What am i doing wrong I've MrRodW install and SZolkaa install and get the same result.

Below is what is not completing. Thanks again.

dpkg: error processing package linux-headers-rt-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-6.12.86+deb13-rt-amd64
 linux-image-rt-amd64
 linux-headers-6.12.86+deb13-rt-amd64
 linux-headers-rt-amd64
Error: Sub-process /usr/bin/dpkg returned an error code (1)

 
  • Will_cnc
  • Will_cnc
Today 08:19

Samurai 120 CNC Tool Changer Configuration

Category: EtherCAT

Hi all,
I’m looking for some advice on configuring a tool changer for a Samurai 120 CNC.The machine is currently running a Raspberry Pi 5 with EtherCAT-based Leadshine EL8 servo drives and motors.
The tool changer will require two additional motors, which I haven’t purchased yet. At the moment I’m considering the StepperOnline EtherCAT servo motors, as they’re significantly cheaper than the Leadshine units.
Has anyone here configured an EtherCAT-based tool changer using two motors, or got any advice on the best way to approach the setup and control side of it?I’m also using the Probe Basic interface, so I’ll probably need some help understanding how to correctly configure everything to work with that as well.Any guidance would be greatly appreciated.
 
  • meister
  • meister
Today 07:25
Replied by meister on topic HalView

HalView

Category: Other User Interfaces

I've added a few more filter and sort functions



 
  • timo
  • timo
Today 04:43 - Today 05:10

Wire EDM 4 axis, seems to be open source and 3D printed

Category: Show Your Stuff

I really feel like "Oscar the Grouch" :-) now. I deleted the rant. haha.

I find wire EDM fascinating. However it is complicated. For small square sheet metal parts I suggest a bench vise, hack saw and file. :-)
  • fret saw
  • jig saw
  • scroll saw
No need to build my own waterjet to cut one stone with 2 birds. 
  • PCW
  • PCW's Avatar
Yesterday 00:16

Ethernet connection to Mesa 7i76e disconnecting on its own after one minute

Category: Plasmac

When is disconnects, is the init light illuminated on the 7I76E?
 
Displaying 1 - 15 out of 15641 results.
Time to create page: 0.271 seconds
Powered by Kunena Forum