Advanced Search

Search Results (Searched for: )

  • jg00163206
  • jg00163206's Avatar
07 Apr 2024 16:27

pnp sensors, pull down resistors, and NC limit switches with mesa 7i96s

Category: General LinuxCNC Questions

i keep getting a joint 0 limit switch error and i can't get the machine to jog. i realize that running it NO for the limits is what i want. i get an error on all the joints but the joint 0 is the one that i get everytime i hit one of the limits. i just wanted to make sure the lights on the mesa 7i96s are supposed to be on and then they turn off when the limit is reached? i'm making progress, slowly. i finally got the machine talking to the mesa board and the computer. i just keep getting those joint errors. i know its something simple im missing. back to reading the linuxcnc manuals.
  • scottlaird
  • scottlaird's Avatar
07 Apr 2024 15:56
Replied by scottlaird on topic CIA402 Homing module - a start

CIA402 Homing module - a start

Category: EtherCAT

Thanks for the work, but I wish the circumstances were better. Hopefully the bug resolves soon.

I read the README, and it looks like a great start. I'd love to see CiA homing working, and long-term finding ways to keep the complexity as low as possible (by merging components, removing pieces, standardizing naming, etc) is important.

I'll try to take a look at the code later today and see what it takes to get it to compile :-).
  • tommylight
  • tommylight's Avatar
07 Apr 2024 15:42
Replied by tommylight on topic BIOS settings (pictures)

BIOS settings (pictures)

Category: Computers and Hardware

Mesa 7i92 but lately switched to 7i96, no need for relays and voltage regulators anymore. This makes things very, very simple.
  • PCW
  • PCW's Avatar
07 Apr 2024 13:25

Integrating a BCL-AMP capacitive sensor to LinuxCNC

Category: Plasma & Laser

Glad that the flip-flop worked. A bit surprising that a frequency
output sensor didn't output a square wave to begin with.

On the periodM, did you set the input filter fast enough to catch
the narrow input pulse? (say 0.1 usec or shorter)
  • Unlogic
  • Unlogic
07 Apr 2024 13:25 - 07 Apr 2024 14:30

pnp sensors, pull down resistors, and NC limit switches with mesa 7i96s

Category: General LinuxCNC Questions

PCW has a very valid point there. I've used normally closed limit switches, probe, e-stop buttons etc on my recent build for that very reason.

If a cable gets damaged or comes loose the machine stops.

As for the christmas tree effect I just see it as bonus ;)
  • PCW
  • PCW's Avatar
07 Apr 2024 13:21
Replied by PCW on topic mesa 7i33 7i37

mesa 7i33 7i37

Category: Driver Boards

For velocity mode servos, Its actually better to set
the OUTPUT_SCALE to machine units per second at 10V
(85 in your case) and FF1 to 1, as this means all PID settings
are in machine units.

If you want to stay with OUTPUT_SCALE  at 10,
FF1 would be 10/85=0.1176

I would start tuning with a low P value, say 10
FF2 should be quite small (.1 or less) and may
be unnecessary if the drives themselves are
well tuned.

Note that the starting P and FF2 values assume
that you  have set OUTPUT_SCALE to 85.
  • shasse
  • shasse
07 Apr 2024 13:18

Best way to control laser power with QtPlasmaC?

Category: Plasma & Laser

Probably also worth adding that we then set the laser power 0-100 as cut_amps in the material setting and we have a script that replaces "M3 $0 S1" with “M3 $0 S#<_hal[qtplasmac.cut_amps-s]>" in gcode files. I'm not at the machine right now but I'll share that script when I can grab it.
  • shasse
  • shasse
07 Apr 2024 13:09 - 07 Apr 2024 13:14

Best way to control laser power with QtPlasmaC?

Category: Plasma & Laser

Our modulation signal is 24V and we aren't using any Mesa daughter boards, so we used one of these:

www.amazon.com/gp/product/B07NWD8W26/ref..._title?ie=UTF8&psc=1

They have the ability to switch at high speeds if we want to pulse the modulation signal, but right now we are just using the modulation signal to control the laser on and off. We're using the spindle on signal right now to drive that. Tommylight did some interesting work that would provide a basis for faster switching if we eventually wanted to engrave with the machine but we have a separate dedicated 50W engraver so for now we kept it simple and are just using this machine for cutting and laser on/off is driven with the spindle on signal.

