Indexer, M function
Posted: Sun Mar 31, 2024 11:32 pm
Hello,
I am trying to get my Tsudakoma RZ160 rotary indexer working with my Allin1DC Bed Mill.
I wired in the indexer input to output 6 (clamp) and the indexer output to input 16 of the Allin1DC.
I have the output working such that the indexer indexes to the next position. I am still troubleshooting the positioning complete signal on input 16.
While I figured out input 16 I thought I would make some proof of concept programs.
I setup M13 using the following code:
M94/4
G04 P02
M95/4
File name = mfunc13.mac
When I run this M13 command in the MDI mode it works, the indexer moves to the next position.
But, when I put the M13 command in an Intercon program is does not work.
Now, if I put the explicit commands in the Intercons program it does work!
Just to be clear
Stuff
M13
Stuff
Does not work
Stuff
M94/4
G04 P02
M95/4
Stuff
DOES work.
I don't understand why M13 works in MDI mode but not when imbedded into a Intercon program.
Any thoughts?
Thanks,
Tim
PS, I edited this to make it a bit more clear. I had "does not work" in the wrong spot, I am sorry for any confusion.
I am trying to get my Tsudakoma RZ160 rotary indexer working with my Allin1DC Bed Mill.
I wired in the indexer input to output 6 (clamp) and the indexer output to input 16 of the Allin1DC.
I have the output working such that the indexer indexes to the next position. I am still troubleshooting the positioning complete signal on input 16.
While I figured out input 16 I thought I would make some proof of concept programs.
I setup M13 using the following code:
M94/4
G04 P02
M95/4
File name = mfunc13.mac
When I run this M13 command in the MDI mode it works, the indexer moves to the next position.
But, when I put the M13 command in an Intercon program is does not work.
Now, if I put the explicit commands in the Intercons program it does work!
Just to be clear
Stuff
M13
Stuff
Does not work
Stuff
M94/4
G04 P02
M95/4
Stuff
DOES work.
I don't understand why M13 works in MDI mode but not when imbedded into a Intercon program.
Any thoughts?
Thanks,
Tim
PS, I edited this to make it a bit more clear. I had "does not work" in the wrong spot, I am sorry for any confusion.