Re: [Emc-users] For PCW

2018-11-27 Thread Gene Heskett
On Tuesday 27 November 2018 22:24:37 Peter C. Wallace wrote:

> On Tue, 27 Nov 2018, Gene Heskett wrote:
> > Date: Tue, 27 Nov 2018 21:58:04 -0500
> > From: Gene Heskett 
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > 
> > To: emc-users@lists.sourceforge.net
> > Subject: Re: [Emc-users] For PCW
> >
> > On Sunday 25 November 2018 17:24:36 Gene Heskett wrote:
> >> Greetings Peter;
> >>
> >> Since I am building a whole new box to hold the 7i76 and a
> >> Sainsmart BoB plugged onto p2 of a 5i25, and this is an expensive
> >> card, I'm going slow.
> >>
> >> Currently under power so I can copy/paste stuff to you over my
> >> network, here's the current setup.
> >>
> >> 5i25 with 5i25_7i76_7i78 firmware in it, jumpers set to supply
> >> logic power to the 7i76 only(5i25's p3), 7i76 jumpers set for cable
> >> power.
> >>
> >> cr1 is lit to a normal brightness and those stepper sigs at logic 1
> >> are 5.00 to 5.01 volts.
> >>
> >> Zero volts anyplace on the orange connector for field power, and no
> >> heat detectable anyplace.
> >>
> >> Fire up linuxcnc -l, which will have buckets of errors because
> >> quite a few pins in its hal file probably do not exist, and I get
> >> the output to dmesg that looks like this:
> >>
> >> [   52.975710] I-pipe: head domain RTAI registered.
> >> [   52.975718] RTAI[hal]: compiled with gcc version 4.7.2 (Debian
> >> 4.7.2-5) . [   52.975798] RTAI[hal]: mounted (IPIPE-NOTHREADS,
> >> IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [
> >> 52.975808] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 12467820,
> >> CLK_FREQ 3391559000, CPU_FREQ 3391559000 [   52.978137]
> >> RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314;
> >> LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312 [   52.978145]
> >> TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 12467820, 12467820,
> >> 12414750 [   52.996445] RTAI[malloc]: global heap size = 2097152
> >> bytes, . [   52.996499] , , kstacks pool
> >> size = 524288 bytes. [   52.996507] RTAI[sched]: hard timer
> >> type/freq = APIC/12467820(Hz); default timing: oneshot; linear
> >> timed lists. [ 52.996512] RTAI[sched]: Linux timer freq = 250 (Hz),
> >> TimeBase freq = 3391559000 hz. [   52.996516] RTAI[sched]: timer
> >> setup = 999 ns, resched latency = 2944 ns. [   53.017666]
> >> RTAI[math]: loaded. [   53.360074] hm2: loading Mesa HostMot2
> >> driver version 0.15 [   53.368632] hm2_pci: loading Mesa AnyIO
> >> HostMot2 driver version 0.7 [   53.368691] hm2_pci: discovered 5i25
> >> at :04:02.0
> >> [   53.369076] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
> >> [   53.426843] hm2/hm2_5i25.0: 34 I/O Pins used:
> >> [   53.426850] hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0,
> >> pin Direction (Output) [   53.426855] hm2/hm2_5i25.0: IO Pin
> >> 001 (P3-14): StepGen #0, pin Step (Output) [   53.426859]
> >> hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction
> >> (Output) [ 53.426863] hm2/hm2_5i25.0: IO Pin 003 (P3-15):
> >> StepGen #1, pin Step (Output) [   53.426868] hm2/hm2_5i25.0: IO
> >> Pin 004 (P3-03): StepGen #2, pin Direction (Output) [   53.426872]
> >> hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output) [
> >>   53.426876] hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3,
> >> pin Direction (Output) [   53.426880] hm2/hm2_5i25.0: IO Pin
> >> 007 (P3-17): StepGen #3, pin Step (Output) [   53.426884]
> >> hm2/hm2_5i25.0: IO Pin 008 (P3-05): IOPort [   53.426887]
> >> hm2/hm2_5i25.0: IO Pin 009 (P3-06): IOPort [   53.426891]
> >> hm2/hm2_5i25.0: IO Pin 010 (P3-07): IOPort [   53.426894]
> >> hm2/hm2_5i25.0: IO Pin 011 (P3-08): IOPort [ 53.426898]
> >> hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort [ 53.426901]
> >> hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort [ 53.426905]
> >> hm2/hm2_5i25.0: IO Pin 014 (P3-11): Encoder #0, pin Index
> >> (Input) [   53.426909] hm2/hm2_5i25.0: IO Pin 015 (P3-12):
> >> Encoder #0, pin B (Input) [   53.426913] hm2/hm2_5i25.0: IO Pin
> >> 016 (P3-13): Encoder #0, pin A (Input) [   53.426917]
> >> hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort [   53.426921]
> >> hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort [   53.426924]
> >> hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort [   53.426928]
> >> hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort [   53.426931]
> >> hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort [ 53.426934]
> >> hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort [ 53.426938]
> >> hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort [ 53.426941]
> >> hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort [ 53.426945]
> >> hm2/hm2_5i25.0: IO Pin 025 (P2-05): PWMGen #0, pin Out0 (PWM or
> >> Up) (Output) [   53.426950] hm2/hm2_5i25.0: IO Pin 026 (P2-06):
> >> PWMGen #0, pin Not-Enable (Output) [   53.426954] hm2/hm2_5i25.0:  
> >>   IO Pin 027 (P2-07): PWMGen #0, pin Out1 (Dir or Down) (Output) [ 
> >>  53.426958] hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort [  
> >> 53.426961] hm2/hm2_5i25.0: IO Pin 0

