Page 1 of 1

Forkhart 5C Rotary indexer and Allin1DC

Posted: Mon Sep 19, 2022 12:00 pm
by Jab814
Hi All,
I am trying to hook up a Forkhart 5c indexer to the Allin1DC via the 4 pin wire from the Forkhart. I'm looking for the in and out for the wires so the centroid knows when to index and the machine knows when it is finished.
Thanks in advance!

Re: Forkhart 5C Rotary indexer and Allin1DC

Posted: Mon Sep 19, 2022 12:33 pm
by tblough
If you will post a manual for the indexer as well as a report from your machine so we can see what your PLC looks like as well as the inputs and outputs that are currently being used, that will go a long way to providing you help.

Re: Forkhart 5C Rotary indexer and Allin1DC

Posted: Mon Sep 19, 2022 6:00 pm
by Jab814
CNC11 Millv3.04
Allin1DC

Re: Forkhart 5C Rotary indexer and Allin1DC

Posted: Tue Sep 20, 2022 11:37 am
by cncsnw
You can wire the output that starts the indexer through OUT6 on your Allin1DC (nominally the "clamp" output).

You can wire the input that tells the control that indexing is complete to any unused input on your Allin1DC. For example, INP16.

You can then create a new M function macro (e.g. M12) which operates the indexer. Supposing that the indexer turns on its completion signal when the move is complete, and does not turn it off until the index request is removed, then your M12 macro might say something like this:

Code: Select all

; M12 - Rotary index
M95/4       ; make sure index request is off
M100/50016  ; make sure completion signal is off
M94/4       ; turn on index request
M101/50016  ; wait for completion signal
M95/4       ; turn off index request
M100/50016  ; wait for completion signal to be removed

Re: Forkhart 5C Rotary indexer and Allin1DC

Posted: Tue Sep 20, 2022 11:56 am
by Jab814
Thanks for the response I appreciate it !
Would i replace the 4's in your plc code to 6's?

Re: Forkhart 5C Rotary indexer and Allin1DC

Posted: Tue Sep 20, 2022 11:19 pm
by cncsnw
No.

"M94/4" and "M95/4" turn on and of M function request #4, which appears in the PLC program as SV_M94_M95_4. That has no inherent connection to OUT6, or OUT4, or any other physical PLC output.

Standard PLC programs give the name "M10" to SV_M94_M95_4, and give the name "Clamp" to OUT6. Then they typically turn on the "Clamp" output whenever the "M10" request comes in.

Re: Forkhart 5C Rotary indexer and Allin1DC

Posted: Wed Sep 21, 2022 12:32 pm
by Jab814
cncsnw,
I have it wired
I MDI a M10 command and it indexes but it doesnt appear that it is getting the finish signal .
I MDI M10 twice and it gets hung up on the 1st like its not getting the fin signal.
Any suggestions.

I replaced the file exactly like you have it above.
I am using output 6 and input 16

Thank you for your help

Re: Forkhart 5C Rotary indexer and Allin1DC

Posted: Wed Sep 21, 2022 11:56 pm
by cncsnw
Do you have a manual for this indexer?

Perhaps it requires that the CNC turn the request back off after a short delay, before it will give the completion signal.

I had in mind that you would enter the codes above in a new macro (e.g. "mfunc12.mac" if you wanted it to be M12) rather than replacing the default M10. No matter, though. If you replaced the contents of "mfunc10.mac" with the codes above, then you should be able to use M10 to index the table. You just need to figure out the sequence that your indexer requires.

If you watch INP16 on the Alt-i display, while you alternately run "M94/4" and "M95/4" at the MDI prompt, what does it (INP16) do?