Duplomatic bsv n 200 turret

More
23 Mar 2017 20:02 #90150 by billykid
hi, I'm trying to figure out if you can handle Duplomatic bs 200 turret with classicladder, but looking around the forum I have not seen what I wanted.
in practice for the position is an absolute encoder: 4 data bits, parity, strobe.
I could not find examples to use this.
Thanks in advance
Mauro

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

More
24 Mar 2017 01:15 #90168 by BigJohnT
I have a turret example for classicladder here
gnipsel.com/linuxcnc/ladder/index.html

JT

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

More
24 Mar 2017 12:45 #90196 by andypugh

billykid wrote: in practice for the position is an absolute encoder: 4 data bits, parity, strobe.


I think that the "carousel" HAL component should work with this. Ignore the parity, and set the "strobe" as "index"

Do you have the bit patterns for each position?

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

More
24 Mar 2017 17:54 #90222 by billykid
Thanks Andy, I have the documentation here it
regards
Mauro

This browser does not support PDFs. Please download the PDF to view it: Download PDF

Attachments:

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

More
24 Mar 2017 18:13 #90223 by andypugh
Looks like straight binary. The "carousel" component should work, but won't support the parity check. How badly do you want the parity check? It's not difficult to add, but wasn't in my plans for the weekend :)

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

More
24 Mar 2017 20:58 #90226 by billykid
I think it's not a parity 'problem, but rather that the braking is carried out with a solenoid that locks the turret and the motor reverses rotation, and braking.
Meanwhile, the study carousel component.
thanks for asking
Mauro

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

More
25 Mar 2017 13:18 - 27 Mar 2017 07:49 #90246 by billykid

BigJohnT wrote: I have a turret example for classicladder here
gnipsel.com/linuxcnc/ladder/index.html

JT


Thanks John, I had already seen it but can not figure out how to connect the absolute encoder is used ... or a signal for each position?
maybe I should see to better understand the true links with the mesa card.
regards
mauro

sorry I had not seen your "Hardinge" configuration
it was just what I wanted, the only thing is that I do not see the signal "strobe" encoder.
regards
Last edit: 27 Mar 2017 07:49 by billykid.

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

More
29 Mar 2017 22:44 #90530 by BigJohnT

billykid wrote:
sorry I had not seen your "Hardinge" configuration
it was just what I wanted, the only thing is that I do not see the signal "strobe" encoder.
regards


I'm not sure what you mean by " the signal "strobe" encoder", my Hardinge CHNC has an absolute grey code encoder.
# Tool Turret Encoder Setup
net turret-encoder1 wsum.0.bit.0.in <= hm2_5i20.0.gpio.063.in_not
net turret-encoder2 wsum.0.bit.1.in <= hm2_5i20.0.gpio.061.in_not
net turret-encoder4 wsum.0.bit.2.in <= hm2_5i20.0.gpio.059.in_not
net turret-encoder8 wsum.0.bit.3.in <= hm2_5i20.0.gpio.057.in_not

# Tool Turret tool change, leave the tool prep loop in as there is no prep needed
net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
#net tool-change-loop iocontrol.0.tool-change => iocontrol.0.tool-changed
net tool-cng-req iocontrol.0.tool-change => classicladder.0.in-01
net tool-cn-done iocontrol.0.tool-changed <= classicladder.0.out-01
net tool-number iocontrol.0.tool-number => classicladder.0.s32in-00
net tool-prep-number iocontrol.0.tool-prep-number => classicladder.0.s32in-01
net tur-stop hm2_5i20.0.gpio.069.out <= classicladder.0.out-02
net tur-lift-spin hm2_5i20.0.gpio.066.out <= classicladder.0.out-03
net tur-locked hm2_5i20.0.gpio.033.in_not => classicladder.0.in-02
net enc-tool-number wsum.0.sum => classicladder.0.s32in-02
net tool-cng-timeout classicladder.0.out-04 => halui.program.stop

The wsum decodes the inputs from the encoder and converts that to a number 1 - 8 for classicladder.

JT

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

More
30 Mar 2017 20:13 #90603 by billykid
thanks John, the lathe is not mine, to simplify the owner bought this controller made by the same Duplomatic.
just direct the tool with 4 bits and returns ok or fault in case of failure

This browser does not support PDFs. Please download the PDF to view it: Download PDF

Attachments:

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

More
09 May 2018 17:07 #110441 by JR1050
Replied by JR1050 on topic Duplomatic bsv n 200 turret
Similar or same turret on my Cincinnati lathe. You must use the parity and you will need a routine to figure it, the turret will skip positions with out it.

sequence is :
pull shot pin
unclamp
rotate turret to spot before your desired spot(ie stop at 2 if three is your target tool)
fire shot pin
when shot pin sensor goes hi, turn index motor off
reverse motor to lock turret
motor off

I have a pdf of the manual somewhere, hit me up if you need it. Manual has the sequence and timing diagram, Duplamatic will send you a copy also.

Vid of my lathe with same turret. I did this before the carousel component, bi directional , shortest path to the next tool.

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

Time to create page: 0.107 seconds
Powered by Kunena Forum