Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
07 Nov 2024 19:30
Replied by tommylight on topic Controlling a compressor with Linuxcnc.

Controlling a compressor with Linuxcnc.

Category: Plasmac


looks like LinuxCnc is really awesome.

 

Yes it is.
  • viesturs.lacis
  • viesturs.lacis
07 Nov 2024 19:15 - 07 Nov 2024 19:25
Replied by viesturs.lacis on topic Remap of M6 not working correctly

Remap of M6 not working correctly

Category: Advanced Configuration

 

I think you might be missing this in your hal file:

net tool-change iocontrol.0.tool-change iocontrol.0.tool-changed

 

Now that you mention it, yes, I do not remember putting these iocontrol pins anywhere. I knew that I might be making some stupid mistake. I guess I will go to workshop to check although I just put kids to sleep.

[code]Just so we are on the same page, I presume you have tried the suggested (ie reversed M6 T..):

[code]T.. M6
[/code][/code]

 To be honest, no, I did not try that because on previous retrofit it worked. IMHO specifying M command and then its parameters makes sense, doing other way around feels awkward and wrong. But ok, I will try that. 

I am testing from MDI. I _think_ that I tried a test file once but am not sure. Ok, that is 3rd point in my list to check.

I will take a look, it is very likely that I have deleted/overwritten it. And the lack of errors is exactly what makes it difficult as I have absolutely no clue where to look. I think that lack of those iocontrol HAL pins seems to be very likely cause, on my way to check that.
  • Unlogic
  • Unlogic
07 Nov 2024 18:54

Estop, external and internal with physical relay

Category: HAL

I documented my e-stop setup using an external safety relay in the post linked below:

forum.linuxcnc.org/12-milling/50559-opti...rsion?start=0#284533

Maybe it will help you get your setup up and running.
  • PCW
  • PCW's Avatar
07 Nov 2024 18:45 - 07 Nov 2024 18:53

Estop, external and internal with physical relay

Category: HAL

if estop-latch.N.ok-out goes false, one of these must have changed:

estop-latch.N.ok-in  goes false
estop-latch.N.fault-in goes true

So I would watch these in halshow or halscope to see whats happening.

I also don't understand why you have two estop latches. It seems that one
should be sufficient (adding some logic if you need to add fault inputs or OK inputs)



 
  • Aciera
  • Aciera's Avatar
07 Nov 2024 18:37 - 07 Nov 2024 19:08
Replied by Aciera on topic Remap of M6 not working correctly

Remap of M6 not working correctly

Category: Advanced Configuration

I think you might be missing this in your hal file:

net tool-change iocontrol.0.tool-change iocontrol.0.tool-changed

[edit]

for troubleshooting it might also make sense to use the 'show halconfiguration' to watch the iocontrol.* pins like
iocontrol.0.tool-prepare
iocontrol.0.tool-prepared
iocontrol.0.tool-change

[edit2]

Just so we are on the same page, I presume you have tried the suggested (ie reversed M6 T..):
T.. M6
  • mBender
  • mBender
07 Nov 2024 18:27

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Below is the current set up as of last night. Bench testing worked as expected. It goes from there to a Parallel port break out board. This allwos me to use my machine with LinuxCNC and laserGRBL with just changing a plug. I tried to find out the current rating of the 3.3V and 5V power supply of the Tang Nano 9k. According to the schematics, it seems like that there is a TMI7003C DC/DC Step down, which gets it's 5V directly from the USB C port. If I read it correct, it can supply a max current of 1.5A total. That'a including the power for the FPGA,...It seems like the each Output of the Tang can drive up to 24mA. Which obviusley need to be deducted from the 1.5A plus the other current demands of the FPGA board. Still I believe there is plenty of current to drive secondary operations.The 1.8V needed for Bank 3 is not availbale at FPGA board. I was wondering if I could just use 1 or 2 1.8V outputs, set them pernantley to high and use them as supply voltage for any leverl shifter at Bank3. Opinions? 



 
  • Aciera
  • Aciera's Avatar
07 Nov 2024 18:14
Replied by Aciera on topic Remap of M6 not working correctly

Remap of M6 not working correctly

Category: Advanced Configuration

Running normal g-code files is ok, I have made quite a few test parts

So if you have a tool-change (ie M6 T..) inside a gcode then the file executes all the way with the toolchange being ignored?

Config is in first post, starts with Biesse.ini

What I meant is post the first config you added the remap to and the errors you got there before you modified the sim config. The problem with the current situation is that nothing happens and there are no errors which makes troubleshooting very difficult.
  • Creative25
  • Creative25
07 Nov 2024 17:21
Replied by Creative25 on topic Controlling a compressor with Linuxcnc.

