Advanced Search

Search Results (Searched for: )

  • ihavenofish
  • ihavenofish
06 Aug 2025 14:33
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

I am just using fusion for this.
  • besriworld
  • besriworld
06 Aug 2025 14:27
Replied by besriworld on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

Great job! What CAD program do you use for drawing? It looks very real.
  • PCW
  • PCW's Avatar
06 Aug 2025 14:21
Replied by PCW on topic vibration at lowspeed.

vibration at lowspeed.

Category: Advanced Configuration

Is your module real time? I have seen similar issues with non-real time
functions being affected by LinuxCNC periodic screen update. 
  • pommen
  • pommen's Avatar
06 Aug 2025 14:16
Replied by pommen on topic Encoder started misbehaving

Encoder started misbehaving

Category: Driver Boards

Yup, it was U15. I put a new one in and it works just as before.
Thank you again for your awesome support!

/Peter
  • mgm
  • mgm's Avatar
06 Aug 2025 13:30
Replied by mgm on topic Switch relay in a defined x position

Switch relay in a defined x position

Category: Advanced Configuration

Hello Benny,
I'm not sure if I expressed myself correctly,the file spinport.comp causes the cylinder to retract when the y-axis reaches position 900 (while processing a program or jogging), allowing the axis to pass through the support.
When the y-axis reaches position 1600, the cylinder is extended again.

I haven't changed anything on the machine yet because I'm on vacation. But after my vacation, I want to install the new spindle support quickly. I tore down the support shortly before my vacation!
   
component spinport "LinuxCNC HAL component that switches the spindle support";
description
"""
Component to trigger the spindle support
\\fBEXAMPLE:\\fR
.br 
.br
loadrt spinport names=spport
.br
addf spport servo-thread
.br
net position axis.y.pos-cmd    => spport.position
.br
setp spport.on 900
.br
setp spport.off 1600
.br
net spport-trigger spport.trigger
""";
author "Rod Webster"; [attachment=71242]spinport.comp[/attachment]
pin   in  float position    "Motion signal for Axis position";
pin   out bit trigger       "True if spinport segment should be triggered";
param rw  float on     "Absolute axis coordinate from which the support is retracted"; 
param rw  float off      "Absolute axis coordinate from which the support is extended";

function _;
license "GPL";
;;

#include <rtapi_math.h>

FUNCTION(_) {
  if((position > on)&&(position < off))
    trigger = 0;
  else
    trigger = 1;
  • heaven
  • heaven
06 Aug 2025 12:54 - 06 Aug 2025 12:57
Replied by heaven on topic vibration at lowspeed.

vibration at lowspeed.

Category: Advanced Configuration

I tried to adjust gain of admittance module before but no luck.

I understand your point about increasing the update rate to reduce step magnitude while potentially increasing the number of steps.

However, if steps were the primary issue, I would expect the problem to be more pronounced at higher speeds, yet that doesn’t seem to be the case here. Additionally, I’ve noticed a sudden velocity drop that fails to meet the required speed, causing vibrations. This issue occurs simultaneously across all four motors and seems to happen approximately every 100ms. While it appears random, I haven’t yet identified the source of this cycle (admittance module is 10ms update rate), which makes it quite puzzling.
  • mgm
  • mgm's Avatar
06 Aug 2025 12:49
Replied by mgm on topic Switch relay in a defined x position

Switch relay in a defined x position

Category: Advanced Configuration

Thanks for the suggestion, but I have already installed a pressure monitor with an e-stop, which is set at 4.5 bar.
Unfortunately, this did not prevent the support from breaking off, for whatever reason, I don't know.
Therefore, I would like to install an additional safety device.
  • ihavenofish
  • ihavenofish
06 Aug 2025 12:31
Replied by ihavenofish on topic Mini wannabe datron build

Mini wannabe datron build

Category: CNC Machines

I ordered the first parts for the atc! The main pivoting hub, and some grippers. Basically the simplest and most complicated parts. I am using JLC to make the prototype so these will be my tests of the service to see what we get. Should be here end of next week. Exciting!

As I've refined this down it has basically become identical to the brother TC225 changer. It uses an identical BCD encoding system and 2 servos, one to pivot the magazine, and one to spin the platter geneva mechanism. I will have a custom pcb that has optical sensors and RC servo controller mcu that converts it all into 8x 24v IO (5 x bcd, and one fwd and reverse platter and one for the pivot). The linuxcnc side of things will reuse my brother tc225 osubs, with the addition of the pivot command. The pivoting will take 200ms, and the platter will take 400-500ms per station. So with clamping and z motion it should be about 1.5 seconds for the next tool, and 3.5 seconds for the farthest tool for a tool change. Plus 12 seconds on my spindle to start and stop form 40000rpm. I need to see if I can adjust that and use modbus to "know" when the spindle is stopped or at speed to adapt the dwell. Cause at lower speeds like 18k or 24k it should only take 2-3 seconds to start or stop.







  • Hakan
  • Hakan
06 Aug 2025 12:22
Replied by Hakan on topic vibration at lowspeed.

vibration at lowspeed.

Category: Advanced Configuration

I would think a faster update rate will decrease the steps.
You will get more steps but less in magnitude.
I guess you have some gain parameter between force and position.
Maybe try higher gain at low speeds? Since it seems to be a bit off, I mean.
  • xenon-alien
  • xenon-alien's Avatar
06 Aug 2025 12:02 - 07 Aug 2025 08:53
Replied by xenon-alien on topic 7i96s: additional I/O's

7i96s: additional I/O's

Category: Driver Boards

Finally figured it out
I had to make true "is_opendrain" and "invert_output".

Alltogether:
setp [HMOT](CARD0).gpio.050.is_output true
setp [HMOT](CARD0).gpio.050.is_opendrain true
setp [HMOT](CARD0).gpio.050.invert_output true
 
  • heaven
  • heaven
06 Aug 2025 11:07 - 06 Aug 2025 12:46
Replied by heaven on topic vibration at lowspeed.

vibration at lowspeed.

Category: Advanced Configuration

It's the admittance module update rate that will update new position cmd
I'm wrong, admittance update rate is 10ms not 100ms.
  • xenon-alien
  • xenon-alien's Avatar
06 Aug 2025 11:06
Replied by xenon-alien on topic 7i96s: additional I/O's

7i96s: additional I/O's

Category: Driver Boards

Found a mistake.
Now connected correctly 19 21 23 25 pin (47 48 49 50).
When the LCNC not running, all LEDs are OFF on the relay module.
When the LCNC is running, all LEDs are ON on the relay module. (relays turns on)
Changing bit not turns off the relay and LEDs.
Can it be solved somehow?
  • xenon-alien
  • xenon-alien's Avatar
06 Aug 2025 10:47
Replied by xenon-alien on topic 7i96s: additional I/O's

7i96s: additional I/O's

Category: Driver Boards

Hello.
I bought a 5v relay module.
The current draw on it's input is ~5mA. (negative HIGH - turns on the relay)
I 'd like to operate them with the P1 port.
How can I do it correctly?
Because now i have no positive result.
The firmware with axes indexes on P1 (1-5 pin) LCNC 2.9.4. The wires has 47 Om resistors in series.
  • Todd Zuercher
  • Todd Zuercher's Avatar
06 Aug 2025 10:39
Replied by Todd Zuercher on topic Calibration issue

Calibration issue

Category: General LinuxCNC Questions

But if I am going to measure it, I'd set the step scale to something like 1,000 then command a move that is some fairly large even number that still fits in your machine's range of movement.  So if your machine is capable of moving from 0 to 500 with the scale set to 1000, then you'd know that the machine took 500,000 steps to make that move.  Then simply measure the length of that 500k step move.  If that move length were say 20" then divide 500,000/20 to get a scale of 25000 steps/inch.  Generally the longer the move you can make and measure, the more accurate your calculation will be.
  • Todd Zuercher
  • Todd Zuercher's Avatar
06 Aug 2025 10:23
Replied by Todd Zuercher on topic Calibration issue

Calibration issue

Category: General LinuxCNC Questions

I often prefer to calculate what the step ratios "should" be from screw leads, pinion ratios, encoder counts, and steps/revolution. Rather than relying on how well I can read a tape measure to get the distance moved per step. Do you know the mechanical measurements of the components of your drive system and your motor's step count/rev? .
Displaying 11401 - 11415 out of 17169 results.
Time to create page: 0.525 seconds
Powered by Kunena Forum