7i66 Config

More
11 Oct 2021 03:04 - 11 Oct 2021 03:09 #222815 by the_canuck
7i66 Config was created by the_canuck
I have a 5i25 with a 7i85s and am trying to connect a 7i66 to the 7i85s.

My question is what do I put in my hal file for: sserial_port_0=_______

I tried a few different ones but am not seeing any new pins show up when I boot up linuxcnc.

I want to run the 7i66 in mode 0.

7i66 is externally powered and I used a cat5 cable for the connection between 7i85s and 7i66.

I get a orange light on the 7i66 when I hook up the cat5 only and w1 in the left position.  7i85 is externally powered by 5v

 I get an additional red light when I hook up 12v to vin pin5 and gnd to pin8 on the 7i66 TB1 with w1 in the right position along with cat5 hooked up.
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:04:00.0
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0:     IO Pin 000 (P3-01): PWMGen #0, pin Out0 (PWM or Up) (Output)
hm2/hm2_5i25.0:     IO Pin 001 (P3-14): IOPort
hm2/hm2_5i25.0:     IO Pin 002 (P3-02): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 003 (P3-15): IOPort
hm2/hm2_5i25.0:     IO Pin 004 (P3-03): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 005 (P3-16): IOPort
hm2/hm2_5i25.0:     IO Pin 006 (P3-04): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 007 (P3-17): IOPort
hm2/hm2_5i25.0:     IO Pin 008 (P3-05): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 009 (P3-06): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 010 (P3-07): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 011 (P3-08): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 012 (P3-09): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0:     IO Pin 014 (P3-11): IOPort
hm2/hm2_5i25.0:     IO Pin 015 (P3-12): IOPort
hm2/hm2_5i25.0:     IO Pin 016 (P3-13): IOPort
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): IOPort
hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0:     IO Pin 027 (P2-07): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_5i25.0:     IO Pin 028 (P2-08): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_5i25.0:     IO Pin 029 (P2-09): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_5i25.0:     IO Pin 030 (P2-10): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_5i25.0:     IO Pin 031 (P2-11): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_5i25.0:     IO Pin 032 (P2-12): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_5i25.0:     IO Pin 033 (P2-13): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:04:00.0

My hal file:
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS  
loadrt hostmot2
loadrt hm2_pci config=" num_encoders=4 num_pwmgens=1 num_3pwmgens=0 num_stepgens=4 sserial_port_0=00000000 "
Last edit: 11 Oct 2021 03:09 by the_canuck.

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

More
11 Oct 2021 03:16 - 11 Oct 2021 03:21 #222816 by PCW
Replied by PCW on topic 7i66 Config
W1 on the 7I66 needs to be in the left hand position
and you need 8-32V field power for the 7I76 to be
detected.
Last edit: 11 Oct 2021 03:21 by PCW.

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

More
11 Oct 2021 03:33 - 11 Oct 2021 03:36 #222817 by the_canuck
Replied by the_canuck on topic 7i66 Config
Solved.

Hooked up the serial connection on the wrong spot on the 7i85s. Pins are showing up now.

Andrew

 
Attachments:
Last edit: 11 Oct 2021 03:36 by the_canuck.

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

Moderators: PCWjmelson
Time to create page: 0.088 seconds
Powered by Kunena Forum