Ok, I am completely new to turret operation, but I'll describe to the best of my abilities the operation of the Emco PC Turn 55 turret with pics.
First, it's a 6 position turret (3 forward tool and 3 side facing tools). It uses a 12v motor which when 24v power is applied to the turret board, the motor is always on in reverse, holding the turret position up against a pawl. The turret board reduces the voltage from 24v to 12v and in reverse, the current is limited by a resistor to ~60ma. When moving forward for a tool change, it runs at ~120ma. The turret board has an onboard relay, which when 24v signal is applied, turns the 12v motor forward for a tool change (output 1 on the acorn supplies the signal to this relay). When the 24v signal to the relay is removed, the motor is always in reverse, low current mode locking the turret against the pawl at it's current position. The turret has two optical switches and a metal plate attaches to the turret. The plate has a notch cutout for each tool position and passes a 5v signal to turret board when it passes this notch (tied to input 6 on the acorn). The second optical switch (tied to output 5) is aligned to a single notch for zero position or tool 1 (higher up on the rotary plate), which keep the optical switch blocked until it passes the deeper notch and then sends 5v out to the turret board. After the turret board, I have a second relay board which takes the 5v signal and opens or closes a relay to allow pin 5 and pin 6 on the acorn to receive the common signal and activating them. Currently they are setup when a notch it seen, the acorn board gets a signal, so normally open.
- So output 1 turns on - turret relay closes and drives turret forward for a tool change. Output 1 off, turret board relay off and turret motor in low current reverse mode which holds turret against the pawl at current tool position.
- Zero optical switch tied to input 5 turns on when zero notch is in position. Tool position optical switch, tied to input 6, turns on when tool position notch is at the location.
What I can surmise for how the operation should run:
1) Tool called by Gcode
2) Check which tool is in currently loaded (if unknown, run turret until zero position, tool 1 is reached).
3) If proper tool is loaded, continue with Gcode (from variable previously stored)
4) If proper tool isn't loaded, output 1 turns on and a count is performed until correct tool number is achieved. Then output 1 turns off and the turret locks back into place with the correct tool loaded.
A) To achieve this, when output 1 turns on, the turret looks for input 5 to close
B) Once input 5 blips on, start a count for input 6.
C) When count number equals tool number, open output 1 (which opens turret relay, reverses motor and locks to pawl)
D) Tool number is stored in a buffer.
5) Turn on mister if called for by tool via turning on input 2 (haven't install this part yet)
6) Continue Gcode operation
Also would need some method of keeping up with tool count if turret was manually jogged (a nice to have but not a requirement)
Ok, not sure what stuff I left out, but that is the basic outline as I can see it.
Pics: