7i76 not seen by linuxcnc

More
4 years 5 months ago #244027 by rfrey
Hello. I'm running a 5i25 and 7i76, but the 5i25 can't seem to see the 7i76. It has 24v field power and I'm supplying 5v power manually - both LEDs are lit. There is some communication happening because I can use PNCConf to control the steppers.

I can start linuxcnc and control steppers as long as my .hal file doesn't reference any 7i76 pins. Furthermore the 7i76 pins don't show up on halshow. I tried initializing everything through halcmd and got this output when I loaded the hm2_pci component:
Code:
halcmd: loadrt trivkins coordinates=XYZ Note: Using POSIX realtime halcmd: loadrt motmod servo_period_nsec=1000000 num_joints=3 halcmd: loadrt hostmot2 hm2: loading Mesa HostMot2 driver version 0.15 halcmd: loadrt hm2_pci config="num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx" hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 hm2_pci: discovered 5i25 at 0000:01:00.0 hm2/hm2_5i25.0: Low Level init 0.15 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): 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): StepGen #3, pin Direction (Output) hm2/hm2_5i25.0:     IO Pin 007 (P3-17): StepGen #3, pin Step (Output) hm2/hm2_5i25.0:     IO Pin 008 (P3-05): StepGen #4, pin Direction (Output) hm2/hm2_5i25.0:     IO Pin 009 (P3-06): StepGen #4, pin Step (Output) hm2/hm2_5i25.0:     IO Pin 010 (P3-07): IOPort hm2/hm2_5i25.0:     IO Pin 011 (P3-08): IOPort 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): IOPort hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort 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): IOPort hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort hm2/hm2_5i25.0: registered hm2_5i25.0: initialized AnyIO board at 0000:01:00.0

There's no mention in the output of the 7i76, but maybe there's not supposed to be.

Any suggestions are greatly welcome!

 

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

More
4 years 5 months ago #244029 by PCW
Replied by PCW on topic 7i76 not seen by linuxcnc
Looks like the correct firmware.

I would make sure that the 5I25 is jumpered to NOT supply 5V to the 7I76
(5I25 W2 DOWN) and that the 7I76 is jumpered for external 5V power
(7I76 W2 RIGHT) and that 7I76 W1 and W3 are in the LEFT hand position

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

More
4 years 5 months ago - 4 years 5 months ago #244030 by rfrey
Replied by rfrey on topic 7i76 not seen by linuxcnc
Thanks Peter. Jumpers are correct - you helped me out with this before. If you recall, a power transistor on the 5i25 was burnt out which meant it couldn't supply 5v to the 7i76.

I suppose the 5i25 may be damaged in other ways by whatever caused the power transistor to go. Strange that it *almost* works. Maybe I should try another parallel cable (although this is the same one I was using before I started having problems.)
Last edit: 4 years 5 months ago by rfrey.

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

More
4 years 5 months ago - 4 years 5 months ago #244034 by robertspark
scratch that thought {just checked my board}
Last edit: 4 years 5 months ago by robertspark.

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

More
4 years 5 months ago #244057 by rfrey
Replied by rfrey on topic 7i76 not seen by linuxcnc
Should I expect the output from loading hmi_pci to indicate the 7i76, if everything is working correctly?

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

More
4 years 5 months ago #244058 by PCW
Replied by PCW on topic 7i76 not seen by linuxcnc
Yes, you should see a SSerial TX and RX pin on GPIO 10 and 11:

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)

The fact that you don't have them means that for some reason, there is no communication
between the 5I25 and the 7I76 on those lines.

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

Moderators: PCW, jmelson
Time to create page: 0.060 seconds
Powered by Kunena Forum