Wabeco D6000: ATC problem

More
12 May 2021 16:13 #208630 by gcardinal


Initially I started with basic configuration for D6000 and got all the axis moving. Then using PNCconf calculated all the parameters for A axis (toolchanger) also connected and configured homing switch on the toolchanger.

From that point it got quite a bit harder, but I found this great thread about Boxford ATC:
forum.linuxcnc.org/38-general-linuxcnc-q...ved?start=100#188519

Using it as a baseline I integrated it into my configuration. Here is the current code:
github.com/bergstar/Wabeco-D6000

So far there is no error's and I get:
No tool selected. Use M6Tx to set current tool
Message when I start LinuxCNC. However, from that point on no matter how many times I set M6 T1, M6 T2, etc. there is no movement. Also from what I can tell toolchanger-stepgen-fb value is never changed and is constant.

Any help / advice on what to do next would be greatly appreciated.
Attachments:

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

More
12 May 2021 21:43 #208659 by andypugh
Replied by andypugh on topic Wabeco D6000: ATC problem
This sounds like a HAL wiring issue. Does the .comp have a connection to iocontrol.0.tool-number?
The following user(s) said Thank You: gcardinal

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

More
12 May 2021 22:38 - 12 May 2021 22:41 #208668 by gcardinal
Replied by gcardinal on topic Wabeco D6000: ATC problem

This sounds like a HAL wiring issue. Does the .comp have a connection to iocontrol.0.tool-number?


I looked into it and looks like I used wrong pin name:
net apos-cmd toolchanger.position-cmd => hm2_7i76e.0.stepgen.02.position-cmd
changed it to
net apos-cmd toolchanger.position-cmd => hm2_7i76e.0.stepgen.02.velocity-cmd

It now finally turns (and in correct direction). However - it never stop turning :ohmy: It just turns and turns
Not sure if component was maybe configured to linear axis?

Edit: When testing with G01 A360.0 command it makes exactly 1 full turn
Last edit: 12 May 2021 22:41 by gcardinal.

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

More
14 May 2021 13:25 #208800 by andypugh
Replied by andypugh on topic Wabeco D6000: ATC problem
net toolchanger-stepgen-fb <= hm2_7i76e.0.stepgen.02.position-fb => toolchanger.stepgen-pos-fb

It looks like the HAL pin exported by the component is
toolchanger.stepgen_pos_fb (underscores, not hyphens)

Try changing your HAL to be consistent with the .comp (or changing the comp to be consistent with the pin naming conventions)
The following user(s) said Thank You: gcardinal

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

More
14 May 2021 13:58 - 14 May 2021 14:15 #208806 by gcardinal
Replied by gcardinal on topic Wabeco D6000: ATC problem
It turns out I was using wrong control-type, changed to 0 and now it works.
setp   hm2_7i76e.0.stepgen.02.control-type     0

For reference working code is on master in git. I will continue working on the .comp

Edit:
Posted next problem about homing ATC here
forum.linuxcnc.org/10-advanced-configura...sequence-inside-comp
Last edit: 14 May 2021 14:15 by gcardinal.

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

More
16 Jan 2022 19:29 #232051 by NickySantoro
Hi,

I recently bought wabeco d6000hs with auto tool changer and nccad cnc, when trying to move axis in manual mode, have an error "cnc running... etc " when pushing on x or z axis button on the screen, can not find solution anywhere. Did you have the issue?

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

More
16 Jan 2022 22:18 #232076 by andypugh
Replied by andypugh on topic Wabeco D6000: ATC problem

Hi,

I recently bought wabeco d6000hs with auto tool changer and nccad cnc, 

Is this related to LinuxCNC at all? 

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

Time to create page: 0.098 seconds
Powered by Kunena Forum