Advanced Search

Search Results (Searched for: )

  • langdons
  • langdons
20 Nov 2024 13:59 - 20 Nov 2024 14:01

Latency of parallel port system on decent hardware.

Category: General LinuxCNC Questions

I also unplugged the front audio and USB ports that I do not use.

(The back of the PC has a plethora of ports)

However, now the BIOS complains every boot :(

Whatever, I'll just press f1 every time I boot up to clear the error.
  • Masa
  • Masa
20 Nov 2024 13:59
Homing trouble was created by Masa

Homing trouble

Category: General LinuxCNC Questions

I'm Japanese and I'm posting using Google Translate. Please forgive me if the text is difficult to read.

In the past, I consulted with LinuxCNC2.8.2 about the phenomenon where the HOME_OFFSET operation starts at full speed for a short time when the homing operation starts. The servo amplifier is torque controlled and uses PID control. The servo amplifier is connected to the servo amplifier using an analog output module via EtherCAT. At that time, I was only connecting the JOINT and Encoder Index-enable in the HAL file, but I was advised to connect it to the PID Index-enable, and the problem was solved.

This time, I am using LinuxCNC2.9,3 to create a machine with a similar configuration, and the homing operation starts at full speed for a short time when the HOME_OFFSET operation starts. In the HAL file, Index-enable is connected to JOINT, PID, and Endoder. And the PID module of this version of LinuxCNC has a pin like the AT-PID version used in between. And there is no AT-PID. I remember that Index-enable didn't work well with the previous version of AT-PID. At the time I thought it couldn't be helped since it was for servo adjustment. Is it possible to fix the behavior when entering this HOME-OFFSET? I've looked through various manuals, but I haven't found anything. Is there some information I don't know? Please let me know.

Thank you.
  • langdons
  • langdons
20 Nov 2024 13:57

Latency of parallel port system on decent hardware.

Category: General LinuxCNC Questions

I managed to lower the latency to about 14000ns max jitter by disabling hardware.

I also set the CPU governor to performance.

I will try to disable more hardware to further reduce latency.

Unfortunately, I am unable to modify and BIOS settings because this is an old scrap computer from my high school.
I tried to get the IT person to change the password, but the BIOS login window is broken :(
  • bladekel
  • bladekel
20 Nov 2024 13:57
How to detect M0 pause? was created by bladekel

How to detect M0 pause?

Category: Other User Interfaces

I'm trying to create custom GUI by pyqt5.
Is it possible to detect if pause is caused by M0 ?
I catch the program-paused-changed signal and than control the current_line of gcode_display.
it works if the machine paused after a move.
but if the machine couldnt started to move, the current_line didnt show the M0 line....
G21
F1000
G61
G90
G0 X0 Y0 Z0
M0 ( couldnt detect here with gcode_display.current_line. because it told me that the line is 0 )
G0 X100
M0 ( I detected here because gcode_display.current_line gave me the correct line)
  • slowpoke
  • slowpoke
20 Nov 2024 13:56 - 20 Nov 2024 14:11
Replied by slowpoke on topic LinuxCNC for lathe questions

LinuxCNC for lathe questions

Category: General LinuxCNC Questions

Thank guys, I'm starting to get a few of the blanks filled in. I now have a few more questions:

I read this (quickly)... linuxcnc.org/docs/html/lathe/lathe-user.html
I also watched this video on G76 thread cutting...


Links to other applicable documentation or instructional videos (specific to LinuxCNC lathe operation are welcome.

Now the follow-up questions:
1)  I don't see a problem using the G76 method in the video above except, I'm a hobby guy so it can be months between thread cutting sessions so with my present memory I would pretty much have to watch that video to refamiliarize myself with the various parameters before I could setup for a thread cut. Is there any sort of thread cutting wizard like GUI thing associated with Axis that simply lets you select the thread type for example 3/8-16, starting here, and ending there that then figures out the arguments required for G76?

2) Presently I have a derivative of the Clough42 ELS on my lathe and it uses a Omron 600 pulse/rev quadrature encoder. Assuming I use a MESA 7i96s to get that quadrature encoder signal into LinuxCNC, will the 600 pulse/rev encoder be fine (ie. not overwhelm Linux with too many pulses if operating at say 2000RPM)?

3) Looks like I will need a one pulse per rev sensor on the spindle correct? The Omron encoder I'm using has a Z output, so I will use that I guess.

