Axis Y two motors gantry with separate switch home-offset

More
7 years 3 months ago #140523 by BigJohnT

Maxardi99 wrote: exactly, what should i do to upgrade my linuxcnc ? i don't understand what i have to do..


Assuming your using Debian 9 my instructions for installing different versions of LinuxCNC are here . You will need to open the Synaptic Package Manager from the System > Administration menu and in Settings > Repositories uncheck the current LinuxCNC repos first.

JT

Please Log in to join the conversation.

More
7 years 3 months ago #140542 by BigJohnT

tommylight wrote: It is very helpful to have it for cases where the arc is lost during a cut or due to plasma overheating, you can just back off a bit and resume cutting.


That makes sense to me, I don't run full out production on my plasma table so I've never experienced a shut down due to over heating.

JT

Please Log in to join the conversation.

More
7 years 3 months ago #140546 by tommylight
Forgot to mention power outs, that WAS a daily occurrence here, last 4 to 5 years they rarely occur, but it happens. Just today it went out for over an hour on most parts of the city.

Please Log in to join the conversation.

More
7 years 3 months ago #140799 by Marco
When i do "sudo apt-get update" i have this error:


cnc@CNC:~$ sudo apt-get update
[sudo] password for cnc:
Err ftp//ftp.it.debian.org wheezy/updates Release.gpg
The server refused the connection and said: FTP is obsolete: please use HTTP! [IP: 85.94.199.210 21]
Ign ftp://ftp.it.debian.org wheezy/updates Release
Ign http//security.debian.org wheezy/updates Release.gpg
Ign http//security.debian.org wheezy/updates Release
Ign http//security.debian.org wheezy/updates/main i386 Packages/DiffIndex
Ign http//security.debian.org wheezy/updates/contrib i386 Packages/DiffIndex
Ign http//security.debian.org wheezy/updates/non-free i386 Packages/DiffIndex
Err ftp//ftp.it.debian.org wheezy/updates/main Sources
The server refused the connection and said: FTP is obsolete: please use HTTP! [IP: 85.94.199.210 21]
Hit http//buildbot.linuxcnc.org stretch Release.gpg
Err ftp//ftp.it.debian.org wheezy/updates/contrib Sources
The server refused the connection and said: FTP is obsolete: please use HTTP! [IP: 85.94.199.210 21]
Err ftp//ftp.it.debian.org wheezy/updates/non-free Sources
The server refused the connection and said: FTP is obsolete: please use HTTP! [IP: 85.94.199.210 21]
Hit http//buildbot.linuxcnc.org stretch Release
Hit http//buildbot.linuxcnc.org stretch/2.8-rtpreempt Sources
Hit http//buildbot.linuxcnc.org stretch/2.8-rtpreempt i386 Packages
Ign http//buildbot.linuxcnc.org stretch/2.8-rtpreempt Translation-en_US
Ign http//buildbot.linuxcnc.org stretch/2.8-rtpreempt Translation-en
Ign http//security.debian.org wheezy/updates/contrib Translation-en_US
Ign http//security.debian.org wheezy/updates/contrib Translation-en
Ign http//security.debian.org wheezy/updates/main Translation-en_US
Ign http//security.debian.org wheezy/updates/main Translation-en
Ign http//security.debian.org wheezy/updates/non-free Translation-en_US
Ign http//security.debian.org wheezy/updates/non-free Translation-en
Err http//security.debian.org wheezy/updates/main i386 Packages
404 Not Found [IP: 151.101.240.204 80]
Err http//security.debian.org wheezy/updates/contrib i386 Packages
404 Not Found [IP: 151.101.240.204 80]
Err http//security.debian.org wheezy/updates/non-free i386 Packages
404 Not Found [IP: 151.101.240.204 80]
W: Failed to fetch ftp://ftp.it.debian.org/debian/dists/wheezy/updates/Release.gpg The server refused the connection and said: FTP is obsolete: please use HTTP! [IP: 85.94.199.210 21]

W: Failed to fetch ftp//ftp.it.debian.org/debian/dists/wheezy/updates/main/source/Sources The server refused the connection and said: FTP is obsolete: please use HTTP! [IP: 85.94.199.210 21]

W: Failed to fetch ftp://ftp.it.debian.org/debian/dists/whe...ntrib/source/Sources The server refused the connection and said: FTP is obsolete: please use HTTP! [IP: 85.94.199.210 21]

W: Failed to fetch ftp://ftp.it.debian.org/debian/dists/whe...-free/source/Sources The server refused the connection and said: FTP is obsolete: please use HTTP! [IP: 85.94.199.210 21]

W: Failed to fetch htp://security.debian.org/dists/wheezy/updates/main/binary-i386/Packages 404 Not Found [IP: 151.101.240.204 80]

W: Failed to fetch htp://security.debian.org/dists/wheezy/updates/contrib/binary-i386/Packages 404 Not Found [IP: 151.101.240.204 80]

