Advanced Search

Search Results (Searched for: )

  • pavel7890
  • pavel7890
23 May 2024 08:20 - 23 May 2024 08:22
Different acceleration across joints was created by pavel7890

Different acceleration across joints

Category: Basic Configuration

I have XYZ router. X and Y axes have the same rate of acceleration, 800mm/s/s . Z axis has a bit slower acceleration rate 400mm/s/s.

Now, what suppose to be in [TRAJ] section and MAX_LINEAR_ACCELERATION?
The INI setup for MAX_LINEAR_ACCELERATION is now taken from X and Y axes, 800mm/s/s.

The reason I ask, I can see that during rapid movement of Z axis for safe distance above the part, Z does not seem to finish Z distance, so X or Y movements already started.
  • HPW
  • HPW
23 May 2024 08:14

3 Achs Fräse mit MESA 7C80 und Raspi 4

Category: Deutsch

Hallo zusammen.

Ich habe mir eine 3-Achs Fräse aufgebaut. Mechanisch ist sie fertig. Jetzt habe ich die Mesa 7c80 verdrahtet und angeschlossen. Ich verwende CL Achsen von Stepper online. Ich habe versucht über das Conf Tool für Linuxcnc die HAL und INI zu erzeugen. Verwendet habe ich die 7i96 Karte, da die 7c80 ja im conf tool nicht vorhanden ist. Ich bekomme aber die Achsen nicht ins Laufen.

Die HAL und INI Dateein habe ich die Einträge von 7i96 auf 7c80 geändert. Auch die loadrt Zeile für die 7c80 habe ich angepasst.

Gibt es irgendein Configurationstool mit dem ich die 7c80 ins Laufen bekomme?

LG

Hans Peter
  • pmchetan
  • pmchetan
23 May 2024 07:34 - 23 May 2024 07:35
Replied by pmchetan on topic fixing a mess i made, probably...

fixing a mess i made, probably...

Category: General LinuxCNC Questions

Ok, the drive has PWM input mode. The seller has sent me a arduino code asking me to make the following circuit and says it can control the motor speed and direction with PWM signals (0-5V square wave)

 

(In the arduino code, I saw analog write function used to write to the pin and got confused with the whole analog pwm thing)

I don't have arduino, I will get it in a couple of days but I have 7i76 setup and it is sending 60hz to 1khz pwm signals as I change the velocity during test/tune axis in PNCconf. The voltage is 4.74V but the output from the transistor is about 0.3V which I think is comming from the drive power supply (turning the power to drive off leaves it at 0V.

If someone understands this circuit do explain what is the transistor even doing? Because if I'm understanding it, the PWM from 7i76 to base of the transistor shorts the collector (drive ground) to drive SV which should do nothing right?
 
  • stonebite
  • stonebite
23 May 2024 07:30 - 23 May 2024 09:39
Replied by stonebite on topic PNCconf 7i92H and 7i76

PNCconf 7i92H and 7i76

Category: PnCConf Wizard

cnc@cnc:~$ ping 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.230 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.093 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.095 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.089 ms
^C
--- 10.10.10.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3076ms
rtt min/avg/max/mdev = 0.089/0.126/0.230/0.059 ms
cnc@cnc:~$ ping 10.10.10.11
PING 10.10.10.11 (10.10.10.11) 56(84) bytes of data.
64 bytes from 10.10.10.11: icmp_seq=1 ttl=64 time=0.038 ms
64 bytes from 10.10.10.11: icmp_seq=2 ttl=64 time=0.048 ms
64 bytes from 10.10.10.11: icmp_seq=3 ttl=64 time=0.052 ms
64 bytes from 10.10.10.11: icmp_seq=4 ttl=64 time=0.042 ms
^C
--- 10.10.10.11 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3077ms
rtt min/avg/max/mdev = 0.038/0.045/0.052/0.005 ms
cnc@cnc:~$ sudo mesaflash --device 7i92 --addr 10.10.10.10 --readhmid
[sudo] Passwort für cnc: 
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I92
  FPGA Size: 9 KGates
  FPGA Pins: 144
  Number of IO Ports: 2
  Width of one I/O port: 17
  Clock Low frequency: 100.0000 MHz
  Clock High frequency: 200.0000 MHz
  IDROM Type: 3
  Instance Stride 0: 4
  Instance Stride 1: 64
  Register Stride 0: 256
  Register Stride 1: 256

