On Wed, 30 Jan 2019, Gene Heskett wrote:

Date: Wed, 30 Jan 2019 13:32:16 -0500
From: Gene Heskett <ghesk...@shentel.net>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] For PCW

On Wednesday 30 January 2019 11:52:07 Peter C. Wallace wrote:

On Wed, 30 Jan 2019, Gene Heskett wrote:
Date: Wed, 30 Jan 2019 11:37:07 -0500
From: Gene Heskett <ghesk...@shentel.net>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] For PCW

On Wednesday 30 January 2019 07:58:48 Peter C. Wallace wrote:
On Tue, 29 Jan 2019, Gene Heskett wrote:
Date: Tue, 29 Jan 2019 20:30:14 -0500
From: Gene Heskett <ghesk...@shentel.net>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] For PCW

Peter;

I got one of the panels cut, stuck a line cord gland and a line
cord feeding a 5 volt and a 12 volt supply for field power, hooked
it up. But I see no hints of the 7i76 in the dmesg or halmeter
menu's.

So I poked at it with mesaflash, again w/o finding much. Asking
for --serial, I get:
SSLBP VERSION 1.43
SSLBP CHANNELS 4
SSLBP baud rate 250 kilobaud.

I've put the 5i25_7i76_1px2d.bit file in the 5i25 in the G0704's
Dell. And I do see a #1 pwmgen out of p2.

Shouldn't I be seeing more evidence of the 7i76? I've no clue how
to address it in the .hal files.

Yes, but you need field power (say 12 or 24V) on the isolated I/O
section ( orange connector) for the 7I76 I/O pins to show up

It has 12 volts (assuming all such marked pins are paralleled), and
both amber leds are on, and w1 is set for separate supplies.
Available current is only 1.25 amps from that rather teeny supply.
Verified by DVM.

Power TB1 (Orange) from 12v (+12v on TB1.1, 12Vcom on TB1.8)
Move W1 left and it should work

Slight improvement. The rear amber led is not quite as bright as it was.
Did a full powerdown on everything, moved the jumper toward the db25 &
booted it all back up.  Now dmesg says:

[  193.137868] hm2: loading Mesa HostMot2 driver version 0.15
[  193.141620] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[  193.141669] hm2_pci: discovered 5i25 at 0000:04:02.0
[  193.142154] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[  193.226156] Board hm2_5i25.0.7i76.0.0 Hardware Mode 0 = standard
[  193.230054] Board hm2_5i25.0.7i76.0.0 Software Mode 0 = io_spin
[  193.234463] Board hm2_5i25.0.7i76.0.0 Software Mode 1 = io_ana_spin
[  193.239815] Board hm2_5i25.0.7i76.0.0 Software Mode 2 =
io_enc_ana_spin_fv
[  193.345774] hm2/hm2_5i25.0: 34 I/O Pins used:
[  193.345781] hm2/hm2_5i25.0:     IO Pin 000 (P3-01): StepGen #0, pin
Direction (Output)
[  193.345785] hm2/hm2_5i25.0:     IO Pin 001 (P3-14): StepGen #0, pin
Step (Output)
[  193.345789] hm2/hm2_5i25.0:     IO Pin 002 (P3-02): StepGen #1, pin
Direction (Output)
[  193.345793] hm2/hm2_5i25.0:     IO Pin 003 (P3-15): StepGen #1, pin
Step (Output)
[  193.345797] hm2/hm2_5i25.0:     IO Pin 004 (P3-03): StepGen #2, pin
Direction (Output)
[  193.345801] hm2/hm2_5i25.0:     IO Pin 005 (P3-16): StepGen #2, pin
Step (Output)
[  193.345805] hm2/hm2_5i25.0:     IO Pin 006 (P3-04): StepGen #3, pin
Direction (Output)
[  193.345809] hm2/hm2_5i25.0:     IO Pin 007 (P3-17): StepGen #3, pin
Step (Output)
[  193.345813] hm2/hm2_5i25.0:     IO Pin 008 (P3-05): PWMGen #0, pin
Out1 (Dir or Down) (Output)
[  193.345818] hm2/hm2_5i25.0:     IO Pin 009 (P3-06): PWMGen #0, pin
Out0 (PWM or Up) (Output)
[  193.345823] hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Smart Serial
Interface #0, pin TxData0 (Output)
[  193.345827] hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Smart Serial
Interface #0, pin RxData0 (Input)
[  193.345831] hm2/hm2_5i25.0:     IO Pin 012 (P3-09): IOPort
[  193.345834] hm2/hm2_5i25.0:     IO Pin 013 (P3-10): IOPort
[  193.345838] hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Encoder #0, pin
Index (Input)
[  193.345842] hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Encoder #0, pin B
(Input)
[  193.345846] hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Encoder #0, pin A
(Input)
[  193.345850] hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort
[  193.345853] hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort
[  193.345856] hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort
[  193.345860] hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort
[  193.345863] hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort
[  193.345867] hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort
[  193.345870] hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort
[  193.345873] hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort
[  193.345877] hm2/hm2_5i25.0:     IO Pin 025 (P2-05): IOPort
[  193.345880] hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort
[  193.345884] hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort
[  193.345887] hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort
[  193.345890] hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort
[  193.345894] hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort
[  193.345897] hm2/hm2_5i25.0:     IO Pin 031 (P2-11): IOPort
[  193.345900] hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort
[  193.345904] hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort
[  193.346111] hm2/hm2_5i25.0: registered
[  193.346115] hm2_5i25.0: initialized AnyIO board at 0000:04:02.0

Which doesn't seem complete yet?

What else do I check?

That shows that it found the 7I76 I/O section

To show all the pins/parameters:

halcmd show all

when LinuxCNC is running


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)
Genes Web page <http://geneslinuxbox.net:6309/gene>



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

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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

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)
Genes Web page <http://geneslinuxbox.net:6309/gene>



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

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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


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)
Genes Web page <http://geneslinuxbox.net:6309/gene>



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


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



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

Reply via email to