Hello Guest it is April 26, 2024, 09:42:56 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 - stirling

1411
VB and the development of wizards / Re: Jog button in a script?
« on: December 17, 2010, 05:26:50 AM »
The only way I can see this working after a fashion is to set step mode and step distance. I can't see how continuous mode could work because how would it know how far you wanted to jog? - that's the bit I don't get when you say it works in flash - how far does it jog and why?

Sorry - not much help probably.

Cheers

Ian

1412
Hi Xavi

set up an input and an output in ports n pins and then

if your gcode looked something like this:

Code: [Select]
G1 X100
M666
G1 Y100
M666
G1 X0
M30

and you created a macro called M666.m1s that looked something like this:

Code: [Select]
'signal network analyser with say a 100 ms pulse
activateSignal(OUTPUT3)
sleep 100
deactivateSignal(OUTPUT3)

'here the analyser does it's thing and then activates an input pulse when it's done

While Not isActive(INPUT4) 'Mach waits for the incoming handshake from the analyser
  sleep 100
Wend

'macro ends and the next gcode commanded movement is free to go

that should get you started if I've understood your requirement correctly

Cheers

Ian

1413
General Mach Discussion / Re: Mach Working hours
« on: November 18, 2010, 01:01:38 PM »
Hmmmm - ok - but when I tried it, after a complete reset it gave me an A axis distance of several hundred - even though I don't have an A axis - nor was there any A movements in the code. It also gave me a session time of several hours even though I only ran a two minute job. And it also told me there were a couple hundred M3's even though there were only actually two - other than that I guess it was fine  ;D

Ian

1414
General Mach Discussion / Re: Mach Working hours
« on: November 17, 2010, 12:01:22 PM »
You might try the maintanance tab under operator.
Does this work?

Ian

1415
General Mach Discussion / Re: The never ending THC Saga !!
« on: October 25, 2010, 02:43:43 PM »
he he - that's ok Amir  ;D

so what is your max speed set to? and do you use a THC300 or similar? I think it would be useful if we could share settings and experiences.

Cheers

Ian

1416
General Mach Discussion / Re: The never ending THC Saga !!
« on: October 25, 2010, 01:30:05 PM »
i set it at 20% and all things is ok.

Yes but Amir - ALL systems are different. It depends on what your max speed in motor tuning is set to. IF for example your max speed was 10m/min then your Z would move at 20% of 10m/min i.e. 2m/min. BUT if for example your max speed was 2m/min then your Z would move at 20% of 2m/min i.e. 0.4m/min. These would give very different results regarding the oscillations

1417
General Mach Discussion / Re: The never ending THC Saga !!
« on: October 25, 2010, 04:01:57 AM »
This is classic behaviour of the THC300 and it's like with Mach. You need to turn down the value in the THC RATE DRO.

The THC Rate tells Mach to move the Z at that percentage of the max velocity set in motor tuning. If you have it set too high then you will get the huge oscillations. Set it too low and it won't cope with large warpage. It's a balancing act. For example my Z velocity in motor tuning is set to 3 m/min and for flatish steel I set THC rate to around 10. You may need to go even lower. A tip: the min that you can set the DRO to is 5. If you need lower, you need to directly edit the xml. The tag is thcspeed.

Just as an aside, Z acceleration is not relevant. THC's ignore acceleration and move the Z axis at the set speed without an acceleration ramp.

1418
VB and the development of wizards / Re: modbus
« on: October 24, 2010, 11:41:51 AM »
hmmmmm - I think I'll do as I said earlier to Terry and re-jig my hardware. I'll disconnect the DTR which I use to signal a THC CPU reset when uploading the firmware to my board and then I can use sendSerial to send my required ref voltage. I'll just need to re-connect it to do the firmware updates as and when. Might even stick a gate in there and then I can control whether DTR is acted on or not via another input to the board.

Ian

1419
General Mach Discussion / Re: Relay for TTL signals?
« on: October 24, 2010, 11:32:55 AM »
Hi Tony - I've done this in the past using logic gates - and / or / nor whichever is best suited for your purpose. A question though, when the cut is over and you hand back control of Z to Mach - how do you tell Mach where the Z is? What I mean is: suppose you started cutting when Mach knows Z is at (say) 0. Then, at the end of the cut and because of warpage, the steel is actually higher, say at Z=10mm. When you hand back to Mach, it thinks Z is still at zero - etc. if you see what I mean.

1420
General Mach Discussion / Re: Mach & windows7
« on: October 24, 2010, 11:24:58 AM »
Thanks Alan

Thanks Jeff - It'll have to be the PP driver because this is a plasma setup with THC so as I understand it the SS is a non-runner - is that correct?