Advanced Search

Search Results (Searched for: )

  • CORBETT
  • CORBETT's Avatar
18 Nov 2024 21:50
Replied by CORBETT on topic Ethercat auto configurator.

Ethercat auto configurator.

Category: EtherCAT

Grotius,

Nice work...  As always, glad to see you and the other main players still here working on things.  Awesome!!!
  • LabOuest
  • LabOuest
18 Nov 2024 21:35
Replied by LabOuest on topic Remora - Does Analog input syntax exist?

Remora - Does Analog input syntax exist?

Category: Computers and Hardware

I borrowed an old pc with a very low latency of about 3-4us (still steady after 1300sec)
Unfortunately, I'm not getting any improvement, I'm still getting a following error above 2300mm/min (~38KHz)

There must be another limiting factor somewhere else, how can I improve my troubleshooting method ?
Did anyone achieve a step rate higher than 38KHz with a similar setup ?

As Royka suggested, I've tried to increase the servo period, without success. (Though, lowering it definitely makes things worse)
Also, how can I make sure that the default stepper timing are correct ?

Attached to this post, you'll find my config.
  • spumco
  • spumco
18 Nov 2024 21:29

I'm going to convert my 10x22, 2 axis lathe to CNC, conversion images please

Category: Milling Machines

Spumco,

I don't want to make this irreversible, and I will try using the existing lead screws (backlash and all) at least for now.
 


Understood - if it wasn't obvious, I was kinda engaging in a little 'what-if' fantasy as if it were my lathe...

Nice thing about lathes, the backlash isn't quite as big a deal as on mills.  It's rare that you have to cut in both directions on one axis in the same toolpath (think circle on a mill).  Just write your programs with enough retract so that the backlash is taken care of when the next cut approach is made.

Regarding motor mounting, I think you'll want to mount the Z-motor outboard on the right, probably with a belt drive.  Keep the gearbox, and just leave it disconnected.  X-motor up front, and hang it under the cross slide with a belt up to the leadscrew.

Rotary SMP's minilathe series would be a good starting point for mount ideas - just scale it up to fit.
  • sk_linuxcnc
  • sk_linuxcnc
18 Nov 2024 21:27

Help: configure a Servo motor with (PUL/DIR) as a Spindle by Par-port stepconfig

Category: StepConf Wizard

Okay. So. As you can see, i have the servomotor's Step signal connected to pin 4 and Pulse signal connected to pin 5 of my parallel port.

What should i configure these two pins as in the step config?

Where should i write stepgen and how?

How can i enable this motor? The enable of the two motors are on a common pin 6 as you can see in the image
  • ccfly
  • ccfly
18 Nov 2024 21:24 - 18 Nov 2024 21:59

i have 6040z cnc and want to upgrade controls

Category: General LinuxCNC Questions

she have vfd 1.5kw water spindle , have inductive limit switches 
and 3 axis ,,,rn have red usb mach3 card that skip more code then kangaroo 
which lan card will be best for it ?  
i look for 7i96s 220euro in eu .. but i dont understand all these versions so need to ask  
at first i was thinking to upgrade to uccnc and axbb-e for 230euro but i read every new version of uccnc
they screw up something ,dont know  
can someone give me some links what to buy how to set or just ignore and go uccnc way ?
thanks
  • Giovanni
  • Giovanni
18 Nov 2024 20:36
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

I am happy to hear that you reached the goal.

Now we could integrate your experience in the installing intructions file.
We have NativeCAM working on LinuxCNC 2.9 and 2.10 beta, Rapberry Pi and Debian.

Yes, we have to thank BogdanTheGeek for the big job of porting NativeCAM from python2 to python3.

Regards
Giovanni
  • slowpoke
  • slowpoke
18 Nov 2024 20:34

I'm going to convert my 10x22, 2 axis lathe to CNC, conversion images please

Category: Milling Machines

Spumco,

I don't want to make this irreversible, and I will try using the existing lead screws (backlash and all) at least for now. Not sure how well the backlash compensation will take care of that, I guess I will find out.
  • LabOuest
  • LabOuest
18 Nov 2024 20:26
Replied by LabOuest on topic Remora - Does Analog input syntax exist?

Remora - Does Analog input syntax exist?

Category: Computers and Hardware

Looks like I can rule out network latency, good.
The pc was supplied with 1x4gb, I'll try to swap it out for a dual channel combo.

Well, all hope isn't lost, thank you Royka, I'll try to move forward with the recommendation you've provided !
  • spumco
  • spumco
18 Nov 2024 20:21

I'm going to convert my 10x22, 2 axis lathe to CNC, conversion images please

Category: Milling Machines

