Advanced Search

Search Results (Searched for: )

  • NT4Boy
  • NT4Boy
23 Feb 2025 15:50 - 23 Feb 2025 15:54
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

So I made a rebuilt config, and can see what went wrong.
The pins were setup correctly. but maybe looks odd, because I have had to use encoder inputs as my switches are 5volt devices.
# --- MIN-X ---
net min-x <= hm2_7i92.0.encoder.03.input-a

# --- MAX-X ---
net max-x <= hm2_7i92.0.encoder.03.input-b

# --- MIN-Y ---   (The index pulses are inverted, so the NOT function reverses that.)
net my-input-signal-1 <= not.0.in hm2_7i92.0.encoder.03.input-index
net min-y => not.0.out

# --- MAX-Y ---
net max-y <= hm2_7i92.0.encoder.04.input-a

# --- MIN-Z --- THIS IS SPINDLE EXTENDED ie DOWN limit
net min-z <= hm2_7i92.0.encoder.04.input-b

# --- MAX-Z --- THIS IS SPINDLE FULLY HOME ie UP limit
net my-input-signal-2 <= not.1.in hm2_7i92.0.encoder.04.input-index
net max-z => not.1.out

Mess up was that all the axes, had a similar mistake. Had only min terms in all three places
Putting the max terms as follows has fixed it.

net min-x => joint.0.home-sw-in
net min-x => joint.0.neg-lim-sw-in
net max-x => joint.0.pos-lim-sw-in

X and Y home on the min end, so need to be told, and also that there is a switch at the other end. (Had min there too instead of max.)

Z homes at the max end, which is fully UP
net min-z => joint.2.neg-lim-sw-in
net max-z => joint.2.pos-lim-sw-in
net max-z => joint.2.home-sw-in

Homing all good now, Thanks
  • Leo75Wolf
  • Leo75Wolf
23 Feb 2025 15:36

Float precision for Ultra-Precision applications

Category: General LinuxCNC Questions

Context:
I want to use Linuxcnc for a Ultra-Precision machine.
For that i need Linuxcnc to tell my drives (via Ethercat) the waypoints with high resolution.
I can get 0.5 nanometer resolution out of the Ethercat bus with the 32bit Integer format at the travels that i need. Which is sufficient.

Now as for my question:
From what i gather the path planner and everything works in single-precision floats.
Doing the math on that at 10mm and 500mm positions tells me the resolution between bits of the float number is not enough.
10mm/2^24=0.59nm
500mm/2^24 = 29.80nm

I dont want to waste that much precision in my control for no reason (plus having to convert to the scaled integer value).

Is there a way to change that to double precision floats (64bit) without having to rewrite the whole control?
Also feel free to tell me that my math is wrong^^

Leo
 
  • Lcvette
  • Lcvette's Avatar
23 Feb 2025 15:21
Replied by Lcvette on topic Rack Tool Changer

Rack Tool Changer

Category: QtPyVCP

when it becomes merged there will be some notes, it will be a pretty big update announcement.
  • PCW
  • PCW's Avatar
23 Feb 2025 15:17 - 23 Feb 2025 15:18
Replied by PCW on topic Automatic naming of signals in HAL

Automatic naming of signals in HAL

Category: General LinuxCNC Questions

Yes, I think its a good idea and something I have suggested a while ago.
Especially for multi-stage logic, simply connecting pin to pin makes more
sense.
  • COFHAL
  • COFHAL
23 Feb 2025 15:10 - 23 Feb 2025 15:14
Replied by COFHAL on topic AX58100

AX58100

Category: EtherCAT

I did indeed modify JOINT_N_SCALE to match the drive configuration and the value in the INI file. and it works fine now. The axis moves exactly with the commanded value. Changing the BASE_PERIOD value to 10000 in the firmware also increases the speed without the joint tracking error occurring.
The only drawback is that if one modifies the STEP_SCALE parameter in the drive, the firmware would necessarily have to be recompiled. That is why it seems like a good idea to remove these parameters from the firmware so that they can be modified at any time.


  • PCW
  • PCW's Avatar
23 Feb 2025 15:08

Not all ports of my MESA boards are visible

Category: Basic Configuration

My first guess is that the sserial channels on the 7I74 are not enabled in the hal file
(with a sserial_port_1=00000000 stanza in the hm2_pci driver loadrt line)
  • PCW
  • PCW's Avatar
23 Feb 2025 15:03
Replied by PCW on topic Mesa 7I96S and Proximity Switches

Mesa 7I96S and Proximity Switches

Category: Driver Boards

Yes, 7I96/7I96S TB3 pin 12 is the input common.
Isolated inputs accept +-5 to +-36V signals relative to input common.

If you connect +24V to input common, the inputs will be activated
when grounded (connected to the 24V negative output) This
is the normal way to setup the input for NPN sensors
(or switches with a common ground)
Displaying 18766 - 18772 out of 18772 results.
Time to create page: 0.499 seconds
Powered by Kunena Forum