Advanced Search

Search Results (Searched for: )

  • JohnnyBeluga
  • JohnnyBeluga
01 Jun 2024 15:44
Replied by JohnnyBeluga on topic 7i96s + 7i89 analog spindle and mpg troubles

7i96s + 7i89 analog spindle and mpg troubles

Category: PnCConf Wizard

In need to connect each MPG function to a function present in the HALUI section ?
For the rotary switches to select the axis and the scale I used the example file :

loadrt mux4 count=1
addf mux4.0 servo-thread

setp joint.0.jog-vel-mode 0
setp joint.1.jog-vel-mode 0
setp joint.2.jog-vel-mode 0

setp axis.x.jog-vel-mode 0
setp axis.y.jog-vel-mode 0
setp axis.z.jog-vel-mode 0

setp mux4.0.in0 .0001
setp mux4.0.in1 .001
setp mux4.0.in2 .01

net scale1 mux4.0.sel0 <= [HMOT](CARD0).inm.00.input-04
net scale2 mux4.0.sel1 <= [HMOT](CARD0).inm.00.input-03

net mpg-scale <= mux4.0.out
net mpg-scale => joint.0.jog-scale => axis.x.jog-scale
net mpg-scale => joint.1.jog-scale => axis.y.jog-scale
net mpg-scale => joint.2.jog-scale => axis.z.jog-scale

net mpg-x joint.0.jog-enable <= axis.x.jog-enable <= [HMOT](CARD0).inm.00.input-02
net mpg-y joint.1.jog-enable <= axis.y.jog-enable <= [HMOT](CARD0).inm.00.input-01
net mpg-z joint.2.jog-enable <= axis.z.jog-enable <= [HMOT](CARD0).inm.00.input-00
  • tjones
  • tjones
01 Jun 2024 15:38

Reinstalled LinuxCNC and won't reconnect to mesa board

Category: Installing LinuxCNC

I was previous using 1.2.9 and I reinstalled linuxCNC using debian 10 buster.   Its a .iso that I burned a while back that has always just worked for me.  I get linux all re-installed with 1.2.8 do the upgrade to 1.2.9, no issues.  It is -rt so I installed 2.9-uspace.  I set my static IP to 10.10.10.10 for the mesa board, I can ping 10.10.10.10 and all is good.  I loaded the preconfigured mill config I was using.  And it appears it won't connect to the board.  I have attached a linuxCNC.report below.  Also added my config.  Tosh-mill is the config I care about.  

File Attachment:

File Name: linuxcnc-report.txt
File Size:6 KB


  

File Attachment:

File Name: ToshCNCBackup.zip
File Size:55 KB


 
  • amanker
  • amanker
01 Jun 2024 15:29

Need help in choosing controller board from small honby cnc.

Category: Driver Boards

Few more questions.
How to use hardware buttons for ESTOP and machine enable buttons.
I have defined ESTOP button as per your config and wired button accordingly. But its not working.

Why I cant move any axis faster than 650mm/min?
  • PCW
  • PCW's Avatar
01 Jun 2024 15:25 - 01 Jun 2024 15:30

7i96s + 7i89 analog spindle and mpg troubles

Category: PnCConf Wizard

As far as MPG jogging goes, you have the signal "axis-selected-count"
created but it does not seem to be connected to anything:

net axis-selected-count <= [HMOT](CARD0).encoder.02.count
  • JohnnyBeluga
  • JohnnyBeluga
01 Jun 2024 15:12
Replied by JohnnyBeluga on topic 7i96s + 7i89 analog spindle and mpg troubles

7i96s + 7i89 analog spindle and mpg troubles

Category: PnCConf Wizard

After re-checking I had the wiring changed yeasterday to try the spindle with the variable power supply. I rewired and with your changes it's working well.
  • PCW
  • PCW's Avatar
01 Jun 2024 15:10 - 01 Jun 2024 15:11
Replied by PCW on topic error finishing read!

error finishing read!

Category: Driver Boards

This is most likely a latency issue

1. have you run a latency test?

I would suggest "latency-histogram --nobase --sbinsize 1000"

2. Have you disabled all power management options in the BIOS setup?
This include turbo modes, EIST, Cstates > C1, Cool&Quiet etc, basically
anything that causes the CPU to change speeds dynamically or sleep.

3. Also in the BIOS you should disable hyperthreading and any management
engine  related  options that affect the network (like AMT)

4. If your PC has an Intel Ethernet chip make sure you disable IRQ coalescing
(man hm2_eth)

5. Pinging the 7I96S will give you some idea of network latency
(this example assumes the 7I96S is set for a 10.10.10.10 IP address)

ping -i .2 -c 4 10.10.10.10
sudo chrt 99 ping -i .001 -q 10.10.10.10
 (let the last command run for a few minutes and
then stop it with a control C, it will print timing statistics)

If  BIOS changes and disabling IRQ coalescing do not help, the next step is to try
changing the kernel command line options, using isolcpus to isolate one processor
for real time use and pinning the Ethernet IRQ to that processor.
  • ErwinCNC
  • ErwinCNC
01 Jun 2024 15:07 - 01 Jun 2024 15:19

Bad Latency Fujitsu Esprimo D756 i5 6500

Category: Computers and Hardware

Hello everyone,


I would like to ask for your help in setting up Linux CNC. I have been using Estlcam for my Gantry CNC portal milling machine. Now I would like to improve the machine mechanically and electrically. I have already purchased a new control cabinet. I would like to use Linux CNC as the control system, but I am still having problems starting up. The machine runs with 4x (XYYZ) JMC Closed Loop Stepper 3Nm.

