Advanced Search

Search Results (Searched for: )

  • zz912
  • zz912's Avatar
03 Sep 2024 15:12
Remap M61 doesnt work was created by zz912

Remap M61 doesnt work

Category: General LinuxCNC Questions

Hello,

I work on AUTOMATIC_G43 by remap. I use master branche (2.10) RIP instalation.

I added in INI file:
# Task controller section -----------------------------------------------------
[RS274NGC]
...............
SUBROUTINE_PATH = ./macros
REMAP=M6  modalgroup=6 prolog=change_prolog ngc=change_g43 epilog=change_epilog
REMAP=M61  modalgroup=6 prolog=settool_prolog ngc=settool_g43 epilog=settool_epilog

# the Python plugins serves interpreter and task
[PYTHON]
PATH_PREPEND = ./python
TOPLEVEL = ./python/toplevel.py
LOG_LEVEL = 8
 

File Attachment:

File Name: python_2024-09-03.zip
File Size:10 KB

 

File Attachment:

File Name: macros_2024-09-03.zip
File Size:1 KB

o<change_g43> sub
;(debug, in change tool_in_spindle=#<tool_in_spindle> current_pocket=#<current_pocket>;)
;(debug, selected_tool=#<selected_tool> selected_pocket=#<selected_pocket>;)

; we must execute this only in the milltask interpreter
; or preview will break, so test for '#<_task>' which is 1 for
; the milltask interpreter and 0 in the UI's
O100 if [#<_task> EQ 0]
        (debug, Task ist Null)
O100     return [999]
O100 endif

; using the code being remapped here means 'use builtin behaviour'
M6

; set tool offset
G43

; signal success be returning a value > 0:
o<change_g43> endsub [1]
M2

o<settool_g43> sub
;(debug, tool=#<tool> pocket=#<pocket>;)

; we must execute this only in the milltask interpreter
; or preview will break, so test for '#<_task>' which is 1 for
; the milltask interpreter and 0 in the UI's
O100 if [#<_task> EQ 0]
        (debug, Task ist Null)
O100     return [999]
O100 endif

; using the code being remapped here means 'use builtin behaviour'
M61

; set tool offset
G43

; signal success be returning a value > 0:
o<settool_g43> endsub [1]
M2

Remaps M6 works as I need but remap M61 doesnt.
 
I tested it in Gmoccapy and in AXIS.

Can anyone guess where the error might be?
  • PCW
  • PCW's Avatar
03 Sep 2024 14:56
Replied by PCW on topic encoder.N.velocity-rpm

encoder.N.velocity-rpm

Category: Basic Configuration

I'm no pyvcp expert but I don't see any connections from
spindle-at-speed or the actual spindle speed to pyvcp pins
  • PCW
  • PCW's Avatar
03 Sep 2024 14:52
Replied by PCW on topic Error while Running Linuxcnc

Error while Running Linuxcnc

Category: Driver Boards

OK so I'm not sure whats going on as the ping test looks OK
but somehow the host PC has lost communication with the 7I92 for
more than 5 ms

What is the host PC hardware?

What kind of Ethernet chip does the host have?

lspci -vv | grep -i eth

Will often answer this.
  • meister
  • meister
03 Sep 2024 13:37 - 03 Sep 2024 13:38

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

Category: Computers and Hardware

i build some debian packages for riocore (debian 11 + 12):

multixmedia.org/debian-packages/

if someone like to test it without having to deal with git and so on,
but you need always the right toolchain for your board.

the easiest to install is yosys/next-pnr for the lattice FPGA's:
cd /opt/
wget https://github.com/YosysHQ/oss-cad-suite-build/releases/download/2024-09-03/oss-cad-suite-linux-x64-20240903.tgz
tar xzvpf oss-cad-suite-linux-x64-20240903.tgz
rm oss-cad-suite-linux-x64-20240903.tgz
export PATH=$PATH:/opt/oss-cad-suite/bin/
  • scottlaird
  • scottlaird's Avatar
03 Sep 2024 13:11
Replied by scottlaird on topic CiA 402 in 1.15.0

CiA 402 in 1.15.0

Category: EtherCAT

Maybe try starting with a full copy of the latest version of LinuxCNC-Ethercat from github.com/linuxcnc-ethercat/linuxcnc-ethercat? Just adding one or two files probably won't be good enough, depending on which base you're starting with.
  • andypugh
  • andypugh's Avatar
03 Sep 2024 13:11

Partway through a loop, the program stopped because it exceeded a soft limit

Category: General LinuxCNC Questions

No help, but I am equally puzzled.

Which version of LinuxCNC are you running?

There was a problem with G53 and rounding errors at one point, but your G53 isn't in the loop.
  • andypugh
  • andypugh's Avatar
03 Sep 2024 13:07
Replied by andypugh on topic Deckel-Maho DMU 50T

Deckel-Maho DMU 50T

Category: Milling Machines

A few things I am unsure of, it appears this machine uses the scale feed back as the hard limits not proximity switches, I cant see any other way it would do it with the hardware fitted. Can I do this with linuxcnc?]


With LinuxCNC I think this would be the normal soft-limit behaviour. But I am not clear how they are doing it?
Is there a separate limit track on the scale? Or are they absolute scales?
If neither of these are true, I can't see how it would work.
  • scottlaird
  • scottlaird's Avatar
03 Sep 2024 13:07
Replied by scottlaird on topic Etherrcat Master does not start automatically

Etherrcat Master does not start automatically

Category: EtherCAT

Try `sudo systemctl enable ethercat.service`. That should tell it to start automatically on boot. I'm not sure why that wasn't set up on install, but it sounds like it'll fix the problem.
  • andypugh
  • andypugh's Avatar
03 Sep 2024 13:04

Question to operatingspeed glassscales with Beckhoff/EtherCAT under Linux CNC

Category: General LinuxCNC Questions

If the glass scale data can be linked into the LinuxCNC HAL layer, then LinuxCNC can use it.
I would expect glass scale date to be a relatively slowly-changing correction to the basic axis position, so I doubt that you would have to worry too much about speed.
  • cmorley
  • cmorley
03 Sep 2024 13:04
Replied by cmorley on topic found an error! audio_ative

found an error! audio_ative

Category: Gmoccapy

What version of linuxcnc and what was your fix?
  • andypugh
  • andypugh's Avatar
03 Sep 2024 13:00
Replied by andypugh on topic Raspberry pi 5 password

Raspberry pi 5 password

Category: General LinuxCNC Questions

Are you using the supplied LinuxCNC RPi image? If so it sounds like we might need to fix something in the setup. A CNC machine shouldn't screen-blank.

There is a whole thread about screen blanking here: forums.raspberrypi.com/viewtopic.php?p=433728#p433728

(Basically there are several things that can blank the screen)

If it locks the system, requiring a password, then it won't be the always-tricksy "dpms"
  • andypugh
  • andypugh's Avatar
03 Sep 2024 12:52

Multiple external step generators like ESP32 (Individual ESP32 for every axis)

Category: General LinuxCNC Questions

Whilst this can probably be done, it does feel like a lot of work to address a solved problem?

Might it not be better (if you really want to invent your own system and write your own drivers) to use some of the "smart" stepper drivers that accept pulse-rate requests over SPI?

Or, if your priority is a working CNC system, rather than a fun project: store.mesanet.com/index.php?route=produc...rt=p.price&order=ASC
  • andypugh
  • andypugh's Avatar
03 Sep 2024 12:47
Replied by andypugh on topic The machine is choppy when using MPG

The machine is choppy when using MPG

Category: General LinuxCNC Questions

I think it is probably worth investigating _why_ jog-accel-fraction isn't working on the second machine.

One drawback of ilowpass is likely to be that it prevents the joint.N.jog-vel-mode setting from working properly (as the rest of the system dosn't see the jogwheel stop)
  • andypugh
  • andypugh's Avatar
03 Sep 2024 12:38
Replied by andypugh on topic E-Stop latch question

E-Stop latch question

Category: HAL

Why do you desire a hardwired e-stop reset?

I have always set up my machines to reset the e-stop using the on-screen button.
I would never consider using the on-screen button to _set_ the e-stop, but it seems to me that pressing the GUI button is in many ways more deliberate than pressing a hrdware button, so is at least as good from a safety perspective.
  • andypugh
  • andypugh's Avatar
03 Sep 2024 12:34
Replied by andypugh on topic Raspberry Pi CNC hat circuit board

Raspberry Pi CNC hat circuit board

Category: Computers and Hardware

What sort of step rates are you getting through the GPIO? (And which driver are you using?)
Displaying 22756 - 22770 out of 24273 results.
Time to create page: 0.572 seconds
Powered by Kunena Forum