Page 15 of 19

Re: Hardinge CHNC4 Retrofit

Posted: Sun Mar 31, 2024 7:40 am
by glbreil
It was rotating before wasn’t it. The way I understand it, when the turret raises it allows air to the back side of the hair trigger valve to open it and that is how the air motor gets air to operate. You could pull that valve if it’s not to difficult and see if you have air there when the turret lifts. Gary

Re: Hardinge CHNC4 Retrofit

Posted: Sun Mar 31, 2024 10:39 am
by lavrgs
I'm sure it's an alignment issue. I do have air going to the motor. I'll go out today and see if it's an easy fix or if I have to take the turret apart. What I will try is to raise the turret unlock the lock and see if I can drop it square to the axis.

Re: Hardinge CHNC4 Retrofit

Posted: Sun Mar 31, 2024 9:21 pm
by lavrgs
waiting for Memory 305 Trying to run a simple program.

Re: Hardinge CHNC4 Retrofit

Posted: Sun Mar 31, 2024 10:59 pm
by cncsnw
Your tool-change macro:

Code: Select all

M95/8           ; Reset M6
M100/70305      ; Reset ToolChangeComplete
M107            ; send tool number
IF #50001
M94/8           ; Set M6 = 1
M101/70305      ; Wait for ToolChangeComplete
M95/8           ; Turn off M6
M100/70305      ; Wait until PLC to reset ToolChangeComplete
So, "waiting for memory #305" means CNC12 is waiting for the PLC program to report that it has finished rotating the turret to the requested tool position. If that is not going to happen, because the turret is out of commission, then you should change Parameter 6 to a value of 0, and temporarily delete or rename your "cnctch.mac" file. Then the control will fall back on manual tool changes (simply waiting for you to press Cycle Start whenever the tool needs to be changed).

Re: Hardinge CHNC4 Retrofit

Posted: Sun Mar 31, 2024 11:22 pm
by lavrgs
Is this a fine adjustment of the magnet or a timing issue? I get the proper lights on the ALT I screen and the display shows the correct tool that was requested. Is there a way to have the PLC recheck or how do I get past this issue. If I have a turret problem it is not obvious.

Re: Hardinge CHNC4 Retrofit

Posted: Mon Apr 01, 2024 12:47 am
by cncsnw
I thought your turret was not rotating at all. So does it actually index to the requested position?

Does "get the proper lights on the ALT I screen" include INP23 "ToolCarouselDown_I" changing back to green after the turret stops?

After it stops at the requested position and says "Waiting for memory #305 (M101)", if you wait three seconds, does it then trigger a fault condition with "9101 TOOL CHANGE CANCELLED"?

Re: Hardinge CHNC4 Retrofit

Posted: Mon Apr 01, 2024 10:48 am
by lavrgs
I got it working yesterday. A bit of tweaking of the air motor flow control was the final bit. I took the turret apart and rotated it back to where it was and aligned the reliefs in the bottom cylinder plate to what look like ports...this placed the mark I had made at 12 o'clock. I had lubed all the seals with grease but I overdid the second time. The turret still did not rotate so I checked the air coming out of the shuttle valve and it was good, so I played with the flow control and viola, rotation. I adjusted the speed to "medium" Activated the stop and it was square and finally adjusted the encoder to read the correct position.
I will have to check the turret down condition. I have yet to see it change and I have had to invert it...another day of fun.
EDIT I will have to look at the wiring diagram to make sure "Turret Down" is connected...after looking at the schematic there is a "Turret up" line so I will monitor it.

Re: Hardinge CHNC4 Retrofit

Posted: Mon Apr 01, 2024 12:05 pm
by lavrgs
The turret down light is active and is green when the turret is down

Re: Hardinge CHNC4 Retrofit

Posted: Mon Apr 01, 2024 12:59 pm
by lavrgs
cncsnw wrote: Sun Mar 31, 2024 10:59 pm
So, "waiting for memory #305" means CNC12 is waiting for the PLC program to report that it has finished rotating the turret to the requested tool position.
Need some more info. I seem to have everything working but...

Re: Hardinge CHNC4 Retrofit

Posted: Mon Apr 01, 2024 1:39 pm
by cncsnw
I would look at it with the PLC Detective Logic Analyzer, to see how the M6_SV request; turret-position bits; turret-down signal; and ToolChangeComplete_M flag change during the course of a tool change.

I would also make note of whether the cycle waits indefinitely at the "waiting for memory #305" status, or whether it ultimately times out and cancels the cycle.

I might also use the PLC Detective Source view to look at line 3088 during a turret index.

The logic on that line is:

Code: Select all

IF ToolCarouselDown_I && (RequestedBinPosition_W == TurretPosition_W) && DoingM6_M
  THEN SET ToolChangeComplete_M, RST ToolChangeTimer_T
... which says that the PLC is going to report completion when ToolCarouselDown_I is green and the requested position (variable W11) is equal to the currently-reported turret position (variable W10). The PLC Detective Watch view is useful for monitoring these numeric variables.

Call me if you want help over TeamViewer.