Mesa 7i96S +7i84D + 7i85
22 Jul 2024 10:45 #305846
by Walkahz
Mesa 7i96S +7i84D + 7i85 was created by Walkahz
Hi everyone
I have just added a 7i85 to my existing 7i96s and 7i84d combo.
This will allow me to run the existing linear encoders on my deckel when combined with the exe boxes i have also purchased and most importantly give myself a home reference.
Servos drivers are of the Step + Dir variety which i have had running prior to these add ons.
Had an initial issue with adding 5v power to the 7i85 causing the 7i96 to not power up but after re-read of the manual have removed this which seems to have fixed the issue.
I reflashed the firmware as required.
My configuration was redone in pncconf and i pulled the format from the card for the additional encoders added by the 7i85.
I added a couple of test encoders to the config. This however has caused an issue on startup where it says there are 2 encoder pins (see below) I must have a double up now due to the pulse+dir effectively also having its own calculated encoder.
Do i need to remove these existing ones in HAL or have i missed something in PNCCONF?
See below error file.
I have just added a 7i85 to my existing 7i96s and 7i84d combo.
This will allow me to run the existing linear encoders on my deckel when combined with the exe boxes i have also purchased and most importantly give myself a home reference.
Servos drivers are of the Step + Dir variety which i have had running prior to these add ons.
Had an initial issue with adding 5v power to the 7i85 causing the 7i96 to not power up but after re-read of the manual have removed this which seems to have fixed the issue.
I reflashed the firmware as required.
My configuration was redone in pncconf and i pulled the format from the card for the additional encoders added by the 7i85.
I added a couple of test encoders to the config. This however has caused an issue on startup where it says there are 2 encoder pins (see below) I must have a double up now due to the pulse+dir effectively also having its own calculated encoder.
Do i need to remove these existing ones in HAL or have i missed something in PNCCONF?
See below error file.
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.1
Machine configuration directory is '/home/josh/linuxcnc/configs/Deckel'
Machine configuration file is 'Deckel.ini'
INIFILE=/home/josh/linuxcnc/configs/Deckel/Deckel.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
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
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./Deckel.hal
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:16:87:b1
hm2_eth: discovered 7I96S
hm2/hm2_7i96s.0: Low Level init 0.15
hm2/hm2_7i96s.0: Smart Serial Firmware Version 43
Board hm2_7i96s.0.7i84.0.0 Hardware Mode 0 = standard
Board hm2_7i96s.0.7i84.0.0 Software Mode 0 = input_output
Board hm2_7i96s.0.7i84.0.0 Software Mode 1 = io_analog_fieldvoltage
Board hm2_7i96s.0.7i84.0.0 Software Mode 2 = io_encoder_analog
hm2/hm2_7i96s.0: 51 I/O Pins used:
hm2/hm2_7i96s.0: IO Pin 000 (TB3-01): InM Input Module #0, pin in0 (Input)
hm2/hm2_7i96s.0: IO Pin 001 (TB3-02): InM Input Module #0, pin in1 (Input)
hm2/hm2_7i96s.0: IO Pin 002 (TB3-03): InM Input Module #0, pin in2 (Input)
hm2/hm2_7i96s.0: IO Pin 003 (TB3-04): InM Input Module #0, pin in3 (Input)
hm2/hm2_7i96s.0: IO Pin 004 (TB3-05): InM Input Module #0, pin in4 (Input)
hm2/hm2_7i96s.0: IO Pin 005 (TB3-06): InM Input Module #0, pin in5 (Input)
hm2/hm2_7i96s.0: IO Pin 006 (TB3-07): InM Input Module #0, pin in6 (Input)
hm2/hm2_7i96s.0: IO Pin 007 (TB3-08): InM Input Module #0, pin in7 (Input)
hm2/hm2_7i96s.0: IO Pin 008 (TB3-09): InM Input Module #0, pin in8 (Input)
hm2/hm2_7i96s.0: IO Pin 009 (TB3-10): InM Input Module #0, pin in9 (Input)
hm2/hm2_7i96s.0: IO Pin 010 (TB3-11): InM Input Module #0, pin in10 (Input)
hm2/hm2_7i96s.0: IO Pin 011 (TB3-13/TB3-14): SSR #0, pin Out-00 (Output)
hm2/hm2_7i96s.0: IO Pin 012 (TB3-15/TB3-16): SSR #0, pin Out-01 (Output)
hm2/hm2_7i96s.0: IO Pin 013 (TB3-17/TB3-18): SSR #0, pin Out-02 (Output)
hm2/hm2_7i96s.0: IO Pin 014 (TB3-19/TB3-20): SSR #0, pin Out-03 (Output)
hm2/hm2_7i96s.0: IO Pin 015 (TB3-21/TB3-22): OutM Output Module #0, pin Out-04 (Output)
hm2/hm2_7i96s.0: IO Pin 016 (TB3-23/TB3-24): OutM Output Module #0, pin Out-05 (Output)
hm2/hm2_7i96s.0: IO Pin 017 (TB1-02/TB1-03): StepGen #0, pin Step (Output)
hm2/hm2_7i96s.0: IO Pin 018 (TB1-04/TB1-05): StepGen #0, pin Direction (Output)
hm2/hm2_7i96s.0: IO Pin 019 (TB1-08/TB1-09): StepGen #1, pin Step (Output)
hm2/hm2_7i96s.0: IO Pin 020 (TB1-10/TB1-11): StepGen #1, pin Direction (Output)
hm2/hm2_7i96s.0: IO Pin 021 (TB1-14/TB1-15): StepGen #2, pin Step (Output)
hm2/hm2_7i96s.0: IO Pin 022 (TB1-16/TB1-17): StepGen #2, pin Direction (Output)
hm2/hm2_7i96s.0: IO Pin 023 (TB1-20/TB1-21): StepGen #3, pin Step (Output)
hm2/hm2_7i96s.0: IO Pin 024 (TB1-22-TB1-23): StepGen #3, pin Direction (Output)
hm2/hm2_7i96s.0: IO Pin 025 (TB2-02/TB2-03): StepGen #4, pin Step (Output)
hm2/hm2_7i96s.0: IO Pin 026 (TB2-04/TB2-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i96s.0: IO Pin 027 (TB2-07/TB2-08): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_7i96s.0: IO Pin 028 (TB2-10/TB2-11): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_7i96s.0: IO Pin 029 (TB2-13/TB2-14): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_7i96s.0: IO Pin 030 (TB2-16/TB2-17): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_7i96s.0: IO Pin 031 (TB2-18/TB2-19): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_7i96s.0: IO Pin 032 (internal): Smart Serial Interface #0, pin txen0 (Output)
hm2/hm2_7i96s.0: IO Pin 033 (internal): SSR #0, pin AC Ref (internal) (Output)
hm2/hm2_7i96s.0: IO Pin 034 (P1-01/DB25-01): IOPort
hm2/hm2_7i96s.0: IO Pin 035 (P1-02/DB25-14): IOPort
hm2/hm2_7i96s.0: IO Pin 036 (P1-03/DB25-02): IOPort
hm2/hm2_7i96s.0: IO Pin 037 (P1-04/DB25-15): IOPort
hm2/hm2_7i96s.0: IO Pin 038 (P1-05/DB25-03): IOPort
hm2/hm2_7i96s.0: IO Pin 039 (P1-06/DB25-16): IOPort
hm2/hm2_7i96s.0: IO Pin 040 (P1-07/DB25-04): IOPort
hm2/hm2_7i96s.0: IO Pin 041 (P1-08/DB25-17): IOPort
hm2/hm2_7i96s.0: IO Pin 042 (P1-09/DB25-05): IOPort
hm2/hm2_7i96s.0: IO Pin 043 (P1-11/DB25-06): IOPort
hm2/hm2_7i96s.0: IO Pin 044 (P1-13/DB25-07): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i96s.0: IO Pin 045 (P1-15/DB25-08): Muxed Encoder Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
#0, pin Muxed A (Input)
hm2/hm2_7i96s.0: IO Pin 046 (P1-17/DB25-09): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i96s.0: IO Pin 047 (P1-19/DB25-10): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i96s.0: IO Pin 048 (P1-21/DB25-11): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_7i96s.0: IO Pin 049 (P1-23/DB25-12): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_7i96s.0: IO Pin 050 (P1-25/DB25-13): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_7i96s.0: registered
creating ladder-state
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
./Deckel.hal:148: Signal 'x-pos-fb' can not add OUT pin 'hm2_7i96s.0.encoder.01.position', it already has OUT pin 'hm2_7i96s.0.stepgen.00.position-fb'
18098
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6219
22 Jul 2024 12:33 #305853
by tommylight
Replied by tommylight on topic Mesa 7i96S +7i84D + 7i85
Edit the hal file and omit or delete the lines containing stepgen feedback.
The following user(s) said Thank You: Walkahz
Please Log in or Create an account to join the conversation.
Time to create page: 0.068 seconds