Emc2 e controllo giri con Inverter Thosiba VF-S11

Sezione dedicata a Linuxcnc
Rispondi
saviothecnic
Senior
Senior
Messaggi: 1482
Iscritto il: lunedì 13 novembre 2006, 10:21
Località: Provincia di Latina
Contatta:

Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da saviothecnic » venerdì 21 novembre 2008, 8:31

Salve a Tutti,

Dato che sto finendo la cnc grande
che doterò di mandrino HF e relativo inverter
Mi paicerebbe che Emc2 dato che credo il Gcode abbia tali dati settasse in automatico la velocità  di rotazione.

L' Inverter è un Thosiba VF-S11 da 1 cavallo

Nessuno di voi ha gestito un Inverter come il mio o simile con Emc2 ?

E facile da fare ?
Devo realizzare qualche scheda ?
Devo aggiungere una parallela al PC?
O basta solo la parallela integrata sul PC?
Ho un Epia 1200

Avete le stringe d'aggiungere al files .ini

Grazie

Dino
Senior
Senior
Messaggi: 822
Iscritto il: lunedì 13 novembre 2006, 23:08
Località: Dolomiti (BL)
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da Dino » venerdì 21 novembre 2008, 20:12

Ti posso dire che al file .ini non serve aggiungere nulla, devi solo modificare il file .hal in base al tipo di segnale richiesto dall'inverter ed interfacciarlo.
Ho trovato il manuale all'indirizzo http://www.esco-antriebstechnik.de/pdf/ ... ual-IT.pdf e da una veloce letta mi sembra di capire che puoi regolare la velocità  cin un segnale analogico 0-10v.
Credo la via più semplice sia utilizzare un segnale pwm su un pin della parallela e regolare l'ampiezza del segnale con un operazionale, ma meglio che chiedi nella sezione elettronica :)

