berty
Active Member
Offline
Posts: 63
|
 |
« on: February 12, 2011, 06:12:26 PM » |
|
Hi to all I am trying to get a orac auto turret working
The bit I am struggling with is the three grey scale optic sensors
I have got a drawing from denford forum
Q . there are three wires returning from turret and different sequences will give different outputs combinations Can mach 3 be configured to work out the 8 different tool locations or will I need another board to convert the returning signals
cheers Bert
|
|
|
|
|
Logged
|
|
|
|
cjmerlin
Active Member
Offline
Posts: 180
|
 |
« Reply #1 on: February 12, 2011, 09:18:55 PM » |
|
The 3 sensor wires output 12v on the original machine. You will need to convert this to 5v TTL input for most breakout boards.
If you are using a breakout board with opto-isolation the simplest way to convert the 12v is with a potential divider using 2 resistors and a zener diode on each of the sensor wires.
If your breakout board does not have opto-isolation then the purchase of an opto chip and resistors and veroboard would be a safer solution.
I have a macro for the Orac toolchanger but in the middle of rewriting it and will post once i've tested it.
See recent posting "Denford Starturn"
Hope this helps
John
|
|
|
|
« Last Edit: February 12, 2011, 09:26:09 PM by cjmerlin »
|
Logged
|
|
|
|
berty
Active Member
Offline
Posts: 63
|
 |
« Reply #2 on: February 13, 2011, 07:05:01 AM » |
|
Hi many thanks for your reply What is ttl does the 5v supply need to come from the break out board for return reference macro what are the and what do they do cheers Bert
|
|
|
|
|
Logged
|
|
|
|
cjmerlin
Active Member
Offline
Posts: 180
|
 |
« Reply #3 on: February 13, 2011, 11:31:53 AM » |
|
TTL stands for Transistor Transistor Logic. It is a standardisation so all logic chips of that type can interface at the same level directly.
Attached is a very simple voltage divider that could be used with an opto-isolated breakout board.
A macro is a short "Basic" script that allows you to control Mach to do what you need.
|
|
|
|
Logged
|
|
|
|
berty
Active Member
Offline
Posts: 63
|
 |
« Reply #4 on: February 13, 2011, 11:40:40 AM » |
|
Many thanks for reply Its all beyond me What I will need is to know what wires go were ect as I am electronically challenged bert
|
|
|
|
|
Logged
|
|
|
|
cjmerlin
Active Member
Offline
Posts: 180
|
 |
« Reply #5 on: February 13, 2011, 11:57:10 AM » |
|
Ok, This might be a problem as those resistor values will need playing with to get your 5v levels.
Lets try this another way. What breakout board do you have? Does it have 3 spare inputs.
|
|
|
|
|
Logged
|
|
|
|
berty
Active Member
Offline
Posts: 63
|
 |
« Reply #6 on: February 13, 2011, 03:52:42 PM » |
|
Hi the break out board is an old basic cnc4pc c1 The good news is that it is has 5v not 12v going in to it bert
|
|
|
|
|
Logged
|
|
|
|
berty
Active Member
Offline
Posts: 63
|
 |
« Reply #7 on: February 13, 2011, 04:02:13 PM » |
|
Hi again I have just had a look at cnc4pc web site my one must be really old as it is very basic no charge pumps or relays fitted nothing like what they are showing on their web page just a hand full of processors
I have rechecked the input voltage to the board there is only the one and is clearly marked as 5v
Hope this helps bert
|
|
|
|
|
Logged
|
|
|
|
cjmerlin
Active Member
Offline
Posts: 180
|
 |
« Reply #8 on: February 13, 2011, 06:35:40 PM » |
|
Hi, Your breakout board wont accept the signals from the toolchanger optos directly.
I dont know if there are any breakout boards that will accept a 12v signal input, perhaps an email to cnc4pc explaining your problem may help.
|
|
|
|
|
Logged
|
|
|
|
berty
Active Member
Offline
Posts: 63
|
 |
« Reply #9 on: February 13, 2011, 06:54:13 PM » |
|
Hi I am bit confused as I was told the grey scale sensors were5v I must admit that when I striped out the wiring from the orac for some reason I marked the wire as being 5 v I can only assume that I ever metered it or it was marked or connected to a 5v pin Bert
|
|
|
|
|
Logged
|
|
|
|
|