Recent PlasmaC Update and No Motion

More
6 years 2 months ago #179656 by phillc54
PlasmaC has nothing to do with trivkins, I don't know what that would be about.

Could you post your compressed config directory.

Edit:
Just to make sure we are on the same page I installed 2.9 from the Buildbot then installed the new plasmac.comp, edited plasmac.tcl as per the earlier post and I cannot get it to fault, it appears to do everything it should.

Please Log in to join the conversation.

More
6 years 2 months ago #179766 by PurduePete
I am unable to get that line put in. I get an error on boot. See below. If I comment that line out then I can run the program but the z axis doesn't move from the home position. No probe function or any other.
Code:
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-2662-g3039a67a6 Machine configuration directory is '/home/forcedesigns/linuxcnc/configs/cnc_plasma' Machine configuration file is 'cnc_plasma.ini' INIFILE=/home/forcedesigns/linuxcnc/configs/cnc_plasma/cnc_plasma.ini VERSION=1.1 PARAMETER_FILE=imperial_parameters.txt TASK=milltask HALUI=halui DISPLAY=gmoccapy COORDINATES=XYYZ KINEMATICS=trivkins coordinates=XYYZ kinstype=BOTH 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 ./cnc_plasma.hal twopass:found ././plasmac/plasmac.tcl twopass:found ./cnc_plasma_connections.hal twopass: Error in file ./cnc_plasma_connections.hal: Pin 'halui.machine.is-on' was already linked to signal 'machine-is-on' Shutting down and cleaning up LinuxCNC... trivkins: coordinates:XYYZ Joint 0 ==> Axis X Joint 1 ==> Axis Y Joint 2 ==> Axis Y Joint 3 ==> Axis Z hm2: loading Mesa HostMot2 driver version 0.15 hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2 hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:10:43:db hm2_eth: discovered 7I76E-16 hm2/hm2_7i76e.0: Low Level init 0.15 hm2/hm2_7i76e.0: Smart Serial Firmware Version 43 Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv hm2/hm2_7i76e.0: 51 I/O Pins used: hm2/hm2_7i76e.0: IO Pin 000 (P1-01): StepGen #0, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 001 (P1-14): StepGen #0, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 002 (P1-02): StepGen #1, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 003 (P1-15): StepGen #1, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 004 (P1-03): StepGen #2, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 005 (P1-16): StepGen #2, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 006 (P1-04): StepGen #3, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 007 (P1-17): StepGen #3, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 008 (P1-05): StepGen #4, pin Direction (Output) hm2/hm2_7i76e.0: IO Pin 009 (P1-06): StepGen #4, pin Step (Output) hm2/hm2_7i76e.0: IO Pin 010 (P1-07): Smart Serial Interface #0, pin tx0 (Output) hm2/hm2_7i76e.0: IO Pin 011 (P1-08): Smart Serial Interface #0, pin rx0 (Input) hm2/hm2_7i76e.0: IO Pin 012 (P1-09): IOPort hm2/hm2_7i76e.0: IO Pin 013 (P1-10): IOPort hm2/hm2_7i76e.0: IO Pin 014 (P1-11): IOPort hm2/hm2_7i76e.0: IO Pin 015 (P1-12): IOPort hm2/hm2_7i76e.0: IO Pin 016 (P1-13): Encoder #0, pin A (Input) hm2/hm2_7i76e.0: IO Pin 017 (P2-01): IOPort hm2/hm2_7i76e.0: IO Pin 018 (P2-14): IOPort hm2/hm2_7i76e.0: IO Pin 019 (P2-02): IOPort hm2/hm2_7i76e.0: IO Pin 020 (P2-15): IOPort hm2/hm2_7i76e.0: IO Pin 021 (P2-03): IOPort hm2/hm2_7i76e.0: IO Pin 022 (P2-16): IOPort hm2/hm2_7i76e.0: IO Pin 023 (P2-04): IOPort hm2/hm2_7i76e.0: IO Pin 024 (P2-17): IOPort hm2/hm2_7i76e.0: IO Pin 025 (P2-05): IOPort hm2/hm2_7i76e.0: IO Pin 026 (P2-06): IOPort hm2/hm2_7i76e.0: IO Pin 027 (P2-07): IOPort hm2/hm2_7i76e.0: IO Pin 028 (P2-08): IOPort hm2/hm2_7i76e.0: IO Pin 029 (P2-09): IOPort hm2/hm2_7i76e.0: IO Pin 030 (P2-10): IOPort hm2/hm2_7i76e.0: IO Pin 031 (P2-11): IOPort hm2/hm2_7i76e.0: IO Pin 032 (P2-12): IOPort hm2/hm2_7i76e.0: IO Pin 033 (P2-13): IOPort hm2/hm2_7i76e.0: IO Pin 034 (P3-01): IOPort hm2/hm2_7i76e.0: IO Pin 035 (P3-14): IOPort hm2/hm2_7i76e.0: IO Pin 036 (P3-02): IOPort hm2/hm2_7i76e.0: IO Pin 037 (P3-15): IOPort hm2/hm2_7i76e.0: IO Pin 038 (P3-03): IOPort hm2/hm2_7i76e.0: IO Pin 039 (P3-16): IOPort hm2/hm2_7i76e.0: IO Pin 040 (P3-04): IOPort hm2/hm2_7i76e.0: IO Pin 041 (P3-17): IOPort hm2/hm2_7i76e.0: IO Pin 042 (P3-05): IOPort hm2/hm2_7i76e.0: IO Pin 043 (P3-06): IOPort hm2/hm2_7i76e.0: IO Pin 044 (P3-07): IOPort hm2/hm2_7i76e.0: IO Pin 045 (P3-08): IOPort hm2/hm2_7i76e.0: IO Pin 046 (P3-09): IOPort hm2/hm2_7i76e.0: IO Pin 047 (P3-10): IOPort hm2/hm2_7i76e.0: IO Pin 048 (P3-11): IOPort hm2/hm2_7i76e.0: IO Pin 049 (P3-12): IOPort hm2/hm2_7i76e.0: IO Pin 050 (P3-13): IOPort hm2/hm2_7i76e.0: registered hm2_eth: in hm2_eth_reset hm2_eth: HostMot2 ethernet 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 2856 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: http://pastebin.com in order to provide information about the linuxcnc system and configuration. Date: Thu 27 Aug 2020 09:13:08 PM EDT UTC Date: Fri 28 Aug 2020 01:13:08 AM UTC this program: /usr/bin/linuxcnc_info uptime: 21:13:08 up 3:04, 1 user, load average: 0.90, 0.99, 0.65 lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster which linuxcnc: /usr/bin/linuxcnc pwd: /home/forcedesigns/linuxcnc/configs/cnc_plasma USER: forcedesigns LOGNAME: forcedesigns HOME: /home/forcedesigns EDITOR: VISUAL: LANGUAGE: TERM: dumb COLORTERM: DISPLAY: :0.0 DESKTOP: lightdm-xsession display size: 1280x1024 pixels (338x270 millimeters) PATH: /usr/bin:/home/forcedesigns/linuxcnc/configs/cnc_plasma/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games uname items: nodename -n: forcedesigns kernel-name -s: Linux kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.132-1 (2020-07-24) 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-10-rt-amd64 root=UUID=3a2455eb-0f3b-4244-9f41-d79cad5e032f ro quiet model name: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz cores: 2 cpu MHz: 2567.106 parport: serial: 0000-0000 : serial 0000-0000 : serial Versions: gcc: gcc (Debian 8.3.0-6) 8.3.0 python: Python 2.7.16 git: git version 2.20.1 git commit: NA tcl: 8.6 tk: 8.6 glade: not_in_PATH glade-gtk2: not_in_PATH linuxcnc_var all: LINUXCNCVERSION: 2.9.0-pre0-2662-g3039a67a6 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 PYTHON: /usr/bin/python2.7 dpkg -l '*linuxcnc*': Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===================-============================-============-===================================================================== un linuxcnc <none> <none> (no description available) un linuxcnc-dev <none> <none> (no description available) un linuxcnc-doc <none> <none> (no description available) ii linuxcnc-doc-en 1:2.9.0~pre0.2638.gadd5f0b68 all motion controller for CNC machines and robots (English documentation) un linuxcnc-sim <none> <none> (no description available) un linuxcnc-sim-dev <none> <none> (no description available) ii linuxcnc-uspace 1:2.9.0~pre0.2662.g3039a67a6 amd64 motion controller for CNC machines and robots ii linuxcnc-uspace-dev 1:2.9.0~pre0.2662.g3039a67a6 amd64 PC based motion controller for real-time Linux