For the control PC I bought a Fujistu Esprimo D756 (i5 6500, 16GB RAM, no graphics card). For Linux I have installed a 254GB SSD and downloaded the finished ISO from the LinuxCNC homepage.
I would like to use the parallel port for the start. If everything runs smoothly and I like the control system, I may switch to a mesa card in the future.

The installation itself went smoothly but I have (from my point of view) very bad latency values. I have attached a picture of the test (BIOS with factory settings)

 

I tried different configurations in the bios but without any significant improvement. Even the installation of an old graphics card hardly brought any improvement.

What is your opinion? Is the PC completely unsuitable for Linux CNC or is it worth trying other options to optimize the RT?

Can the BIOS settings be exported somehow to display them here in the forum?

One more question:
The mainboard has a parallel port on the circuit board (Connector ribbon cable). This is also displayed in the BIOS.
Under Device Settings IO = 378h IRQ = 5
I can make settings under Device Mode. SPP Mode is currently selected there.
Unfortunately, I cannot find the parallel port in Linux CNC.
Does anyone have an idea how I can proceed here?


Thank you very much

Greetings Erwin

 
  • JohnnyBeluga
  • JohnnyBeluga
01 Jun 2024 15:00
Replied by JohnnyBeluga on topic 7i96s + 7i89 analog spindle and mpg troubles

7i96s + 7i89 analog spindle and mpg troubles

Category: PnCConf Wizard

Thank you for the help, Yes I suppy 5v to TB2 pin 24. I made the changes in the .hal and ini files but spindle still doesn't move.

The jogging work trough the GUI but my MPG pendant doesn't work I tried to adapt the example file avaible for MPGs. The MPG switches part is in custom.hal and the handwheel in the main hal file.
  • JT
  • JT's Avatar
01 Jun 2024 14:55
Replied by JT on topic Plot Preview

Plot Preview

Category: Other User Interfaces

Actually oglw6-2.py is a better example as the mouse can rotate and zoom the cube.

JT
  • JT
  • JT's Avatar
01 Jun 2024 14:53
Replied by JT on topic Plot Preview

Plot Preview

Category: Other User Interfaces

So changing my code a bit I can pull out the straight_feed or straight_traverse for the  X Y Z axes.

The oglw6-01.py plots a cube so I assume using some of that might work?

JT
 
  • acourtjester
  • acourtjester
01 Jun 2024 14:37 - 01 Jun 2024 14:47
Replied by acourtjester on topic THC problem

THC problem

Category: General LinuxCNC Questions

50/50 mix of Muriatic acid and water, soak over night, it also removes simple dross. Store mix and reuse as needed.
I use these for soaking, large one inverted and covers the smaller one, reduces the evape of the mix and smell. No effect from the acid on trays.
www.homedepot.com/p/Medium-Mixing-Tub-A-41/318924439

After soak clean with water and washing soda and a stiff brush rinse with clean water blow dry parts to neutralize the acid .
www.amazon.com/Arm-Hammer-Detergent-fres...83932699145064&psc=1
You can get this stuff at local food stores
  • Anton
  • Anton
01 Jun 2024 14:08
error finishing read! was created by Anton

error finishing read!

Category: Driver Boards

Hello, I'm new to this forum and this is my first post. After a quick read and some YouTube videos, I installed the latest LinuxCNC ISO (2.9.2) and created a first configuration with the PnCconf. The connection (ping) to the 7i96s works. I was able to read inputs. I connected a JMC closed loop motor (step/dir and supply voltage). The settings for the motor also seem to be correct, it turns once when I let the machine move 5mm. Unfortunately, this error then appears quite soon:
hm2/hm2_7i96s.0: error finishing read! iter =....
The INIT diode on the mesa card then lights up red and LinuxCNC has to be restarted.

Sometimes this error also occurs:
motor 0 position error

Another strange behaviour occurs after moving one step (5mm, 1mm, ... ), the controller always switches off and I have to press the switch-on button in LinuxCNC again so that the controller is on again and I can move the axes for a short time.

best regards Anton
 
  • JT
  • JT's Avatar
01 Jun 2024 14:03
Plot Preview was created by JT

Plot Preview

Category: Other User Interfaces

I'm trying to figure out the simple way to show the plot preview in a QOpenGLWidget. I "think" I need to use gcode.parse() to get the end points of the lines (forget about arcs for now). So I modified the code from this post to be a bit simpler and up to date. It returns each line like straight_feed (2.375, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) so I assume somehow I can use that to plot the lines using OpenGl. I'm looking for a simple example  to guide me...

JT
  • PCW
  • PCW's Avatar
01 Jun 2024 13:43 - 01 Jun 2024 13:49

Hal help for home to index with stepgen firmware update

Category: HAL

Can you post your current hal/ini files?

Also you can verify index operation by

1. Watching the stepgen feedback position and stepgen index enable in halshow
2. "sets" the stepgen index enable signal
3. Generate an index event

The expected result is that on index event, the stepgen index enable will go false
and the stepgen feedback position should be zeroed.
 
  • PCW
  • PCW's Avatar
01 Jun 2024 13:05 - 01 Jun 2024 13:38

7i96s + 7i89 analog spindle and mpg troubles

Category: PnCConf Wizard

net spindle-vel-cmd-rpm => [HMOT](CARD0).pwmgen.00.value

should be

net spindle-vel-cmd-rpm-abs => [HMOT](CARD0).pwmgen.00.value

Spindle section should be:
(assuming you are supplying 5V to 7I96S TB2 pin 24)


[SPINDLE_0]
P = 0.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 2500.0
OUTPUT_SCALE = 2500
OUTPUT_MIN_LIMIT = 0
OUTPUT_MAX_LIMIT = 2500


What is the issue with jogging?
Displaying 25276 - 25290 out of 26478 results.
Time to create page: 0.471 seconds
Powered by Kunena Forum