I'm leaning towards 7i96S for a control board. Comments welcome.

 

(slightly more serious answer)

7i96 is a great board, I've got one in my lathe.
  • spumco
  • spumco
18 Nov 2024 20:05

I'm going to convert my 10x22, 2 axis lathe to CNC, conversion images please

Category: Milling Machines

What's your intent/desire?  CNC as fast/cheap as possible, or as much lipstick on that thing as it can handle?

Are you replacing the lead screws with ball screws?

How much aversion do you have to butchery? i.e. removing bits and making permanent holes in castings?

Just asking, because my first suggestion would be to:
  • Z-axis ball screw right down the middle of the bed with a direct-drive motor under the spindle.
    • Gearbox in the bin, sheet-metal in the bin.
    • Ball nut bolted to carriage right under the centerline where you're cutting
  • X-axis motor to the rear, direct drive
  • Cuts down on overall size envelope, keeps you from bumping in to the X-motor or having to figure out a belt drive, and - more importantly - puts both ball screws in tension during the typical cutting directions.
You don't have room for 'beefy' ball screws, and you can get away with smaller screws (maybe 20mm on that lathe) if you aren't attempting to bend long, poorly-supported screws by putting them in compression.

Downside - you no longer have a friendly-looking little lathe with cute handles.

Upside - you'd be showing Rotary SMP what Mini-lathe Pimping really means.
  • spumco
  • spumco
18 Nov 2024 19:41
Replied by spumco on topic Simple lathe question

Simple lathe question

Category: Turning

LinuxCNC needs two things to do spindle synchronization (single-point threading): spindle speed and an index (once per turn) signal.

The index signal is required so LCNC knows when to start the tool axis moving.

Spindle speed can come from:
  • Separate encoder connected to spindle
  • Encoder already on the motor
  • Home-made encoder attached to spindle (slotted wheel and sensors, toothed gear and a sensor, etc.)
  • other devices I can't think of at the moment
Index signal can come from:
  • The spindle encoder if it has a built-in index signal
  • Separate 'device', like a proximity or optical sensor that is triggered once-per-revolution.
  • A second/third sensor on the slotted wheel (see above) and an additional once-per-turn slot
  • There's also a 'missing-tooth' configuration available in LCNC, where a software component running in the background keeps track of the encoder wheel pulses, and if it sees a missing pulse where one should be it interprets that as the index pulse.
Did that answer your question?  It's not very specific, but I/we don't know anything about your hardware.

Speaking of which, why are you reluctant to "deal with the spindle/motor"?  Most spindle/motor combinations aren't terribly difficult to get under LCNC's control.
  • Bennett
  • Bennett's Avatar
18 Nov 2024 19:37

Fanuc Serial Pulse Coders - Red cap servos, mesa 7i76e, how to?

Category: Driver Boards

Ah yes I see it now. I have assigned it to a timer, now I'm seeing the 8us request pulse on the scope at 3 volts (is that correct?). No response from the encoder yet and I'm getting this error, I'll have to check the wiring:

 

Here's where I made it to with the .hal thus far for those who may be on a similar path:
# fanuc encoder test .hal

# kinematics
loadrt [KINS](KINEMATICS)

# motion controller
loadrt [EMCMOT](EMCMOT) servo_period_nsec=[EMCMOT](SERVO_PERIOD) num_joints=[KINS](JOINTS)

# hostmot2 driver
loadrt hostmot2
loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config="num_dplls=-1 num_encoders=1 fanuc_chan_0=AA64 sserial_port_0=00000000"

setp hm2_[MESA](BOARD).0.watchdog.timeout_ns 5000000

setp hm2_7i97.0.dpll.01.timer-us -200
setp hm2_[MESA](BOARD).0.fanuc.00.timer-number 1

loadrt pid names=pid.x

# THREADS
addf hm2_[MESA](BOARD).0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf hm2_[MESA](BOARD).0.write servo-thread

# amp enable
net motion-enable <= motion.motion-enabled

# Global PWM setup
setp hm2_[MESA](BOARD).0.pwmgen.pwm_frequency 48000

# Board: 7i97

# Axis: X Joint: 0 Output: 0
# PID Setup
setp pid.x.Pgain [JOINT_0](P)
setp pid.x.Igain [JOINT_0](I)
setp pid.x.Dgain [JOINT_0](D)
setp pid.x.bias [JOINT_0](BIAS)
setp pid.x.FF0 [JOINT_0](FF0)
setp pid.x.FF1 [JOINT_0](FF1)
setp pid.x.FF2 [JOINT_0](FF2)
setp pid.x.deadband [JOINT_0](DEADBAND)
setp pid.x.maxoutput [JOINT_0](MAX_OUTPUT)
setp pid.x.error-previous-target True