Controlling a compressor with Linuxcnc.

Category: Plasmac

Thanks for all your efforts.
I am going to order an unloader valve and pressure sensor. 

no hurry with the software side it will take time for me to get all the parts. 

looks like LinuxCnc is really awesome.
 
  • viesturs.lacis
  • viesturs.lacis
07 Nov 2024 17:00 - 07 Nov 2024 17:01
Replied by viesturs.lacis on topic Remap of M6 not working correctly

Remap of M6 not working correctly

Category: Advanced Configuration

Config is in first post, starts with Biesse.ini
There are no errors, everything looks as if g-code file is being executed - I can pause, resume, execute next line, stop, you name it. But nothing actually happens. Running normal g-code files is ok, I have made quite a few test parts

Should I make a video of that?
  • Mattias
  • Mattias
07 Nov 2024 16:46 - 07 Nov 2024 23:39

Estop, external and internal with physical relay

Category: HAL

Hi guys,

I have been trying for a couple of days to get the e stop to work on my diy cnc router.
I have an safety circuit which connects 24v supply to a relay(which switches on motor powers).  Output 00 of mesa card 7i95t and 4 physical estop NC are wired in series to this safety circuit.
In parallel i have wired this circuit to mesa input 01.

Here is my hal io code.
# E-Stop Chain
loadrt estop_latch count=2
addf estop-latch.0 servo-thread
addf estop-latch.1 servo-thread

net estop-reset iocontrol.0.user-request-enable => estop-latch.0.reset => estop-latch.1.reset
net estop-loopin iocontrol.0.user-enable-out => estop-latch.0.ok-in
net latch0-faultout estop-latch.0.fault-out
net latch1-okin estop-latch.1.ok-in <= estop-latch.0.ok-out => hm2_7i95.0.ssr.00.out-00
net latch1-faultin estop-latch.1.fault-in <= hm2_7i95.0.inmux.00.input-01-not
net latch1-out estop-latch.1.ok-out => iocontrol.0.emc-enable-in

I have many more attempts but this one came the closest. It triggers the relay for a second but does not 'stick'.
I want to reset with gui request enable en trip the circuit with either estop external button or software internal button on gui.
Can anybody please point me in the right direction, i have tried so many things and i get maybe more confused by the day
 
  • Sziggy_NC
  • Sziggy_NC
07 Nov 2024 16:26
Replied by Sziggy_NC on topic 7i97t Spindle has 0v or 10v

7i97t Spindle has 0v or 10v

Category: General LinuxCNC Questions

I had been setting that pin using Halshow for testing, but I will go ahead and net that and add it to my classic ladder file.
  • Aciera
  • Aciera's Avatar
07 Nov 2024 15:17
Replied by Aciera on topic Remap of M6 not working correctly

Remap of M6 not working correctly

Category: Advanced Configuration

But got all kinds of errors that ngc file not found although I could not find any mistake where subroutine folders are specified.


can you post this config and the exact errors you are getting?
  • PCW
  • PCW's Avatar
07 Nov 2024 15:15 - 07 Nov 2024 15:16

Mesaflash not possible - no 7i96s card found

Category: General LinuxCNC Questions

What does

ip a

report?

Also, you do need the --addr 10.10.10.10 if the card is set for 10.10.10.10
(or --addr 192.168.1.121 if the card is set for 192.168.1.121)


mesaflash --device ether --addr 10.10.10.10

 
  • viesturs.lacis
  • viesturs.lacis
07 Nov 2024 15:08
Replied by viesturs.lacis on topic Remap of M6 not working correctly

Remap of M6 not working correctly

Category: Advanced Configuration

I am using remap/racktoolchange sample config as my starting point. It did work in simulation, but I do not get any movement when I edit ini file for axis/joints sections, add glade panels and my HAL files.


I see. Trying to edit a sim config to run physical hardware comes with a lot of potential pitfalls.
I would very much recommend to do this the other way around. Create a config that runs your hardware and then add the M6 remap to that.

That was my first approach - I had a working config and I copied in all the bits of remap from a config of previous retrofit. But got all kinds of errors that ngc file not found although I could not find any mistake where subroutine folders are specified. I even copied from sample config and recreated the folders but still error. But in sample config it did work so I went the other route of merging my stuff into sample config
  • JT
  • JT's Avatar
07 Nov 2024 15:02

Flex GUI Import a Python Module

Category: Other User Interfaces

Flex as of this morning can import a python module located in the configuration directory. Now you can have a lot more options and control over your GUI. This is so huge I didn't want it to get buried in the Flex Tutorials thread.



JT
Displaying 21451 - 21465 out of 22524 results.
Time to create page: 0.457 seconds
Powered by Kunena Forum