Hello Guest it is March 28, 2024, 04:55:32 AM

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 »
11

Now go to the mdi screen and type in an A move say G0 A180  to see how fast it can move 1/2 turn.  Next go to the setting screens Top LH side and set the Aaxis value for A axis radius correction to .001 that should make the axis move in feedrate sync with the XY OR is that 999 heck just try both to see which is faster.

Sorry, I can't find in Setting Page where make A axis radius correction,,,how button says?
Iam using Mach R3 0.42 0.20

Thanks

Rene

12
Hi, BRP,

Your advice was very useful. I configured A axis in this way
Steps/min = Steps/deg = 200/360 = 0.55555
Velocity = 360deg x 600RPM = 216000---Similar 600RPM
Accel= 253000

X,Y axis---As my router
Step/min= 409.52
Vel = 1000 mm/min
Accel = 5000

Gcode in this way.

F216000-------- If is less A axis run slowly, in this case X,Y runs at max speed select in Motor Tuning
G01 X0Y-9.7---Hoop moves to first stitch location 
G01 A290  -----Needle motor gives first stitch, needle is out of fabric, and above 3mm
G92 A0----------A DRO is set in cero value----(ONLY IS USED IN THIS LINE FOR SET CERO IN THIS PLACE) 
G01 X0.1 Y-19.4 A140---- Hoop and needle moving together , needle stops when is 3mm above fabric before get inside.
G01 A359  ------------------Needle motor gives second stitch, needle is out of fabric and above 3mm
G01 X0.1  Y-19.0 A140

As you can see, Hoop movement is during 140 degree of rotation (40%), is when needle is above fabric.

Also I select "Rot 360 Rollover" in General Config.

I ran same code in same X,Y config using Z axis, anf time was 11 min. NOw was 5.00 minutes.

Attaching  xml file and Gcode

I suppose than if Feed is 216000 deg/min for A axis, is not important for  X and Y axis because it will run at max speed established  in Motor Tuning
when  Vel= 1000 mm/min  ..its is true? If not how can I drive A axis at 600RPM and X,Y at 1000 mm/min

Thanks again,

Rene

PD---My embroidery set up will be using 7.5 degree Stepper motors, using belts, Speed will be 3000-3500 mm/min.

13
BRP549,Thanks for your clear explanation

I must consider two things.

1-Khalid Embroidery G code Generator software set the A axis work in different way,,,A axis  run in one line from 0 degree to 359 degree and after X,Y axis moves. I must ask Khalid if he can change A axis mode  in similar way of Z axis, like your gcode example.
Then I should mark --360 rollover--in General config.

2-I don't have a clear idea of about set up motor tuning for high speed  A axis,,, could yo help me? My cnc router don't use a A axis, and newer in building process will use A axis as linear axis for slave it  with Y axis. My actual Axis set up take a long time to arrive 359 degree from cero.

Thanks

Rene

14
Hi,

Ufffffff,, here in my country usually is said in my situation "No pone Una"
when  each thing that some one said  is refuted......
and  literally  is relative to a baseball pitcher that never makes a strike and always bad  balls.
Sorry
Things that happens when one is trying to do something without adequate knowledges.....

I will explain as better I can how this Gcode works

Needle bar motor is set in Z axis and one revolution=360 degree= 1stith = 1.0  =100% rotation
Motor Tuning /Z axis /Steps x mm = 200.
Velocity = 600
Accel 600.

INITIAL STATE X0,Y0 AND Z0 ---Hoop centered and needle in upper position

