Duplomatic BSV N 160 Werkzeugwechsler / Turret
- Miller Turner
- Offline
- Junior Member
-
Less
More
- Posts: 24
- Thank you received: 1
02 Jul 2023 10:56 #274630
by Miller Turner
Replied by Miller Turner on topic Duplomatic BSV N 160 Werkzeugwechsler / Turret
Hi Daniel,
Reading that you have successfully got your EmcoTurn 240 now running under LinuxCNC makes me very enthousiastic as I have my eyes a similar Emco collecting dust until I am ready to retrofit it too.
Do you have anything you have shared on the internet / this forum on your beautyful retrofit job?
Best regards,
Frans
Reading that you have successfully got your EmcoTurn 240 now running under LinuxCNC makes me very enthousiastic as I have my eyes a similar Emco collecting dust until I am ready to retrofit it too.
Do you have anything you have shared on the internet / this forum on your beautyful retrofit job?
Best regards,
Frans
Please Log in or Create an account to join the conversation.
- Firehunter
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 1
19 Sep 2023 19:27 #281184
by Firehunter
Replied by Firehunter on topic Duplomatic BSV N 160 Werkzeugwechsler / Turret
I'm currently working on a Emcoturn 240 retrofit. But I'm having a bit of trouble to get the turret working. I used the duplo8.comp file. The inputs and outputs seem to be working correctly. I had the turret on position 4 and did a M6 T3 command, but it went to position 4. After that it kept rotating back and forth between positions 2 and 4. I found 2 changes in duplo8.comp (compared to duplo.comp). Duplo8.comp uses "while(lockingSwitch == 1)" to rotate the turret in the opposite direction, the original used "lockingSwitch == 0". That seems to be the correct way according to the manual. But when I use 0 instead of 1, the turret keeps spinning to a random position. Also at random times, not only during a toolchange command.
Does "parity_error = (pcalc ^= codparity );" actually have a use? Because the value of this bit seems to be random, constant flickering.
What could be the problem?
Does "parity_error = (pcalc ^= codparity );" actually have a use? Because the value of this bit seems to be random, constant flickering.
What could be the problem?
Please Log in or Create an account to join the conversation.
- Miller Turner
- Offline
- Junior Member
-
Less
More
- Posts: 24
- Thank you received: 1
25 Jun 2024 18:58 - 25 May 2025 06:19 #303772
by Miller Turner
Replied by Miller Turner on topic Duplomatic BSV N 160 Werkzeugwechsler / Turret
Hi All,
I've started working on the turret on my Emco lathe too.
It's a Sauter turret and there are many simularities with the Duplomatic turret described in this topic.
I connected all signal pins, like encoder and proximity detector, and if I manually turn the turret I can monitor the signals with Halshow in Linuxcnc UI.
Now I modified the duplo.comp file a little to match my signals.
From this topic I understood I should compile this sauter.comp file like this from within the config folder of my linuxcnc configuration:
sudo halcompile --compile --userspace sauter.comp
It seems to compile without errors and as a result I do get a new executable file called sauter (also in the same config folder) and I call this file from my main hal file like this:
loadusr -W sauter
Unfortunately, when starting LinuxCNC, I do get this error which I don't understand and hope to get some help from the experts here at the forum:
Can anyone help and explain what I might be doing wrong?
I've started working on the turret on my Emco lathe too.
It's a Sauter turret and there are many simularities with the Duplomatic turret described in this topic.
I connected all signal pins, like encoder and proximity detector, and if I manually turn the turret I can monitor the signals with Halshow in Linuxcnc UI.
Now I modified the duplo.comp file a little to match my signals.
From this topic I understood I should compile this sauter.comp file like this from within the config folder of my linuxcnc configuration:
sudo halcompile --compile --userspace sauter.comp
It seems to compile without errors and as a result I do get a new executable file called sauter (also in the same config folder) and I call this file from my main hal file like this:
loadusr -W sauter
Unfortunately, when starting LinuxCNC, I do get this error which I don't understand and hope to get some help from the experts here at the forum:
Can anyone help and explain what I might be doing wrong?
Attachments:
Last edit: 25 May 2025 06:19 by Miller Turner.
Please Log in or Create an account to join the conversation.
- Miller Turner
- Offline
- Junior Member
-
Less
More
- Posts: 24
- Thank you received: 1
25 May 2025 07:00 - 25 May 2025 07:19 #329091
by Miller Turner
Replied by Miller Turner on topic Duplomatic BSV N 160 Werkzeugwechsler / Turret
please forgive my stupidity.
after compiling I should have done the next step too I now see:
sudo halcompile --install --userspace sauter.comp
This seems to get me a bit further into debugging.
I get a Pin 'sauter_us_toolchange' does not exist error, which I don't understand yet.
as I did initiate it in the main hal file:
net tool-change iocontrol.0.tool-change => sauter_us_toolchange
Anyone has a clue of what I might be doing wrong?
after compiling I should have done the next step too I now see:
sudo halcompile --install --userspace sauter.comp
This seems to get me a bit further into debugging.
I get a Pin 'sauter_us_toolchange' does not exist error, which I don't understand yet.
as I did initiate it in the main hal file:
net tool-change iocontrol.0.tool-change => sauter_us_toolchange
Anyone has a clue of what I might be doing wrong?
Attachments:
Last edit: 25 May 2025 07:19 by Miller Turner.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Away
- Administrator
-
Less
More
- Posts: 4415
- Thank you received: 1969
25 May 2025 07:46 #329092
by Aciera
Replied by Aciera on topic Duplomatic BSV N 160 Werkzeugwechsler / Turret
seems that you are mixing underscore with hyphen in the hal
sauter_us. VS sauter-us
sauter_us. VS sauter-us
Please Log in or Create an account to join the conversation.
- Miller Turner
- Offline
- Junior Member
-
Less
More
- Posts: 24
- Thank you received: 1
25 May 2025 10:41 #329101
by Miller Turner
Replied by Miller Turner on topic Duplomatic BSV N 160 Werkzeugwechsler / Turret
Thanks for waking me up 
It's even worse, not only - and _ got mixed up, it should have been:
net tool-change iocontrol.0.tool-change => sauter.0.toolchange
net tool-changed iocontrol.0.tool-changed => sauter.0.toolchanged
net tool-number iocontrol.0.tool-prep-number => sauter.0.newtoolnumber
Now Linuxcnc at least starts ok again. Let's see if I can get the turret move...

It's even worse, not only - and _ got mixed up, it should have been:
net tool-change iocontrol.0.tool-change => sauter.0.toolchange
net tool-changed iocontrol.0.tool-changed => sauter.0.toolchanged
net tool-number iocontrol.0.tool-prep-number => sauter.0.newtoolnumber
Now Linuxcnc at least starts ok again. Let's see if I can get the turret move...
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.130 seconds