Classicladder turret change help

More
10 Oct 2012 20:08 #25223 by BigJohnT
If the pound sign # precedes the command it is a comment.

John

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

More
12 Oct 2012 16:05 #25270 by jlviloria
Rick,

Friends do not forget me.

when you have time I would love to please your sharing some of your experiences with Cincinnati me. would be great.

thanks,

Jorge.

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

More
14 Oct 2012 19:58 #25313 by jlviloria
Hi,

any suggestions of how it could apply a truth table in my lathe.

need to establish what position you are my turret, but I'm green, blue, yellow, look like a rainbow. up bald and gray I'm running, but I did not leave until I finish this. well take years. lol.

Returning to the subject.

I saw a thread on this:

John is using a tool turret Wsum on the encoder

encoder as its the same as in the little HNC, my Hardinge superslants etc
here is the truth table for any one else intrested.

# # # # # # # # # # # # # # # #
# Decode for turrets
# # # # # # # # # # # # # # # #
Tool # 1 2 3 4 5 6 7 8
# BITD 0 0 0 0 0 0 0 1
# BITC 0 0 0 1 1 1 1 0
# BitB 0 1 1 0 0 1 1 0
# BitA 1 0 1 0 1 0 1 0
# # # # # # # # # # # # # # # #


here is the snippet HAL Which i have ten fed into classicladder to handle all the spin and lock down etc.
# Turret bit ins
# T1
net-bit0 wsum.0.bit.0.in t1 <= hm2_ [HOSTMOT2] (BOARD) .0. Gpio.063.in_not
net-bit1 wsum.0.bit.1.in t1 <= hm2_ [HOSTMOT2] (BOARD) .0. Gpio.061.in_not
net-bit2 wsum.0.bit.2.in t1 <= hm2_ [HOSTMOT2] (BOARD) .0. Gpio.059.in_not
net-bit3 wsum.0.bit.3.in t1 <= hm2_ [HOSTMOT2] (BOARD) .0. Gpio.057.in_not

wsum.0.sum turret1 net-num => classicladder.0.s32in-02

if any one is intrested i will add the ladder logic if john does not mind me spamming his post, or add it on wiki i guess, maybe John will add his When He gets there

rob

I do not understand how to apply in my classicladder wsum?

I do not understand how it works% B?

Rick, very kindly gave me a key, which he had applied a truth table, with sensors that the turret has, but as I said above, do not apply.

these are the net, created.


# External output signals

net hydraulic-motor-on => hm2_5i25.0.7i64.0.2.output-00
net-turret unclamp-sol <= hm2_5i25.0.7i64.0.2.output-01
net-sol turret-index <= hm2_5i25.0.7i64.0.2.output-02


# External input signals

net-hydraulic motor <= hm2_5i25.0.7i64.0.2.input-06
hyd net-over-pres-600psi <= hm2_5i25.0.7i64.0.2.input-07
hyd net-filter-bypassing <= hm2_5i25.0.7i64.0.2.input-08
net turret-clamped <= hm2_5i25.0.7i64.0.2.input-09
net turret-unclamped <= hm2_5i25.0.7i64.0.2.input-10
net turret-in-final-position <= hm2_5i25.0.7i64.0.2.input-11
net-position turret-strobe <= hm2_5i25.0.7i64.0.2.input-12
net-position turret-bcd-1 <= hm2_5i25.0.7i64.0.2.input-13
net-position turret-bcd-2 "<= hm2_5i25.0.7i64.0.2.input-14
net-position turret-bcd-3 <= hm2_5i25.0.7i64.0.2.input-14



# 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-turret unclamp-sol hm2_5i25.0.7i64.0.2.output-01<= classicladder.0.out-02
net-sol turret-index hm2_5i25.0.7i64.0.2.output-02 <= classicladder.0.out-03
net turret-clamped hm2_5i25.0.7i64.0.2.input-09=> 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


my turret has a hydraulic motor. rotates in one direction only.

does not have an encoder as John Hardinge lathe.

has an alignment sensor (C) indicates the position 1

has a sensor (E), "turret position strobe" is release Between positions and actuated tool turret at each tool position. The control down-counts number one position each time switch "E" is released and actuated. Turret rotation Continues Until the tool turret is one position away from the programmed position. Solenoid valve "A" is then de-energized.