4) Regarding the 7i96S, eventually I would like to use one or possibly two MPG style encoders to replicate the hand wheels for X and Z, it seems like I will have enough unused pins on the 7i96S, not sure if those inputs can be used for the MPG inputs and what would be involved in decoding the MPG inputs, possibly some logic in the HAL file? 

5) Not sure if I should get a 7i73 for the MPG(s), prefer to keep the hardware to a minimum if I can get away without the 7i73, comments?

6) Regarding X-axis servo. I measured with a peak torque sensor the required torque to do an aggressive cut with a dull HSS tool and peak torque was only 0.5Nm so I'm leaning towards a fairly small servo in the 1Nm range. Do you think this is too small?

7) Last question where can I find appropriate install LinuxCNC install file? I want to see if I can get it running on my RaspberryPi

Much appreciated

 
  • langdons
  • langdons
20 Nov 2024 13:48

How to configure pause/resume over pin 10 of parallel port?

Category: HAL

How does LinuxCNC determine the output of Spindle ON?
  • langdons
  • langdons
20 Nov 2024 13:38

How to configure pause/resume over pin 10 of parallel port?

Category: HAL

I tried the included wizard (stepconf).

The system works now.

Thank you tommylight!

However, I have pin 1 configured as "Spindle ON", but the output on the pin does not change.

What do I do now?
  • GeckoWorks
  • GeckoWorks
20 Nov 2024 13:14
Replied by GeckoWorks on topic Index homing Mesa 7i96s

Index homing Mesa 7i96s

Category: PnCConf Wizard

Hi, im wondering how to add index homing signals to the pncconf so i can do index homing. I cant seem to find the option to add the signal to the right io i put on the mesa 7i96s in pncconf.

I have 4 inputs. Index pulse x,y,y1,z axis. Can see the status. But dont seem to find the actual io option in needs to be to be recognized by pncconf as an index signal. What am i missing? 
if it needs to be a "full on" encoder in the 7i96s config... it only has 1 of those.

thank you,
routerman22
 

Hi Routerman,
Just in case you see this, since I just pulled the trigger on some Mesa cards (maybe not the correct ones...), did you ever get this to work?

I have Delta B2s so one step down from yours, but for index pulse, I think they work exactly the same.

Actually, and I don't want to get your hopes or those of anyone else reading this in the future, the B3 may be able to home internally to its index pulse... I a, pretty sure the A series can, but I feel like there's a chance that it's one of the things the B3 can do over B2. So, a signal would be sent from the controller to the servo drive and the drive would take over homing and it would report back once done.

[EDIT]
Homing To The Index/Z Pulse of Delta Servos - and Important Differences Between A and B series!

I am new at all this so could be wrong, but just had a look at the B3 manual and I am almost certain they can home "internally", meaning the servo drive handles the homing. Which might save the Mesa from the noise and speed issues Peter talked about earlier in this thread. So, it would work like this: The Mesa would send a signal to the servo drive to start homing and the drive would be configured to go look for the limit switch and then from there go in either direction to its index pulse whereafter it would send a signal to the Mesa, that homing was complete.
I think you can set up offsets, too - so, hit the index, then go to an offset, then signal Mesa. 
Sounds like a cleaner or at least potential alternative way to do this? 

Sadly, I don't have B3s but the "lowly" B2s which can't do this... 

I would assume the A-series, both A2 and A3 can do it as the A series are above the B series, but please look into that yourself if you are in the market for these and need this feature. 
  • 7strideR
  • 7strideR's Avatar
20 Nov 2024 13:02
Replied by 7strideR on topic Beckhoff Compatibility

Beckhoff Compatibility

Category: EtherCAT

What's the odds of getting a Module not listed working? The one in question I am looking for is not listed in the Github