N05 G01 X-0.6 Y-19.9 Z-0.2------------X,Y axis moves to first stitch location, Z axis rotate 20%(needle is stopped 3mm before get inside fabric

N10 G01 Z-0.8--------------------Z axis move 80% or revolution (Needle get inside fabric, stitch, get outside and stop when is 3 mm above fabric.

N15  M786-----------------------This macro, set Z counter in cero value
 
N20 G01 X0.5 Y-19.4 Z-0.4--Hoop moves to next stitch location, Z axis rotate 40% of revolution and needle is stopped 3mm before get inside  fabric

N25 G01 Z1.0-----------------Z axis rotate 60%,  complete a revolution, and needle is stopped 3mm above fabric after is get outside fabric

N30  M786.........

N35 ... similar to N20.

As you can see, hoop movement  in 40% of one revolution, when needle is above fabric, and in 60% of revolution, needle moves alone.

Macro 786 sets the counter of Z axis to cero value in each revolution, when Z=0.8 or Z= 1.0
A axis has option of "rot 360 rollover" for, but in some tests done, A axis seems to be very slow for this purpose

I think that if this macro is placed out of Gcode, and taking effect every time that Z=0.8 and 1.0
total process may be faster because will be a lot less of lines in Gcode.
Object is make one revolution using percent values 1.0 is one motor revolution and one needle operation
Is question of Try,,,if not we can come back as now is.

If not,, how can I set cero Z axis for each revolution.?

Thanks in advance

Rene

15
Hi

This is a piece of embroidery G code

G01 X-0.6 Y-19.9 Z-0.4
G01 Z-1.0
M786-------------Set Z counter in cero,
G01 X0.5 Y-19.4 Z-0.4
G01 Z-1.0
M786
G01 X1.2 Y-19 Z-0.4
G01 Z-1.0

M786 macro =SetOemDro(802,0) 'Set Z axis to cero value.

I need to know if I cant put a similar Macro
in MacroPump for run it in background for zeroing
Z values when z=1.0,for reduce gcode lines
and try to get if gcode can run faster, when i reduce
a big quantity of lines.

Macro in Macropump  will be like this

GetOemDro(802) 'Get Z axis DRO
If OemDro(802)=1
then 
SetOemDro(802,0)

Thanks in advance for your help

Rene



 

16
OK, then is preferable stay using first G code generated by Khalid software..

May you remember it

G00 Z 0.8---------------Needle motor turn 80% of rev (needle come inside fabric stitich and going out)
M786--------------------Macro (GetOemDro(802.0) Zeroing Z AXIS
G00  X 1.5 Y 2.5  Z 0.4-----Hoop movement and Z axis complete revolution and turn 20 % of next (needle is 3mm above fabric before stitching)
G00 Z0.4---------------Needle motor turn 40% of rev (needle stitch fabric and going  out and stop 3mm above fabric)
M786
G00 X 2.5 Y3.5 Z0.4

In this way is not synchronism, but is possible to do 150-200 Stitches per minute,, (tested).
there  arn't VB I/O only pure and simple GCODE

Thanks for all your help and patience

Regards

Rene


17
General Mach Discussion / Re: Question about excel files of OEM CODES
« on: July 03, 2010, 01:00:04 PM »
Thanks Hood.
sl2
Rene

18
Hi, BRP 549, Thanks for your answers.

I think that Mach can't skip over VB calls, because I will work in single blk mode, then in each motor revolution will be only one VB call
for Cycle Start and run only one Gcode Line for X and Y axis movement.PLS correct me if I am wrong.

Yo're right about that VB I/O operation  could be very slow. (I should verify how slow)
but I have the option of reduce speed of motor until I can  put inside one motor
revolution all procces (external input +oem code and + x,y axis movement)
(I will use 48 deg/rev stepper motor and my set up will be 7.64step/mm)
 
Initially I need to test system and know what time I need for optical switch activation
what time it needs for send OEM TRIGGER code 1000  to controller for
and what time takes to controller send pulses for  axis move 1mm one axis.
In this way I will kow how many stitches I can do.

If finally all proccess take 1 sec for stitch , the final SPM will we 60.

Do you know if are another way to run code line by line using an external input?


Thanks for your answer, I hope you can continuing help me.

Rene

19
General Mach Discussion / Re: Question about excel files of OEM CODES
« on: July 02, 2010, 06:07:02 PM »
Sorry, Forget to say that Iam using Mach 3 v042.020
No plans for Mach3 V4.
What tables should I use for OEM codes?

Thanks
Rene

20
General Mach Discussion / Question about excel files of OEM CODES
« on: July 02, 2010, 10:55:11 AM »
Hi,
Recently I downloaded two excel files containing OEM codes and other codes.
I don't what use for DoOemButton (    )

I attach both here.

Also in Wiki are another tables..

What should I use?

Please explain me the use of each one,

Thanks in advance

Rene

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