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!
Forkhart 5C Rotary indexer and Allin1DC
Moderator: cnckeith
-
- Posts: 3072
- Joined: Tue Mar 22, 2016 10:03 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192 - DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Boston, MA
- Contact:
Re: Forkhart 5C Rotary indexer and Allin1DC
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.
Cheers,
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
-
- Posts: 23
- Joined: Sat Jan 13, 2018 11:23 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: Yes
Re: Forkhart 5C Rotary indexer and Allin1DC
CNC11 Millv3.04
Allin1DC
Allin1DC
- Attachments
-
- report.zip
- (146.75 KiB) Downloaded 2 times
Re: Forkhart 5C Rotary indexer and Allin1DC
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:
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
-
- Posts: 23
- Joined: Sat Jan 13, 2018 11:23 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: Yes
Re: Forkhart 5C Rotary indexer and Allin1DC
Thanks for the response I appreciate it !
Would i replace the 4's in your plc code to 6's?
Would i replace the 4's in your plc code to 6's?
Re: Forkhart 5C Rotary indexer and Allin1DC
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.
"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.
-
- Posts: 23
- Joined: Sat Jan 13, 2018 11:23 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: Yes
Re: Forkhart 5C Rotary indexer and Allin1DC
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
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
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?
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?