EL2088 - 8 Negative Outputs | Supported
EL2889 - 16 Negative Outputs | Not Supported
EL2809 - 16 Positive Outputs | Supported

Will it be possible to get this working or does it have no drivers?
  • JT
  • JT's Avatar
20 Nov 2024 12:55

Flex Gui forces machine into Manual mode when any other process switches to MDI

Category: Other User Interfaces

I've changed it so an internal MDI button resets the mode but external MDI should not.

JT
  • JT
  • JT's Avatar
20 Nov 2024 12:46

Flex Gui forces machine into Manual mode when any other process switches to MDI

Category: Other User Interfaces

There's one place in status.py line 138 that sets the mode to manual after a mdi and the interp is idle...

JT
  • GeckoWorks
  • GeckoWorks
20 Nov 2024 12:43 - 20 Nov 2024 13:14
Replied by GeckoWorks on topic Index homing Mesa 7i96s

Index homing Mesa 7i96s

Category: PnCConf Wizard

...
  • sk_linuxcnc
  • sk_linuxcnc
20 Nov 2024 12:32

Help: How to run X and A axis with different feed rates simultaneously?

Category: G&M Codes

yes it is a dedicated winding machine. I could go with just X and Z lathe config. However, the problem still remains. the Z axis would then take feed in mm/min right? and not be a rotary axis.
nevertheless, can you help further?
  • JT
  • JT's Avatar
20 Nov 2024 12:21
Replied by JT on topic Flex GUI translation

Flex GUI translation

Category: Other User Interfaces

The E Stop and Power button text is now user configurable.

gnipsel.com/linuxcnc/flexgui/controls.html#e-stop-and-power

JT
  • JT
  • JT's Avatar
20 Nov 2024 12:16 - 20 Nov 2024 12:17

Flex Gui forces machine into Manual mode when any other process switches to MDI

Category: Other User Interfaces

I get errors when I try and run it and the run button does nothing for me.

john@cave:~/qtpyvcp_grinder_touch/rpi_grinder_touch$ linuxcnc ./rpi_grinder_touch.ini
LINUXCNC - 2.9.2-64-g675988daf7
Machine configuration directory is '/home/john/qtpyvcp_grinder_touch/rpi_grinder_touch/.'
Machine configuration file is 'rpi_grinder_touch.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./sim.hal
Grinder hal ready
GRINDER_BACKEND STARTED
/home/john/qtpyvcp_grinder_touch/rpi_grinder_touch/./rpi_grinder_touch.ini:49: executing 'import sys
sys.path.insert(0,"python")'
PythonPlugin: Python '3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0]'
/home/john/qtpyvcp_grinder_touch/rpi_grinder_touch/./rpi_grinder_touch.ini:49: executing 'import sys
sys.path.insert(0,"python")'
PythonPlugin: Python '3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0]'
is_callable(remap.queuebuster) = TRUE
is_callable(__init__) = FALSE
Stopping BE
Could not parse stylesheet of object flexgui(0x16103a0, name = "MainWindow")
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/libflexgui/startup.py", line 1798, in setup_import
module = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/john/qtpyvcp_grinder_touch/rpi_grinder_touch/grinder.py", line 4, in <module>
from qtpy.QtWidgets import QLineEdit, QPushButton, QComboBox, QDoubleSpinBox, QSpinBox, QCheckBox, QWidget
ModuleNotFoundError: No module named 'qtpy'

Could not parse stylesheet of object flexgui(0x16103a0, name = "MainWindow")
task: main loop took 0.131505 seconds
Shutting down and cleaning up LinuxCNC...
task: 10460 cycles, min=0.000006, max=0.131505, avg=0.010063, 1 latency excursions (> 10x expected cycle time of 0.010000s)
is_callable(__delete__) = FALSE
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/_ossighelper.py", line 92, in signal_notify
def signal_notify(source, condition):

KeyboardInterrupt
Note: Using POSIX realtime
john@cave:~/qtpyvcp_grinder_touch/rpi_grinder_touch$


JT
Displaying 17491 - 17505 out of 24300 results.
Time to create page: 0.469 seconds
Powered by Kunena Forum