PnCConf with MESA 5i25 + 7i76 + 7i85

More
7 years 7 months ago - 7 years 7 months ago #127807 by Peter
heres the output from dmesg
Code:
cnc@CNCMILL:~$ dmesg [ 265.087381] I-pipe: head domain RTAI registered. [ 265.087387] RTAI[hal]: compiled with gcc version 4.7.2 (Debian 4.7.2-5) . [ 265.087426] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [ 265.087429] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 12467820, CLK_FREQ 2393909000, CPU_FREQ 2393909000 [ 265.087432] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312 [ 265.087435] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 12467820, 12467820, 10591250 [ 265.105746] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>. [ 265.105793] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes. [ 265.105798] RTAI[sched]: hard timer type/freq = APIC/12467820(Hz); default timing: oneshot; linear timed lists. [ 265.105801] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2393909000 hz. [ 265.105804] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns. [ 265.121707] RTAI[math]: loaded. [ 280.420366] hm2: loading Mesa HostMot2 driver version 0.15 [ 298.531635] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 [ 298.531683] hm2_pci: discovered 5i25 at 0000:04:00.0 [ 298.534215] hm2/hm2_5i25.0: Smart Serial Firmware Version 43 [ 298.590659] Board hm2_5i25.0.7i73.0.1 Hardware Mode 0 = nokeyboardnodisplay [ 298.592245] Board hm2_5i25.0.7i73.0.1 Software Mode 0 = inputoutputencoder [ 298.594157] Board hm2_5i25.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalog [ 298.596093] Board hm2_5i25.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalog [ 298.597599] Board hm2_5i25.0.7i73.0.1 Hardware Mode 1 = nokeyboarddisplay [ 298.599570] Board hm2_5i25.0.7i73.0.1 Software Mode 0 = inputoutputencoderdisplay [ 298.601930] Board hm2_5i25.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalogdisplay [ 298.604521] Board hm2_5i25.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalogwidedisplay [ 298.606266] Board hm2_5i25.0.7i73.0.1 Hardware Mode 2 = keyboard4by8nodisplay [ 298.608498] Board hm2_5i25.0.7i73.0.1 Software Mode 0 = inputoutputencoderkeycode4by8 [ 298.611078] Board hm2_5i25.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalogkeycode4by8 [ 298.613666] Board hm2_5i25.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalogkeycode4by8 [ 298.615280] Board hm2_5i25.0.7i73.0.1 Hardware Mode 3 = keyboard4by8display [ 298.617929] Board hm2_5i25.0.7i73.0.1 Software Mode 0 = inputoutputencoderdisplaykeycode4by8 [ 298.620938] Board hm2_5i25.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalogdisplaykeycode4by8 [ 298.624187] Board hm2_5i25.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalogwidedisplaykeycode4by8 [ 298.625920] Board hm2_5i25.0.7i73.0.1 Hardware Mode 4 = keyboard8by8nodisplay [ 298.628152] Board hm2_5i25.0.7i73.0.1 Software Mode 0 = inputoutputencoderkeycode8by8 [ 298.630732] Board hm2_5i25.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalogkeycode8by8 [ 298.633309] Board hm2_5i25.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalogkeycode8by8 [ 298.634922] Board hm2_5i25.0.7i73.0.1 Hardware Mode 5 = keyboard8by8display [ 298.637583] Board hm2_5i25.0.7i73.0.1 Software Mode 0 = inputoutputencoderdisplaykeycode8by8 [ 298.640580] Board hm2_5i25.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalogdisplaykeycode8by8 [ 298.643806] Board hm2_5i25.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalogwidedisplaykeycode8by8 [ 298.760693] hm2/hm2_5i25.0: 34 I/O Pins used: [ 298.760698] hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output) [ 298.760701] hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output) [ 298.760704] hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output) [ 298.760706] hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output) [ 298.760709] hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output) [ 298.760712] hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output) [ 298.760714] hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction (Output) [ 298.760717] hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output) [ 298.760720] hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #4, pin Direction (Output) [ 298.760723] hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #4, pin Step (Output) [ 298.760725] hm2/hm2_5i25.0: IO Pin 010 (P3-07): IOPort [ 298.760727] hm2/hm2_5i25.0: IO Pin 011 (P3-08): IOPort [ 298.760730] hm2/hm2_5i25.0: IO Pin 012 (P3-09): Smart Serial Interface #0, pin TxData1 (Output) [ 298.760733] hm2/hm2_5i25.0: IO Pin 013 (P3-10): Smart Serial Interface #0, pin RxData1 (Input) [ 298.760736] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Muxed Encoder #0, pin Muxed Index (Input) [ 298.760738] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Muxed Encoder #0, pin Muxed B (Input) [ 298.760741] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Muxed Encoder #0, pin Muxed A (Input) [ 298.760744] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort [ 298.760746] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort [ 298.760748] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort [ 298.760750] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort [ 298.760752] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort [ 298.760754] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort [ 298.760756] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort [ 298.760758] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort [ 298.760760] hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort [ 298.760762] hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort [ 298.760765] hm2/hm2_5i25.0: IO Pin 027 (P2-07): Muxed Encoder Select #2, pin Mux Select 0 (Output) [ 298.760768] hm2/hm2_5i25.0: IO Pin 028 (P2-08): Muxed Encoder #1, pin Muxed A (Input) [ 298.760770] hm2/hm2_5i25.0: IO Pin 029 (P2-09): Muxed Encoder #1, pin Muxed B (Input) [ 298.760773] hm2/hm2_5i25.0: IO Pin 030 (P2-10): Muxed Encoder #1, pin Muxed Index (Input) [ 298.760776] hm2/hm2_5i25.0: IO Pin 031 (P2-11): Muxed Encoder #2, pin Muxed A (Input) [ 298.760778] hm2/hm2_5i25.0: IO Pin 032 (P2-12): Muxed Encoder #2, pin Muxed B (Input) [ 298.760781] hm2/hm2_5i25.0: IO Pin 033 (P2-13): Muxed Encoder #2, pin Muxed Index (Input) [ 298.760875] hm2/hm2_5i25.0: registered [ 298.760878] hm2_5i25.0: initialized AnyIO board at 0000:04:00.0 [ 1005.398790] hm2_5i25.0: dropping AnyIO board at 0000:04:00.0 [ 1005.398796] hm2/hm2_5i25.0: unregistered [ 1005.398859] hm2_pci: driver unloaded [ 1005.400828] hm2: unloading [ 1005.450866] RTAI[math]: unloaded. [ 1005.452939] SCHED releases registered named ALIEN PEDV$D [ 1005.458863] RTAI[malloc]: unloaded. [ 1005.556014] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0). [ 1005.557976] I-pipe: head domain RTAI unregistered. [ 1005.558015] RTAI[hal]: unmounted. cnc@CNCMILL:~$
Last edit: 7 years 7 months ago by Peter.

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

