7i96 with stepper motors

More
4 years 7 months ago #236897 by Nate
good afternoon i was wondering if anyone could tell me why i can jog in all directions but when i tell it to home nothing happens

Please Log in to join the conversation.

More
4 years 7 months ago #236903 by BigJohnT
Replied by BigJohnT on topic 7i96 with stepper motors
You might try my 7i96 Configuration Tool.
gnipsel.com/mesa/7i96/index.html

JT

Please Log in to join the conversation.

More
4 years 7 months ago #236904 by andypugh
Replied by andypugh on topic 7i96 with stepper motors

good afternoon i was wondering if anyone could tell me why i can jog in all directions but when i tell it to home nothing happens
 
I think this is because all the joints have a HOME_SEQUENCE of 2. HOME_SEQUENCE needs to start at -1, 0 or 1. 

Please Log in to join the conversation.

More
4 years 7 months ago #237208 by Nate
Replied by Nate on topic 7i96 with stepper motors
good morning i got that fixed now when i open up my plasmac i get this error report can you help me solve it?

Please Log in to join the conversation.

More
4 years 7 months ago #237213 by tommylight
Replied by tommylight on topic 7i96 with stepper motors
What error?

Please Log in to join the conversation.

More
4 years 7 months ago #237214 by Nate
Replied by Nate on topic 7i96 with stepper motors
sorry it did not post the error report

Please Log in to join the conversation.

More
4 years 7 months ago #237215 by Nate
Replied by Nate on topic 7i96 with stepper motors
lets try this again

Please Log in to join the conversation.

More
4 years 7 months ago #237216 by Nate
Replied by Nate on topic 7i96 with stepper motors
not letting me insert report file so i will try this way


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~pre1
Machine configuration directory is '/home/nathan/linuxcnc/configs/plasmac'
Machine configuration file is 'plasmac.ini'
INIFILE=/home/nathan/linuxcnc/configs/plasmac/plasmac.ini
VERSION=1.1
PARAMETER_FILE=imperial_parameters.txt
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
twopass:invoked with <> options
twopass:found ./plasmac.hal
twopass:found ./plasmac.tcl
twopass:found ./plasmac_connections.hal

twopass: load_the_modules cmd=<orig_loadrt motmod servo_period_nsec=1000000 num_joints=3 {num_spindles=3 3}>
waitpid failed /usr/bin/rtapi_app motmod
/usr/bin/rtapi_app exited without becoming ready
insmod for motmod failed, returned -1

