Hello Guest it is April 20, 2024, 02:07:51 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 »
21
Hi BR549... I don't understand your answer,, please explain..

I have another doubt.

 What is best place to connect stepper motor for spindle work?
In controller are free Z and A axis,

I was thinking that really I don't need swapaxis (Z, spindle)

If my set up is using only spindle, and I need homing spindle
is possible change properties of Home Z button, and
use a VB script for homing at low speed until optoswitch for home limit
will be triggered.

It's possible??
 

Thanks in advance

Rene

22
General Mach Discussion / How start to run an Embroidery Mach profile
« on: June 30, 2010, 10:45:47 PM »
Hi,

I need initializate my embroidery profile using Single Blk mode

I will use and X,Y,Z axis, and swap Z with spindle.

I will make a Macro (M910.m1s) and place in Initialization String.

M910.m1s
DoOemButton(1004)  'Pressing button Single Blk


I need start spindle using Cycle Start buttom,
but I need change default function of this button
and use a VBscript .
I saw in Mach2 Customization than I can change default
Funtion for Cycle Start Button and use a VB Macro. Macro could be M900.m1s

M900.m1s
SwapAxis(3,6)  'Swap pins of Z axis for Spindle pins
SetSpinSpeed(S100)  'sET spindle Speed in 100RPM
DoSpinCW( )     'Start Spindle at 100RPM Speed

Then spindle start,

Cycle Start button will be pressed in each spindle revolution
using a optoswitch connected to one Input Pin, configured like
OEM trigger1, and assig OEM code to OemTrigger in System Hotkeys.

Each spindle revolution will press Cycle Start once, and run
one Gcode Line for X and Y movements. Like I will be in
Single BLK mode, I don't need to use Cycle Star Buttom.

Also I need to create another VB screen button for
stop spindle and pause system.

May work in this way?

New problem will be, how many revolutions will be possible to get
considering Mach response 1/10 second and Optoswich start and Stop
I think more and less 6-7 times/second for a 400 RPM. IT depends
also of lenght of X and Y movements.


Thanks for your help.

Regards

Rene


23
General Mach Discussion / Re: Where do you live ?
« on: June 30, 2010, 12:08:05 PM »
Hi, Is good to revival this post..

I live in Havana, Cuba

Rene

24
Hi, thanks.
I will try,
Bye
Rene

25
Hi, Thanks BR549.

Thread change will be manual, al least for now.

Then I need execute m6Start when when M6 arrives.

M6START.m1s could be in this way, more and less

M6start.m1s

DoSpinStop(??)  'Stop Spindle 6=Spindle
ResetSwapAxis(6,3)   'Come back of spindle mode to Z axis mode
DoOemButton(11202)   'Home Z axis, needle in upper dead point
endif

How I will work in Single Blk, embroidery machine will stop
and wait for a new Cycle Start. Then I can manually change thread
and when is finish, I need press a VB Buttom containing anothe Macro.
more and less in this way.

m900.m1s
SwapAxis(3,6) 'Swap Zaxis to Spindle mode
SetSpinSpeed (100)  'Set spindle speed in 100RPM
DoSpinCW(??)

Spindle will rotate at 100RPM speed, when OptoSwitch will be
triggered at 280 degree of rotation (when needle is going out of fabric)
Oem Trigger 1 and System Hotkeys asigned will execute
DoOemButton(1000) 'Cycle Start

Mach 3 will move one line of X and Y movements,and pause again
until optoswitch will be triggered again in next motor revolution.

I don't know what to do with M6end.m1s

Ithink that I don't need it for manual thread change.

Thanks in advance for your helps

Rene


 

26
Hi,BR549

 I was reading a lot  in all Mach publications that are in may hands, didn't find any reference of this.

Embrodery CAM software yes it does, because are an option to select a Max Stitch Length,then software place a JUMP Stitch(spindle stop,solenoid activation,ecc)in all stitches longer that Max sticht declared, that is the answer that we need of Mach.Then of course this software will calculate lenght of all movements (stitches)

I will ask Khalid, may be inside his software are option to do this calculus.

I need to know length to all movements, (stitch length), having these values is possible reduce spindle speed for all longer movements (stitches).

Making trial and error tests, I can determine a speed for sincronizity a max stitch lenght using max pulse frecuency of Mach. If I can sYncronize stitches of 3mm lenght in 480 RPM motor=8stitches/second (8 gcode lines/second),then I need reduce RPM'S motor for longer stitches of 4mm for keep sincronyc work.

For stitches longer that 7mm,I need Jump stitches,these are setted in Khalid embroidery software.

Sorry, but finally I think that this part of job should be in Khalid software. I need write him.

Thanks

Rene



 

27
Hi,

I need calculate incremental values in each axis for a Gcode line, relative to previous line. It's possible this?
I know how doit out of Mach, but I need to do it inside Mach for calculate  longitude of each movement
Out of Mach will be in this way.

Sqr (pot(Xfinal-X initial)+ pot(Yfinal-Y inicial))
Final= Actual line
Initial= Previous line

If this is possible, then I can calculate distance to travel in each line and calculalate spindle speed for
controlling  sincronism of a needle bar (spindle) for each g code line or for about 20 lines
due inertia problems.

In this way I can rotate spindle in calculte speed, and in coordinate movement moves hoop and fabric when needle is
out of fabric.

Thanks for your answer.

Regards

Rene

 
 

28
AIRNOCKER, I will search.

Thanks

Rene


29
Hi,
thanks Airnocker and Picengraver,

I will take your advices.

Whrere can I download macros written,,,here in Mach forum only , or are other places where download.?

Regards
Rene


30
Hi, tweakie.

I understand you, like I wrote in other post, embroidery is an activity to far of milling-turning

CNC procedure for milling-turning is very different, also exists a great  DIY activity for all workshop
tools, but nothing about cnc or computerized embroidery.

There are, one or two people that had tried something in this job, but is
diametrically different mode  to cnc and G code.

Personally I was reading a lot of documents, forums, patents, ecc to get inside this world

Regards

Rene

 

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