Hello Guest it is March 28, 2024, 03:39:35 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - renenpaz

Pages: « 1 2 3 4 5 6 7 8 »
51
General Mach Discussion / Re: OPERATING MACH 3 GCODE LINE BY SWITCHES
« on: June 02, 2010, 11:13:56 PM »
hELLO

English is not may native idiom, many times is hard to express ideas specially this, where I am not a specialist.

I post here a non conclude excel table, where I figure how  generate embroidery G code and how works, needle speed motor always be variable because must be in accord to hoop speed and travel distance.

For begins work I think to use a stepper for needle like a spindle and control it using step and dir motor. How we don't need highest speeds I think that a stepper is enough for 500-550 RPMs and is possible speed drive by Mach and CNC controller. If I will  use a AC/DC motor, then I must find a PWM card for speed controll and  I don't have it right now. I think go step by step and don't spend money unnecessarily.

I must test this system, but I think than can be usable.
Thanks for all help than can give me.

Sorry my bad english

Regards

Rene

52
General Mach Discussion / Re: OPERATING MACH 3 GCODE LINE BY SWITCHES
« on: June 01, 2010, 02:48:33 PM »
Hello
Iam trying to set a CNC embroidery machine,  I figure that  I have a G CODE like this, first line will be activated in manual Cycle Start, and consecutively lines will be  activated using  Single Block mode  activating  Cycle Start for next lines  using  opt switches  and slotted disks located in a sewing machine shaft.  

M900.m1s-------Macro setting Single Block Mode

M3 S500---------Start  CW spindle rotation at 500RPM----Disk 1 –Small 1x2 mm slot. (NC CIRCUIT) Spindle speed controls needle movement and is in relationship with long of next stitch, is calculated in CAM program.

G00 X1 Y1 ------For X and Y movements—Disk 2—Slot 120 degree, and begin of slot rotated 285 degree from Disk 1.  

M7---------------For activate a solenoid if next stitch is longer 7mm (Sqr (X2+Y2), slot 60 degree   activate opt switch, slot begin when slot is in front it, is rotated 270 degree from Disk 1 slot. (NO circuit) This is for JUMP STITCHES where we must release thread tension to feed more thread than take up thread lever can do.

M9--------------For deactivate solenoid when 60 degree slot is finished  pass in front to opt switch, exactly at 330 degree from Disk 1 slot. (NC Circuit)
(This M7 and M9 command are present, when predetermined long stitches are, if not this lines are empty, CAM program will set this line or not)

M3 S455---------Change spindle speed to 455RPM.--- Activated by Disk 1

G00 X3 Y3-------For X and Y movements--Slot disk 2 .

Consecutively to the end of code.

This opto switches, will be connected at inputs in controller, and sated like OEM Trigger using code for Cycle Start (43010?).
More and lees operation will be in this way

G Code Lines         Initial slot Angle              Final Slot angle                     Interval
M3 S500                      1                                  359                              385
G00 X and Y              285                             360 +25= 405                   120            
M7                               0                                   45                                45

My questions are:

1-Could be work this G code and system?

2-Opto switches always will be activated, before that precedent g code line finish, Could interrupt new g code line, precedent g code line? In other words.

First LINE---Macro sets Single Block MODE

Second line –Spindle starts rotate and desired speed

Third line- At 285 degree or rotation, optic switch “push” Cycle Start and begins G00 X, Y movements.

In this moment Spindle Stops or continue rotation together X and Y movement?  

Sorry my bad English

hanks for your help and answer.

Rene  
 

53
General Mach Discussion / Re: Activating a solenoid using Mach 3
« on: May 24, 2010, 12:45:32 PM »
Hello Simpson, thanks

54
General Mach Discussion / Activating a solenoid using Mach 3
« on: May 21, 2010, 03:08:42 PM »
Hello,

Iam building a DIY CNC embroidery machine, and where are jump stitches
(bigger than 10mm x example) I need to activate a command
to release thread tension, preventing needle bending, thread breakage
or fabric deformation.

This command will activate a 12 volts solenoid (from car door)
who pull a pin in thread tensioner and release thread.

I neet to set a 5vd input relay / out put 12vdc, Any sugestion?
How can I configure Mach and controller connection for this?

Thanks in advance

Rene


55
thanks scott
Bye
Rene

56
Ok, thanks , I will try, lets see
Regards
Rene

57

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 

58
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

59
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

60
Hello, Scott
Maybe I din’t explain me well.  Sure than we need some macros for do it all job,  programming is not my strong part.
But forgot to explain some things
Actually I am using X, y and Z axis, but  our idea is  CNC control of  X and Y axis  and for wheel than moves needle, use an AC or DC motor, than turns continuously.
Then locate a disc and optical sensor in wheel, having two slots, one for initial position (needle up) and other for hoop movement beginning of movement (locate in position where needle is coming outside fabric at 2-3mm height.
First slot is used when I reference axis to cero position (hoop is in 0, 0 position) centered with needle, and needle is in upper position.
Second slot via optical sensor send a signal to controller, when needle is coming out of fabric, and X and Y axis, move a hoop one line to next embroider work position and stopped. In Mach is an button (Single BLK), than permits to operate line by line, if I can push this sensor  with a optical sensor signal, then we can control than hoop movement is only when needle is out of fabric.
I don’t know how connect this sensors to controller, and how get that signals from sensor, will be converted in commands to Mach3, to move x and Y axis, line by line.
One time that we can get this, must be makes some trial and error, in needle motor velocity, accord X and Y max velocity and considering a max travel, to guarantee than X and Y axis line movement finish before, needle is coming inside fabric again. This trial gives us real Stitches per minute of this embroidery machine, than is direct relationship with max hoop velocity.
Some example calculus.
If X and Y max velocity is 3600 mm/min, then means is 60mm/second.
If selected max embroidery distance between stitches is 5 mm, then we need 0.083 seconds (83 milliseconds) for max travel at this speed.
Needle movement works in this way.
 50% of travel is above sewing/embroidery machine table and 50% is under table, we should consider some security height (like milling), of 5% before coming inside fabric, and when is coming outside fabric, theoretically will be 60% of needle movement is in security zone (where is not possible hoop movement), and 40% of difference time is where we can move hoop, because needle is out of fabric.
Then if 40% of time needed for one needle movement is when we can move hoop, these 83 milliseconds than we need to move hoop in max travel is 40% of time to make one wheel rotation.
If wheel motor can rotate at 300 RPM, we can get this easily because, If motor RPM= 300, then is 5 revolutions x second = 1 revolution in 200milliseconds. If hoop movement  for 5mm is in 83 milliseconds , and 1revolution is in 200 milliseconds, then 40% of this time is than we need to move hoop, 200*40% = 80 milliseconds.  In any superior speed, works can do it easily. If hoop movements speed is greater, we can increase RPM’S and vice versa.
For jump movements (when hoop travel a long distance moving from first embroider object to next in sequence, we can  selected a max travel too without stitches (for example 15mm), and reduce at half motor velocity, this complicate a lot project, because I think than we will  need a PWM, to control motor speed in G CODE.
Thanks in advance for your attention and answer.
Regards
Rene

Pages: « 1 2 3 4 5 6 7 8 »