Shutting down and cleaning up LinuxCNC...
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: Hardware address: 00:60:1b:16:01:99
hm2_eth: discovered 7I96
hm2/hm2_7i96.0: Smart Serial Firmware Version 43
hm2/hm2_7i96.0: 51 I/O Pins used:
hm2/hm2_7i96.0:     IO Pin 000 (TB3-01): IOPort
hm2/hm2_7i96.0:     IO Pin 001 (TB3-02): IOPort
hm2/hm2_7i96.0:     IO Pin 002 (TB3-03): IOPort
hm2/hm2_7i96.0:     IO Pin 003 (TB3-04): IOPort
hm2/hm2_7i96.0:     IO Pin 004 (TB3-05): IOPort
hm2/hm2_7i96.0:     IO Pin 005 (TB3-06): IOPort
hm2/hm2_7i96.0:     IO Pin 006 (TB3-07): IOPort
hm2/hm2_7i96.0:     IO Pin 007 (TB3-08): IOPort
hm2/hm2_7i96.0:     IO Pin 008 (TB3-09): IOPort
hm2/hm2_7i96.0:     IO Pin 009 (TB3-10): IOPort
hm2/hm2_7i96.0:     IO Pin 010 (TB3-11): IOPort
hm2/hm2_7i96.0:     IO Pin 011 (TB3-13/TB3-14): SSR #0, pin Out-00 (Output)
hm2/hm2_7i96.0:     IO Pin 012 (TB3-15/TB3-16): SSR #0, pin Out-01 (Output)
hm2/hm2_7i96.0:     IO Pin 013 (TB3-17/TB3-18): SSR #0, pin Out-02 (Output)
hm2/hm2_7i96.0:     IO Pin 014 (TB3-19/TB3-20): SSR #0, pin Out-03 (Output)
hm2/hm2_7i96.0:     IO Pin 015 (TB3-21/TB3-22): SSR #0, pin Out-04 (Output)
hm2/hm2_7i96.0:     IO Pin 016 (TB3-23/TB3-24): SSR #0, pin Out-05 (Output)
hm2/hm2_7i96.0:     IO Pin 017 (TB1-02/TB1-03): StepGen #0, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 018 (TB1-04/TB1-05): StepGen #0, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 019 (TB1-08/TB1-09): StepGen #1, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 020 (TB1-10/TB1-11): StepGen #1, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 021 (TB1-14/TB1-15): StepGen #2, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 022 (TB1-16/TB1-17): StepGen #2, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 023 (TB1-20/TB1-21): StepGen #3, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 024 (TB1-22-TB1-23): StepGen #3, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 025 (TB2-01/TB2-03): StepGen #4, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 026 (TB2-04/TB2-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 027 (TB2-07/TB2-08): Encoder #0, pin A (Input)
hm2/hm2_7i96.0:     IO Pin 028 (TB2-10/TB2-11): Encoder #0, pin B (Input)
hm2/hm2_7i96.0:     IO Pin 029 (TB2-13/TB2-14): Encoder #0, pin Index (Input)
hm2/hm2_7i96.0:     IO Pin 030 (TB2-16/TB2-17): IOPort
hm2/hm2_7i96.0:     IO Pin 031 (TB2-18/TB2-19): IOPort
hm2/hm2_7i96.0:     IO Pin 032 (internal): IOPort
hm2/hm2_7i96.0:     IO Pin 033 (internal): SSR #0, pin AC Ref (internal) (Output)
hm2/hm2_7i96.0:     IO Pin 034 (P1-01): IOPort
hm2/hm2_7i96.0:     IO Pin 035 (P1-02): IOPort
hm2/hm2_7i96.0:     IO Pin 036 (P1-03): IOPort
hm2/hm2_7i96.0:     IO Pin 037 (P1-04): IOPort
hm2/hm2_7i96.0:     IO Pin 038 (P1-05): IOPort
hm2/hm2_7i96.0:     IO Pin 039 (P1-06): IOPort
hm2/hm2_7i96.0:     IO Pin 040 (P1-07): IOPort
hm2/hm2_7i96.0:     IO Pin 041 (P1-08): IOPort
hm2/hm2_7i96.0:     IO Pin 042 (P1-09): IOPort
hm2/hm2_7i96.0:     IO Pin 043 (P1-11): IOPort
hm2/hm2_7i96.0:     IO Pin 044 (P1-13): IOPort
hm2/hm2_7i96.0:     IO Pin 045 (P1-15): IOPort
hm2/hm2_7i96.0:     IO Pin 046 (P1-17): IOPort
hm2/hm2_7i96.0:     IO Pin 047 (P1-19): IOPort
hm2/hm2_7i96.0:     IO Pin 048 (P1-21): IOPort
hm2/hm2_7i96.0:     IO Pin 049 (P1-23): IOPort
hm2/hm2_7i96.0:     IO Pin 050 (P1-25): IOPort
hm2/hm2_7i96.0: registered
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
`3 3' invalid for parameter `num_spindles=3 3'30780
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: Mon Mar 14 09:08:29 MDT 2022
            UTC Date: Mon Mar 14 15:08:29 UTC 2022
        this program: /usr/bin/linuxcnc_info
              uptime: 09:08:29 up 3 days, 22:14, 1 user, load average: 0.16, 0.32, 0.24
     lsb_release -sa: LinuxMint Linuxcnc Uspace Powered by Linux Mint 19.2 Tina 19.2 tina
      which linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/nathan/linuxcnc/configs/plasmac
                USER: nathan
             LOGNAME: nathan
                HOME: /home/nathan
              EDITOR:
              VISUAL:
            LANGUAGE: en_US
                TERM: dumb
           COLORTERM:
             DISPLAY: :0
             DESKTOP: mate
        display size: 1280x800 pixels (338x211 millimeters)
                PATH: /usr/bin:/home/nathan/linuxcnc/configs/plasmac/bin:/usr/bin:/home/nathan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

uname items:
         nodename -n: nathan-LifeBook-T5010
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT RT Thu Mar 5 00:02:34 AEDT 2020
          machine -m: x86_64
        processor -p: x86_64
         platform -i: x86_64
      oper system -o: GNU/Linux

/proc items:
             cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.106-rt44-lcnc root=UUID=c74e3fa1-d9ad-4823-8533-d942bb41472e ro quiet splash vt.handoff=1
          model name: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
               cores: 2
             cpu MHz: 1595.975
             parport:
              serial: 0000-0000 : serial

Versions:
                 gcc: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
              python: Python 2.7.17
                 git: git version 2.17.1
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH
          glade-gtk2: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.8.0~pre1
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*':
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.8.0~pre1.5853.g0eab7e707 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.8.0~pre1.5853.g0eab7e707 amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.8.0~pre1.5853.g0eab7e707 amd64        PC based motion controller for real-time Linux

 

Please Log in to join the conversation.

More
4 years 7 months ago #237220 by tommylight
Replied by tommylight on topic 7i96 with stepper motors
From the error:
Code:
twopass: load_the_modules cmd=<orig_loadrt motmod servo_period_nsec=1000000 num_joints=3 {num_spindles=3 3}>
The brackets around spindle num are not allowed, and only one of 3 is OK so delete the second one.
That is in the beginning of the .hal file.

Please Log in to join the conversation.

More
4 years 7 months ago #237228 by Nate
Replied by Nate on topic 7i96 with stepper motors
here is my files i am not finding that

Attachment not found

Please Log in to join the conversation.

Time to create page: 0.303 seconds
Powered by Kunena Forum