Modules in configuration:

  Module: DPLL
  There are 1 of DPLL in configuration
  Version: 0
  Registers: 7
  BaseAddress: 7000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: WatchDog
  There are 1 of WatchDog in configuration
  Version: 0
  Registers: 3
  BaseAddress: 0C00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: IOPort
  There are 2 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: QCount
  There are 2 of QCount in configuration
  Version: 2
  Registers: 5
  BaseAddress: 3000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: SSerial
  There are 1 of SSerial in configuration
  Version: 0
  Registers: 6
  BaseAddress: 5B00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 64 bytes

  Module: StepGen
  There are 10 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: LED
  There are 1 of LED in configuration
  Version: 0
  Registers: 1
  BaseAddress: 0200
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for P2
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                      0   IOPort       StepGen          0        Dir/Table2      (Out)
14                      1   IOPort       StepGen          0        Step/Table1     (Out)
 2                      2   IOPort       StepGen          1        Dir/Table2      (Out)
15                      3   IOPort       StepGen          1        Step/Table1     (Out)
 3                      4   IOPort       StepGen          2        Dir/Table2      (Out)
16                      5   IOPort       StepGen          2        Step/Table1     (Out)
 4                      6   IOPort       StepGen          3        Dir/Table2      (Out)
17                      7   IOPort       StepGen          3        Step/Table1     (Out)
 5                      8   IOPort       StepGen          4        Dir/Table2      (Out)
 6                      9   IOPort       StepGen          4        Step/Table1     (Out)
 7                     10   IOPort       SSerial          0        TXData0         (Out)
 8                     11   IOPort       SSerial          0        RXData0         (In)
 9                     12   IOPort       SSerial          0        TXData1         (Out)
10                     13   IOPort       SSerial          0        RXData1         (In)
11                     14   IOPort       QCount           0        Quad-IDX        (In)
12                     15   IOPort       QCount           0        Quad-B          (In)
13                     16   IOPort       QCount           0        Quad-A          (In)

IO Connections for P1
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                     17   IOPort       StepGen          5        Dir/Table2      (Out)
14                     18   IOPort       StepGen          5        Step/Table1     (Out)
 2                     19   IOPort       StepGen          6        Dir/Table2      (Out)
15                     20   IOPort       StepGen          6        Step/Table1     (Out)
 3                     21   IOPort       StepGen          7        Dir/Table2      (Out)
16                     22   IOPort       StepGen          7        Step/Table1     (Out)
 4                     23   IOPort       StepGen          8        Dir/Table2      (Out)
17                     24   IOPort       StepGen          8        Step/Table1     (Out)
 5                     25   IOPort       StepGen          9        Dir/Table2      (Out)
 6                     26   IOPort       StepGen          9        Step/Table1     (Out)
 7                     27   IOPort       SSerial          0        TXData2         (Out)
 8                     28   IOPort       SSerial          0        RXData2         (In)
 9                     29   IOPort       SSerial          0        TXData3         (Out)
10                     30   IOPort       SSerial          0        RXData3         (In)
11                     31   IOPort       QCount           1        Quad-IDX        (In)
12                     32   IOPort       QCount           1        Quad-B          (In)
13                     33   IOPort       QCount           1        Quad-A          (In)
  • riju
  • riju
23 May 2024 07:27
Teaching Mode was created by riju

Teaching Mode

Category: General LinuxCNC Questions

Hi everyone

I'm fairly new to LinuxCNC. Went through the documentation and got the initial setup running. Now I have multiple parts that I need to drill at set locations where the markings are. I also keep adding such parts from time to time so need an easy teaching mode.

What I'm looking for is a GUI mode for teaching the machine like in robot arms. 
Basically I manually move the mill to xy location, use drill command, then to second location, drill command, so on.
All this gets stored as a g-code file and this can then be run in future at any time. Note: reaching a point in an axis sometimes takes a little back and forth. what is required is the final location. For example to reach a location i'll manually sometimes go X100, X10, X-4, X1. It should store the final movement X107.

Can anyone please direct me in the right direction?
  • jjdege
  • jjdege's Avatar
23 May 2024 07:21

Help,Leadshine DM556 open-loop stepper config

Category: EtherCAT

HI
in the link you posted there is a reference to the Leadshine EM3E-556E model,
resembles DM3E-556