has a sensor (F) (turret in final position) when it reaches the lower right position and activates the sensor. the de-energized "solenoid B" and retracts the turret, activating the sensor clamped. (D).

there is more to say that any advice, tips, suggestions,


thank you all.

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

More
14 Oct 2012 21:07 #25317 by BigJohnT
It seems to me that you need two classicladder sections.

Homing, to be run before any tools are called when starting up the machine. Might go something like this... press the home turret button and it turns until the index pulse is reached then it sets the counter to 1 and stops. This is the only way I can see to "know" what position your in.

Tool Change, after homing then follow the logic to change tools and reset the counter to 1 at each pass of the index prox. Your turret only goes one direction so you count up at each tool station till your one away and then drop.

John

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

More
14 Oct 2012 23:52 #25322 by LAIR82
Hey Guys,

Its hard not having my files at home with me, or would post my ladder and hal right now.

My hal is pretty much the same as yours Jorge, my boss thinks your machine has 2 tool turrets, is this true or is only 1 tool turret. I know all the other cincys that we own have a large upper turret for ID tools then they have the "crown turret" which holds the OD turning tools, cool thing is they both use the same motor and sensors, just different offsets. Or it could alltogether have a complete second turret on the bottom so you could perform 2 cuts at the same time? Our machine only has the 1 turret, (which operates the same as the models with the crown turret) with each toolholder having an OD and an ID tool on the same toolholder.

Our turret uses all classic ladder to perform its operation, using all comparisons based on the 3 bcd switches to find its position and move to the right position.

I promise tomorrow morning I will get you a copy of my files, that mill drive threw me for a loop last week, and I had to concentrate on that, and could not really do much to get things too you.

Again sorry for the delay, it has just been a bad couple of weeks for me at the shop and am still catching up.

Question, have you read the component file for the gearchange option, I will send you that as well, it is good reading, so you understand what I am going to send you, here is the link,

www.linuxcnc.org/docs/html/man/man9/gearchange.9.html







Rick

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

More
15 Oct 2012 01:22 #25323 by jlviloria
Friend I am sorry to bother you, you've got a big responsibility ....

My cincinnati has two turrets but will use only one. for now.

my cincy not tailstosk.

has, chip extractor, gearchange, hydraulic turret,


Rick, when you mention the 3 sensors (BCD) you mean????

sensor C "turret AT align pos"
Sensor E "turret position strobe"
F sensor "turret in finall pos"

Sure Rick, I spend reading everything about linuxcnc, although I must say that my shortcoming in English very difficult things. but forward. I decided with this.

And I want you to know that I am immensely grateful to you and the other guys ... BigJohn, andy, peter, robhm dangercraf (Francisco).
  I barely know the incredible project.
Attachments:

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

More
15 Oct 2012 01:50 #25324 by LAIR82
BCD 1, BCD 2, BCD 3 are each plunger style limit switches that ride on a cam wheel mounted to the rotating shaft on the large upper turret. They establish the position of the turret. There is a truth table in the cincy service manual that will tell you turret position based on the current state of those three switches.

How many tools will your upper turret hold?

I want to say our ladder logic only has maybe 9 or 10 rungs to make this thing work.



Rick

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

More
15 Oct 2012 01:53 #25325 by jlviloria
the turret has 8 positions.

but they are not the same? bone are others besides these?

only shows this in the manual I have. I refer to the image attached. shows no truth table or refer to other sensors.

thanks

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

More
15 Oct 2012 01:59 #25326 by LAIR82
I will look at our 18" machine (18MO) turret tomorrow, if I am not mistaken it has 8 tools, not 7 like the 10" machine we have put linux on so I can make some sense of this.

Thanks


Rick

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

More
15 Oct 2012 13:15 #25336 by SRT
I am posting the pages relevant to our 7 position turret. You will need to find the Truth table for you 8 position turret. Try CNC Zone or ebay to see if you can find the service manual for you machine. Actually you can still get manuals and Prints for your Cinci. From Mag if all else fails. The turret position is taken from the truth table and nothing else. Hope this helps.

File Attachment:

File Name: _1015091034_001.pdf
File Size:183 KB
Attachments:

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

Time to create page: 0.122 seconds
Powered by Kunena Forum