Re: [Emc-users] For PCW

2018-11-27 Thread Peter C. Wallace

On Tue, 27 Nov 2018, Gene Heskett wrote:


Date: Tue, 27 Nov 2018 21:58:04 -0500
From: Gene Heskett 
Reply-To: "Enhanced Machine Controller (EMC)"

To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] For PCW

On Sunday 25 November 2018 17:24:36 Gene Heskett wrote:


Greetings Peter;

Since I am building a whole new box to hold the 7i76 and a Sainsmart
BoB plugged onto p2 of a 5i25, and this is an expensive card, I'm
going slow.

Currently under power so I can copy/paste stuff to you over my
network, here's the current setup.

5i25 with 5i25_7i76_7i78 firmware in it, jumpers set to supply logic
power to the 7i76 only(5i25's p3), 7i76 jumpers set for cable power.

cr1 is lit to a normal brightness and those stepper sigs at logic 1
are 5.00 to 5.01 volts.

Zero volts anyplace on the orange connector for field power, and no
heat detectable anyplace.

Fire up linuxcnc -l, which will have buckets of errors because quite a
few pins in its hal file probably do not exist, and I get the output
to dmesg that looks like this:

[   52.975710] I-pipe: head domain RTAI registered.
[   52.975718] RTAI[hal]: compiled with gcc version 4.7.2 (Debian
4.7.2-5) . [   52.975798] RTAI[hal]: mounted (IPIPE-NOTHREADS,
IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [
52.975808] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 12467820,
CLK_FREQ 3391559000, CPU_FREQ 3391559000 [   52.978137]
RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314;
LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312 [   52.978145]
TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 12467820, 12467820,
12414750 [   52.996445] RTAI[malloc]: global heap size = 2097152
bytes, . [   52.996499] , , kstacks pool
size = 524288 bytes. [   52.996507] RTAI[sched]: hard timer type/freq
= APIC/12467820(Hz); default timing: oneshot; linear timed lists. [
52.996512] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq =
3391559000 hz. [   52.996516] RTAI[sched]: timer setup = 999 ns,
resched latency = 2944 ns. [   53.017666] RTAI[math]: loaded.
[   53.360074] hm2: loading Mesa HostMot2 driver version 0.15
[   53.368632] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[   53.368691] hm2_pci: discovered 5i25 at :04:02.0
[   53.369076] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
[   53.426843] hm2/hm2_5i25.0: 34 I/O Pins used:
[   53.426850] hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin
Direction (Output) [   53.426855] hm2/hm2_5i25.0: IO Pin 001
(P3-14): StepGen #0, pin Step (Output) [   53.426859] hm2/hm2_5i25.0:
   IO Pin 002 (P3-02): StepGen #1, pin Direction (Output) [
53.426863] hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin
Step (Output) [   53.426868] hm2/hm2_5i25.0: IO Pin 004 (P3-03):
StepGen #2, pin Direction (Output) [   53.426872] hm2/hm2_5i25.0:
IO Pin 005 (P3-16): StepGen #2, pin Step (Output) [   53.426876]
hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction
(Output) [   53.426880] hm2/hm2_5i25.0: IO Pin 007 (P3-17):
StepGen #3, pin Step (Output) [   53.426884] hm2/hm2_5i25.0: IO
Pin 008 (P3-05): IOPort [   53.426887] hm2/hm2_5i25.0: IO Pin 009
(P3-06): IOPort [   53.426891] hm2/hm2_5i25.0: IO Pin 010 (P3-07):
IOPort [   53.426894] hm2/hm2_5i25.0: IO Pin 011 (P3-08): IOPort [
  53.426898] hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort [
53.426901] hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort [
53.426905] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Encoder #0, pin
Index (Input) [   53.426909] hm2/hm2_5i25.0: IO Pin 015 (P3-12):
Encoder #0, pin B (Input) [   53.426913] hm2/hm2_5i25.0: IO Pin
016 (P3-13): Encoder #0, pin A (Input) [   53.426917] hm2/hm2_5i25.0:
   IO Pin 017 (P2-01): IOPort [   53.426921] hm2/hm2_5i25.0: IO
Pin 018 (P2-14): IOPort [   53.426924] hm2/hm2_5i25.0: IO Pin 019
(P2-02): IOPort [   53.426928] hm2/hm2_5i25.0: IO Pin 020 (P2-15):
IOPort [   53.426931] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort [
  53.426934] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort [
53.426938] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort [
53.426941] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort [
53.426945] hm2/hm2_5i25.0: IO Pin 025 (P2-05): PWMGen #0, pin Out0
(PWM or Up) (Output) [   53.426950] hm2/hm2_5i25.0: IO Pin 026
(P2-06): PWMGen #0, pin Not-Enable (Output) [   53.426954]
hm2/hm2_5i25.0: IO Pin 027 (P2-07): PWMGen #0, pin Out1 (Dir or
Down) (Output) [   53.426958] hm2/hm2_5i25.0: IO Pin 028 (P2-08):
IOPort [   53.426961] hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort [
  53.426965] hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort [
53.426968] hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort [
53.426972] hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort [
53.426975] hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort [
53.427131] hm2/hm2_5i25.0: registered
[   53.427134] hm2_5i25.0: initialized AnyIO board at :04:02.0
[   54.020944] hm2_5i25.0: dropping AnyIO board at :04:02.0
[   54.020954] hm2/hm2_5i25.0: unregister

