Hello Guest it is April 19, 2024, 08:31:24 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 - stirling

1451
General Mach Discussion / Re: rounded corners
« on: September 15, 2010, 11:18:21 AM »
OK - I just tested R3.042.020 and it appears to be fine - no signs of the "old" CW/CCW CV trouble.

I have cv on and stop cv on 90 angles.  I am getting square corners if I cut clockwise but rounded corners cutting counterclockwise.

I guess you mean you have it set to "Stop CV on angles > 90" i.e. "greater than" - not "on" so to stop CV (if that's what you want) and you're cutting right angles you'd need to set this value to 89 degrees or so - i.e. NOT 90 degrees.

That however does not explain why CW passes are different to CCW passes - unless of course the feedrates are different.

1452
General Mach Discussion / Re: help with motor torque
« on: September 15, 2010, 07:59:05 AM »
Did I miss something? - what was wrong with your old board?

1453
Modbus / Re: Arduino Mega with MACH3
« on: September 15, 2010, 07:32:08 AM »
One small puzzle?  I have to click OUTPUT in the brain editor mod bus setup dialog.
 to read the analog and post it to a DRO.
Can't help you there - never used brians  :)

I wonder if someday I can use the  adruino to take the  place of a smooth stepper ? Of course I cannot write the code, just wondering.  
Hmmmmm - doubt it. Remember the serial connection to the Arduino is actually just RS232 over USB (if that's the correct way of putting it) so I don't think you would get the speed apart from anything else - but I'm not sure.

1454
Hmmmmm - as I've said, it works fine on my system with my xml but not with your xml. Not sure why - but no matter - as long as it's working for you.

Cheers

Ian

1455
General Mach Discussion / Re: rounded corners
« on: September 15, 2010, 04:44:04 AM »
What version of Mach are you using? - This was a problem I reported back in 2007, but it was then fixed and I havn't seen it again since.

1456
OK I changed the macros to M664,M665 and M666 respectively. Although the manual (customization page 2.4) says users should use M90000 onwards, this seems to have changed and was causing the "overflow" error.

BUT - there are still problems. For some reason, turning on output 1 causes an e-stop and I can't figure out why. It even happens if you just use the standard M3. The "abnormal condition" warning is also flashing and again I don't know why.

Also you have the macropump turned on - why? - do you have a macropump macro?

Maybe someone else has some clues. All I know is the scheme I suggested works fine on my system.

Cheers

Ian

1457
OK - can you post your xml please.

1458
what happens if you call M90000 and then M90002 from the MDI

1459
Hi Jan - Ok I think I understand a little of what you're trying to do. You need to try using OEM triggers - I'm guessing you're trying to do this with the macropump but that is NOT the correct way to do this for various reasons.

Try the following and see if you get any closer.

1) create a macro called M90000.m1s and put in it the following line:

activateSignal(OUTPUT1)

2) Now create another macro called M90001.m1s and put in it the following line:

SetTriggerMacro(90002)

3) Now create another macro called M90002.m1s and put in it the following line:

deactivateSignal(OUTPUT1)

4) Then save all three macros in the macros folder under your profile. Probably somewhere like "C:\Mach3\macros\Mach3Mill" depending on where you installed Mach.

5) Now whatever you have set in ports and pins for your switch, you need to move those settings to OEM trigger #1 under ports and pins/input signals.

6) Now you need to open Config/General Config in Mach and roughly in the middle of the screen you'll see the "Initialization string" - it usually has something like G80 in it. You need to add M90001 so the string will now look something like "G80 M90001".

7) Finally you need to open Config/System Hot Keys and over at the top right set Trigger # 1 to OEM code 301

Now restart Mach. Then when you call M90000 in your g-code or from the MDI line the motor will start. Then when your switch is hit it will stop your motor. Run M90000 again and it will start again etc. etc.

Cheers

Ian


1460
Hi Jan

i want to turn the signal (output1) on at the start.
Can you explain a bit more? i.e. the start of what? - when you first start Mach3? - when you start a gcode program?, when you press an on-screen button?

On the machine, there is a switch, wich is declared as the X-Reference in Mach3.
Not sure I understand this - This LED is activated when the X axis is homed and you havn't mentioned anything about homing.

Can you describe what all this is for? That way I can see the way to do what you want

Cheers

Ian