Hello Guest it is March 28, 2024, 07:58:42 AM

Author Topic: Optical sensors for homing and pause buttom  (Read 3504 times)

0 Members and 1 Guest are viewing this topic.

Optical sensors for homing and pause buttom
« on: May 06, 2010, 03:57:26 PM »
Hello
I have four  optical sensors from a dot printer,
I want to use for a homemade embroider cnc machine , this haves a three wires , one in each sensor, and one common, all comes soldered in a small card,

Three sensors are for homing, I suppose than this will be connected to inputs in pins 13-15

Another  one is for thread break.
I want to configure sensor for thread break to push FREE HOLD buttom, to pause work when thread breaks or finish. Is possible to do that?

Can you help me to connect this to my controller?
I have a  HobbyCNC Pro four axis contrioller board.

Thanks in advance.

Rene

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Optical sensors for homing and pause buttom
« Reply #1 on: May 06, 2010, 05:10:20 PM »
Connect the sensor to an input  pin that is free and then in Ports and Pins,  Inputs page set it as an OEM trigger. Then when that is done go to Config menu then System HotKeys and beside the OEM trigger, you have set the sensor to, enter 1001. That should now be the sensor set as the Feed Hold button.
Hood
Re: Optical sensors for homing and pause buttom
« Reply #2 on: May 06, 2010, 10:22:45 PM »
Hello Hood

Thanks for your answer. Now understand what must I do.

Sorry my ignorance, but Iam novice in Mach use,

What is the meaning of OEM?

Do you Know how can I connect phisically these optical switches?
How are three wires, I don't know how connect it, and I suposs
than one should be connected to energize and sed signal to
receiver for close circuit.I don't wanna burn my controller.

Thanks in advance

Rene
Re: Optical sensors for homing and pause buttom
« Reply #3 on: May 06, 2010, 10:32:15 PM »

Hello

I have another question, for operate a sewing machine like cnc embroidery machine, I need operate Mach GCODE line by line, in dependence of movement of needle, then I need to move hoop when needle is out of fabric, for do that
I thing in put a optical sensor in sewing machine wheel , and a disc locate in position where we need to begin hoop movement of next line.
I Know than is a command called SINGLE BLK, than operate Mach line by line, my questions are.

1-Where in controller should I connect this optical switch to indicate MACH run next gcode line?
2-How can I set up this command (SINGLE BLK), in INPUTS?

Thanks in advance

Rene 

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Optical sensors for homing and pause buttom
« Reply #4 on: May 07, 2010, 06:07:14 AM »
Afraid you would have to find the data sheet for the switches to find out how to connect them.
You cold do that with single block but things would have to be slowish and I dont think it would be suitable for what you want to do. To see if it is then you could run some code in single block and see if pressing the start button repeatedly will execute it fast enough for your purposes.
Hood
Re: Optical sensors for homing and pause buttom
« Reply #5 on: May 07, 2010, 08:37:51 AM »
Ok, thanks , I will try, lets see
Regards
Rene