Advanced Search

Search Results (Searched for: )

  • tlightus
  • tlightus
Today 23:59

calling subroutine from G54, G55, G56, but it acts weird

Category: O Codes (subroutines) and NGCGUI

thank you for testing. i have been getting a very different result but will go back and see if it was something i was doing wrong.
  • sorokin_pro
  • sorokin_pro's Avatar
Today 23:55
Replied by sorokin_pro on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

What version of mesaflash do you have?

user@denc:~$ mesaflash --version
Mesaflash version 3.5.11


No warnings without sudo.
  • MaHa
  • MaHa
Today 23:32

calling subroutine from G54, G55, G56, but it acts weird

Category: O Codes (subroutines) and NGCGUI

I was just working on a mdi command, so it was easy to have a look at this in FlexGui.
Starting with  G0G55X0Y0

 

Then pressing the button with MDI command

 

and it goes to    G0G54X0Y0

 


the subroutine:

o<work_zero> sub
G90 G54 G0 X0 Y0
o<work_zero> endsub [1]
M2
  • sorokin_pro
  • sorokin_pro's Avatar
Today 23:27
Replied by sorokin_pro on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

5i25 is not 5I25
Linux is case sensitive.


Here is a piece of code from mesaflash:
access.device_name[i] = toupper(access.device_name[i]);

Device names are converted to upper case automatically.
  • tommylight
  • tommylight's Avatar
Today 22:53
Replied by tommylight on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

user@denc:~$ sudo mesaflash --device 5I25

-
i
is not
I
-
5i25 is not 5I25
Linux is case sensitive.
  • zippoffs
  • zippoffs's Avatar
Today 22:47
Replied by zippoffs on topic DIY CNC Mill - Random Limit Switch Errors

DIY CNC Mill - Random Limit Switch Errors

Category: Milling Machines

Wow, that's a lot to take in. I may have a ground loop to the machine frame. There is a ground wire in the spindle cable that is grounded to the motor frame, which is in contact with the rest of the mill. But I also do have a ground wire on the frame going to the ground bus in the breaker box. I will remove that.

There is continuity from the BOB end of the parallel cable to the PC when the PC power is disconnected, so it probably is shielded.

I currently have all the grounds and shielding grounds running to the ground bus in the breaker box. Are you saying this is causing issues? What would be the BOB's frame ground?

I have most of the electronics mounted to a piece of sheet metal, which is connected to main ground by the green/yellow terminal block by the contactor. Should I not do this?
  • PCW
  • PCW's Avatar
Today 22:46
Replied by PCW on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

Do get a warning when not using sudo?

If not, something really basic is broken here.

pcw@pcw-HP-Compaq-Elite-8300-USDT:~$ mesaflash --device 5i25
You need root privileges (or setuid root) to access PCI hardware
No 5I25 board found

What version of mesaflash do you have?
  • Surmetall
  • Surmetall's Avatar
Today 22:39

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

Category: Qtvcp

@Mark

Andys Marcos are great, but i think its something different. you only can do one task at a time as far as i know, right?

@aDm1N
You said in your last post "as far as I know, LinuxCNC doesn’t really offer something like this out of the box." That confuses me, because I already wrote about NativeCAM on the previous page. You didn’t respond to it specifically, but I simply assumed that you were already familiar with it. It’s possible that you overlooked it or that you just don’t like the tool. both are perfectly fine. However, if you simply missed it:NativeCAM does exactly what SIEMENS ShopTurn does. You write your program directly on the machine, editable and with a preview.The only thing is that the contour function was never fully completed back then and would need to be added by someone who can program. It’s called “Polyline” and already exists in milling, where it works perfectly. It just hasn’t been implemented for turning yet: 


 
 
  • sorokin_pro
  • sorokin_pro's Avatar
Today 22:20
Replied by sorokin_pro on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

You need to use sudo with mesaflash when accessing PCI cards
 

I just tried with and without sudo, I also tried while LinuxCNC is running.
Result is the same all the time:
user@denc:~$ mesaflash --device 5I25
No 5I25 board found
user@denc:~$ sudo mesaflash --device 5I25
[sudo] password for user: 
No 5I25 board found
  • PCW
  • PCW's Avatar
Today 22:16
Replied by PCW on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

You need to use sudo with mesaflash when accessing PCI cards
  • sorokin_pro
  • sorokin_pro's Avatar
Today 22:02
Replied by sorokin_pro on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

Will mesaflash recognize the card after LinuxCNC has run?

(I've seen this before with some BIO's that detect the card but for some reason disable the cards memory region)
 

No:
user@denc:~$ mesaflash --device 5I25
No 5I25 board found
user@denc:~$ linuxcnc
LINUXCNC - 2.9.7
Machine configuration directory is '/home/user/linuxcnc/configs/BenchtopX5'
Machine configuration file is 'BenchtopX5.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Waiting for component 'tpmod' to become ready..........Waited 3 seconds for master.  giving up.
.Note: Using POSIX realtime
.
Found file(REL): ./BenchtopX5.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:02:00.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0:     IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 010 (P3-07): IOPort
hm2/hm2_5i25.0:     IO Pin 011 (P3-08): IOPort
hm2/hm2_5i25.0:     IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0:     IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0:     IO Pin 014 (P3-11): IOPort
hm2/hm2_5i25.0:     IO Pin 015 (P3-12): IOPort
hm2/hm2_5i25.0:     IO Pin 016 (P3-13): IOPort
hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:02:00.0
Found file(REL): ./custom.hal