More
7 years 7 months ago #128122 by Peter
Hi Everyone, I am trying to get scales going on a 7i85.

my last 2 posts are the outputs from show pin and dmesg.

upon review I am confused by the output.

show pin shows encoders 0-5 on the 5i25. though the 7i85 has 4 and the 7i76 has 1

also the output from dmesg seems to show 3.
I am sure this is just me though I am stuck.

any help much appreciated,

-Peter

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

More
7 years 7 months ago #128125 by PCW
The reason there are 6 encoders is that LinuxCNCs hm2 driver cannot mix encoder types, and since the 7I85S needs muxed encoders, the 7I76 must used muxed encoders This means that you end up with a dummy encoder (encoder 1) that duplicates encoder 0 on the 7I76 (the 7I85S has encoders 2 through 5)

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

More
7 years 7 months ago #128126 by Peter
Hi and thanks for that.

I have the non "S" variant of the 7i85 though I assume the same can be said?

do you have any insight in why dmesg only reports 3?

can you point me to any resources regarding next steps for reading the scales?

-Peter

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

More
7 years 7 months ago #128128 by PCW
Yes the encoder part of the 7I85 is the same as the 7I85S

Dmesg reports the pins for 3 multiplexed encoders (each set of pins for a
muxed encoder supports 2 actual encoders)

What are your intentions for the scales?

Even if you intend to use the scales in the final configuration, I would start with a standard step/dir configuration and get it working before proceeding

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

More
7 years 7 months ago #128129 by Peter
That sounds reasonable, I have moved the motors in the test/tune axis configuration screens.
I am hoping to use the mill in a sort of power feed and DRO configuration most of the time, with occasional CNCing.

If possible I would like eventually to get a PID loop going.
Not for lost steps, as much as some backlash compensation

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

Moderators: cmorley
Time to create page: 0.252 seconds
Powered by Kunena Forum