Re:5i20 + 7i52s + 7i37TA -> change the IO Pins

More
02 Oct 2017 20:21 #99782 by neodym
Good news. The modification of the 7i52s works fine. The 7i73 connects itself after the start of Linuxcnc and shows standby with blinking green LED. The 2xStep/Dir and 1xPWM/Dir also bring correct signals. After that the conversion of the 7i52s and the self-compiled firmware was a complete success.

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

More
02 Oct 2017 20:40 - 02 Oct 2017 20:41 #99784 by andypugh
Well done, that's a pretty ambitious bit of hacking. (And it's rather cool that the drivers knew what to do)
Last edit: 02 Oct 2017 20:41 by andypugh.

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

More
15 Sep 2022 11:09 - 15 Sep 2022 11:16 #251987 by BeWerk
HelloI also have the combination 5i20 + 7i52s + 2x 7i37TA. This runs so far. But as soon as I add an encoder (x, y, or z axis), LinuxCNC stops with an error message. I have set all the jumpers on the card to TTL.

LinuxCNC gives the following error message:
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.3
Machine configuration directory is '/home/cnc/linuxcnc/configs/LinuxCNC-5i20-Axis'
Machine configuration file is 'LinuxCNC-5i20-Axis.ini'
INIFILE=/home/cnc/linuxcnc/configs/LinuxCNC-5i20-Axis/LinuxCNC-5i20-Axis.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): ./LinuxCNC-5i20-Axis.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i20 at 0000:04:01.0
hm2/hm2_5i20.0: Low Level init 0.15
hm2/hm2_5i20.0: 72 I/O Pins used:
hm2/hm2_5i20.0:     IO Pin 000 (P2-01): IOPort
hm2/hm2_5i20.0:     IO Pin 001 (P2-03): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_5i20.0:     IO Pin 002 (P2-05): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_5i20.0:     IO Pin 003 (P2-07): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_5i20.0:     IO Pin 004 (P2-09): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_5i20.0:     IO Pin 005 (P2-11): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_5i20.0:     IO Pin 006 (P2-13): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_5i20.0:     IO Pin 007 (P2-15): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_5i20.0:     IO Pin 008 (P2-17): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_5i20.0:     IO Pin 009 (P2-19): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_5i20.0:     IO Pin 010 (P2-21): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_5i20.0:     IO Pin 011 (P2-23): StepGen #5, pin Step (Output)
hm2/hm2_5i20.0:     IO Pin 012 (P2-25): StepGen #5, pin Direction (Output)
hm2/hm2_5i20.0:     IO Pin 013 (P2-27): StepGen #4, pin Step (Output)
hm2/hm2_5i20.0:     IO Pin 014 (P2-29): StepGen #4, pin Direction (Output)
hm2/hm2_5i20.0:     IO Pin 015 (P2-31): StepGen #3, pin Step (Output)
hm2/hm2_5i20.0:     IO Pin 016 (P2-33): StepGen #3, pin Direction (Output)
hm2/hm2_5i20.0:     IO Pin 017 (P2-35): StepGen #2, pin Step (Output)
hm2/hm2_5i20.0:     IO Pin 018 (P2-37): StepGen #2, pin Direction (Output)
hm2/hm2_5i20.0:     IO Pin 019 (P2-39): StepGen #1, pin Step (Output)
hm2/hm2_5i20.0:     IO Pin 020 (P2-41): StepGen #1, pin Direction (Output)
hm2/hm2_5i20.0:     IO Pin 021 (P2-43): StepGen #0, pin Step (Output)
hm2/hm2_5i20.0:     IO Pin 022 (P2-45): StepGen #0, pin Direction (Output)
hm2/hm2_5i20.0:     IO Pin 023 (P2-47): IOPort
hm2/hm2_5i20.0:     IO Pin 024 (P3-01): IOPort
hm2/hm2_5i20.0:     IO Pin 025 (P3-03): IOPort
hm2/hm2_5i20.0:     IO Pin 026 (P3-05): IOPort
hm2/hm2_5i20.0:     IO Pin 027 (P3-07): IOPort
hm2/hm2_5i20.0:     IO Pin 028 (P3-09): IOPort
hm2/hm2_5i20.0:     IO Pin 029 (P3-11): IOPort
hm2/hm2_5i20.0:     IO Pin 030 (P3-13): IOPort
hm2/hm2_5i20.0:     IO Pin 031 (P3-15): IOPort
hm2/hm2_5i20.0:     IO Pin 032 (P3-17): IOPort
hm2/hm2_5i20.0:     IO Pin 033 (P3-19): IOPort
hm2/hm2_5i20.0:     IO Pin 034 (P3-21): IOPort
hm2/hm2_5i20.0:     IO Pin 035 (P3-23): IOPort
hm2/hm2_5i20.0:     IO Pin 036 (P3-25): IOPort
hm2/hm2_5i20.0:     IO Pin 037 (P3-27): IOPort
hm2/hm2_5i20.0:     IO Pin 038 (P3-29): IOPort
hm2/hm2_5i20.0:     IO Pin 039 (P3-31): IOPort
hm2/hm2_5i20.0:     IO Pin 040 (P3-33): IOPort
hm2/hm2_5i20.0:     IO Pin 041 (P3-35): IOPort
hm2/hm2_5i20.0:     IO Pin 042 (P3-37): IOPort
hm2/hm2_5i20.0:     IO Pin 043 (P3-39): IOPort
hm2/hm2_5i20.0:     IO Pin 044 (P3-41): IOPort
hm2/hm2_5i20.0:     IO Pin 045 (P3-43): IOPort
hm2/hm2_5i20.0:     IO Pin 046 (P3-45): IOPort
hm2/hm2_5i20.0:     IO Pin 047 (P3-47): IOPort
hm2/hm2_5i20.0:     IO Pin 048 (P4-01): IOPort
hm2/hm2_5i20.0:     IO Pin 049 (P4-03): IOPort
hm2/hm2_5i20.0:     IO Pin 050 (P4-05): IOPort
hm2/hm2_5i20.0:     IO Pin 051 (P4-07): IOPort
hm2/hm2_5i20.0:     IO Pin 052 (P4-09): IOPort
hm2/hm2_5i20.0:     IO Pin 053 (P4-11): IOPort
hm2/hm2_5i20.0:     IO Pin 054 (P4-13): IOPort
hm2/hm2_5i20.0:     IO Pin 055 (P4-15): IOPort
hm2/hm2_5i20.0:     IO Pin 056 (P4-17): IOPort
hm2/hm2_5i20.0:     IO Pin 057 (P4-19): IOPort
hm2/hm2_5i20.0:     IO Pin 058 (P4-21): IOPort
hm2/hm2_5i20.0:     IO Pin 059 (P4-23): IOPort
hm2/hm2_5i20.0:     IO Pin 060 (P4-25): IOPort
hm2/hm2_5i20.0:     IO Pin 061 (P4-27): IOPort
hm2/hm2_5i20.0:     IO Pin 062 (P4-29): IOPort
hm2/hm2_5i20.0:     IO Pin 063 (P4-31): IOPort
hm2/hm2_5i20.0:     IO Pin 064 (P4-33): IOPort
hm2/hm2_5i20.0:     IO Pin 065 (P4-35): IOPort
hm2/hm2_5i20.0:     IO Pin 066 (P4-37): IOPort
hm2/hm2_5i20.0:     IO Pin 067 (P4-39): IOPort
hm2/hm2_5i20.0:     IO Pin 068 (P4-41): IOPorShutting down and cleaning up LinuxCNC...
Running HAL shutdown script
t
hm2/hm2_5i20.0:     IO Pin 069 (P4-43): IOPort
hm2/hm2_5i20.0:     IO Pin 070 (P4-45): IOPort
hm2/hm2_5i20.0:     IO Pin 071 (P4-47): IOPort
hm2/hm2_5i20.0: registered
hm2_5i20.0: initialized AnyIO board at 0000:04:01.0
hm2_5i20.0: dropping AnyIO board at 0000:04:01.0
hm2/hm2_5i20.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
./LinuxCNC-5i20-Axis.hal:103: Signal 'x-pos-fb' can not add OUT pin 'hm2_5i20.0.encoder.01.position', it already has OUT pin 'hm2_5i20.0.stepgen.00.position-fb'
827
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7f09527e0000
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: Do Sep 15 11:31:57 CEST 2022
            UTC Date: Do Sep 15 09:31:57 UTC 2022
        this program: /usr/bin/linuxcnc_info
              uptime: 11:31:57 up 3 min, 1 user, load average: 0.35, 0.20, 0.08
     lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
      which linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/cnc/linuxcnc/configs/LinuxCNC-5i20-Axis
                USER: cnc
             LOGNAME: cnc
                HOME: /home/cnc
              EDITOR:
              VISUAL:
            LANGUAGE: de_CH:de
                TERM: dumb
           COLORTERM:
             DISPLAY: :0.0
             DESKTOP: lightdm-xsession
        display size: 1920x1200 pixels (508x317 millimeters)
                PATH: /usr/bin:/home/cnc/linuxcnc/configs/LinuxCNC-5i20-Axis/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: LinuxCNC
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.249-2 (2022-06-30)
          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-21-rt-amd64 root=UUID=87a5b284-9e7c-48e1-8a7e-d5c34ffe854b ro quiet
          model name: Intel(R) Pentium(R) Dual CPU E2140 @ 1.60GHz
               cores: 2
             cpu MHz: 1224.818
             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: not_in_PATH
          glade-gtk2: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.8.3
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-en     1:2.8.3      all          motion controller for CNC machines and robots (English documentation)
ii  linuxcnc-doc-es     1:2.8.3      all          controlador de movimiento para máquinas CNC y robots (Español).
ii  linuxcnc-doc-fr     1:2.8.3      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.3      amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.8.3      amd64        PC based motion controller for real-time Linux
This is the content of the ini:
# Erstellt von PNCconf am Wed Sep 14 18:39:56 2022
# Using LinuxCNC version:  2.8
# Änderungen an dieser Datei werden beim nächsten
# overwritten when you run PNCconf again