ciao
NON più moderatore della sezione EMC ( http://www.linuxcnc.org/ )
Felice utilizzatore di GNU/Linux http://www.gnu.org/ http://www.kernel.org/
Linux Registered User #192043 http://counter.li.org/
Sito internet http://dino.delfavero.it/

saviothecnic
Senior
Senior
Messaggi: 1482
Iscritto il: lunedì 13 novembre 2006, 10:21
Località: Provincia di Latina
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da saviothecnic » sabato 22 novembre 2008, 0:25

Ok fatto grazie del link del manuale :D

https://www.cncitalia.net/forum/viewtopi ... =8&t=11053

P.S cosa dovrei aggiungere/modificare nel files hal per avere questo segnale PWM
Cambia ovviamente dal fatto se il mandrino è uno 0 18.000 o 0 24.000 giri
credo opterò per il secondo

Grazie

saviothecnic
Senior
Senior
Messaggi: 1482
Iscritto il: lunedì 13 novembre 2006, 10:21
Località: Provincia di Latina
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da saviothecnic » mercoledì 26 novembre 2008, 8:48

Ok Dino ti allego i files della mia config

Se sai dirmi le stringe d'aggiungere o modificare direttamente i miei files allegati
magari posso gia metterle su e vedere con un oscillo se ho questo segnale PWM da Emc2 sulla parallela :D

Grazie

Dino
Senior
Senior
Messaggi: 822
Iscritto il: lunedì 13 novembre 2006, 23:08
Località: Dolomiti (BL)
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da Dino » venerdì 28 novembre 2008, 21:52

Per creare un segnale PWM si usa il comando pwmgen, la funzione pwmgen.make-pulses la colleghi al base_thread mentre la funzione pwmgen.update basta collegharla al thread più lento, pwmgen.N.pwm lo colleghi al pin della parallela, pwmgen.N.enable lo colleghi a motion.spindle-on, probabilmente dovrai settare correttamente i parametri pwmgen.N.scale e pwmgen.N.pwm-freq

Tienici informati :)
NON più moderatore della sezione EMC ( http://www.linuxcnc.org/ )
Felice utilizzatore di GNU/Linux http://www.gnu.org/ http://www.kernel.org/
Linux Registered User #192043 http://counter.li.org/
Sito internet http://dino.delfavero.it/

saviothecnic
Senior
Senior
Messaggi: 1482
Iscritto il: lunedì 13 novembre 2006, 10:21
Località: Provincia di Latina
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da saviothecnic » venerdì 28 novembre 2008, 22:36

Dino ha scritto:Per creare un segnale PWM si usa il comando pwmgen, la funzione pwmgen.make-pulses la colleghi al base_thread mentre la funzione pwmgen.update basta collegharla al thread più lento, pwmgen.N.pwm lo colleghi al pin della parallela, pwmgen.N.enable lo colleghi a motion.spindle-on, probabilmente dovrai settare correttamente i parametri pwmgen.N.scale e pwmgen.N.pwm-freq Tienici informati :)
Grazie della Ripsosta Dino
Ho dato un occhiata ai Link ma l' inglese non mi aiuta :(
Sembrerebbe una cosa semplice ma in questo momento mi
sembra di aver letto Arabo :(

Intanto vado avanti nel cablare elettricamente il tutto.
Il PWM per un segnale 0 10V che è usato in molti inverter
sicuramente l'avranno usato anche altri
Spero che qualcuno che non abbiama Usato M3 ma Ecm2 con un Mandino HF
legga questo post cosi sa darmi diretanente la stringa d'agiungere/adattare al mio HAL

saviothecnic
Senior
Senior
Messaggi: 1482
Iscritto il: lunedì 13 novembre 2006, 10:21
Località: Provincia di Latina
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da saviothecnic » martedì 6 gennaio 2009, 16:10

Per gli utenti che hanno lo stesso Inverter posto questo Link

è il pcb per gestire finecorsa attivi e in piu il circuitino per il PWM :D

http://www.baronerosso.net/forum/cnc/11 ... pcb-4.html

http://www.baronerosso.net/forum/attach ... xy-pwm.rar

spero di rimettermi presto cosi lo provo :D

saviothecnic
Senior
Senior
Messaggi: 1482
Iscritto il: lunedì 13 novembre 2006, 10:21
Località: Provincia di Latina
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da saviothecnic » martedì 27 gennaio 2009, 14:50

Dato che attualmente non ho il 4° asse
Ho deciso d' usare i segnali step e dir della Fenice
dedicati al 4° asse per il PWM madnino e magari per il palpatore
Pin 8 => Dir A Pin 9 => Step A

Grazie a due info del utente IlCalcolatore ho modificato i miei files
che metto in allegato ma ho un errore questo errore :(

P.S se vorrei anche mettere un azzeratore utensili "palpatore"
altezza da 50mm collegato al pin 8 che stringe devo aggiungere al files pinout e .ini

Allego anche foto della schedina PWM che ho realizzato :D
Non hai i permessi necessari per visualizzare i file e le foto allegati in questo messaggio. Per visualizzare tali file devi registrarti ed effettuare il Login

saviothecnic
Senior
Senior
Messaggi: 1482
Iscritto il: lunedì 13 novembre 2006, 10:21
Località: Provincia di Latina
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da saviothecnic » martedì 27 gennaio 2009, 21:37

Opps avevo dimenticato d' allegare l' errore dato da Emc2 scusate :P

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=/usr/bin/inivar
HALCMD=/usr/bin/halcmd
EMC2_EMCSH=/usr/bin/emcsh
EMC2_IOSH=/usr/bin/iosh
EMC2 - 2.2.8
Machine configuration directory is '/home/cnc/emc2/configs/stepper'
Machine configuration file is 'Cnc480x700Fenice_mm.ini'
INIFILE=/home/cnc/emc2/configs/stepper/Cnc480x700Fenice_mm.ini
PARAMETER_FILE=stepper.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=emc.nml
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=5279
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Kernel message information:
[ 0.000000] Linux version 2.6.24-16-rtai (root@hardy) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 Tue Sep 30 22:54:33 EEST 2008 (Ubuntu 2.6.24-12.22-generic)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000003bff0000 (usable)
[ 0.000000] BIOS-e820: 000000003bff0000 - 000000003bff3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000003bff3000 - 000000003c000000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
[ 0.000000] 63MB HIGHMEM available.
[ 0.000000] 896MB LOWMEM available.
[ 0.000000] Entering add_active_range(0, 0, 245744) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 229376
[ 0.000000] HighMem 229376 -> 245744
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 245744
[ 0.000000] On node 0 totalpages: 245744
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 1760 pages used for memmap
[ 0.000000] Normal zone: 223520 pages, LIFO batch:31
[ 0.000000] HighMem zone: 127 pages used for memmap
[ 0.000000] HighMem zone: 16241 pages, LIFO batch:3
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] DMI 2.2 present.
[ 0.000000] Allocating PCI resources starting at 40000000 (gap: 3c000000:c3ff0000)
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 243825
[ 0.000000] Kernel command line: root=UUID=eb0ac374-65cd-4929-bdec-418642574bf6 ro quiet splash
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[ 0.000000] Detected 999.844 MHz processor.
[ 29.175838] I-pipe 2.0-04: pipeline enabled.
[ 29.176982] Console: colour VGA+ 80x25
[ 29.176992] console [tty0] enabled
[ 29.179763] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 29.183895] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 29.344932] Memory: 964596k/982976k available (1440k kernel code, 17668k reserved, 573k data, 228k init, 65472k highmem)
[ 29.344972] virtual kernel memory layout:
[ 29.344977] fixmap : 0xfffed000 - 0xfffff000 ( 72 kB)
[ 29.344983] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
[ 29.344990] vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
[ 29.344996] lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
[ 29.345002] .init : 0xc02fa000 - 0xc0333000 ( 228 kB)
[ 29.345008] .data : 0xc026836d - 0xc02f77ec ( 573 kB)
[ 29.345014] .text : 0xc0100000 - 0xc026836d (1440 kB)
[ 29.345028] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[ 29.345168] SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
[ 29.425190] Calibrating delay using timer specific routine.. 2001.00 BogoMIPS (lpj=4002014)
[ 29.425276] Security Framework initialized
[ 29.425298] SELinux: Disabled at boot.
[ 29.425344] AppArmor: AppArmor initialized
[ 29.425360] Failure registering capabilities with primary security module.
[ 29.425381] Mount-cache hash table entries: 512
[ 29.425695] CPU: After generic identify, caps: 0381b83f 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 29.425723] CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
[ 29.425734] CPU: L2 Cache: 64K (32 bytes/line)
[ 29.425743] CPU: After all inits, caps: 0381b93f 00000000 00000000 00000000 00000000 000000dd 00000000 00000000
[ 29.425779] Compat vDSO mapped to ffffe000.
[ 29.425813] CPU: Centaur VIA Nehemiah stepping 08
[ 29.425830] Checking 'hlt' instruction... OK.
[ 29.441524] Freeing SMP alternatives: 0k freed
[ 29.442023] net_namespace: 64 bytes
[ 29.443346] NET: Registered protocol family 16
[ 29.443854] EISA bus registered
[ 29.450073] PCI: PCI BIOS revision 2.10 entry at 0xfb2d0, last bus=3
[ 29.450084] PCI: Using configuration type 1
[ 29.450091] Setting up standard PCI resources
[ 29.457804] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 29.458416] PCI: Probing PCI hardware
[ 29.458452] PCI: Probing PCI hardware (bus 00)
[ 29.459135] PCI quirk: region 0400-047f claimed by vt8235 PM
[ 29.459147] PCI quirk: region 0500-050f claimed by vt8235 SMB
[ 29.461839] PCI: Using IRQ router VIA [1106/3177] at 0000:00:11.0
[ 29.589273] AppArmor: AppArmor Filesystem Enabled
[ 29.590274] PCI: Bridge: 0000:00:01.0
[ 29.590282] IO window: disabled.
[ 29.590295] MEM window: d4000000-d5ffffff
[ 29.590306] PREFETCH window: d0000000-d3ffffff
[ 29.590318] PCI: Bus 2, cardbus bridge: 0000:00:0a.0
[ 29.590327] IO window: 00001000-000010ff
[ 29.590336] IO window: 00001400-000014ff
[ 29.590347] PREFETCH window: 40000000-43ffffff
[ 29.590358] MEM window: 44000000-47ffffff
[ 29.590369] PCI: Bus 6, cardbus bridge: 0000:00:0a.1
[ 29.590377] IO window: 00001800-000018ff
[ 29.590387] IO window: 00001c00-00001cff
[ 29.590397] PREFETCH window: 48000000-4bffffff
[ 29.590408] MEM window: 4c000000-4fffffff
[ 29.590438] PCI: Setting latency timer of device 0000:00:01.0 to 64
[ 29.590465] PCI: setting IRQ 5 as level-triggered
[ 29.590475] PCI: Found IRQ 5 for device 0000:00:0a.0
[ 29.590534] PCI: Found IRQ 5 for device 0000:00:0a.1
[ 29.590553] PCI: Sharing IRQ 5 with 0000:00:0d.0
[ 29.590615] NET: Registered protocol family 2
[ 29.593180] Time: tsc clocksource has been installed.
[ 29.625346] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 29.626477] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 29.632023] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[ 29.633431] TCP: Hash tables configured (established 131072 bind 65536)
[ 29.633442] TCP reno registered
[ 29.645671] checking if image is initramfs... it is
[ 31.730106] Freeing initrd memory: 6484k freed
[ 31.731072] audit: initializing netlink socket (disabled)
[ 31.731106] audit(1233062850.336:1): initialized
[ 31.731521] highmem bounce pool size: 64 pages
[ 31.736595] VFS: Disk quotas dquot_6.5.1
[ 31.736675] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 31.737062] io scheduler noop registered
[ 31.737071] io scheduler anticipatory registered
[ 31.737079] io scheduler deadline registered
[ 31.737111] io scheduler cfq registered (default)
[ 31.737139] PCI: VIA PCI bridge detected. Disabling DAC.
[ 31.737230] Boot video device is 0000:01:00.0
[ 31.737779] isapnp: Scanning for PnP cards...
[ 32.091618] isapnp: No Plug & Play device found
[ 32.209701] Real Time Clock Driver v1.12ac
[ 32.209713] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 32.209899] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 32.213070] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 32.213311] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 32.213646] PNP: No PS/2 controller found. Probing ports directly.
[ 32.214073] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 32.214087] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 32.225137] mice: PS/2 mouse device common for all mice
[ 32.225422] EISA: Probing bus 0 at eisa.0
[ 32.225441] Cannot allocate resource for EISA slot 1
[ 32.225491] EISA: Detected 0 cards.
[ 32.225828] NET: Registered protocol family 1
[ 32.225864] Using IPI Shortcut mode
[ 32.226185] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 32.226194] EDD information not available.
[ 32.227163] Freeing unused kernel memory: 228k freed
[ 32.246187] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 34.122460] fuse init (API version 7.9)
[ 35.360825] usbcore: registered new interface driver usbfs
[ 35.360887] usbcore: registered new interface driver hub
[ 35.365321] PCI: Found IRQ 5 for device 0000:00:0d.0
[ 35.365344] PCI: Sharing IRQ 5 with 0000:00:0a.1
[ 35.418377] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[5] MMIO=[d600a000-d600a7ff] Max Packet=[2048] IR/IT contexts=[4/8]
[ 35.455360] usbcore: registered new device driver usb
[ 35.584674] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 35.587882] USB Universal Host Controller Interface driver v3.0
[ 35.597443] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 35.604581] via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
[ 35.604597] via-rhine: Broken BIOS detected, avoid_D3 enabled.
[ 35.724642] uhci_hcd 0000:00:10.0: UHCI Host Controller
[ 35.725301] uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
[ 35.725345] uhci_hcd 0000:00:10.0: irq 5, io base 0x0000b400
[ 35.725743] usb usb1: configuration #1 chosen from 1 choice
[ 35.725807] hub 1-0:1.0: USB hub found
[ 35.725824] hub 1-0:1.0: 2 ports detected
[ 35.828767] uhci_hcd 0000:00:10.1: UHCI Host Controller
[ 35.828835] uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
[ 35.828878] uhci_hcd 0000:00:10.1: irq 5, io base 0x0000b800
[ 35.829208] usb usb2: configuration #1 chosen from 1 choice
[ 35.829270] hub 2-0:1.0: USB hub found
[ 35.829286] hub 2-0:1.0: 2 ports detected
[ 35.933936] uhci_hcd 0000:00:10.2: UHCI Host Controller
[ 35.934004] uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
[ 35.934050] uhci_hcd 0000:00:10.2: irq 9, io base 0x0000bc00
[ 35.934385] usb usb3: configuration #1 chosen from 1 choice
[ 35.934448] hub 3-0:1.0: USB hub found
[ 35.934464] hub 3-0:1.0: 2 ports detected
[ 36.037067] ehci_hcd 0000:00:10.3: EHCI Host Controller
[ 36.037163] ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4
[ 36.037268] ehci_hcd 0000:00:10.3: irq 9, io mem 0xd600b000
[ 36.068503] usb 1-1: new full speed USB device using uhci_hcd and address 2
[ 36.080448] ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 36.080758] usb usb4: configuration #1 chosen from 1 choice
[ 36.080825] hub 4-0:1.0: USB hub found
[ 36.080843] hub 4-0:1.0: 6 ports detected
[ 36.189548] eth0: VIA Rhine II at 0xd600c000, 00:40:63:db:49:67, IRQ 5.
[ 36.190271] eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
[ 36.190565] VP_IDE: IDE controller (0x1106:0x0571 rev 0x06) at PCI slot 0000:00:11.1
[ 36.190604] VP_IDE: not 100% native mode: will probe irqs later
[ 36.190626] VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
[ 36.190647] ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hda:DMA, hdb:pio
[ 36.190677] ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:DMA, hdd:pio
[ 36.190701] Probing IDE interface ide0...
[ 36.996697] ieee1394: Host added: ID:BUS[0-00:1023] GUID[0040635000033d86]
[ 37.016349] usb 4-1: new high speed USB device using ehci_hcd and address 2
[ 37.149981] usb 4-1: configuration #1 chosen from 1 choice
[ 37.150285] hub 4-1:1.0: USB hub found
[ 37.150584] hub 4-1:1.0: 4 ports detected
[ 37.276448] hda: Maxtor 6Y120L0, ATA DISK drive
[ 37.276513] hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
[ 37.276661] hda: host side 80-wire cable detection failed, limiting max speed to UDMA33
[ 37.276673] hda: UDMA/33 mode selected
[ 37.276839] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 37.276937] Probing IDE interface ide1...
[ 37.676377] usb 4-3: new high speed USB device using ehci_hcd and address 4
[ 37.809675] usb 4-3: configuration #1 chosen from 1 choice
[ 37.810447] hub 4-3:1.0: USB hub found
[ 37.810994] hub 4-3:1.0: 4 ports detected
[ 38.156181] usb 1-2: new low speed USB device using uhci_hcd and address 3
[ 38.407819] usb 1-2: configuration #1 chosen from 1 choice
[ 38.613206] usb 4-3.1: new high speed USB device using ehci_hcd and address 5
[ 38.706759] usb 4-3.1: configuration #1 chosen from 1 choice
[ 38.812195] hdc: ATAPI DVD A DH20A4P, ATAPI CD/DVD-ROM drive
[ 38.812267] hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4
[ 38.812676] hdc: host side 80-wire cable detection failed, limiting max speed to UDMA33
[ 38.812688] hdc: UDMA/33 mode selected
[ 38.813085] ide1 at 0x170-0x177,0x376 on irq 15
[ 38.846988] SCSI subsystem initialized
[ 38.888063] libata version 3.00 loaded.
[ 38.924485] usb 4-3.2: new low speed USB device using ehci_hcd and address 6
[ 38.951968] hda: max request size: 128KiB
[ 38.964889] hda: Host Protected Area detected.
[ 38.964896] current capacity is 240115519 sectors (122939 MB)
[ 38.964903] native capacity is 240121728 sectors (122942 MB)
[ 38.996254] hda: Host Protected Area disabled.
[ 38.996271] hda: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=65535/16/63
[ 38.996482] hda: cache flushes supported
[ 38.996589] hda:<6>usb 4-3.2: configuration #1 chosen from 1 choice
[ 39.026517] usbcore: registered new interface driver hiddev
[ 39.027114] hda1 hda2 < hda5 hda6 > hda3
[ 39.064121] hdc: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
[ 39.064147] Uniform CD-ROM driver Revision: 3.20
[ 39.071263] input: USB Keyboard as /devices/pci0000:00/0000:00:10.0/usb1/1-2/1-2:1.0/input/input2
[ 39.080209] input,hidraw0: USB HID v1.10 Keyboard [ USB Keyboard] on usb-0000:00:10.0-2
[ 39.165635] input: USB Keyboard as /devices/pci0000:00/0000:00:10.0/usb1/1-2/1-2:1.1/input/input3
[ 39.176224] input,hidraw1: USB HID v1.10 Device [ USB Keyboard] on usb-0000:00:10.0-2
[ 39.179830] input: Microsoft Microsoft(R) Compact Optical Mouse as /devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3.2/4-3.2:1.0/input/input4
[ 39.192220] input,hidraw2: USB HID v1.10 Mouse [Microsoft Microsoft(R) Compact Optical Mouse] on usb-0000:00:10.3-3.2
[ 39.192278] usbcore: registered new interface driver usbhid
[ 39.192293] /home/juve/hardy-packages/linux-git/ubuntu-hardy/debian/build/custom-source-rtai/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[ 39.192571] usbcore: registered new interface driver libusual
[ 39.216947] Initializing USB Mass Storage driver...
[ 39.227690] scsi0 : SCSI emulation for USB Mass Storage devices
[ 39.236920] usbcore: registered new interface driver usb-storage
[ 39.236939] USB Mass Storage support registered.
[ 39.237229] usb-storage: device found at 5
[ 39.237238] usb-storage: waiting for device to settle before scanning
[ 39.998919] kjournald starting. Commit interval 5 seconds
[ 39.998954] EXT3-fs: mounted filesystem with ordered data mode.
[ 44.235682] usb-storage: device scan complete
[ 44.236390] scsi 0:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0
[ 44.237001] scsi 0:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0
[ 44.237610] scsi 0:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0
[ 44.238110] scsi 0:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0
[ 48.986493] irda_init()
[ 48.986534] NET: Registered protocol family 23
[ 49.043192] Yenta: CardBus bridge found at 0000:00:0a.0 [1106:aa01]
[ 49.059617] Linux agpgart interface v0.102
[ 49.104697] input: PC Speaker as /devices/platform/pcspkr/input/input5
[ 49.171619] Yenta: ISA IRQ mask 0x0c88, PCI irq 5
[ 49.171632] Socket status: 30000820
[ 49.199246] Yenta: CardBus bridge found at 0000:00:0a.1 [1106:aa01]
[ 49.327565] Yenta: ISA IRQ mask 0x0c88, PCI irq 5
[ 49.327578] Socket status: 30000006
[ 49.358879] agpgart: Detected VIA CLE266 chipset
[ 49.411060] agpgart: AGP aperture is 256M @ 0xc0000000
[ 49.834842] pccard: CardBus card inserted into slot 0
[ 49.942204] eth0: link down
[ 50.050795] fb0: VIA VT8623 on 0000:01:00.0, 64 MB RAM
[ 52.427992] NET: Registered protocol family 10
[ 52.428538] lo: Disabled Privacy Extensions
[ 52.429523] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 53.129190] input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input6
[ 53.844769] Driver 'sd' needs updating - please use bus_type methods
[ 53.848756] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 53.850172] sd 0:0:0:1: [sdb] Attached SCSI removable disk
[ 53.851560] sd 0:0:0:2: [sdc] Attached SCSI removable disk
[ 53.852914] sd 0:0:0:3: [sdd] Attached SCSI removable disk
[ 54.196554] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 54.196650] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 54.196738] sd 0:0:0:2: Attached scsi generic sg2 type 0
[ 54.196894] sd 0:0:0:3: Attached scsi generic sg3 type 0
[ 54.937762] PCI: Setting latency timer of device 0000:00:11.5 to 64
[ 58.889953] cs: IO port probe 0x100-0x3af: excluding 0x378-0x37f
[ 58.891931] cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
[ 58.892445] cs: IO port probe 0x820-0x8ff: clean.
[ 58.893184] cs: IO port probe 0xc00-0xcf7: clean.
[ 58.894456] cs: IO port probe 0x100-0x3af: excluding 0x378-0x37f
[ 58.896423] cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
[ 58.896935] cs: IO port probe 0x820-0x8ff: clean.
[ 58.898094] cs: IO port probe 0xa00-0xaff: clean.
[ 58.899136] cs: IO port probe 0xc00-0xcf7: clean.
[ 58.900237] cs: IO port probe 0xa00-0xaff: clean.
[ 59.209820] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 59.210053] PCI: Enabling device 0000:02:00.1 (0000 -> 0002)
[ 59.210117] PCI: Setting latency timer of device 0000:02:00.1 to 64
[ 59.210130] ohci_hcd 0000:02:00.1: OHCI Host Controller
[ 59.210257] ohci_hcd 0000:02:00.1: new USB bus registered, assigned bus number 5
[ 59.210299] ohci_hcd 0000:02:00.1: irq 5, io mem 0x44020000
[ 59.373884] usb usb5: configuration #1 chosen from 1 choice
[ 59.374004] hub 5-0:1.0: USB hub found
[ 59.374027] hub 5-0:1.0: 1 port detected
[ 59.733605] usb 5-1: new full speed USB device using ohci_hcd and address 2
[ 59.903499] usb 5-1: configuration #1 chosen from 1 choice
[ 60.505698] usbcore: registered new interface driver usbserial
[ 60.505746] /home/juve/hardy-packages/linux-git/ubuntu-hardy/debian/build/custom-source-rtai/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 60.505843] usbcore: registered new interface driver usbserial_generic
[ 60.505854] /home/juve/hardy-packages/linux-git/ubuntu-hardy/debian/build/custom-source-rtai/drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 60.515278] /home/juve/hardy-packages/linux-git/ubuntu-hardy/debian/build/custom-source-rtai/drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
[ 60.515367] option 5-1:1.0: GSM modem (1-port) converter detected
[ 60.515866] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 60.515896] option 5-1:1.1: GSM modem (1-port) converter detected
[ 60.516307] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 60.516335] option 5-1:1.2: GSM modem (1-port) converter detected
[ 60.516781] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 60.516813] usbcore: registered new interface driver option
[ 60.516825] /home/juve/hardy-packages/linux-git/ubuntu-hardy/debian/build/custom-source-rtai/drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
[ 60.905817] lp: driver loaded but no devices found
[ 61.204399] Adding 4907816k swap on /dev/hda6. Priority:-1 extents:1 across:4907816k
[ 61.832267] EXT3 FS on hda5, internal journal
[ 64.175448] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 67.937387] ppdev: user-space parallel port driver
[ 68.078726] audit(1233059287.128:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=4482 profile="/usr/sbin/cupsd" namespace="default"
[ 71.066883] Bluetooth: Core ver 2.11
[ 71.074235] NET: Registered protocol family 31
[ 71.074248] Bluetooth: HCI device and connection manager initialized
[ 71.074260] Bluetooth: HCI socket layer initialized
[ 71.192424] Bluetooth: L2CAP ver 2.9
[ 71.192439] Bluetooth: L2CAP socket layer initialized
[ 71.264248] Bluetooth: RFCOMM socket layer initialized
[ 71.264304] Bluetooth: RFCOMM TTY layer initialized
[ 71.264312] Bluetooth: RFCOMM ver 1.8
[ 74.463272] [drm] Initialized drm 1.1.0 20060810
[ 74.474004] [drm] Initialized via 2.11.1 20070202 on minor 0
[ 74.541990] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
[ 74.542034] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
[ 74.542118] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[ 150.138825] usb 4-4: new high speed USB device using ehci_hcd and address 7
[ 150.273208] usb 4-4: configuration #1 chosen from 2 choices
[ 150.291606] scsi1 : SCSI emulation for USB Mass Storage devices
[ 150.314038] usb-storage: device found at 7
[ 150.314052] usb-storage: waiting for device to settle before scanning
[ 155.310588] usb-storage: device scan complete
[ 155.312071] scsi 1:0:0:0: Direct-Access Apple iPod 1.62 PQ: 0 ANSI: 0
[ 155.326263] sd 1:0:0:0: [sde] 58605120 512-byte hardware sectors (30006 MB)
[ 155.327382] sd 1:0:0:0: [sde] Write Protect is off
[ 155.327394] sd 1:0:0:0: [sde] Mode Sense: 68 00 00 08
[ 155.327404] sd 1:0:0:0: [sde] Assuming drive cache: write through
[ 155.329627] sd 1:0:0:0: [sde] 58605120 512-byte hardware sectors (30006 MB)
[ 155.330887] sd 1:0:0:0: [sde] Write Protect is off
[ 155.330901] sd 1:0:0:0: [sde] Mode Sense: 68 00 00 08
[ 155.330911] sd 1:0:0:0: [sde] Assuming drive cache: write through
[ 155.330929] sde: sde1 sde2
[ 155.340005] sd 1:0:0:0: [sde] Attached SCSI removable disk
[ 155.340120] sd 1:0:0:0: Attached scsi generic sg4 type 0
[ 238.280443] I-pipe: Domain RTAI registered.
[ 238.280471] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
[ 238.280481] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3).
[ 238.280498] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 238.280510] PIPELINE layers:
[ 238.280519] fe092000 9ac15d93 RTAI 200
[ 238.280527] c0383180 0 Linux 100
[ 238.353760] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 238.354916] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 238.354939] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); default timing: periodic; linear timed lists.
[ 238.354955] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 999844000 hz.
[ 238.354967] RTAI[sched]: timer setup = 2010 ns, resched latency = 2689 ns.
[ 238.567792] RTAI[math]: loaded.
[ 238.599081] rtapi: no version for "nano2count" found: kernel tainted.
[ 239.010921] config string '0x0378'
[ 239.816311] RTAI[math]: unloaded.
[ 239.905188] SCHED releases registered named ALIEN RTGLBH
[ 239.931244] RTAI[malloc]: unloaded.
[ 240.030319] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 240.039747] I-pipe: Domain RTAI unregistered.
[ 240.039770] RTAI[hal]: unmounted.

