On 9/20/22 13:10, Alan Condit wrote:
I think I may be confused in Pncconf with the settings differences between the 
5i25/7i76 and the 7i76e.
I am not getting any step/dir output on the TB2 connections. I chose Connector 
1 in Pncconf. Is that the correct place to set the STEP/DIR stuff for TB2??

I doubt it. If you are talking over ethernet, direct to a 7i76e, the pin assigments are going to be totally different. I don't have an e version in my coral, but I'd first verify its actually talking to your e, by looking at the terminal screen while launching linuxcnc. You should see, as things are being initialized, something
that resembles this but ignore the 5i25 stuffs:
gene@GO704:~$ linuxcnc -l
LINUXCNC - 2.9.0-pre0-7806-g962186858
Machine configuration directory is '/home/gene/linuxcnc/configs/GO704-5i25-7i76'
Machine configuration file is 'GO704-5i25-7i76.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
twopass:invoked with <> options
twopass:found ./GO704-5i25-7i76.hal
twopass:pass0: loadusr -W hal_manualtoolchange
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:01:02.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
Board hm2_5i25.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_5i25.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0:     IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 006 (P3-04): IOPort
hm2/hm2_5i25.0:     IO Pin 007 (P3-17): IOPort
hm2/hm2_5i25.0:     IO Pin 008 (P3-05): PWMGen #0, pin Out1 (Dir or Down) (Output) hm2/hm2_5i25.0:     IO Pin 009 (P3-06): PWMGen #0, pin Out0 (PWM or Up) (Output) hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Smart Serial Interface #0, pin tx0 (Output) hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_5i25.0:     IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0:     IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Encoder #0, pin Index (Input)
hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Encoder #0, pin B (Input)
hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Encoder #0, pin A (Input)
hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0:     IO Pin 025 (P2-05): PWMGen #1, pin Out1 (Dir or Down) (Output) hm2/hm2_5i25.0:     IO Pin 026 (P2-06): PWMGen #1, pin Out0 (PWM or Up) (Output)
hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0:     IO Pin 031 (P2-11): Encoder #1, pin Index (Input)
hm2/hm2_5i25.0:     IO Pin 032 (P2-12): Encoder #1, pin B (Input)
hm2/hm2_5i25.0:     IO Pin 033 (P2-13): Encoder #1, pin A (Input)
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:01:02.0
note: MAXV     max: 2.500 units/sec 150.000 units/min
note: LJOG     max: 2.500 units/sec 150.000 units/min
note: LJOG default: 1.000 units/sec 60.000 units/min
note: AJOG     max: 40.000 units/sec 2400.000 units/min
note: AJOG default: 15.000 units/sec 900.000 units/min
note: jog_order='XYZA'

If you don't see something whose format resembles this,
you aren't talking to the card at all.  Find out why & fix that first.

Then, you can use that data to code the hal file to drive it.

Take care & stay well, Alan.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to