Heller CNC machine with encoder

More
16 Dec 2013 18:33 #41642 by simon n.
Hey PCW,

yeah that yould be great :) Thanks a lot!


Greetings

Simon N.

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

More
17 Dec 2013 09:45 #41678 by PCW
Replied by PCW on topic Heller CNC machine with encoder
Here are 2x7i48 bitfiles for both 1M and 1.5M 5I22s:
Attachments:
The following user(s) said Thank You: simon n., Mario

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

More
18 Dec 2013 19:08 - 18 Dec 2013 21:04 #41749 by simon n.
Hi PCW,
thanks for your time in generating the .Bit files, but how do we have to use it without .PIN? We can not generate a new config in the PNC configurator with this .Bit file. We also tried to copy another .pin file with the same name of this .Bit file, but the content is different, so LinuxCNC spells out a error message in the beginning.

You generated this bit files from the 5i20 SV12_2X7i48_72? This Pin file is for just 3 Slots on the FPGA, our FPGA card has 4 slots P2-->7i48 P3,4,5-->7i37.
We also can't open the bit file to see where which pins are located.


Greetings

Simon N.
Last edit: 18 Dec 2013 21:04 by simon n..

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

More
18 Dec 2013 23:20 #41767 by andypugh

We also can't open the bit file to see where which pins are located.


If you load the bit file into the FPGA then the driver will tell you what the pin arrangement is. The simplest way to do this is from the command line
sudo dmesg -c
halrun
loadrt hostmot2
loadrt hm2_pci config="firmware=hm2/5i22/5i22_15m_SV12_7i48.bit"
show pin
exit
dmesg

The "show pin" will list all the HAL pins that the firmware makes available, and the dmesg listing will show the physical pin locations on the 5i22.

Pncconf requires an XML file, and those don't necessarily exist for custom firmware. You get much finer control if you edit the HAL directly anyway.

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

More
19 Dec 2013 19:22 #41819 by simon n.
Hi guys,

we handled it somehow. The name of the File is too long, if you want to load the bit files you have to shorten the name, we deleted the first 2 word down to SV12_7i48.BIT.
The .bit has to be written in caps lock or the program will fail in the beginning. Until now we didn't know that the PIN file is not relevant for LinuxCNC to run. The PIN file seems to be just a reference for the user to look up the Pins of the BIT file.

We'll test the Pins in the BIT file now.


Greetings

Simon N.

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

More
19 Dec 2013 20:29 - 19 Dec 2013 20:46 #41823 by simon n.
Hey guys,

we tested the pwmgens from the 7i48, but none of these seems to be working. We tried the new bit file from PCW and enabled all pwmgens with a value in up/down mode, none is reacting. We also tried to enable them with a new config, one random from 5i22, we again enabled all pwmgens with value and up/down mode, but none of them spits out voltage around 10V. They always swings around small values like -3mV to 250mV or something like that.

Is it possible, that the 7i48 isn't working with the 5i22 FPGA card? We don't know what to do now, we tried many things to get it working, but none of these helps us with our problem.

Terrible selection of the cards!

Edit: We changed one of the 7i37 with the 7i49 and used this card for pwmgen testing. 7i48 is on P2 7i49 on P3, we set pwmgen num to 12 and used pwmgen 7-9 for XYZ axis. Now its working, the 7i48 seems to have problems with the 5i22 FPGA card i guess, the pwmgens from 7i48 are not selectable.


Greeting

Simon N.
Last edit: 19 Dec 2013 20:46 by simon n..

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

More
19 Dec 2013 21:06 #41828 by andypugh

Is it possible, that the 7i48 isn't working with the 5i22 FPGA card? We don't know what to do now, we tried many things to get it working, but none of these helps us with our problem


No, the 7i48 ought to work with the 5i22.

Do you have a 5V supply to the 7i48 and jumper W1 to the left?
What status do the +15V and -15V leds indicate?

Does the hardware pin allocation from the commands I gave earlier show a pin layout that matches the 7i48 layout?

To get hardware like this configured I prefer to keep things minimal at first, using just HAL.