We are running the "Continuous Wave Fiber Laser" laser source in "AD mode" mode (configured by sending +24V to a specific pin on the DB25 connector) so the laser takes an external 0-10V analog signal for power. We control that laser power signal via a hostmot 2kHz PWM output tied to spindle speed 0-100 and one of these:

www.amazon.com/gp/product/B091B6LGXB/ref..._title?ie=UTF8&psc=1

That is not completely linear, but it works well enough for our purposes.

I'll add that we're feeling our way through this process and are not fiber laser cutting experts by any means, so if you've got suggestions for us please don't hold back.

Scott
  • wolfram
  • wolfram's Avatar
07 Apr 2024 12:40 - 07 Apr 2024 12:50

Results of latency test, list of computers tested for use with LinuxCNC

Category: Computers and Hardware

Machine: Lenovo ThinkCentre M83 (SFF, i5-4590S, Q85, onboard LPT port with cable adapter)

OS: Debian 12.5.0 (Gnome Shell) with kernel 5.4.258-rtai-amd64 (linuxcnc 2.9.2 package)

BIOS settings:
  • CSM [Enabled]
  • Boot Mode [Legacy Only]
  • Serial Port Controller [Disabled]
  • Parallel Port Controller [ECP+EPP]
  • Ondoard Audio Controller [Disabled]
  • Ondoard Ethernet Controller [Enabled]
  • CPU SpeedStep [Enabled]
  • Core Multi-Processing [Enabled]
  • Virtulization [Disabled]
  • C State Support [Enabled, C1C3C6C7]
  • Turbo Mode [Disabled]
  • Intel Manageability Control [Disabled]
  • Enchanced Power Saving Mode [Disabled]
Original video from Vimeo is not exist anymore, so I used 12 hour youtube video that load CPU with 1080p quality.

LinuxCNC pc tests, version 20200930, started 07.04.2024 12:58:44
********************************************************************************
General info:
LENOVO,  10AJS03V00
Bios version FBKTDFAUS, dated 06/18/2021
Chipset: Intel Corporation 8 Series/C220 Series
Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name    : Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz
cpu cores    : 4
stepping    : 3
cache size    : 6144 KB
================================================================================
RAM related data:
Maximum Capacity: 32 GB
Maximum Voltage: 1.5 V
Maximum Voltage: 1.5 V
Size: No Module Installed
Size: 8 GB
Size: No Module Installed
Size: 8 GB
================================================================================
GPU related data:
product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
configuration: depth=32 driver=i915 latency=0 resolution=1680,1050
================================================================================
Parallel port related data:
number of parallel ports is 1
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]
================================================================================
Os and desktop related data:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"

Should the info below not match with your machine,
kindly post the output of pstree here, including a brief
desciption of your desktop environment, window manager and
display manager. Tia
https://forum.linuxcnc.org/18-computer/39370-script-for-automated-testing-of-computer-latency

Desktop environment : gdm3
Windowmanager       : GNOME Shell
Displaymanager      : gdm3
================================================================================
Kernel related data:
Kernel 5.4.258-rtai-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
Cpu idle driver: ================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, which is good!
Check if snd modules are loaded: No, which is good!
================================================================================
Keyboard & Mouse related data:
Number of mice: 1
Mouse 0 : SIGMACHIP Usb Mouse
Mice  attached to USB:
SiGma Micro XM102K Optical Wheel Mouse
Keyboards attached to USB:
China Resource Semico Co., Ltd USB Keyboard
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.9.2
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with 'https://www.youtube.com/watch?v=rqJDO3TWnac', WID
================================================================================
Command for latency test is:
su user -c  "latency-histogram --bbinsize 1000 --base 25000 --sbinsize 1000 --nox 2>&1 | tee -a 1712483920.lat &"

Latency testing loop started Sun Apr  7 12:58:57 PM EEST 2024,
should end after Sun Apr  7 02:58:57 PM EEST 2024

================================================================================
Swap useage: prerun: 0, running: 0

