Recent PlasmaC Update and No Motion

More
6 years 2 days ago #187766 by Jean NT76
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?

Please Log in or Create an account to join the conversation.

More
6 years 2 days ago #187793 by Aciera

I get error messages about joints.


Can you post those messages?

Please Log in or Create an account to join the conversation.

More
6 years 2 days ago - 6 years 2 days ago #187797 by Jean NT76
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
Last edit: 6 years 2 days ago by Jean NT76.

Please Log in or Create an account to join the conversation.

More
6 years 2 days ago - 6 years 2 days ago #187798 by dgarrett
Note when commenting ini files (in 2.8):
Code:
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:
Code:
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: 6 years 2 days ago by dgarrett.
The following user(s) said Thank You: Aciera

Please Log in or Create an account to join the conversation.

More
6 years 2 days ago #187808 by Jean NT76
I have removed the # in the order lines and changed the YES to 1.
This resolved the boot error of linuxcnc.
Nevertheless the z axle still crashed during homing.

Please Log in or Create an account to join the conversation.

More
6 years 2 days ago #187857 by phillc54
I think you would be better off with the home switch near the top of the axis rather than the bottom. When homed you want to be just below the top. If the home switch is at the bottom then the torch could hit the slats before reaching the home switch.

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.074 seconds
Powered by Kunena Forum