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
Displaying 19996 - 20005 out of 20005 results.
Time to create page: 0.662 seconds
Powered by Kunena Forum