================================================================================
CPU core temperatures:
Core 0: Tmin: 40.0°C, Tmax: 56.0°C, (high = +86.0°C, crit = +92.0°C)
Core 1: Tmin: 39.0°C, Tmax: 55.0°C, (high = +86.0°C, crit = +92.0°C)
Core 2: Tmin: 38.0°C, Tmax: 54.0°C, (high = +86.0°C, crit = +92.0°C)
Core 3: Tmin: 38.0°C, Tmax: 56.0°C, (high = +86.0°C, crit = +92.0°C)
================================================================================
last latency data is as follows:.

 7203 s   base min: -14.500 us max:  14.100 us sdev:   0.500 us
 7203 s  servo min: -12.500 us max:  12.700 us sdev:   0.700 us


I tried to disable SpeedStep and C-state stuff but difference is 2-3% between tests.
Pretty good for using with onboard LPT port -> LPT cable -> simple "mach3" BOBs?
Thanks.
  • wolfram
  • wolfram's Avatar
07 Apr 2024 10:40 - 07 Apr 2024 10:41
Replied by wolfram on topic BIOS settings (pictures)

BIOS settings (pictures)

Category: Computers and Hardware

For plasma i use ethernet, saves a lot of trouble with cabling and shielding.
 


What Mesa cards do you use for plasma? Thanks.
  • rodw
  • rodw's Avatar
07 Apr 2024 10:31
Replied by rodw on topic New LinuxCNC-Ethercat git tree

New LinuxCNC-Ethercat git tree

Category: EtherCAT

Hi Scott and the team. I just wanted to draw attention to a cia402 homing component I made a start on per this thread
forum.linuxcnc.org/ethercat/52272-cia402-homing-module-a-start
And this repo
github.com/rodw-au/cia402_homecomp
Please discuss on the other thread.
  • rodw
  • rodw's Avatar
07 Apr 2024 10:17
CIA402 Homing module - a start was created by rodw

CIA402 Homing module - a start

Category: EtherCAT

Well, an undefined bug put me in hospital so I have had a bit of time on my hands but limited in the tools I have ( A chromebook and a crappy captive portal wifi that won't let me clone linuxcnc or access my Google Drive).
So I decided to revisit  cia402 homing and redo what I had started once before seeing there is so much ethercat activity at the moment. unfortunately, I can't compile or test anything here. Still working on that.

I also found that marcoreps had done a pretty good job building a homecomp for a Leadshine EL8 CIA402 drive
github.com/marcoreps/linuxcnc_leadshine_EL8

He used the default code provided by Dewey Garrett which is in the linuxcnc repo here
github.com/LinuxCNC/linuxcnc/blob/master...onents/homecomp.comp

But to my mind the choice of enums and pin names (and unused states) made a complicated process even more obfuscated so I worked through marcoreps component and referenced it back to Dewey's template and made it more cia402 like given my hard won understanding from earlier bruising experiences.

I also put some fairly detailed notes in the read.me to help you understand what is going on.
So here it is:
github.com/rodw-au/cia402_homecomp

Its my hope that some of you advanced users will clone and build this, debug any syntax errors while I am laid up and send me some PR's.
Long term, I would like to see this deployed with @scottlaird's ethercat driver.

But also, we may be able to compress the final cia402 package so it just needs Scotts driver and the homing component. If you compare the structure of dominic's cia402.comp, there are similarities
  • Both have a read_all function
  • Both have a write_all function
Therefore, it maybe possible to migrate the cia402 component into the homecomp (and I tried this once before). However, my concern with this is that the homecomp will sit outside the ethercat lcec/cia402 loop defined in the addf statements which may prevent this.
So if Dewey or any  other experienced developers see this and can see a way to set the homecomp's load order with addf, please let us know.


 
  • vre
  • vre
07 Apr 2024 07:37
Replied by vre on topic mesa 7i33 7i37

mesa 7i33 7i37

Category: Driver Boards

Machine speed at 10v is 85mm/sec and OUTPUT_SCALE
is set by pncconf to 10. How much must be FF1?
Also an effective range of values for P/FF2 ?
  • PCW
  • PCW's Avatar
07 Apr 2024 03:41 - 07 Apr 2024 13:30

pnp sensors, pull down resistors, and NC limit switches with mesa 7i96s

Category: General LinuxCNC Questions

Its actually better to run them in that (Normally Closed) mode
so a broken wire causes a fault rather than being undetected.
Displaying 26611 - 26625 out of 26745 results.
Time to create page: 0.723 seconds
Powered by Kunena Forum