Recent PlasmaC Update and No Motion
27 Oct 2020 21:06 #187469
by Jean NT76
Replied by Jean NT76 on topic Recent PlasmaC Update and No Motion
I have run the test mode on the Proma, in the test mode and on the board (by bridging the pins) only the arcOK signal is working in the GUI. The up and down light in the GUI never lights up. Thus I thought there must be a mistake with the definition of the up and down variables.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6219
27 Oct 2020 21:19 #187472
by tommylight
Replied by tommylight on topic Recent PlasmaC Update and No Motion
Did you read my previous post ?
Follow it in detail, that is the only way to check the UP/Down function without starting the torch....
Well there is another way, by using the "show hal configuration" from the "machine" menu and watching the parallel port input pins.
Follow it in detail, that is the only way to check the UP/Down function without starting the torch....
Well there is another way, by using the "show hal configuration" from the "machine" menu and watching the parallel port input pins.
Please Log in or Create an account to join the conversation.
28 Oct 2020 11:54 #187551
by Jean NT76
Replied by Jean NT76 on topic Recent PlasmaC Update and No Motion
As I needed the Inputs for ArcOK, Up and Down, I had to use one single Input for all limits and home.
This homing doesn't work. The machine trigers the limit switch without reacting. It simply pass over it and continue moving.
This homing doesn't work. The machine trigers the limit switch without reacting. It simply pass over it and continue moving.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6219
28 Oct 2020 19:26 #187609
by tommylight
Replied by tommylight on topic Recent PlasmaC Update and No Motion
linuxcnc.org/docs/2.8/html/config/ini-homing.html
look or shared homing or home is shared
look or shared homing or home is shared
Please Log in or Create an account to join the conversation.
28 Oct 2020 20:19 #187618
by Jean NT76
Replied by Jean NT76 on topic Recent PlasmaC Update and No Motion
Hello "Tommylight"
The linked document I already read 3 times and I don't get something out.
Unfortunately I do not understand your message, in my original post I shared the ini and hal file.
Or should I just add:
HOME_IS_SHARED = 1
and this in the ini for all 3 joints?
Sorry my IT skills are still limited.
I am grateful for all help.
Jean
The linked document I already read 3 times and I don't get something out.
Unfortunately I do not understand your message, in my original post I shared the ini and hal file.
Or should I just add:
HOME_IS_SHARED = 1
and this in the ini for all 3 joints?
Sorry my IT skills are still limited.
I am grateful for all help.
Jean
Please Log in or Create an account to join the conversation.
28 Oct 2020 21:13 #187629
by rodw
Replied by rodw on topic Recent PlasmaC Update and No Motion
You may also need to tell each joint to ignore limits when homing. (another setting)
Please Log in or Create an account to join the conversation.
30 Oct 2020 10:08 #187766
by Jean NT76
Replied by Jean NT76 on topic Recent PlasmaC Update and No Motion
I have modified the ini file with the following:
[JOINT_0]
HOME_IS_SHARED = 1 #jb
#HOME_IGNORE_LIMITS = YES #jb
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -10.0
MAX_LIMIT = 1010.0
MAX_VELOCITY = 30.0
MAX_ACCELERATION = 100.0
STEPGEN_MAXACCEL = 125.0
SCALE = 100.0
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = -10.000000
HOME_SEARCH_VEL = -15.000000
HOME_LATCH_VEL = -5.000000
HOME_SEQUENCE = 1
With the HOME_IGNORE_LIMITS = YES LinuxCNC doesn't boot anymore. I get error messages about joints.
The HOME_IS_SHARED has not solve the issue. The Z axle run over the limit switch and crashed. The limit switch it self is working.
Any other idea how to approach this issue?
[JOINT_0]
HOME_IS_SHARED = 1 #jb
#HOME_IGNORE_LIMITS = YES #jb
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -10.0
MAX_LIMIT = 1010.0
MAX_VELOCITY = 30.0
MAX_ACCELERATION = 100.0
STEPGEN_MAXACCEL = 125.0
SCALE = 100.0
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = -10.000000
HOME_SEARCH_VEL = -15.000000
HOME_LATCH_VEL = -5.000000
HOME_SEQUENCE = 1
With the HOME_IGNORE_LIMITS = YES LinuxCNC doesn't boot anymore. I get error messages about joints.
The HOME_IS_SHARED has not solve the issue. The Z axle run over the limit switch and crashed. The limit switch it self is working.
Any other idea how to approach this issue?
Please Log in or Create an account to join the conversation.
30 Oct 2020 13:57 #187793
by Aciera
Can you post those messages?
Replied by Aciera on topic Recent PlasmaC Update and No Motion
I get error messages about joints.
Can you post those messages?
Please Log in or Create an account to join the conversation.
30 Oct 2020 14:58 - 30 Oct 2020 15:00 #187797
by Jean NT76
Replied by Jean NT76 on topic Recent PlasmaC Update and No Motion
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.8.0
Machine configuration directory is '/home/jango/linuxcnc/configs/burnithc'
Machine configuration file is 'burnithc.ini'
INIFILE=/home/jango/linuxcnc/configs/burnithc/burnithc.ini
VERSION=1.1
check_config: (trivkins kinematics) WARNING:
INCONSISTENT coordinates specifications:
trivkins coordinates=XYYZ
[TRAJ]COORDINATES=XYZ
PARAMETER_FILE=metric_parameters.txt
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
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
twopass:invoked with <> options
twopass:found ./burnithc.hal
twopass:found ././plasmac/plasmac.tcl
twopass:found ./burnithc_connections.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
Shutting down and cleaning up LinuxCNC...
emcMotionInit: emcJointInit(0) failed
config string '0x378 out'
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
Unexpected realtime delay on task 0 with period 100000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
Waiting for component 'inihal' to become ready....note: MAXV max: 30.000 units/sec 1800.000 units/min
note: LJOG max: 30.000 units/sec 1800.000 units/min
note: LJOG default: 3.000 units/sec 180.000 units/min
.....INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
..........INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
...........INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
..........INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
..........INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
.....A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
.....INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
.1379
..1404
HAL: ERROR: exit called before init
<commandline>:0: waitpid failed milltask inihal
<commandline>:0: milltask exited without becoming ready
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Info report created by linuxcnc_info:
The file: /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
pastebin.com
in order to provide information about the linuxcnc
system and configuration.
Date: Fr 30. Okt 15:56:54 CET 2020
UTC Date: Fr 30. Okt 14:56:54 UTC 2020
this program: /usr/bin/linuxcnc_info
uptime: 15:56:54 up 5 min, 1 user, load average: 2,17, 1,66, 0,81
lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
which linuxcnc: /usr/bin/linuxcnc
pwd: /home/jango/linuxcnc/configs/burnithc
USER: jango
LOGNAME: jango
HOME: /home/jango
EDITOR:
VISUAL:
LANGUAGE:
TERM: dumb
COLORTERM:
DISPLAY: :0.0
DESKTOP: lightdm-xsession
display size: 1280x800 pixels (338x211 millimeters)
PATH: /usr/bin:/home/jango/linuxcnc/configs/burnithc/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
uname items:
nodename -n: cnc28
kernel-name -s: Linux
kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.146-1 (2020-09-17)
machine -m: x86_64
processor -p: unknown
platform -i: unknown
oper system -o: GNU/Linux
/proc items:
cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.0-11-rt-amd64 root=UUID=e0835f07-816a-4dfb-92a9-1b31c6f34741 ro initrd=/install/initrd.gz quiet
model name: Intel(R) Core(TM)2 Duo CPU U7700 @ 1.33GHz
cores: 2
cpu MHz: 1064.012
parport: 0000-0000 : parport0 0000-0000 : parport0
serial: 0000-0000 : serial
Versions:
gcc: gcc (Debian 8.3.0-6) 8.3.0
python: Python 2.7.16
git: not_in_PATH
git commit: NA
tcl: 8.6
tk: 8.6
glade: glade 3.22.1
glade-gtk2: not_in_PATH
linuxcnc_var all:
LINUXCNCVERSION: 2.8.0
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
REALTIME: /etc/init.d/realtime
RTS: uspace
HALLIB_DIR: /usr/share/linuxcnc/hallib
dpkg -l '*linuxcnc*':
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Architektur Beschreibung
+++-===================-============-============-=====================================================================
un linuxcnc <keine> <keine> (keine Beschreibung vorhanden)
un linuxcnc-dev <keine> <keine> (keine Beschreibung vorhanden)
un linuxcnc-doc <keine> <keine> (keine Beschreibung vorhanden)
ii linuxcnc-doc-cn 1:2.8.0 all motion controller for CNC machines and robots (Chinese
ii linuxcnc-doc-en 1:2.8.0 all motion controller for CNC machines and robots (English documentation)
ii linuxcnc-doc-es 1:2.8.0 all controlador de movimiento para máquinas CNC y robots (Español).
ii linuxcnc-doc-fr 1:2.8.0 all motion controller for CNC machines and robots (French documentation)
un linuxcnc-sim <keine> <keine> (keine Beschreibung vorhanden)
un linuxcnc-sim-dev <keine> <keine> (keine Beschreibung vorhanden)
ii linuxcnc-uspace 1:2.8.0 amd64 motion controller for CNC machines and robots
ii linuxcnc-uspace-dev 1:2.8.0 amd64 PC based motion controller for real-time Linux
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.8.0
Machine configuration directory is '/home/jango/linuxcnc/configs/burnithc'
Machine configuration file is 'burnithc.ini'
INIFILE=/home/jango/linuxcnc/configs/burnithc/burnithc.ini
VERSION=1.1
check_config: (trivkins kinematics) WARNING:
INCONSISTENT coordinates specifications:
trivkins coordinates=XYYZ
[TRAJ]COORDINATES=XYZ
PARAMETER_FILE=metric_parameters.txt
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
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
twopass:invoked with <> options
twopass:found ./burnithc.hal
twopass:found ././plasmac/plasmac.tcl
twopass:found ./burnithc_connections.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
emcMotionInit: emcJointInit(0) failed
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
Shutting down and cleaning up LinuxCNC...
emcMotionInit: emcJointInit(0) failed
config string '0x378 out'
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
Unexpected realtime delay on task 0 with period 100000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
Waiting for component 'inihal' to become ready....note: MAXV max: 30.000 units/sec 1800.000 units/min
note: LJOG max: 30.000 units/sec 1800.000 units/min
note: LJOG default: 3.000 units/sec 180.000 units/min
.....INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
..........INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
...........INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
..........INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
..........INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
.....A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
.....INIFILE: ERR_CONVERSION, section=JOINT_0, tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
.1379
..1404
HAL: ERROR: exit called before init
<commandline>:0: waitpid failed milltask inihal
<commandline>:0: milltask exited without becoming ready
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Info report created by linuxcnc_info:
The file: /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
pastebin.com
in order to provide information about the linuxcnc
system and configuration.
Date: Fr 30. Okt 15:56:54 CET 2020
UTC Date: Fr 30. Okt 14:56:54 UTC 2020
this program: /usr/bin/linuxcnc_info
uptime: 15:56:54 up 5 min, 1 user, load average: 2,17, 1,66, 0,81
lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
which linuxcnc: /usr/bin/linuxcnc
pwd: /home/jango/linuxcnc/configs/burnithc
USER: jango
LOGNAME: jango
HOME: /home/jango
EDITOR:
VISUAL:
LANGUAGE:
TERM: dumb
COLORTERM:
DISPLAY: :0.0
DESKTOP: lightdm-xsession
display size: 1280x800 pixels (338x211 millimeters)
PATH: /usr/bin:/home/jango/linuxcnc/configs/burnithc/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
uname items:
nodename -n: cnc28
kernel-name -s: Linux
kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.146-1 (2020-09-17)
machine -m: x86_64
processor -p: unknown
platform -i: unknown
oper system -o: GNU/Linux
/proc items:
cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.0-11-rt-amd64 root=UUID=e0835f07-816a-4dfb-92a9-1b31c6f34741 ro initrd=/install/initrd.gz quiet
model name: Intel(R) Core(TM)2 Duo CPU U7700 @ 1.33GHz
cores: 2
cpu MHz: 1064.012
parport: 0000-0000 : parport0 0000-0000 : parport0
serial: 0000-0000 : serial
Versions:
gcc: gcc (Debian 8.3.0-6) 8.3.0
python: Python 2.7.16
git: not_in_PATH
git commit: NA
tcl: 8.6
tk: 8.6
glade: glade 3.22.1
glade-gtk2: not_in_PATH
linuxcnc_var all:
LINUXCNCVERSION: 2.8.0
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
REALTIME: /etc/init.d/realtime
RTS: uspace
HALLIB_DIR: /usr/share/linuxcnc/hallib
dpkg -l '*linuxcnc*':
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Architektur Beschreibung
+++-===================-============-============-=====================================================================
un linuxcnc <keine> <keine> (keine Beschreibung vorhanden)
un linuxcnc-dev <keine> <keine> (keine Beschreibung vorhanden)
un linuxcnc-doc <keine> <keine> (keine Beschreibung vorhanden)
ii linuxcnc-doc-cn 1:2.8.0 all motion controller for CNC machines and robots (Chinese
ii linuxcnc-doc-en 1:2.8.0 all motion controller for CNC machines and robots (English documentation)
ii linuxcnc-doc-es 1:2.8.0 all controlador de movimiento para máquinas CNC y robots (Español).
ii linuxcnc-doc-fr 1:2.8.0 all motion controller for CNC machines and robots (French documentation)
un linuxcnc-sim <keine> <keine> (keine Beschreibung vorhanden)
un linuxcnc-sim-dev <keine> <keine> (keine Beschreibung vorhanden)
ii linuxcnc-uspace 1:2.8.0 amd64 motion controller for CNC machines and robots
ii linuxcnc-uspace-dev 1:2.8.0 amd64 PC based motion controller for real-time Linux
Last edit: 30 Oct 2020 15:00 by Jean NT76.
Please Log in or Create an account to join the conversation.
30 Oct 2020 15:33 - 30 Oct 2020 15:34 #187798
by dgarrett
Replied by dgarrett on topic Recent PlasmaC Update and No Motion
Note when commenting ini files (in 2.8):
Ref: linuxcnc.org/docs/2.8/html/getting-start...cter_ini_file_syntax
This likely leads to messages like:
(While the "YES" value is not exactly numeric,
HOME_IGNORE_LIMITS expects a boolean and
values "TRUE","YES","1" are accepted)
3.10. Stricter INI file syntax
Lines with numeric INI variables are no longer allowed
to have trailing text. In earlier versions of LinuxCNC
any text after the number was silently ignored, but as
of this version such text is totally disallowed. This
includes hash characters ("#"), which in this position
are a part of the value, not a comment
character.
Ref: linuxcnc.org/docs/2.8/html/getting-start...cter_ini_file_syntax
This likely leads to messages like:
INIFILE: ERR_CONVERSION, section=JOINT_0,tag=HOME_IGNORE_LIMITS, num=1, lineNo=224
(While the "YES" value is not exactly numeric,
HOME_IGNORE_LIMITS expects a boolean and
values "TRUE","YES","1" are accepted)
Last edit: 30 Oct 2020 15:34 by dgarrett.
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.102 seconds