Debug file information:
fenice_pinout.hal:23: Warning: linkpp command is deprecated, use 'net'
fenice_pinout.hal:95: pin 'motion.spindle-on' was already linked
5279
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Dino
Senior
Senior
Messaggi: 822
Iscritto il: lunedì 13 novembre 2006, 23:08
Località: Dolomiti (BL)
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da Dino » mercoledì 28 gennaio 2009, 1:10

saviothecnic ha scritto:fenice_pinout.hal:95: pin 'motion.spindle-on' was already linked
L'errore sta qui... file fenice_pinout.hal alla riga 95 :)
NON più moderatore della sezione EMC ( http://www.linuxcnc.org/ )
Felice utilizzatore di GNU/Linux http://www.gnu.org/ http://www.kernel.org/
Linux Registered User #192043 http://counter.li.org/
Sito internet http://dino.delfavero.it/

saviothecnic
Senior
Senior
Messaggi: 1482
Iscritto il: lunedì 13 novembre 2006, 10:21
Località: Provincia di Latina
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da saviothecnic » mercoledì 28 gennaio 2009, 10:22

Dino ha scritto:L'errore sta qui... file fenice_pinout.hal alla riga 95 :)
Ciao Dino,

Se conta anche le righe con commenti dovrebbe essere questa
linksp spindle-speed-cmd pwmgen.0.value
Cmq nel messy prima ho allegato anche i files di config incriminati.

Dal poco d' inglese che so dice che nella riga 95 il motion.spindle-on è gia collegato
Diciamo che questo è vero ma credo siano marlale o sbaglio

Nella riga 35 ho
linkps motion.spindle-on => attiva_mandrino
E nella 39 per colegare il rele che da l' on al mandino da pin 14 questa riga
linksp attiva_mandrino => parport.0.pin-14-out

Quindi è evidente che vi è qualche errore tra l' attiva mandino sul Pin 14 e il PWM
Io dal pin 14 attivo il rele e do un segnale al inverter di ON
E poi dal Pin 9 il segnale PWM che trasformo in 0 10V per darlo al inverter per la velocita

Cosa devo aggiustare? Per l' uso del palpatore sai dirmi nulla?

Grazie

saviothecnic
Senior
Senior
Messaggi: 1482
Iscritto il: lunedì 13 novembre 2006, 10:21
Località: Provincia di Latina
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da saviothecnic » mercoledì 28 gennaio 2009, 12:08

Ho rianalizzato il tutto :wink:

Se ho capito bene l' errore che ho fatto e che da una parte ho usato
spindle-on e da un altra parte attiva_mandrino

Scrivendo da entrambe attiva_mandrino sembra OK almeno spero :?:

Allego files che ho correto più due schermate ditemi se è OK

Se mi arriva il trimer da 100K che mi manca sulla schedina
faccio anche la prova fisica con il tester :D

P.S ma non posso variare la velocità  mandino mentre il programma è in esequzione?

Dino per il palpatore dai indcarmi che stringe aggiungere?

Grazie
Non hai i permessi necessari per visualizzare i file e le foto allegati in questo messaggio. Per visualizzare tali file devi registrarti ed effettuare il Login

saviothecnic
Senior
Senior
Messaggi: 1482
Iscritto il: lunedì 13 novembre 2006, 10:21
Località: Provincia di Latina
Contatta:

Re: Emc2 e controllo giri con Inverter Thosiba VF-S11

Messaggio da saviothecnic » giovedì 29 gennaio 2009, 23:58

Ok ho messo una resistenza da 50K nel frattempo che mi arriva il trimer da 100K
e diciamo che ci siamo :D

Adesso Emc2 come da foto allegate mi da un uscita PWM
che poi con la schedina si trasforma in analogica
che collegata al inverter mi varia la frequezna del mio inverterino :D
E quindi i giri del mandino HF ad esso collegato.

Pero ho due problemi il mio mandino HF diciamo ha scala 0-24.000 giri max 400Hz

Mi dite che comando dare in modo da tarare l' elettronica per le varie velocità ?
Mi spiego meglio che comando Gcode devo dare per 24.000 giri
quale per 12.000 ecc ecc.

Inoltre volevo sapere se è possibile oltre la velocita d' avanzamento
far visualizzare a Emc2 la velocita del mandrino in modo almeno nei primi tempi
controllare che il tutto corrisponda.

Ma la cosa piu noiosa che noto e che quando parte il programma
non posso variare la velcoita di rotazione :(
Mettiamo che faccio un Gcode e vedo nella lavorazione che la velocita imposta
è troppo lenta o veloce non posso in modo manuale da soft aumentarla
o diminuirla il tasto piu e meno della velocita mi diventa grigio non selzionabile
appena avvio l' esecuzione del files Gcode.

Poi se qualcuno mi sa dare anche info su come implementare il palpatore sarebbe ottimo :D

Grazie
Non hai i permessi necessari per visualizzare i file e le foto allegati in questo messaggio. Per visualizzare tali file devi registrarti ed effettuare il Login

Rispondi

Torna a “Linuxcnc”