[EMC]
MACHINE = LinuxCNC-5i20-Axis
DEBUG = 0
VERSION = 1.1

[DISPLAY]
DISPLAY = axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 1.000000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 6.000000
MAX_LINEAR_VELOCITY = 25.000000
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
EDITOR = gedit
GEOMETRY = xyz

[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[RS274NGC]
PARAMETER_FILE = linuxcnc.var
RS274NGC_STARTUP_CODE = G21 G40 G90 G94 G97 G64 P0.025

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
SERVO_PERIOD = 1000000

[HMOT]
# **** This is for info only ****
CARD0=hm2_5i20.0

[HAL]
HALUI = halui
HALFILE = LinuxCNC-5i20-Axis.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal
SHUTDOWN = shutdown.hal

[HALUI]

[KINS]
JOINTS = 3
KINEMATICS = trivkins coordinates=XYZ

[TRAJ]
COORDINATES =  XYZ
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 2.50
MAX_LINEAR_VELOCITY = 25.00

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

#******************************************
[AXIS_X]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -0.01
MAX_LIMIT = 400.0

[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 31.25
STEPGEN_MAXACCEL = 937.50
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
ENCODER_SCALE = 1000.0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = 1000.0
MIN_LIMIT = -0.01
MAX_LIMIT = 400.0
HOME_OFFSET = 0.0
#******************************************

#******************************************
[AXIS_Y]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -0.01
MAX_LIMIT = 700.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 31.25
STEPGEN_MAXACCEL = 937.50
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = 1000.0
MIN_LIMIT = -0.01
MAX_LIMIT = 700.0
HOME_OFFSET = 0.0
#******************************************

#******************************************
[AXIS_Z]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -100.0
MAX_LIMIT = 90.0

[JOINT_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 31.25
STEPGEN_MAXACCEL = 937.50
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = 1000.0
MIN_LIMIT = -100.0
MAX_LIMIT = 90.0
HOME_OFFSET = 0.0
#******************************************

[SPINDLE_0]
MAX_VELOCITY = 2000.0
MAX_ACCELERATION = 300.0
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 2500.00
STEPGEN_MAXACCEL = 375.00
P = 0.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 2000.0
ENCODER_SCALE = 1000.0
# these are in nanoseconds
DIRSETUP   = 10000
DIRHOLD    = 10000
STEPLEN    = 5000
STEPSPACE  = 5000
STEP_SCALE = 1000.0
And this is what the console outputs:
cnc@LinuxCNC:~$ sudo mesaflash --device 5i20 --readhmid
[sudo] Passwort für cnc:
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA5I20
  FPGA Size: 200 KGates
  FPGA Pins: 208
  Number of IO Ports: 3
  Width of one I/O port: 24
  Clock Low frequency: 33.3333 MHz
  Clock High frequency: 100.0000 MHz
  IDROM Type: 3
  Instance Stride 0: 4
  Instance Stride 1: 64
  Register Stride 0: 256
  Register Stride 1: 256

Modules in configuration:

  Module: WatchDog
  There are 1 of WatchDog in configuration
  Version: 0
  Registers: 3
  BaseAddress: 0C00
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: IOPort
  There are 3 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: MuxedQCount
  There are 6 of MuxedQCount in configuration
  Version: 3
  Registers: 5
  BaseAddress: 3500
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: MuxedQCountSel
  There are 1 of MuxedQCountSel in configuration
  Version: 0
  Registers: 0
  BaseAddress: 0000
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: StepGen
  There are 6 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: LED
  There are 1 of LED in configuration
  Version: 0
  Registers: 1
  BaseAddress: 0200
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for P2
Pin#                  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1                      0   IOPort       None           
 3                      1   IOPort       MuxedQCount      0        MuxQ-A          (In)
 5                      2   IOPort       MuxedQCount      0        MuxQ-B          (In)
 7                      3   IOPort       MuxedQCount      0        MuxQ-IDX        (In)
 9                      4   IOPort       MuxedQCount      1        MuxQ-A          (In)
11                      5   IOPort       MuxedQCount      1        MuxQ-B          (In)
13                      6   IOPort       MuxedQCount      1        MuxQ-IDX        (In)
15                      7   IOPort       MuxedQCount      2        MuxQ-A          (In)
17                      8   IOPort       MuxedQCount      2        MuxQ-B          (In)
19                      9   IOPort       MuxedQCount      2        MuxQ-IDX        (In)
21                     10   IOPort       MuxedQCountSel   0        MuxSel0         (Out)
23                     11   IOPort       StepGen          5        Step/Table1     (Out)
25                     12   IOPort       StepGen          5        Dir/Table2      (Out)
27                     13   IOPort       StepGen          4        Step/Table1     (Out)
29                     14   IOPort       StepGen          4        Dir/Table2      (Out)
31                     15   IOPort       StepGen          3        Step/Table1     (Out)
33                     16   IOPort       StepGen          3        Dir/Table2      (Out)
35                     17   IOPort       StepGen          2        Step/Table1     (Out)
37                     18   IOPort       StepGen          2        Dir/Table2      (Out)
39                     19   IOPort       StepGen          1        Step/Table1     (Out)
41                     20   IOPort       StepGen          1        Dir/Table2      (Out)
43                     21   IOPort       StepGen          0        Step/Table1     (Out)
45                     22   IOPort       StepGen          0        Dir/Table2      (Out)
47                     23   IOPort       None           

IO Connections for P3
Pin#                  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1                     24   IOPort       None           
 3                     25   IOPort       None           
 5                     26   IOPort       None           
 7                     27   IOPort       None           
 9                     28   IOPort       None           
11                     29   IOPort       None           
13                     30   IOPort       None           
15                     31   IOPort       None           
17                     32   IOPort       None           
19                     33   IOPort       None           
21                     34   IOPort       None           
23                     35   IOPort       None           
25                     36   IOPort       None           
27                     37   IOPort       None           
29                     38   IOPort       None           
31                     39   IOPort       None           
33                     40   IOPort       None           
35                     41   IOPort       None           
37                     42   IOPort       None           
39                     43   IOPort       None           
41                     44   IOPort       None           
43                     45   IOPort       None           
45                     46   IOPort       None           
47                     47   IOPort       None           

IO Connections for P4
Pin#                  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1                     48   IOPort       None           
 3                     49   IOPort       None           
 5                     50   IOPort       None           
 7                     51   IOPort       None           
 9                     52   IOPort       None           
11                     53   IOPort       None           
13                     54   IOPort       None           
15                     55   IOPort       None           
17                     56   IOPort       None           
19                     57   IOPort       None           
21                     58   IOPort       None           
23                     59   IOPort       None           
25                     60   IOPort       None           
27                     61   IOPort       None           
29                     62   IOPort       None           
31                     63   IOPort       None           
33                     64   IOPort       None           
35                     65   IOPort       None           
37                     66   IOPort       None           
39                     67   IOPort       None           
41                     68   IOPort       None           
43                     69   IOPort       None           
45                     70   IOPort       None           
47                     71   IOPort       None          
Does anyone have any idea what the problem is?
Last edit: 15 Sep 2022 11:16 by BeWerk.

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

More
15 Sep 2022 11:42 #251994 by tommylight
In your hal file, lines containing this 'hm2_5i20.0.stepgen.00.position-fb' should be omitted for all axis/joints that are using encoder feedback.
The following user(s) said Thank You: BeWerk

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

More
15 Sep 2022 13:04 #251996 by BeWerk
Great, thank you. Now the interface starts.
The following user(s) said Thank You: tommylight

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

Moderators: cmorley
Time to create page: 0.097 seconds
Powered by Kunena Forum