Please Log in to join the conversation.

More
6 years 2 months ago #179771 by Tesremos
i get this error when i try and run an actual.machine. and not a sim.

im unable to test on my machine other then simulations for now. i should be up and running for testing tommorrow. :(

Please Log in to join the conversation.

More
6 years 2 months ago #179776 by phillc54
The error message is telling you that the pin halui.machine.is-on is being used elsewhere.
The new PlasmaC.comp uses this pin to clear offsets.
You need to find where else it is being used and change that Hal file to suit.

Edit: comment out line 291 in cnc_plasma.hal
Code:
net machine-is-on halui.machine.is-on

Please Log in to join the conversation.

More
6 years 2 months ago #179790 by PurduePete
Got that corrected now. It runs a full program! Woohoo. Unfortunately it only will run 1 full program for every total restart of the computer. Odd but it's letting me limp by and get this job done.

It does the same thing where it will retract to home after the job is complete and then not move any further with no jog control. I also still get nan every once in a while and have to restart linuxcnc until it goes away.

Please Log in to join the conversation.

More
6 years 2 months ago #179791 by phillc54
Can you explain what is happening or not happening, I can run one gcode file several times and can load a new program and run that. I am using the config you posted last.

Any error messages in the terminal?

Edit: you need to switch to manual mode to jog.

Edit2: In cnc_plasma_connections.hal try commenting out this line:
Code:
setp plasmac.lowpass-frequency 2

Please Log in to join the conversation.

More
6 years 2 months ago #179794 by Tesremos
Purduepete's current configuration attached. lowpass is set to 50, debounce is 5,

how do i run his specific config as is, as a simulation? so i can poke and prod to see if i can get it to misbehave?
i was going to configure my 7i76e to match his setup 100% and try that to simulate his problem. (seems overkill but im half way to assembled)

Please Log in to join the conversation.

More
6 years 2 months ago #179865 by PurduePete
Phillc54, I actually thought it was all good. If I run a program it runs fine with the torch off. No issues. If stopped in the middle there are no problems. If it completes no issues starting another. But when a cut program is run with the torch on only that program will complete. Runs great the whole time for the most part, I'll circle back to this, but after that program it will only do the first cut and then will do what it has been doing not moving after pierce.

I did have an issue running some 3/16 plate. Was trying a few different things and bumped my lowpass to 50 from 2 and debounce to 5 from 50. Because the THC was a lot more responsive it dove at the end cut when it hit a pierce. After it did it 3 or 4 times it retracted to its safe height and would not allow jog or anything after killing the cut program. Required a computer reboot as well.

Please Log in to join the conversation.

More
6 years 2 months ago #179892 by phillc54

Tesremos wrote: Purduepete's current configuration attached. lowpass is set to 50, debounce is 5,

how do i run his specific config as is, as a simulation? so i can poke and prod to see if i can get it to misbehave?
i was going to configure my 7i76e to match his setup 100% and try that to simulate his problem. (seems overkill but im half way to assembled)


Use the attached simplified hal file instead of cnc_plasma.hal

<machine-name>_connections.ini file:
  • comment out all [JOINT_n] lines begining with HOME_SEARCH_VEL, HOME_LATCH_VEL & HOME_FINAL_VEL
  • uncomment everthing in the ini file [APPLICATIONS] section
  • add APP = halshow my.halshow to the [APPLICATIONS] section if I need to watch any pins

  • <machine-name>_connections.hal file, comment out all lines except:
    Code:
    loadrt debounce cfg=3 setp debounce.0.delay 5 addf debounce.0 servo-thread setp plasmac.lowpass-frequency 0 net plasmac:axis-position joint.3.pos-fb => plasmac.axis-z-position setp plasmac.multi-tool 0

    Please Log in to join the conversation.

    More
    6 years 2 months ago #179893 by phillc54

    PurduePete wrote: Phillc54, I actually thought it was all good. If I run a program it runs fine with the torch off. No issues. If stopped in the middle there are no problems. If it completes no issues starting another. But when a cut program is run with the torch on only that program will complete. Runs great the whole time for the most part, I'll circle back to this, but after that program it will only do the first cut and then will do what it has been doing not moving after pierce.

    I did have an issue running some 3/16 plate. Was trying a few different things and bumped my lowpass to 50 from 2 and debounce to 5 from 50. Because the THC was a lot more responsive it dove at the end cut when it hit a pierce. After it did it 3 or 4 times it retracted to its safe height and would not allow jog or anything after killing the cut program. Required a computer reboot as well.

    Why are you changing the debounce value and the lowpass value. Are you taking Halscope readings that show this is required. Everyone I know uses the default values of lowpass = 0 and debounce = 5 which work well unless you have some electrical noise. A frequency of 2Hz seems a very odd number for lowpass and a debounce of 50 seems quite high. I am thinking that maybe you have electrical noise issues that you need to find. This may also have a bearing on the NaN reading that you occasionally get, I have not heard of that on any config I know about.

    Please Log in to join the conversation.

    Time to create page: 0.213 seconds
    Powered by Kunena Forum