# joint-0 enable chain
net joint-0-index-enable <=> pid.x.index-enable
net joint-0-index-enable <=> joint.0.index-enable
net joint-0-index-enable <=> hm2_[MESA](BOARD).0.encoder.00.index-enable

net joint-0-enable <= joint.0.amp-enable-out
net joint-0-enable => pid.x.enable
net joint-0-enable => hm2_[MESA](BOARD).0.pwmgen.00.enable

# PWM Generator setup
setp hm2_[MESA](BOARD).0.pwmgen.00.output-type 1 #PWM pin0
setp hm2_[MESA](BOARD).0.pwmgen.00.offset-mode 1 # offset mode so 50% = 0
setp hm2_[MESA](BOARD).0.pwmgen.00.scale [JOINT_0]SCALE

# ---Encoder feedback signals/setup---
setp hm2_[MESA](BOARD).0.encoder.00.counter-mode 0
setp hm2_[MESA](BOARD).0.encoder.00.filter 1
setp hm2_[MESA](BOARD).0.encoder.00.index-invert 0
setp hm2_[MESA](BOARD).0.encoder.00.index-mask 0
setp hm2_[MESA](BOARD).0.encoder.00.index-mask-invert 0
setp hm2_[MESA](BOARD).0.encoder.00.scale  [JOINT_0]ENCODER_SCALE

# position command and feedback
net joint-0-pos-cmd <= joint.0.motor-pos-cmd
net joint-0-pos-cmd => pid.x.command

net joint-0-pos-fb <= hm2_[MESA](BOARD).0.encoder.00.position
net joint-0-pos-fb => joint.0.motor-pos-fb
net joint-0-pos-fb => pid.x.feedback

# PID Output
net joint.0.output <= pid.x.output
net joint.0.output => hm2_[MESA](BOARD).0.pwmgen.00.value

# Encoder Setup
setp hm2_[MESA](BOARD).0.encoder.00.scale  [JOINT_0](ENCODER_SCALE)
setp hm2_[MESA](BOARD).0.encoder.00.counter-mode 0
setp hm2_[MESA](BOARD).0.encoder.00.filter 1
setp hm2_[MESA](BOARD).0.encoder.00.index-invert 0
setp hm2_[MESA](BOARD).0.encoder.00.index-mask 0
setp hm2_[MESA](BOARD).0.encoder.00.index-mask-invert 0

# Standard I/O Block - EStop, Etc
# create a signal for the estop loopback
net estop-loopback iocontrol.0.emc-enable-in <= iocontrol.0.user-enable-out

 
  • MaHa
  • MaHa
18 Nov 2024 19:36

linux keeps restoring to an old workspace state after reboot

Category: General LinuxCNC Questions

After start, i closed terminal, firefox and filemanager.
Settings - System - Session and Startup - Tab: saved sessions
Deleted session and saved again as default. That was it

 
 
  • slowpoke
  • slowpoke
18 Nov 2024 19:32 - 18 Nov 2024 19:55

I'm going to convert my 10x22, 2 axis lathe to CNC, conversion images please

Category: Milling Machines

I recently converted my knee mill to CNC, I now want to do the same for my 10x22, 2 axis lathe.

Lathe is a Craftex CX706 which is identical to a PM1022

I would like to see how people have mounted their steppers / servos to give me some mounting ideas, so if you have done a lathe conversion, please post an image of the stepper/servo mounting.

I measured required cross-slide torque at 0.5 Nm (just to move cross-slide), not sure how much extra is required for actual cutting?

I'm leaning towards 7i96S for a control board. Comments welcome.

Much appreciated.
 
  • CallumRD1
  • CallumRD1
18 Nov 2024 18:59 - 18 Nov 2024 19:12
Replied by CallumRD1 on topic eStop with lcec input issue

eStop with lcec input issue

Category: EtherCAT

I don't mean to be obtuse, but do you mind explaining the syntax of a Hal component like that? I don't understand how to integrate the function into my 'net estop-ext <= lcec.0.0.in-1-eStop'.

Edit: I understood it better than I thought. I was chasing around a typo and not realizing it. This is what worked for me. (I know it's not the most compact or elegant syntax, but it works!)

addf not.0 servo-thread
net estop-ext <= lcec.0.0.in-1-eStop
net estop-ext => not.0.in
net not-estop-ext not.0.out => iocontrol.0.emc-enable-in

Thank you for the help!
Displaying 16906 - 16920 out of 24608 results.
Time to create page: 0.798 seconds
Powered by Kunena Forum