W: Failed to fetch htp://security.debian.org/dists/wheezy/updates/non-free/binary-i386/Packages 404 Not Found [IP: 151.101.240.204 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
cnc@CNC:~$

Please Log in to join the conversation.

More
7 years 3 months ago #140805 by tommylight
That is using old repositories, they have changed.
They will have to be changed in "sources " list or "software sources" GUI.
There are several threads discusing that here in the forum, just do a quick search.

Please Log in to join the conversation.

More
7 years 3 months ago #140875 by Marco
I have installed Debian 9 and then linuxcnc 2.9 but linuxcnc doesn't recognize all pin of mesa card. I have a 5i25 + 7i76 + 7i85s. I've error when i open my old configuration beacuse linuxcnc doesn't found some pin of mesa. When i tried this command:

sudo dmesg -c {You will be asked for a password}
halrun
loadrt hostmot2
loadrt hm2_pci
show pin
show param
exit
dmesg

terminal didn't show me all pin. before i updated linuxcnc and debian, terminal had shown me all pins.

The error:

Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

Print file information:

RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0-pre0-373-gb0b27580e
Machine configuration directory is '/home/cnc/linuxcnc/configs/CNC2'
Machine configuration file is 'CNC2.ini'
INIFILE=/home/cnc/linuxcnc/configs/CNC2/CNC2.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./CNC2.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:03:05.0
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 010 (P3-07): IOPort
hm2/hm2_5i25.0: IO Pin 011 (P3-08): IOPort
hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0: IO Pin 027 (P2-07): Muxed Encoder Select #2, pin Mux Select 0 (Output)
hm2/hm2_5i25.0: IO Pin 028 (P2-08): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 029 (P2-09): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 030 (P2-10): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_5i25.0: IO Pin 031 (P2-11): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 032 (P2-12): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 033 (P2-13): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:03:05.0
hm2_5i25.0: dropping AnyIO board at 0000:03:05.0
hm2/hm2_5i25.0: unregistered
hm2_pci: driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:

Note: Using POSIX non-realtime
./CNC2.hal:51: Pin 'hm2_5i25.0.7i76.0.0.input-08-not' does not exist
17041
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0xb66e6000
Note: Using POSIX non-realtime

Please Log in to join the conversation.

More
7 years 3 months ago #140877 by tommylight

Please Log in to join the conversation.

More
7 years 3 months ago #140943 by Marco
Now I have this error when i close linuxcnc

Attachment not found

Attachment not found



Error:

Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0-pre0-373-gb0b27580e
Machine configuration directory is '/home/cnc/linuxcnc/configs/CNC2'
Machine configuration file is 'CNC2.ini'
INIFILE=/home/cnc/linuxcnc/configs/CNC2/CNC2.ini
VERSION=1.1

check_config: (trivkins kinematics) WARNING:
INCONSISTENT coordinates specifications:
trivkins coordinates=XYYZ
[TRAJ]COORDINATES=XYZ

PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./CNC2.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
task: main loop took 0.032601 seconds
task: main loop took 0.011996 seconds
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 48913 cycles, min=0.000018, max=0.032601, avg=0.001062, 2 latency excursions (> 10x expected cycle time of 0.001000s)
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:04:02.0
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
Board hm2_5i25.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_5i25.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 010 (P3-07): Smart Serial Interface #0, pin TxData0 (Output)
hm2/hm2_5i25.0: IO Pin 011 (P3-08): Smart Serial Interface #0, pin RxData0 (Input)
hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0: IO Pin 027 (P2-07): Muxed Encoder Select #2, pin Mux Select 0 (Output)
hm2/hm2_5i25.0: IO Pin 028 (P2-08): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 029 (P2-09): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 030 (P2-10): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_5i25.0: IO Pin 031 (P2-11): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_5i25.0: IO Pin 032 (P2-12): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_5i25.0: IO Pin 033 (P2-13): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:04:02.0
hm2_5i25.0: dropping AnyIO board at 0000:04:02.0
hm2/hm2_5i25.0: unregistered
hm2_pci: driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
note: MAXV max: 130.000 units/sec 7800.000 units/min
note: LJOG max: 130.000 units/sec 7800.000 units/min
note: LJOG default: 40.000 units/sec 2400.000 units/min
note: jog_order='XYZ'
note: jog_invert=set([])
python: emc/rs274ngc/interp_setup.cc:189: setup::~setup(): Assertion `!pythis || Py_IsInitialized()' failed.
/usr/bin/linuxcnc: line 896: 2150 Aborted $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
2112
2145
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0xb66de000
Note: Using POSIX realtime

Kernel message information:
/usr/lib/tcltk/linuxcnc/show_errors.tcl:
dmesg: read kernel buffer failed: Operation not permitted

dmesg requires root privilege on this system
Description: Debian GNU/Linux 9.9 (stretch)
Use a terminal to issue the command: sudo dmesg

Please Log in to join the conversation.

More
7 years 3 months ago #140944 by phillc54
It has been reported, you can disregard it for the time being.
github.com/LinuxCNC/linuxcnc/issues/627

Please Log in to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum