Advanced Search

Search Results (Searched for: )

  • royka
  • royka
18 Jan 2025 01:15
Replied by royka on topic Operating computers in the cold

Operating computers in the cold

Category: Computers and Hardware

I have a monitor which used to have difficulties to turn on when it was cold, it turned on but then it kept flickering. This was because of bad capacitors in the power supply, after replacing these it always works immediately, even with minus temperatures
  • CORBETT
  • CORBETT's Avatar
18 Jan 2025 01:01 - 18 Jan 2025 06:57

Ethercat build from source - full instructions

Category: EtherCAT

@Tntmold

*EDIT*
If you fully built from source, you should be able to recompile the IgH Ethercat part only and fix the problem.


Hi Tntmold...  I started a new thread with the updated instructions as Scott started using Golang and it was not building without the "Makefile" changes.  Sascha's is still doing a few updates to his code, and it works without any changes, but Scott has way more work in his code at this point and what I use myself.

Ethercat build from source instructions - Updated for 2024 - LinuxCNC

If you follow the second post, you don't necessarily have to do the "Makefile" changes as you can just install the "golang" package.  I have it described better in the first post but put that second post up for just the commands to do everything.


I am rarely on here because of work, but Rod Webster (rodw) and Tommy Berisha (tommylight) can help...  Plus, there are many others here too that I didn't list...

Hope it helps,
Robert
 
  • cakeslob
  • cakeslob
18 Jan 2025 00:57
Replied by cakeslob on topic recommended controller board

recommended controller board

Category: General LinuxCNC Questions

but a Raspi 5 combined with Remora is an option. This uses an SPI bus to communicate with a microcontroller that does the step generation, but it still needs a low latency communication channel to exchange data with a servo thread. Apparently it's untested or not supported to attempt to use an SPI bus from another SBC then the Raspi 5.

SPI is supposed to be unavailable on regular PC's, but as far as I know it's often available on the TPM module, together with the LPC bus. But I have not seen any hint of LinuxCNC being able to work with those communication channels.


The drivers are made specifically for the RPi3/4 and 5, so they dont use spidev and wont work with other sbc. It wont work on a PC with TPM unless someone makes some kind of hardware driver. If you dont want to use an Rpi, you can try out the remora ethernet board
  • Dave2024
  • Dave2024's Avatar
18 Jan 2025 00:53
Spindle Load feedback in LinuxCNC was created by Dave2024

Spindle Load feedback in LinuxCNC

Category: Basic Configuration

Hi, I was wondering if someone could teach me about the mechanics of spindle load and how it works?  Is there a special motor and drive required to get the load feedback data or is it generated by a formula comparing the RPM with a multimeter as some kind?  Or is the load just the amperage alone?  Can someone explain it and what all kind of components and wiring would I need to get a spindle load showing in LinuxCNC?  Thanks
  • PCW
  • PCW's Avatar
18 Jan 2025 00:22
Replied by PCW on topic Steppers Not Moving / Mapped Wrong

Steppers Not Moving / Mapped Wrong

Category: Basic Configuration

Note that I would not edit the hal file at this point as so much is missing.
I would make sure you select the proper kinematics and setup the tandem
axis in pncconf.
  • PCW
  • PCW's Avatar
18 Jan 2025 00:05
Replied by PCW on topic Steppers Not Moving / Mapped Wrong

Steppers Not Moving / Mapped Wrong

Category: Basic Configuration

It does not look like you setup a tandem axis in pncconf:

[KINS]
JOINTS = 4
KINEMATICS = trivkins coordinates=XYZA

[TRAJ]
COORDINATES = XYZA
MAX_ANGULAR_VELOCITY = 0.50
DEFAULT_ANGULAR_VELOCITY = 0.05
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 0.10
MAX_LINEAR_VELOCITY = 1.00

Note that the stepgen number is completely arbitrary but joint <==> axis mapping
must be setup in the kins/trajectory sections of the ini file in addition to the
hal file.

Here is how I knew Z was mapped to joint 2 and stepgen 4
#*******************
# AXIS Z JOINT 2
#*******************

setp pid.z.Pgain [JOINT_2]P
setp pid.z.Igain [JOINT_2]I
setp pid.z.Dgain [JOINT_2]D
setp pid.z.bias [JOINT_2]BIAS
setp pid.z.FF0 [JOINT_2]FF0
setp pid.z.FF1 [JOINT_2]FF1
setp pid.z.FF2 [JOINT_2]FF2
setp pid.z.deadband [JOINT_2]DEADBAND
setp pid.z.maxoutput [JOINT_2]MAX_OUTPUT
setp pid.z.error-previous-target true
# This setting is to limit bogus stepgen
# velocity corrections caused by position
# feedback sample time jitter.
setp pid.z.maxerror 0.000500

net z-index-enable => pid.z.index-enable
net z-enable => pid.z.enable
net z-pos-cmd => pid.z.command
net z-pos-fb => pid.z.feedback
net z-output <= pid.z.output

# Step Gen signals/setup

setp hm2_7i96s.0.stepgen.04.dirsetup [JOINT_2]DIRSETUP
setp hm2_7i96s.0.stepgen.04.dirhold [JOINT_2]DIRHOLD
  • Lcvette
  • Lcvette's Avatar
17 Jan 2025 23:57
Replied by Lcvette on topic Installation links failing

Installation links failing

Category: QtPyVCP

cool, please let me know if you encounter any issues!
  • Grotius
  • Grotius's Avatar
17 Jan 2025 23:52

find_rt_cpu_number() Error in uspace_rtapi_app.cc on PREEMPT_RT

Category: General LinuxCNC Questions

At line 996.
sysconf(_SC_NPROCESSORS_ONLN)
call to retrieve the number of available CPUs

at line 1006. It runs over the cpu list.
then it sets the priority 0-100% for each used cpu.

 
  • notJamesLee
  • notJamesLee
17 Jan 2025 23:44 - 17 Jan 2025 23:47
Replied by notJamesLee on topic Steppers Not Moving / Mapped Wrong

Steppers Not Moving / Mapped Wrong

Category: Basic Configuration

Thanks for your quick reply.

can you enlighten me as to how you found that out? what lines in the hal can i modify to get them correct? Also can you tell me the difference in LinuxCNC between joint and stepgen?

Also, i am fairly certain i added the second Y motor in the configurator, does it not like repeat setups?
  • PCW
  • PCW's Avatar
17 Jan 2025 23:28
Replied by PCW on topic Steppers Not Moving / Mapped Wrong

Steppers Not Moving / Mapped Wrong

Category: Basic Configuration

The hal file shows mapping:

JOINT STEPGEN  AXIS

0         0           X
1         2           Y
2         4           Z
3         3           A
  • notJamesLee
  • notJamesLee
17 Jan 2025 23:02 - 17 Jan 2025 23:04
Replied by notJamesLee on topic Steppers Not Moving / Mapped Wrong

Steppers Not Moving / Mapped Wrong

Category: Basic Configuration

Both files attached. 

I thought i had mapped the
board step/dir 0 -> X
step/dir 1 -> y1
2->z
3->c
4 ->y2
(i hope this is what you mean by how is it wired).

The encoder i am not even worried about yet i just want the machine to move and everything to register right now.
  • Lcvette
  • Lcvette's Avatar
17 Jan 2025 22:54

ProbeBasic and sidemount, retractable 3D Probe

Category: QtPyVCP

The tool table should look like this once you add X and Y to the custom_config.yml file:

 
  • Lcvette
  • Lcvette's Avatar
17 Jan 2025 22:49

ProbeBasic and sidemount, retractable 3D Probe

Category: QtPyVCP

very easy, enter an x and y offset in the tool table for the probe. these are normally 0.0000 since the tool and spindle share the same centerline, but if your probe is offset, you can find the center of a probe calibration ring with an indicator on the spindle, and set a work offset to zero for x and y. then use the probe (with the probe tool offset for x and y set to zero and use the probe position only option on the probing page. when the center has been probed, the x and y dro's will show you how far from the spindle centerline the offset probe center is. enter these in the tool table under the x and y offset column, save and reload the table. if the entries are correct, the main dro's should now show zero.

now when you load the probe tool, the tool offset is called up which will include the x and y offset. so when you probe the work to set an offset it will be taken into account and when the probe tool is unloaded in the user interface and its offset deactivated the zero point will correspond to the spindle centerline.

if you do not have the x and y columns showing in the tool table, open the custom_config.yml file from your config folder and at XY to the tool table display settings as shown below:
# example of a machine specific settings
windows:
  mainwindow:
    kwargs:
      confirm_exit: false

data_plugins:
  tooltable:
    provider: qtpyvcp.plugins.tool_table:ToolTable
    kwargs:
      columns: TXYZDR

This will now display those columns in the tool table when you next run probe basic!

Enjoy!

Chris
  • AlexMagToast
  • AlexMagToast's Avatar
17 Jan 2025 22:47
Replied by AlexMagToast on topic Arduino IO Expansion

Arduino IO Expansion

Category: Show Your Stuff

Good that you mention Python. A couple weeks ago I learned how to build custom .comp components and I was thinking about moving the communication and logic Part into one.
But I am not sure how much this would improve anything. I guess the Bottleneck is the USB Serial anyway? What do you guys think?
Displaying 19996 - 20009 out of 20009 results.
Time to create page: 3.977 seconds
Powered by Kunena Forum