Re: [Emc-users] For PCW

2018-11-27 Thread Gene Heskett
On Sunday 25 November 2018 17:24:36 Gene Heskett wrote:

> Greetings Peter;
>
> Since I am building a whole new box to hold the 7i76 and a Sainsmart
> BoB plugged onto p2 of a 5i25, and this is an expensive card, I'm
> going slow.
>
> Currently under power so I can copy/paste stuff to you over my
> network, here's the current setup.
>
> 5i25 with 5i25_7i76_7i78 firmware in it, jumpers set to supply logic
> power to the 7i76 only(5i25's p3), 7i76 jumpers set for cable power.
>
> cr1 is lit to a normal brightness and those stepper sigs at logic 1
> are 5.00 to 5.01 volts.
>
> Zero volts anyplace on the orange connector for field power, and no
> heat detectable anyplace.
>
> Fire up linuxcnc -l, which will have buckets of errors because quite a
> few pins in its hal file probably do not exist, and I get the output
> to dmesg that looks like this:
>
> [   52.975710] I-pipe: head domain RTAI registered.
> [   52.975718] RTAI[hal]: compiled with gcc version 4.7.2 (Debian
> 4.7.2-5) . [   52.975798] RTAI[hal]: mounted (IPIPE-NOTHREADS,
> IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [  
> 52.975808] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 12467820,
> CLK_FREQ 3391559000, CPU_FREQ 3391559000 [   52.978137]
> RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314;
> LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312 [   52.978145]
> TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 12467820, 12467820,
> 12414750 [   52.996445] RTAI[malloc]: global heap size = 2097152
> bytes, . [   52.996499] , , kstacks pool
> size = 524288 bytes. [   52.996507] RTAI[sched]: hard timer type/freq
> = APIC/12467820(Hz); default timing: oneshot; linear timed lists. [  
> 52.996512] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq =
> 3391559000 hz. [   52.996516] RTAI[sched]: timer setup = 999 ns,
> resched latency = 2944 ns. [   53.017666] RTAI[math]: loaded.
> [   53.360074] hm2: loading Mesa HostMot2 driver version 0.15
> [   53.368632] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
> [   53.368691] hm2_pci: discovered 5i25 at :04:02.0
> [   53.369076] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
> [   53.426843] hm2/hm2_5i25.0: 34 I/O Pins used:
> [   53.426850] hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin
> Direction (Output) [   53.426855] hm2/hm2_5i25.0: IO Pin 001
> (P3-14): StepGen #0, pin Step (Output) [   53.426859] hm2/hm2_5i25.0: 
>IO Pin 002 (P3-02): StepGen #1, pin Direction (Output) [  
> 53.426863] hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin
> Step (Output) [   53.426868] hm2/hm2_5i25.0: IO Pin 004 (P3-03):
> StepGen #2, pin Direction (Output) [   53.426872] hm2/hm2_5i25.0:
> IO Pin 005 (P3-16): StepGen #2, pin Step (Output) [   53.426876]
> hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction
> (Output) [   53.426880] hm2/hm2_5i25.0: IO Pin 007 (P3-17):
> StepGen #3, pin Step (Output) [   53.426884] hm2/hm2_5i25.0: IO
> Pin 008 (P3-05): IOPort [   53.426887] hm2/hm2_5i25.0: IO Pin 009
> (P3-06): IOPort [   53.426891] hm2/hm2_5i25.0: IO Pin 010 (P3-07):
> IOPort [   53.426894] hm2/hm2_5i25.0: IO Pin 011 (P3-08): IOPort [
>   53.426898] hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort [  
> 53.426901] hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort [  
> 53.426905] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Encoder #0, pin
> Index (Input) [   53.426909] hm2/hm2_5i25.0: IO Pin 015 (P3-12):
> Encoder #0, pin B (Input) [   53.426913] hm2/hm2_5i25.0: IO Pin
> 016 (P3-13): Encoder #0, pin A (Input) [   53.426917] hm2/hm2_5i25.0: 
>IO Pin 017 (P2-01): IOPort [   53.426921] hm2/hm2_5i25.0: IO
> Pin 018 (P2-14): IOPort [   53.426924] hm2/hm2_5i25.0: IO Pin 019
> (P2-02): IOPort [   53.426928] hm2/hm2_5i25.0: IO Pin 020 (P2-15):
> IOPort [   53.426931] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort [
>   53.426934] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort [  
> 53.426938] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort [  
> 53.426941] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort [  
> 53.426945] hm2/hm2_5i25.0: IO Pin 025 (P2-05): PWMGen #0, pin Out0
> (PWM or Up) (Output) [   53.426950] hm2/hm2_5i25.0: IO Pin 026
> (P2-06): PWMGen #0, pin Not-Enable (Output) [   53.426954]
> hm2/hm2_5i25.0: IO Pin 027 (P2-07): PWMGen #0, pin Out1 (Dir or
> Down) (Output) [   53.426958] hm2/hm2_5i25.0: IO Pin 028 (P2-08):
> IOPort [   53.426961] hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort [
>   53.426965] hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort [  
> 53.426968] hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort [  
> 53.426972] hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort [  
> 53.426975] hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort [  
> 53.427131] hm2/hm2_5i25.0: registered
> [   53.427134] hm2_5i25.0: initialized AnyIO board at :04:02.0
> [   54.020944] hm2_5i25.0: dropping AnyIO board at :04:02.0
> [   54.020954] hm2/hm2_5i25.0: unregistered
> [   54.021020] hm2_pci: driv