The following command sequence should prove things out. Open two terminal windows. One will be used for command entry, and one to watch the status.
Status window:
tail -f /var/log/kernel.log
Command Window:
loadrt threads
loadrt hostmot2
loadrt hm2_pci config="firmware=5i22/SV12_7i48.BIT"
At this point you should see the physical pinout data in the status window.
The card won't do anything unless the driver is running in a realtime thread.
addf hm2_5i22.0.read thread1
addf hm2_5i22.0.write thread1
addf hm2_5i22.0.pet_watchdog thread1
start
You can type most of this with tab-completion, the pet-watchdog command can be typed as "addf h<tab>pe<tab><tab>" for example, and I suggest you do it that way as I can't remember if it is _ or -

At this point the 5i22 and 7i48 should be live and responding to commands.
setp hm2_5i22.0.pwmgen.00.output-type 2
setp hm2_5i22.0.pwmgen.00.scale 10
setp hm2_5i22.0.pwmgen.00.enable 1
setp hm2_5i22.0.pwmgen.00.value 5

One thing I am not clear about is the nature of the /ENA signals on pins 1 and 49 of the header. These might be driven automatically by the PWM enable, in which case they will show as ENA pins in the kernel log list, or they might be listed as GPIO. can you attach the pin list from the kernel log to clarify this for me?
The following user(s) said Thank You: Mario

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

More
19 Dec 2013 23:30 - 19 Dec 2013 23:31 #41836 by simon n.
Hey Andy,

we did what you suggest. The +-15V LED from the 7i48 seems to be damaged, its weakly blinking.

s7.directupload.net/images/131219/zqwxfm49.jpg

With this card your test for the pwmgens did not work. But luckily we got a second 7i48 card and with this sweetheart your instructions worked, now the pwmgems are working.
cnc@cnc-desktop:~$ tail -f /var/log/kern.log
Dec 19 15:36:41 cnc-desktop kernel: [   19.457368]    domain 2: span 0-3 level CPU
Dec 19 15:36:41 cnc-desktop kernel: [   19.457374]     groups: 1-2 (cpu_power = 1178) 0,3 (cpu_power = 1178)
Dec 19 15:36:41 cnc-desktop kernel: [   19.457390] CPU3 attaching sched-domain:
Dec 19 15:36:41 cnc-desktop kernel: [   19.457394]  domain 0: span 0,3 level SIBLING
Dec 19 15:36:41 cnc-desktop kernel: [   19.457401]   groups: 3 (cpu_power = 589) 0 (cpu_power = 589)
Dec 19 15:36:41 cnc-desktop kernel: [   19.457415]   domain 1: span 0,3 level MC
Dec 19 15:36:41 cnc-desktop kernel: [   19.457420]    groups: 0,3 (cpu_power = 1178)
Dec 19 15:36:41 cnc-desktop kernel: [   19.457430]    domain 2: span 0-3 level CPU
Dec 19 15:36:41 cnc-desktop kernel: [   19.457435]     groups: 0,3 (cpu_power = 1178) 1-2 (cpu_power = 1178)
Dec 19 15:36:48 cnc-desktop kernel: [   26.472045] eth0: no IPv6 routers present
Dec 19 15:37:44 cnc-desktop kernel: [   83.324462] I-pipe: Domain RTAI registered.
Dec 19 15:37:44 cnc-desktop kernel: [   83.324474] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
Dec 19 15:37:44 cnc-desktop kernel: [   83.324479] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
Dec 19 15:37:44 cnc-desktop kernel: [   83.324690] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
Dec 19 15:37:44 cnc-desktop kernel: [   83.324695] PIPELINE layers:
Dec 19 15:37:44 cnc-desktop kernel: [   83.324701] f9714e20 9ac15d93 RTAI 200
Dec 19 15:37:44 cnc-desktop kernel: [   83.324705] c085cb20 0 Linux 100
Dec 19 15:37:45 cnc-desktop kernel: [   83.363934] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
Dec 19 15:37:45 cnc-desktop kernel: [   83.364501] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
Dec 19 15:37:45 cnc-desktop kernel: [   83.364517] RTAI[sched]: hard timer type/freq = APIC/8330959(Hz); default timing: periodic; linear timed lists.
Dec 19 15:37:45 cnc-desktop kernel: [   83.364527] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2399089000 hz.
Dec 19 15:37:45 cnc-desktop kernel: [   83.364534] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
Dec 19 15:37:45 cnc-desktop kernel: [   83.365788] RTAI[usi]: enabled.
Dec 19 15:37:45 cnc-desktop kernel: [   83.437653] RTAI[math]: loaded.
Dec 19 15:38:00 cnc-desktop kernel: [   98.859940] hm2: loading Mesa HostMot2 driver version 0.15
Dec 19 15:39:20 cnc-desktop kernel: [  178.670045] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
Dec 19 15:39:20 cnc-desktop kernel: [  178.670113] hm2_pci 0000:02:06.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Dec 19 15:39:20 cnc-desktop kernel: [  178.670120] hm2_pci: discovered 5i22-1.0M at 0000:02:06.0
Dec 19 15:39:20 cnc-desktop kernel: [  178.670343]  hm2_5i22.0: firmware: requesting hm2/5i22-1/SV12_7i48.BIT
Dec 19 15:39:20 cnc-desktop kernel: [  179.030943] hm2/hm2_5i22.0: 96 I/O Pins used:
Dec 19 15:39:20 cnc-desktop kernel: [  179.030952] hm2/hm2_5i22.0:     IO Pin 000 (P2-01): PWMGen #0, pin Not-Enable (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.030958] hm2/hm2_5i22.0:     IO Pin 001 (P2-03): Muxed Encoder #0, pin Muxed A (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.030964] hm2/hm2_5i22.0:     IO Pin 002 (P2-05): Muxed Encoder #0, pin Muxed B (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.030970] hm2/hm2_5i22.0:     IO Pin 003 (P2-07): Muxed Encoder #0, pin Muxed Index (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.030976] hm2/hm2_5i22.0:     IO Pin 004 (P2-09): Muxed Encoder #1, pin Muxed A (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.030982] hm2/hm2_5i22.0:     IO Pin 005 (P2-11): Muxed Encoder #1, pin Muxed B (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.030988] hm2/hm2_5i22.0:     IO Pin 006 (P2-13): Muxed Encoder #1, pin Muxed Index (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.030993] hm2/hm2_5i22.0:     IO Pin 007 (P2-15): Muxed Encoder #2, pin Muxed A (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.030999] hm2/hm2_5i22.0:     IO Pin 008 (P2-17): Muxed Encoder #2, pin Muxed B (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031005] hm2/hm2_5i22.0:     IO Pin 009 (P2-19): Muxed Encoder #2, pin Muxed Index (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031011] hm2/hm2_5i22.0:     IO Pin 010 (P2-21): Muxed Encoder Select #0, pin Mux Select 0 (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031017] hm2/hm2_5i22.0:     IO Pin 011 (P2-23): PWMGen #0, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031023] hm2/hm2_5i22.0:     IO Pin 012 (P2-25): PWMGen #0, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031029] hm2/hm2_5i22.0:     IO Pin 013 (P2-27): PWMGen #1, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031035] hm2/hm2_5i22.0:     IO Pin 014 (P2-29): PWMGen #1, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031043] hm2/hm2_5i22.0:     IO Pin 015 (P2-31): PWMGen #2, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031050] hm2/hm2_5i22.0:     IO Pin 016 (P2-33): PWMGen #2, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031056] hm2/hm2_5i22.0:     IO Pin 017 (P2-35): PWMGen #3, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031062] hm2/hm2_5i22.0:     IO Pin 018 (P2-37): PWMGen #3, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031068] hm2/hm2_5i22.0:     IO Pin 019 (P2-39): PWMGen #4, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031074] hm2/hm2_5i22.0:     IO Pin 020 (P2-41): PWMGen #4, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031080] hm2/hm2_5i22.0:     IO Pin 021 (P2-43): PWMGen #5, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031086] hm2/hm2_5i22.0:     IO Pin 022 (P2-45): PWMGen #5, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031091] hm2/hm2_5i22.0:     IO Pin 023 (P2-47): PWMGen #0, pin Not-Enable (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031097] hm2/hm2_5i22.0:     IO Pin 024 (P3-01): PWMGen #6, pin Not-Enable (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031103] hm2/hm2_5i22.0:     IO Pin 025 (P3-03): Muxed Encoder #3, pin Muxed A (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031109] hm2/hm2_5i22.0:     IO Pin 026 (P3-05): Muxed Encoder #3, pin Muxed B (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031114] hm2/hm2_5i22.0:     IO Pin 027 (P3-07): Muxed Encoder #3, pin Muxed Index (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031120] hm2/hm2_5i22.0:     IO Pin 028 (P3-09): Muxed Encoder #4, pin Muxed A (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031126] hm2/hm2_5i22.0:     IO Pin 029 (P3-11): Muxed Encoder #4, pin Muxed B (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031132] hm2/hm2_5i22.0:     IO Pin 030 (P3-13): Muxed Encoder #4, pin Muxed Index (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031137] hm2/hm2_5i22.0:     IO Pin 031 (P3-15): Muxed Encoder #5, pin Muxed A (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031143] hm2/hm2_5i22.0:     IO Pin 032 (P3-17): Muxed Encoder #5, pin Muxed B (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031149] hm2/hm2_5i22.0:     IO Pin 033 (P3-19): Muxed Encoder #5, pin Muxed Index (Input)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031155] hm2/hm2_5i22.0:     IO Pin 034 (P3-21): Muxed Encoder Select #6, pin Mux Select 0 (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031161] hm2/hm2_5i22.0:     IO Pin 035 (P3-23): PWMGen #6, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031167] hm2/hm2_5i22.0:     IO Pin 036 (P3-25): PWMGen #6, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031173] hm2/hm2_5i22.0:     IO Pin 037 (P3-27): PWMGen #7, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031178] hm2/hm2_5i22.0:     IO Pin 038 (P3-29): PWMGen #7, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031184] hm2/hm2_5i22.0:     IO Pin 039 (P3-31): PWMGen #8, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031190] hm2/hm2_5i22.0:     IO Pin 040 (P3-33): PWMGen #8, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031196] hm2/hm2_5i22.0:     IO Pin 041 (P3-35): PWMGen #9, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031202] hm2/hm2_5i22.0:     IO Pin 042 (P3-37): PWMGen #9, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031207] hm2/hm2_5i22.0:     IO Pin 043 (P3-39): PWMGen #10, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031213] hm2/hm2_5i22.0:     IO Pin 044 (P3-41): PWMGen #10, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031219] hm2/hm2_5i22.0:     IO Pin 045 (P3-43): PWMGen #11, pin Out0 (PWM or Up) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031225] hm2/hm2_5i22.0:     IO Pin 046 (P3-45): PWMGen #11, pin Out1 (Dir or Down) (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031231] hm2/hm2_5i22.0:     IO Pin 047 (P3-47): PWMGen #6, pin Not-Enable (Output)
Dec 19 15:39:20 cnc-desktop kernel: [  179.031236] hm2/hm2_5i22.0:     IO Pin 048 (P4-01): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031241] hm2/hm2_5i22.0:     IO Pin 049 (P4-03): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031245] hm2/hm2_5i22.0:     IO Pin 050 (P4-05): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031250] hm2/hm2_5i22.0:     IO Pin 051 (P4-07): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031255] hm2/hm2_5i22.0:     IO Pin 052 (P4-09): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031259] hm2/hm2_5i22.0:     IO Pin 053 (P4-11): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031264] hm2/hm2_5i22.0:     IO Pin 054 (P4-13): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031269] hm2/hm2_5i22.0:     IO Pin 055 (P4-15): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031273] hm2/hm2_5i22.0:     IO Pin 056 (P4-17): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031278] hm2/hm2_5i22.0:     IO Pin 057 (P4-19): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031283] hm2/hm2_5i22.0:     IO Pin 058 (P4-21): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031287] hm2/hm2_5i22.0:     IO Pin 059 (P4-23): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031292] hm2/hm2_5i22.0:     IO Pin 060 (P4-25): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031297] hm2/hm2_5i22.0:     IO Pin 061 (P4-27): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031301] hm2/hm2_5i22.0:     IO Pin 062 (P4-29): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031306] hm2/hm2_5i22.0:     IO Pin 063 (P4-31): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031311] hm2/hm2_5i22.0:     IO Pin 064 (P4-33): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031315] hm2/hm2_5i22.0:     IO Pin 065 (P4-35): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031320] hm2/hm2_5i22.0:     IO Pin 066 (P4-37): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031325] hm2/hm2_5i22.0:     IO Pin 067 (P4-39): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031329] hm2/hm2_5i22.0:     IO Pin 068 (P4-41): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031334] hm2/hm2_5i22.0:     IO Pin 069 (P4-43): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031339] hm2/hm2_5i22.0:     IO Pin 070 (P4-45): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031343] hm2/hm2_5i22.0:     IO Pin 071 (P4-47): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031348] hm2/hm2_5i22.0:     IO Pin 072 (P5-01): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031353] hm2/hm2_5i22.0:     IO Pin 073 (P5-03): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031357] hm2/hm2_5i22.0:     IO Pin 074 (P5-05): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031362] hm2/hm2_5i22.0:     IO Pin 075 (P5-07): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031366] hm2/hm2_5i22.0:     IO Pin 076 (P5-09): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031371] hm2/hm2_5i22.0:     IO Pin 077 (P5-11): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031376] hm2/hm2_5i22.0:     IO Pin 078 (P5-13): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031380] hm2/hm2_5i22.0:     IO Pin 079 (P5-15): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031385] hm2/hm2_5i22.0:     IO Pin 080 (P5-17): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031390] hm2/hm2_5i22.0:     IO Pin 081 (P5-19): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031394] hm2/hm2_5i22.0:     IO Pin 082 (P5-21): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031399] hm2/hm2_5i22.0:     IO Pin 083 (P5-23): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031404] hm2/hm2_5i22.0:     IO Pin 084 (P5-25): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031408] hm2/hm2_5i22.0:     IO Pin 085 (P5-27): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031413] hm2/hm2_5i22.0:     IO Pin 086 (P5-29): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031418] hm2/hm2_5i22.0:     IO Pin 087 (P5-31): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031422] hm2/hm2_5i22.0:     IO Pin 088 (P5-33): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031427] hm2/hm2_5i22.0:     IO Pin 089 (P5-35): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031432] hm2/hm2_5i22.0:     IO Pin 090 (P5-37): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031436] hm2/hm2_5i22.0:     IO Pin 091 (P5-39): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031441] hm2/hm2_5i22.0:     IO Pin 092 (P5-41): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031446] hm2/hm2_5i22.0:     IO Pin 093 (P5-43): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031450] hm2/hm2_5i22.0:     IO Pin 094 (P5-45): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031455] hm2/hm2_5i22.0:     IO Pin 095 (P5-47): IOPort
Dec 19 15:39:20 cnc-desktop kernel: [  179.031696] hm2/hm2_5i22.0: registered
Dec 19 15:39:20 cnc-desktop kernel: [  179.031701] hm2_5i22.0: initialized AnyIO board at 0000:02:06.0

Thanks for that andy!



Greeting

Simon N.
Last edit: 19 Dec 2013 23:31 by simon n..

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

More
19 Dec 2013 23:50 #41837 by andypugh

we did what you suggest. The +-15V LED from the 7i48 seems to be damaged, its weakly blinking.

That might, possibly, be because the board is set of cable power. Or it might be because it is broken, as you have surmised.

now the pwmgems are working.

Great! Does that mean you are all sorted out now, or do you need help with configuring the HAL?
Your HAL file needs to contain most of what I had you type out, except for the loadrt threads and the "start" command. (Also, the thread names will be different in a LinuxCNC configuration).
The following user(s) said Thank You: simon n.

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

More
19 Dec 2013 23:59 #41838 by PCW
Replied by PCW on topic Heller CNC machine with encoder
Please do not connect a 7I49 to this configuration (which is built for 2 7I48s)
as it will cause I/O conflicts. The 7I48 will most likely require external 5V power
(this may be the problem with the blinking LED)

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

Moderators: cncbasher
Time to create page: 0.155 seconds
Powered by Kunena Forum