Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
11 Sep 2024 21:02
Replied by PCW on topic RPi4 Mesa install: No 7C81 board found

RPi4 Mesa install: No 7C81 board found

Category: Installing LinuxCNC

You can make a configuration with pncconf
(select 7c81-internal data, 5ABOBx3 firmware 
and run LinuxCNC with the created configuration file set)

(This may need the master version of LinuxCNC, not sure if
7C81 support is in 2.9.3)
  • machinedude
  • machinedude's Avatar
11 Sep 2024 20:16

What do you really get for a $350 desk top engraver ?

Category: Show Your Stuff

it turns out that you need a RS232 Adapter Cable to USB 2.0 to work with the cable they send so you. I can't get into the drive to make changes. I do not have one and had to order one so i am locked out of the drive until Friday if it comes on time.
  • chris@cnc
  • chris@cnc
11 Sep 2024 20:10
Replied by chris@cnc on topic lube - time component

lube - time component

Category: Basic Configuration

It is not possible to mix them but the code is more flexible than it looks.
The lubon and lubeoff timers are freely adjustable.
setp lube.0.lubeon 10  // 10 secons lubeon
setp lube.0.lubeoff 30  // 30 secons lubeoff
setp lube.0.pressuretime 5 // 5 secons pressureswitch on
I have this time only for testing. You can change it freely
If you change this line in hal to
setp lube.0.lubeon 30  // 30 secons lubeon
setp lube.0.lubeoff 600  // 10min lubeoff
setp lube.0.pressuretime 2 // 2 secons pressureswitch on

 If the lubrication cycle is aborted by the end of the program, the timer remains in memory and continues at the same point the next time it is started. Try it out as shown in the screenshot. It works..
  • PCW
  • PCW's Avatar
11 Sep 2024 19:43 - 11 Sep 2024 20:03

Configuration for Lathe Tool on 7i95t boards

Category: AXIS

It might be a noise issue (this is more likely with single ended encoders)

To test, you could increase the encoder input filtering with say

setp  [HMOT](CARD0).encoder.sample-frequency 500000

I am assuming the encoder is mounted on the spindle or has 1:1
gearing with the spindle.

Setting the encoder sample frequency to 500000 (500 KHz) with the encoder filter on
will set the A/B/Z digital filters to a 30 usec time constant or an approximate
maximum count rate of 66 KHz (about 4x the actual max count rate of your 1000 line
encoder at 240 RPM)

The 30 usec time constant means that impulse noise shorter than 30 usec in duration
will be rejected. Impulse noise from motor drives is a significant source of encoder noise
issues.

 
  • spumco
  • spumco
11 Sep 2024 19:36

Odroid H2+ - what distro/config works?

Category: Computers and Hardware

I know there are a number of folks with H2's (and H3/H4's) that work with LCNC, but mine has been a nightmare.

So far, the only distro that seems to work seamlessly is Deb 13.  Every other combo I've tried (over the past two years) has problems of some kind.

MX21/MX23, Mint, Deb 11/12, LCNC Isos, net and full installs of same, everything winds up with some problem.

Ethernet NIC not recognized at all, unable to install R8125 drivers properly, wifi dongles not recognized.  Tried plenty of RT kernels, followed Rod's installation guide, etc.  

I've lost count how many times I've installed some variation of linux and gone through the headache of configuring all the insane/dumb settings just to have a working system... only to hit a roadblock 95% through the process.  Spend a couple hours each time only to get a horrible ping time or some other crippling error.

Unfortunately, Deb 13 has recently started shipping with python3.12... and I'm trying to use Probe Basic.  Which now fails due to 'imp' module being discontinued in python3.12.  forum.linuxcnc.org/qtpyvcp/53790-probe-b...-installation#309684

And I've no clue if I can switch python3.11 for 3.12 - or if that's even possible.

I was about to run out and buy a RPi5 tonight, and then I - thankfully - found out the VTK backplot isn't compatible with RPi.

I've got a working HP 800 G2, but it's too big to fit in my enclosure without a month of modifications.  And I'm not just going to buy an H3 in the hopes it works 'cause it's one higher.

Before I take a chainsaw to my control panel, if there's anyone running an H2+ can you please post up:
  • Distro and version, and where you pulled it
  • LCNC version and where/how you installed it
  • Any other system mods/updates you did (nic driver), and how to accomplish same in detail
As an alternative, if you have a recommendation for a PC with the same or smaller footprint (110mm) that you know works without issue, please let me know.

At this point, money is not an issue... time and frustration-avoidance are the priority.

Thanks in advance.
  • Nathan40
  • Nathan40
11 Sep 2024 19:18 - 11 Sep 2024 19:19
Replied by Nathan40 on topic Configuration for Lathe Tool on 7i95t boards

Configuration for Lathe Tool on 7i95t boards

Category: AXIS

Spindle encoder is single ended encoder. Have changed the jumper setting accordingly. Max spindle RPM after pulley reduction is 238 rpms. 
No I don't get precise revs.
The index leds are working correctly if I rotate it by hand.  The leds of phase A B and index are blinking according. However, the threads are all incorrect. The wiring I have checked again and seems to be fine.
  • bertoldo
  • bertoldo
