Advanced Search

Search Results (Searched for: )

  • MaHa
  • MaHa
04 Dec 2024 05:48
Replied by MaHa on topic Issue with while loop

Issue with while loop

Category: O Codes (subroutines) and NGCGUI

You can try M66 Pn Ln, then check #5399
o100 do
         M66 P1 L0
o100 while [#5399 GE 1]


linuxcnc.org/docs/2.9/html/gcode/m-code.html#mcode:m66
  • electrosteam
  • electrosteam
04 Dec 2024 05:36
Replied by electrosteam on topic CamBam Problems

CamBam Problems

Category: CAD CAM

Site still down.
I discovered two Forums in France, but no mention of why the English site is off-line.

www.usinages.com/forums/cambam.124/

www.metabricoleur.com/f35-cambam

Keep well,
John.
  • timo
  • timo
04 Dec 2024 05:01
Replied by timo on topic Tip on how to plan a machine

Tip on how to plan a machine

Category: General LinuxCNC Questions

I am not sure how exactly. :-) I think I will proceed with a Table 1st.
Then give the Qelectrotech a try.
  • Salame
  • Salame
04 Dec 2024 04:27 - 04 Dec 2024 04:28

Stepperonline A6 etherCAT servo kit anyone?

Category: Computers and Hardware

Hi,

I'm on the way of making a new setup for a VMC 3+2 or 5 axis continuous if I'm brave enough, I'm done with steppers, also this machine will be relatively heavy and love the sound of servos. I have zero experience with LCNC and servos, still don't really know how hard is it, it will be a jump in the dark and I like it. Just don't want to buy wrong hardware.

I have found this combo and read somewhere that they are somehow rebranded Leadshine, they comes with a good documentation (For what I can understand). I need a company that can make a bill to my company so I can't buy on aliexpress and I need them fast to play with them on christmas holidays :)

Anyone has experience or advices about them?

www.omc-stepperonline.com/a6-series-750w...p67-a6-ec750h2b1-m17
  • SOLD
  • SOLD
04 Dec 2024 02:39 - 04 Dec 2024 06:42
Replied by SOLD on topic AX58100

AX58100

Category: EtherCAT

My encoder now counts correctly, now I have to learn how to use it with LCN.
 

When you rotate the motor shaft, do you notice any changes in the hal index component?
What additional configurations do you have?
And what is your differential circuit?
  • cmorley
  • cmorley
04 Dec 2024 02:24
Replied by cmorley on topic status time,

status time,

Category: Qtvcp

Please see if the timer works if you use the screen button to start the program.
  • tommylight
  • tommylight's Avatar
04 Dec 2024 02:01
Replied by tommylight on topic Small touchscreen display 7-10' -> 14-16"

Small touchscreen display 7-10' -> 14-16"

Category: General LinuxCNC Questions

This is the only one i have here now, the rest is in the shop, i will post when i get a chance.
  • mjones@welfab.ca
  • mjones@welfab.ca
03 Dec 2024 23:59

Electronic Gear Ratio on survo drive and setting pulses in ini

Category: General LinuxCNC Questions

Thank you. You make it sound so easy. I will try that in the morning when I'm back at the shop.
I really appreciate the input. Will let you know how it turns out.

The response times from you guys as awesome.
  • D Jensen
  • D Jensen
03 Dec 2024 23:55
Replied by D Jensen on topic Retrofitting a 1986 Maho 400E

Retrofitting a 1986 Maho 400E

Category: Milling Machines

Hi again Mark,

I realized the technical manual was a bit large so I ran it through a later version of my document compositor and replaced it on the Google drive. It's about half the size at 151MB or so.
You asked about my Maho speed capability. There is a video called 13_Gearchange.mp4 at the same link that explains it in full. The video is relevant to both yours and my machine and probably other Mahos. I think your machine goes 2 gears higher and misses the lower 2. It is relevant to LinuxCNC programing on Mahos also, I think
I'm envious of a lot of the high quality kit you have. Even your metal vise looks superb. Your tool setter is wonderful. But the way you do the Z with the round bar is a bit nasty. There is a video of my Z setter in the link which I think works more elegantly. It's a real cheap one but it works really well. I could possibly replace the dial gauge in it with a micron scale one, but it seems repeatable if I put it exactly on the dial line with respect to the micrometer scale on my Heidenhain VDU.
I'm thinking that many of the things we are talking about aren't directly relevant to many LinuxCNC users, mainly Maho stuff, and this to and from is very slow. So if you want you can Skype me on david.jensen11, I can share screen and go through myriad topics and photos. Switzerland is 10 hours behind Sydney at the moment. 3 months either side of new year we are UT+11, Otherwise UT+10

Cheers,
David
  • PCW
  • PCW's Avatar
03 Dec 2024 23:32 - 03 Dec 2024 23:46

Electronic Gear Ratio on survo drive and setting pulses in ini

Category: General LinuxCNC Questions

I would set the drives steps per turn equal to the encoder resolution
(10K counts per turn with 4x quadrature)

Then the step scaling in LinuxCNC is 100000
 (10000 CPT *5 TPI *2 Belt_division)
  • DeckelCNC
  • DeckelCNC
03 Dec 2024 23:22

EtherCAT Servo Tuning and LinuxCNC PID Tuning

Category: Advanced Configuration

Hello, i am looking for some guidance on the interaction of LinuxCNC PID Tuning +  EtherCAT + Servo Drive Tuning.

