Controlling an indexer with Fanuc Triac

All info relating to the Denford Triac series of CNC milling machines

Moderators: Martin, Steve, Mr Magoo

Post Reply
g-speed
Posts: 22
Joined: Thu 02 Nov , 2006 17:49 pm

Controlling an indexer with Fanuc Triac

Post by g-speed » Sat 10 Oct , 2009 22:11 pm

I want to control a pneumatic indexer using M-codes from the Aux socket on this machine. The sequence would be signal out, indexer index to next position, signal back to machine to say indexer has indexed and then program continues. The index angle would be set on the indexer. The question is what signal do I get out of the AUX out and how can I use this to activate a relay or solenoid. When the indexer has finished how do I tell the machine to continue, ie what signal is it expecting for the aux in or wait for input 1.

User avatar
Denford Admin
Site Admin
Posts: 3649
Joined: Fri 10 Feb , 2006 12:40 pm
Hardware/Software: Go to User Control Panel > Profile
Enter as much information about your CNC hardware and software as you can - it makes it easier for everyone to know what you're talking about then.
Location: Sunny Brighouse
Contact:

Re: Controlling an indexer with Fanuc Triac

Post by Denford Admin » Mon 12 Oct , 2009 8:51 am

Hopefully the fanuc pmc logic in your machine has the CIM auxiliary I/O code in it, if it does then you can do it with a couple of M codes - one to turn Aux output 1 on, and then another to wait for Aux input 1 to go high (or low):

Auxilliary Output Functions.
M62 - Auxiliary Output 1 On.
M63 - Auxiliary Output 2 On.
M64 - Auxiliary Output 1 Off.
M65 - Auxiliary Output 2 Off.

M66 - Wait for Auxiliary Output 1 On. This M Code is executed at the end of a block, ie, after axis movement.
M67 - Wait for Auxiliary Output 2 On. This M Code is executed at the end of a block, ie, after axis movement.
M76 - Wait for Auxiliary Output 1 Off.
M77 - Wait for Auxiliary Output 2 Off.

These codes allow a signal to be sent from the machine controller to a different device, such as a robot, then wait for a return signal instructing that the device has completed its function.

Post Reply