11 Sep 2024 19:17 - 11 Sep 2024 19:25

Ethercat installation from repositories - how to step by step

Category: EtherCAT

"Ethercat should be running. If the above command is not found, you have a problem
You can list the slaves if you type
ethercat slaves"
So far I found the servo everything fine... but then it didn't go, from my understanding there is no lcec_conf file...

raspberrypi4b 8 giga, servo ethercat I will add a xml of the drive too 

File Attachment:

File Name: LC10EV1.041.xml
File Size:735 KB
  • greg23_78
  • greg23_78
11 Sep 2024 19:16
Replied by greg23_78 on topic lube - time component

lube - time component

Category: Basic Configuration

thank you for sharing your code, but my configuration is a little bit different.
Indeed, you have a lubrication every 30 seconds so you can control not to keep in memory the timer when the condition spindle and motion are not met.

on the other hand, in my configuration I have lubrication every 10-15 min. so if I have a programme that lasts 8 min I will never see the oil pressure information. I will have to wait for a programme that lasts more than 10-15 min to find out if I have an motor fault or a big leak.

Unfortunately I don't know the python language or c (I can read it if there are a lot of comments) only the ladder but it's the last thing to set on my lathe and I haven't used classic ladder so I wouldn't want to use it just for that.

how can i implement your code with a timer in memory?
  • PCW
  • PCW's Avatar
11 Sep 2024 19:14
Replied by PCW on topic Following Error keeps creeping up

Following Error keeps creeping up

Category: General LinuxCNC Questions

You can run the stepgen in position mode and not use the PID loop at all,
but its been found that using the PID loop deals better with random latency
spikes.

When using the PID loop, the stepgen is in velocity mode so unless you close the loop
with some P term, the actual stepgen position will drift from the commanded position
due to the small (say 50 PPM) differences in LinuxCNCs clock and the hardware's 
crystal oscillator.

Velocity mode without feedback is a bit like telling someone how to get somewhere
by telling them the speed and direction to go at any given time. Unless the speeds
are perfect you wont end up exactly where you should be.
 
  • tommylight
  • tommylight's Avatar
11 Sep 2024 19:11
Replied by tommylight on topic Following Error keeps creeping up

Following Error keeps creeping up

Category: General LinuxCNC Questions

Wait, what exactly are you using?
  • tommylight
  • tommylight's Avatar
11 Sep 2024 19:09

Linux beginner RPI 5, GPIO + ethercat 4 axis adventure

Category: Basic Configuration

Welcome and feel free to ask/teach/entertain us.
  • bkt
  • bkt's Avatar
11 Sep 2024 19:08
siemens 1200 safety for sale was created by bkt

siemens 1200 safety for sale

Category: User Exchange

I have 4 siemens 1200 safety cpu unit with digital input and output .... completely non used because too big for our electric cabinet ... if someone need 1 or all 4 .... cheaper price ... my wharehouse is too little for all ....
  • the_erk
  • the_erk
11 Sep 2024 18:48 - 13 Sep 2024 13:18

Linux beginner RPI 5, GPIO + ethercat 4 axis adventure

Category: Basic Configuration

Hello all, 
In this thread i intend to to document my attempt to to build a controller for a 4 axis mill, from concept to implementation. 

I am highly inexperienced with Linux and programming in general,  so this may be new source of entertainment for the more experienced members. The hope is to leave a trail someone as daft as me could follow, to create a workable controller.

The Photo's of screens and other dubious content is aimed at providing a quick and dirty temporary reference for those of us who don't know what the result is supposed to look like, if this ends up being of use i will tidy it up.  


The end goal  is a 4 axis ethercat motion control system with RPI gpio performing a few less timing sensitive functions such as spindle direction and gear selection.  with closed loop position control.



 
  • Darium
  • Darium
11 Sep 2024 18:34
Replied by Darium on topic Following Error keeps creeping up

Following Error keeps creeping up

Category: General LinuxCNC Questions

I will change it tmr,
I always thought the drive takes in the step gen and handle the rest. So in case of a open loop system, does P term still need to be 1/servo period?
  • Todd Zuercher
  • Todd Zuercher's Avatar
11 Sep 2024 18:09
Replied by Todd Zuercher on topic Where the stepgen getting it's input from ?

Where the stepgen getting it's input from ?

Category: HAL

it is somewhat complicated. The stepgens do not get their position commands directly from the g-code. There are a few layers in between.

One of the motion planners (there is more than one) sends the commands for movement to the kinematics model, that then sends the joint position commands either directly to or via a PID loop to the stepgen. (I understand that the motion planner used for jogging isn't the same as the one used for program execution.)

The motion planner reads the G-code, calculates what the current commanded position should be and adds required offsets, before sending the axis positio commands to the Kinematics program.

After the Kinematics program translates the axis positions to joint positions, then any additional joint offsets will be added (such as home offsets.
Displaying 21451 - 21465 out of 24708 results.
Time to create page: 0.569 seconds
Powered by Kunena Forum