Hi John!
As I found the Estlcam very practical to "auto zero" the 3 axis using Arduino UNO, I am trying to use the Estlcam. I've seen that Estlcam can work with Mach3, which I already have and I know how to use it better. So, could I leave the E-Stop on tb6550? I think of using the Estlcam to zero the axis x y and z only, for a while. And you are helping me a lot so that I can use Esltcam with Arduino Uno. What do you think? Suggestions?
Best regards!
Genesio
Last edited by genesiospinola; 08-13-2017 at 07:46 AM.
I may of over looked post 21 while answering the post 22
I spent a while looking at the various Estlcam pages
on one page I used "printkey 2000" to capture the image for post 23
I have simplified the diagram from post 20 to answer post 21
I think this is how you want to use your existing stop switch
John
PS
I have given you two ways to enable the TB6560 board
1) hard wire +5V to the three enable pins 2 , 6 & 14
or
2) connect the enable pins to an arduino output
D03 is shown as an example
Last edited by john-100; 08-14-2017 at 10:46 AM. Reason: add PS
Hi John!
Could you see if the informations are correct, or missing something to link etc, please?
I would like to try to connect the wires.
Thank you!
Genesio
A0 DIR X ---------------------------------- 7
A1 DIR Y ---------------------------------- 3
A2 DIR Z ---------------------------------- 4
A3 STEP X -------------------------------- 1
A4 STEP Y -------------------------------- 8
A5 STEP Z -------------------------------- 5
D02 OUTPUT 2 ------------------------- ?
D03 OUTPUT 1 ------------------------- 2, 6, 14
D04 SPINDLE ON OFF ----------------- ?
D05 PWM -------------------------------- ?
D06 PROBE INPUT --------------------- 15*
D07 ERROR INPUT --------------------- 13
D08 LIMIT SWITCH 1 ------------------ 10
D09 LIMIT SWITCH 2 ------------------ 11
D10 LIMIT SWITCH 3 ------------------ 12
D11 LIMIT SWITCH 4 ------------------ ?
D12 LIMIT SWITCH 5 ------------------ ?
D13 LIMIT SWITCH 6 ------------------ ?
ARDUINO GROUND ------------------- 18-25
*2 wires?
One wire goes to “4-Input interface” Tb6550 Pin 15 >>>ARDUINO D06)?
The other one goes to ground? Where? Arduino GND?
Yes, i am thinking to use my E-Stop like you show at the post #25. Is ok?
Last edited by genesiospinola; 08-15-2017 at 06:29 PM.
the only thing that I think needs to be changed is the probe input to the TB6560 board
A4 STEP Y -------------------------------- 8
A5 STEP Z -------------------------------- 5
D02 OUTPUT 2 ------------------------- ?
D03 OUTPUT 1 ------------------------- 2, 6, 14
D04 SPINDLE ON OFF ----------------- ?
D05 PWM -------------------------------- ?
D06 PROBE INPUT ---------------------using pin 13 for E-stop only leaves 10 ,11 & 12 on the TB6560 board
D07 ERROR INPUT --------------------- 13 ----------- E-stop
D08 LIMIT SWITCH 1 ------------------ 10
D09 LIMIT SWITCH 2 ------------------ 11
D10 LIMIT SWITCH 3 ------------------ 12
D11 LIMIT SWITCH 4 ------------------ ?
D12 LIMIT SWITCH 5 ------------------ ?
D13 LIMIT SWITCH 6 ------------------ ?
ARDUINO GROUND ------------------- 18-25
*2 wires?
One wire goes to “4-Input interface” Tb6550 Pin 15 >>>ARDUINO D06)?
The other one goes to ground? Where? Arduino GND?
--------------------------------------------------------------------------------------------------------
If the white & blue wires are going to your existing E-stop switch
I expect the white wire is the common for inputs 10 , 11, 12 & 13
the question is what are the extra 2 wire in this photo ?
the extra blue & white wires look like inputs to pins 10 & 11
if your not using pins 10 & 11 the you can use input 10 ( or 11) for your probe
using the common white wire that goes to the E-stop switch as the second connection for the probe to connect to
john
use the common white wire that goes to the stop switch
A4 STEP Y -------------------------------- 8
A5 STEP Z -------------------------------- 5
D02 OUTPUT 2 ------------------------- ?
D03 OUTPUT 1 ------------------------- 2, 6, 14
D04 SPINDLE ON OFF ----------------- ?
D05 PWM -------------------------------- ?
D06 PROBE INPUT ---------------------10 --- probe --- end blue wire ----- white wire on the end is the common
D07 ERROR INPUT ---------------------13 ---stop-------blue wire ------------- white wire on the end is the common
D08 LIMIT SWITCH 1 ------------------ 11 -----------2nd white wire ---- not used
D09 LIMIT SWITCH 2 ------------------ 12 ----------- centre pin -- not connected
D10 LIMIT SWITCH 3 ------------------
D11 LIMIT SWITCH 4 ------------------ ?
D12 LIMIT SWITCH 5 ------------------ ?
D13 LIMIT SWITCH 6 ------------------ ?
ARDUINO GROUND ------------------- 18-25
john
Last edited by john-100; 08-16-2017 at 09:24 AM.
yes , the mach 3 set up needs to be changed to match any change in your wiring
if you connect your E-stop , probe & limit switches to the 4 wires shown in the picture in post 29
you will only have one common wire , the probe on pin 10 , stop on pin 13 and all your limit switches on pin 11
this will enable all the connections to use the opto-isolated inputs on the TB6560 board
A4 STEP Y -------------------------------- 8
A5 STEP Z -------------------------------- 5
D02 OUTPUT 2 ------------------------- ?
D03 OUTPUT 1 ------------------------- 2, 6, 14
D04 SPINDLE ON OFF ----------------- ?
D05 PWM -------------------------------- ?
D06 PROBE INPUT ---------------------10 --- probe --- end blue wire ----- white wire on the end is the common
D07 ERROR INPUT ---------------------13 ---stop-------blue wire ------------- white wire on the end is the common
D08 LIMIT SWITCH 1 ------------------ 11 -----------2nd white wire ---- all limit switches
D09 LIMIT SWITCH 2 ------------------ 12 ----------- centre pin -- not connected
D10 LIMIT SWITCH 3 ------------------
D11 LIMIT SWITCH 4 ------------------ ?
D12 LIMIT SWITCH 5 ------------------ ?
D13 LIMIT SWITCH 6 ------------------ ?
ARDUINO GROUND ------------------- 18-25
if this limitation is a problem , then you will need to make some connections directly to the arduino
one possible way could connect the stop & probe via the TB6560 board
and the 3 axis limit switches directly to the arduino
A4 STEP Y -------------------------------- 8
A5 STEP Z -------------------------------- 5
D02 OUTPUT 2 ------------------------- ?
D03 OUTPUT 1 ------------------------- 2, 6, 14
D04 SPINDLE ON OFF ----------------- ?
D05 PWM -------------------------------- ?
D06 PROBE INPUT ---------------------10 --- probe --- end blue wire ----- white wire on the end is the common
D07 ERROR INPUT ---------------------13 ---stop-------blue wire ------------- white wire on the end is the common
D08 LIMIT SWITCH 1 ------------------ 11------ X limit switch-----------------aduino ground
D09 LIMIT SWITCH 2 ------------------ 12------ Y limit switch-----------------aduino ground
D10 LIMIT SWITCH 3 ------------------ 15 ------Z limit switch-----------------aduino ground
D11 LIMIT SWITCH 4 ------------------ ?
D12 LIMIT SWITCH 5 ------------------ ?
D13 LIMIT SWITCH 6 ------------------ ?
ARDUINO GROUND ------------------- 18-25
john
John,
Is possible all limit switches on pin 11 on Mach3 config?
Thank you!
Genesio
yes, all 3 home switches can be on one pin provided you only home one axis at a time
the 3 home switches can also act as limit switches that can be connected to 3 additional limit switches
to protect against hitting the physical ends of the3 axis
if you have 6 normally closed switches they need to be connected in series
6 normally open switches will need to be connected in parallel
john
What is mean "home"
home = defined start position
when you want the machine to automatically find a consistent location in 3D space to start from
you have to use install a switch (or other sensor ) on each axis for the control software to find its "home" position to start from
a touch probe can be used to automate the correction of the tool length
on a milling machine you could have it move the Z axis to the top and X & Y axis to the left hand corner nearest you
when your standing at the front of the machine
with the same location defined in your CAD files the machine will know where to start cutting the work piece
with one input for each home switch, it is possible for all axis to be moved at once when the machine homes the axis
( the control needs to be able to avoid any possible crash !! )
when you don't have enough inputs to have individual inputs for each home switch
you can use one input for all axis provided your control only moves one axis at a time as there is no other way for the machine to know which limit switch has been tripped
Mach 3 only homes one axis at a time
limit switches -
while many use software limits - they are OK provided the data that de-finds them is not lost or changed by accident
l hardware switches are used on a large machine that an error in your G code would cause an expensive crash
limit switches are fitted to stop any axis being driven too close to the physical end
John
Hi John!
Today in the morning I tested the CNC. I managed to use the machine, it took me a bit to test the probe and the E-stop, but I found the settings of Estlcam as engaging and everything worked well. But I could not use the Mach3. When I open the Mach3 it does not detect the card Arduino and I cannot use it. In the settings of Estlcam opted by Mach3, but cannot use. I need to solve this. Do you have any tips?
Thank you!
Genesio
Hi, John.
I think Mach3 will not work with Arduino. You know of a program that "zeros" the x, y, and z axes using Probe. I can embed this program in Mach3 whenever I need to find the initial "zero" point. I wanted to use Estlcam to do this primarily, but I did not want to stop using Mach3.
Thank you!
Genesio
Hi Genesio
I connected an Arduino to my PC yesterday and can see Estlcam can control the Arduino
but I have not found any information on how Mach3 can comunicate with the arduino
I would of thought Estlcam would add a "plugin" software patch to mach
like other motion controllers do to replace the Mach3 "pulse engine " software that controls the printerport hardware
John