Would i still need to setup  PID + FF components in the .hal file and .ini file to tune a ethercat system or should all the tuning be in the drive only ?  or a combination of both ?  i would think the servo and the drive are tuned for being dynamic and critically damped to step responces then LinuxCNC  tuning terms are used to reduce following errors.

I have grown my .hal and and .ini file from bare bones and i am unsure on what i need to add to make a PID system work with ethercat.

I am not having any sucess in reducing following error, and my feeling is i need to alter gains in Linuxcnc.
as most people are using steppers and i am using AC servos over ethercat i have not been able to find much direction of how to setup files to enable the calibration feature to work with ethercat. i get an error opening the calibration module saying no tunable gains are in the .ini file

i realize its not as simple as adding the gains to the .ini file
looking at some examples do i need to load the following into a .hal file:-
load at_pid num_chan=2             (for two axis system)
addf pid.0do-pid-cals servo-thread  (for each axis)
set pid.0.Pgain [JOINT_0]P            (for each gain)

then add the gains to the .ini file ?

does anyone have any insight into this type of configuration.








 
  • swepeter
  • swepeter
03 Dec 2024 22:43
Issue with while loop was created by swepeter

Issue with while loop

Category: O Codes (subroutines) and NGCGUI

Hi all, hope you can help.

Having a issue when trying to use a while loop. I am using lcnc 2.9.3 & gmoccapy 3.4.8
But lcnc just freezes or really slows down the system when the comp turns true, see below 2 examples that work and two that dont.
the only change is that it should go in to the while loop
I am trying to use imputsignals:
# ATC input signals net ATC_tool_in hm2_7i96.0.gpio.007.in => motion.digital-in-01 net ATC_tool_open hm2_7i96.0.gpio.008.in => motion.digital-in-02
 
(msg, Start)
(debug, Tool state #<_hal[motion.digital-in-01]>)
o110 while [#<_hal[motion.digital-in-01]> EQ 1]
(debug, greater )
G4 P2 o110
continue o110
endwhile (debug, after )

output: Start tool state 0.000000 after (edited)
 
(msg, Start)
(debug, Tool state #<_hal[motion.digital-in-01]>)
o110 do
(debug, greater )
G4 P2
o110 continue
o110 while [#<_hal[motion.digital-in-01]> EQ 1]
(debug, after )

output: Start tool state 0.000000 greater after (edited)
 
(msg, Start)
(debug, Tool state #<_hal[motion.digital-in-01]>)
o110 do (debug, greater )
G4 P2 o110 continue
o110 while [#<_hal[motion.digital-in-01]> EQ 0]
(debug, after )

output = nothing, not even start
(msg, Start)
(debug, Tool state #<_hal[motion.digital-in-01]>)
o110 while [#<_hal[motion.digital-in-01]> EQ 0]
(debug, greater )
G4 P2 o110 continue
o110 endwhile
(debug, after )

output = nothing, not even start
  • mjones@welfab.ca
  • mjones@welfab.ca
03 Dec 2024 22:34

Electronic Gear Ratio on survo drive and setting pulses in ini

Category: General LinuxCNC Questions

Hi Guys.
I'm trying to figure out my motor tuning for steps per inch.  I'm guessing I need to use electronic gear ratio in my servo drive to be able to handle the amount of pulses per inch.  Right now if I set an encoder count of (and i'm just playing right now to speed it up)  2500, and a step count of 500000 and I tell it to move .100 it only moves approx. .002 with different variations I can only get approx .011 per .100 request.
So what would be the best electronic ratio
As near as I can figure at this time my ball screws are 5 turns per inch or .200 per rev. (Hardenge SuperSlant, Maybe someone knows for sure the pitch)
it is belt driven from the survo 2 turns of the motor to one turn of the ball screw
The information I find for the motor and encoder says it has 2500 lines per rev.
So I'm thinking  2500x 5(ballscrew)= 12,500 x 2(gearing)= 25000  and this is nothing for a computer to handle but if i work on this figure the axis doesn't move enough to read on a dial indicator.

I am  obviously missing something big because of the amount of pulses I actualy have to put out to get any readable movement per .1 request.
In case you might think it helps.  My survo's and drives are chinese the drives are lichuan A6 drives  Below copied from manual.  I only wanted one line but it would only let me copy from top of page to that line.

A6 Servo Drive User Manual
2
Chapter 2 Electrical Specifications
2.1 Specification
Input power
CONTROL
POWER Single phase 220 VAC
MAIN POWER
SUPPLY Single Phase/Three Phase 220VAC
Working
environment
Temperature 0~45℃
Humidity No condensation ≤90% RH or less
Elevation Altitude ≤1000M
Installation
environment Non-corrosive gases, flammable gases, oil mist or dust, etc.
Installation
method VERTICAL INSTALLATION
Encoder feedback 2500 p/r (resolution: 10000), incremental encode
  • tommylight
  • tommylight's Avatar
03 Dec 2024 22:27
Replied by tommylight on topic Tandem axis Can not unhome while homing joint 0

Tandem axis Can not unhome while homing joint 0

Category: PnCConf Wizard

In the ini file, joint 1 section
HOME_IGNORE_LIMITS = NO
should be
HOME_IGNORE_LIMITS = YES
  • tommylight
  • tommylight's Avatar
03 Dec 2024 22:23
Replied by tommylight on topic Original Gmoccopy setting all gone

Original Gmoccopy setting all gone

Category: General LinuxCNC Questions

Use
latency-histogram --nobase --sbinsize 1000 --show
There are a lot of excursions out of the visible area.
Displaying 16156 - 16170 out of 24395 results.
Time to create page: 2.806 seconds
Powered by Kunena Forum