On Tue, 27 Nov 2018, Gene Heskett wrote:

Date: Tue, 27 Nov 2018 21:58:04 -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 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, <BSD>. [   52.996499] , <uses LINUX SYSCALLs>, 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 0000: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 0000:04:02.0
[   54.020944] hm2_5i25.0: dropping AnyIO board at 0000:04:02.0
[   54.020954] hm2/hm2_5i25.0: unregistered
[   54.021020] hm2_pci: driver unloaded
[   54.024352] hm2: unloading
[   56.183853] RTAI[math]: unloaded.
[   56.187436] SCHED releases registered named ALIEN PEDV$D
[   56.191716] RTAI[malloc]: unloaded.
[   56.288026] RTAI[sched]: unloaded (forced hard/soft/hard
transitions: traps 0, syscalls 0). [   56.291097] I-pipe: head domain
RTAI unregistered.
[   56.291181] RTAI[hal]: unmounted.

Note, no error shown but no smart serial showing up either.

#> gene@GO704:~$ cat ~/linuxcnc_debug.txt
3843
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

no error there either.

gene@GO704:~$ cat ~/linuxcnc_print.txt
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
Using previous inifile:
/home/gene/linuxcnc/configs/GO704fast/GO704fast.ini
INIFILE=/home/gene/linuxcnc/configs/GO704fast/GO704fast.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z A
KINEMATICS=trivkins
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Killing task linuxcncsvr, PID=3843
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

no error there either...

Is this normal when no field power is present?

Thanks Peter.

I now have it screwed down, and jumpers sopposedly moved to supply the
whole card from a teeny, 1.75 amp 12.6 volt switcher.

So W1, down near the teeny regulator is jumpered on the left pair of pins
w2 is set to right, and w3 is now left for operate mode.

cr2 looks to be a decent brightness, but cr1 is dark, with the parport
cable on it or off it, and does not light now up when the conputer is
fired up.  VIN on tb3 shows the +12.6 from the teeny psu. Only tb3-1 and
tb3-8 are connected to the psu, in the proper polarity. I had previously
had field power on tb3-1 and tb3-8, but with cable power, and cr1 then
lights up, but the dmesg remains as shown above, and no sign of sserial,
tis still blank.


5V and Field power are completely separate, and you need both

so 5I25 jumpered to supply 5V (W2 up for P3), 7I76 jumpered to receive cable power (7I76 W2 left), and field power on TB1 pins 1 and 8 (if you put field power on TB3 you will damage the card...)


And an attempt to start Lcnc generates a dmseg exactly as shown above.

Next?

Thanks Peter.

--
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