stepconf work fine but not in lcnc

More
19 Nov 2017 18:20 #102028 by Shpalman72
hello!
first of all sorry for my english
I'm new in cnc and I'm trying to set up a linuxcnc machine to move my little proxxon-mf70
so
I've installed the last debian with lcnc
when I launch stepconfig I set-up the motor and they work fine
then I launch lcnc and nothing work: the program starts without errors
the 'cone' follow his job but no motor moves
even if I move arrow keys nothing happens

I use a pci-lpt board that in stepconfig is port '0' (the system recognizes it)

thank you for any help
Massimo

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

More
19 Nov 2017 22:14 #102040 by PCW
Are the drives enabled? (locked in position)
can you post your hal and ini files?

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

More
19 Nov 2017 22:56 #102043 by grump
It may show as port 0 in the stepconfig but does it show as port 0 in lspci?
Have you checked because that is what the fault sounds like to me?

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

More
20 Nov 2017 17:59 #102082 by Shpalman72
in stepconfig they are locked, in axis no and no led in the board is flashing

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

More
20 Nov 2017 18:31 #102086 by Shpalman72
this is lspci -vv:

02:05.2 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 64 bytes
Interrupt: pin C routed to IRQ 22
Region 0: I/O ports at d010
Region 1: I/O ports at d000
Region 2: Memory at ff501000 (32-bit, non-prefetchable) [size=4K]
Region 4: Memory at ff500000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: parport_pc

maybe I'd have to change the name in a000:2000 ?

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

More
20 Nov 2017 18:36 #102089 by Shpalman72

Are the drives enabled? (locked in position)
can you post your hal and ini files?

Attachments:

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

More
24 Nov 2017 17:49 #102302 by andypugh
Stepconf test doesn't operate the "enable" pins so it might be that your enable is working as a disable.

In the parallel port setup screen set the "enable" parallel port output (Pin 14) to "inverted"
The following user(s) said Thank You: Shpalman72

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

More
25 Nov 2017 14:38 #102336 by Shpalman72
finally it runs!!

I had to comment some rows in the HAL file related to sim-parport and sim-hardware

#loadrt sim-parport names=parport.0
#source sim_hardware.hal
#addf sim-hardware.update servo-thread


and add the parallel manually

loadrt hal_parport cfg=0xd010

and now it runs!

thank you all

Max

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

More
25 Nov 2017 14:44 #102337 by andypugh
Ah! There is a check-box very early in the Stepconf process that says "create a simulator config" or something like that.
The following user(s) said Thank You: Shpalman72

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

More
01 Dec 2017 13:33 #102563 by Shpalman72
andypugh: you're right
I'm an idiot
(this is my first set-up in cnc)
I thought it was a check-box to enable some unidentified hardware simulator
so now I delete all my configurations and I'll do one, simple, clear and I start to mill

thank you very much
Massimo

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

Time to create page: 0.145 seconds
Powered by Kunena Forum