With an installation of LCNC, etherCAT and the cia402 component,
as fully described here by Rodw,
you can check if LCNC sees the DM3E-556 the same way

otherwise I think you have to work on the .XML file
here is the DM3E-556
  • jimmyrig
  • jimmyrig
23 May 2024 07:15

ESP32/S2/S3 LinuxCNC Controller (6 axis hardware step gen), USB plug-and-play

Category: Computers and Hardware

Id buy this! Mesa is great but for small/cheap machines it's often most of the cost.

Would be great to see something like a "8 axis 3d printer" board like the btt octopus which cost 50 bucks work with linuxcnc or one with builtin drivers for 40.

Single axis idea is interesting as well. Would be nice to only run power and have a small box by each stepper.

If you need help testing will join in. I'm building a 4 axis box cutter/pen drawer (gantry 2x, y ,z) that would be hard to break. Would make a esp32 to parallel port PCB to start with.
  • MarkoPolo
  • MarkoPolo
23 May 2024 06:59
Replied by MarkoPolo on topic Error in tool_offsetview.py

Error in tool_offsetview.py

Category: Qtvcp

ah, ok. You're right, there is no preview in axis either. (first I doubled the value in glcanon.py and then checked in axis)
  • burnie
  • burnie
23 May 2024 05:04
Replied by burnie on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

If you already have Linuxcnc-EtherCAT and CIA402 components installed, download LinuxCNC configs files from trisa25 , and put that in linuxcnc/configs. Launch LinuxCNC, then select CIA402 from the list. After LinuxCNC is running plug in the servo driver, it should say 88ry, enable the LinuxCNC machine, then you should be able to control the servo.
  • jimmyrig
  • jimmyrig
23 May 2024 03:18
Replied by jimmyrig on topic MB2HAL with VFD and Arduino

MB2HAL with VFD and Arduino

Category: Advanced Configuration

Glad it worked out!
  • cmorley
  • cmorley
23 May 2024 03:12
Replied by cmorley on topic Error in tool_offsetview.py

Error in tool_offsetview.py

Category: Qtvcp

Curious - AXIS uses the same code.
Could you add some prints to the code and see if system_memory_bytes get set differently on AXIS vrs QtDragon?
  • timaer
  • timaer
23 May 2024 01:13

Help,Leadshine DM556 open-loop stepper config

Category: EtherCAT

Hi,I found some resources link in the following ethercat official doc github.com/linuxcnc-ethercat/linuxcnc-et...leadshine_stepper.md please check it .and I thought it mentioned the leadshine 556 ?
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
23 May 2024 01:05
Replied by Cant do this anymore bye all on topic halcompile error

halcompile error

Category: HAL

Geany can fix those issues.

mcedit can do it, need to sudo apt install mc (mc is a great curses (text) based file manager, can also change ownership, permissions and much more)

dos2unix is a cli utility that can do it.

Couple of methods with sed source edoras.sdsu.edu/doc/sed-oneliners.html
TEXT CONVERSION AND SUBSTITUTION:

# IN UNIX ENVIRONMENT: convert DOS newlines (CR/LF) to Unix format
sed 's/.$//' # assumes that all lines end with CR/LF
sed 's/^M$//' # in bash/tcsh, press Ctrl-V then Ctrl-M
sed 's/\x0D$//' # gsed 3.02.80, but top script is easier
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
23 May 2024 00:59
Replied by Cant do this anymore bye all on topic Parallel port program for RTAI

Parallel port program for RTAI

Category: General LinuxCNC Questions

If you can get away with 8 channels the sigrok type usb logic analyzers arent bad, the software is good as well, just a thought

learn.sparkfun.com/tutorials/using-the-u...sigrok-pulseview/all
  • LCR
  • LCR
23 May 2024 00:31

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

I have one servo setup on my desk.
I've gotten to:

sudo ../../linuxcnc-dev/bin/halcmd show pin lcec
Component Pins:
Owner Type Dir Value Name
4 u32 OUT 0x00000001 lcec.conf.master-count
4 u32 OUT 0x00000004 lcec.conf.slave-count

I installed from source. This is my first LinuxCNC install.
I'm unclear about how to proceed from here.
If there are any specific tests I can run that will help get this drive going, please let me know.
Displaying 25981 - 25995 out of 26549 results.
Time to create page: 0.480 seconds
Powered by Kunena Forum