note: MAXV     max: 25.000 units/sec 1500.000 units/min
note: LJOG     max: 25.000 units/sec 1500.000 units/min
note: LJOG default: 6.000 units/sec 360.000 units/min
note: AJOG     max: 180.000 units/sec 10800.000 units/min
note: AJOG default: 12.000 units/sec 720.000 units/min
note: jog_order='XYZA'
note: jog_invert=set()
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 1471 cycles, min=0.000007, max=0.031596, avg=0.010006, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2_5i25.0: dropping AnyIO board at 0000:02:00.0
hm2/hm2_5i25.0: unregistered
RTAPI_PCI: Unmapped 65536 bytes at 0x7fc2736fd000
hm2_pci: driver unloaded
hm2: unloading
Note: Using POSIX realtime
user@denc:~$ mesaflash --device 5I25
No 5I25 board found
  • tlightus
  • tlightus
Today 21:51

calling subroutine from G54, G55, G56, but it acts weird

Category: O Codes (subroutines) and NGCGUI

sorry if this is the wrong place to post this but it seemed appropriate.
i think i found a bug with subroutine calls

Conditions:

set up a pyvcp button to call an MDI_COMMAND

Set fixgure offsets for G54, G55

remain in G55 X0 Y0 and issue:

MDI_COMMAND = G0 G90 G54 X0 Y0

and that will work fine

Go back to G55 active offset at X0 Y0 and change the command to call a subroutine

MDI_COMMAND = o<work_zero> call

will fail not executing the subroutine command and sit at G55 zero

i tested this in both axis and flexgui with the exact same results

####### SUBROUTINE #######
o<work_zero> sub
G90 G54 G0 X0 Y0
o<work_zero> endsub

m2
#######

if you are still in G55 at X0 Y0 and issue

G0 G90 G54 X0 Y0 from the mdi command line it will go to G54 X0 Y0 also
  • PCW
  • PCW's Avatar
Today 21:49
Replied by PCW on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

Will mesaflash recognize the card after LinuxCNC has run?

(I've seen this before with some BIO's that detect the card but for some reason disable the cards memory region)
  • sorokin_pro
  • sorokin_pro's Avatar
Today 21:44 - Today 21:45
Replied by sorokin_pro on topic Mesa 6i25 not working?

Mesa 6i25 not working?

Category: Driver Boards

Looks like LinuxCNC detects the board:
user@denc:~$ linuxcnc
LINUXCNC - 2.9.7
Machine configuration directory is '/home/user/linuxcnc/configs/BenchtopX5'
Machine configuration file is 'BenchtopX5.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./BenchtopX5.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:02:00.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 010 (P3-07): IOPort
hm2/hm2_5i25.0: IO Pin 011 (P3-08): IOPort
hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0: IO Pin 014 (P3-11): IOPort
hm2/hm2_5i25.0: IO Pin 015 (P3-12): IOPort
hm2/hm2_5i25.0: IO Pin 016 (P3-13): IOPort
hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:02:00.0
Found file(REL): ./custom.hal
link (updating variable file): No such file or directory
No option 'tto_g11' in section: 'DEFAULT'
No option 'show_program' in section: 'DEFAULT'
No option 'show_rapids' in section: 'DEFAULT'
No option 'program_alpha' in section: 'DEFAULT'
No option 'show_live_plot' in section: 'DEFAULT'
No option 'show_tool' in section: 'DEFAULT'
No option 'show_extents' in section: 'DEFAULT'
No option 'show_offsets' in section: 'DEFAULT'
No option 'grid_size' in section: 'DEFAULT'
No option 'show_machine_limits' in section: 'DEFAULT'
No option 'show_machine_speed' in section: 'DEFAULT'
No option 'show_distance_to_go' in section: 'DEFAULT'
No option 'dro_large_font' in section: 'DEFAULT'
No option 'block_delete' in section: 'DEFAULT'
No option 'optional_stop' in section: 'DEFAULT'
note: MAXV max: 25.000 units/sec 1500.000 units/min
note: LJOG max: 25.000 units/sec 1500.000 units/min
note: LJOG default: 6.000 units/sec 360.000 units/min
note: AJOG max: 180.000 units/sec 10800.000 units/min
note: AJOG default: 12.000 units/sec 720.000 units/min
note: jog_order='XYZA'
note: jog_invert=set()

Would be great if mesaflash also could detect it.
  • Routercnc
  • Routercnc
Today 21:24
Replied by Routercnc on topic Probe panel for Axis GUI

Probe panel for Axis GUI

Category: AXIS

Hello everyone.
I tried using easyprobe on my CNC router, I installed it according to Talla83's video, but when calibrating, the following message appears: "probe is already activated" when starting command G38.2 or G38.3, and when manually zeroing, another message appears: "Unknown m code used: M130..."
Attached are the .hal, .ini, and Probe_postgui files.
What am I missing?

 
 

File Attachment:

File Name: Probe_postgui.hal
File Size:8 KB

File Attachment:

File Name: eng-eth.hal
File Size:8 KB

File Attachment:

File Name: eng-eth.ini
File Size:6 KB
Displaying 1 - 15 out of 20781 results.
Time to create page: 0.284 seconds
Powered by Kunena Forum