Problem with homing ATC step motor

More
04 Oct 2019 05:37 #147096 by CNCDoc
Will do it tonight.
But it looked the same on both the new and the old .comp.

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

More
05 Oct 2019 15:41 #147203 by CNCDoc
XXX@XXX:~/linuxcnc$ sudo halcompile --install carousel.comp
[sudo] password for XXX
Compiling realtime carousel.c
Linking carousel.so
cp carousel.so /usr/lib/linuxcnc/modules/
XXX@XXX:~/linuxcnc$

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

More
05 Oct 2019 18:45 #147214 by andypugh
Well, that looks OK.

You are running installed rather than run-in place LinuxCNC?

Is there any other carousel.so on your system?

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

More
06 Oct 2019 05:52 #147235 by CNCDoc
Installed following instruction 7.1 in the following link

linuxcnc.org/docs/html/getting-started/getting-linuxcnc.html

Is there any other carousel.so on your system?


I'll check.

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

More
06 Oct 2019 13:47 #147247 by CNCDoc
The only carousel.so I find is in:
/ Usr / lib / linuxcnc / modules /

The carousel.so I'm using now comes from post 58732. If it does matter

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

More
06 Oct 2019 16:32 #147260 by andypugh
If you revert to the previous carousel component code and halcompile that, does it then work?

Is it _definitely_ a problem with carousel? If you comment out all references to carousel does the system then load normally?

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

More
06 Oct 2019 16:45 - 06 Oct 2019 17:41 #147265 by CNCDoc
If you revert to the previous carousel component code and halcompile that, does it then work? Yes

Is it _definitely_ a problem with carousel?
If you comment out all references to carousel does the system then load normally? Yes
Last edit: 06 Oct 2019 17:41 by CNCDoc.

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

More
09 Oct 2019 03:43 #147527 by andypugh
I am afraid that I am baffled then, as lots of people (including myself) have successfully used the new version so control lool changers.

There is less scope for weirdness than normal too, as Halcompile does most of the work, and that is well tested and compiles all the other components.

I suppose it is just possible that you are specifying an untested set of command-line parameters. What is your "loadrt" line?

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

More
09 Oct 2019 16:04 #147571 by CNCDoc
loadrt carousel pockets=15 dir=1 encoding=bcd num_sense=5
loadrt conv_float_s32
addf carousel.0 servo-thread
addf conv-float-s32.0 servo-thread # G-code analogue outputs are float-type




File Attachment:

File Name: Modig_5000...0-09.hal
File Size:16 KB

File Attachment:

File Name: Modig_5000...0-09.ini
File Size:4 KB

File Attachment:

File Name: toolchange...0-09.hal
File Size:2 KB
Attachments:

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

More
18 Oct 2019 12:41 #148187 by andypugh
I am back from my travels, I will try to look at this again soon.
I do wonder if 15 pockets (not a power of 2) is the problem.
(And 5 sense pins is one too many to encode 15 pockets)

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

Time to create page: 0.435 seconds
Powered by Kunena Forum