Hello Guest it is April 25, 2024, 01:38:37 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 - Tarak

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »
131
Is there a code that would suit this equation?

If Mach is on Page1(G Code page) then
Set UserLED(1020,1)
Else
Set UserLED(1020,0)
End If

Can I also force it to stay on the same work coord after the software is restarted, rather that reverting to G54?

Also on another note, is it possible to force it to Fixture Save when exiting the program, rather than the dialog asking?
Thanks

133
I tried this brain on my normal computer, it works great, but when I copy it to the machine computer (all have the same files & v2.48).
It won't operate the brain correctly, it's got me knackered.

134
Thanks Scott, that did the trick nicely.

135
Hi Scott, you were right I just used the relay enable on the CNC TekniX controller card, so when RESET is pressed it automatically takes out all the outputs.
The only problem I have is, when I ready the system again the screen says the spindle and coolant is still on (LED's), even though they are not.
How do I make it reset the led's on the screen, when RESET is pressed?

136
General Mach Discussion / Toolpath questions?
« on: September 24, 2007, 10:11:48 PM »
Is it possible to turn off "Reset plane on regen", I tried unchecking the "reset plane on regen" but it must do something else.
Also is it possible to show the tool in the toolpath window (pretty much the same as it used to be).
Because I'm using a mill I'd rather not use the side tool, which seems more for a routers use, I also like the way when the spindle was spinning the 3d tool would spin.

137
General Mach Discussion / Modio for inputs/outputs only - No motors.....
« on: September 23, 2007, 08:47:16 PM »
Hey guys, I'm looking at making a custom style machine that is only inputs and outputs (devices on & off) and maybe 3 analog devices 0-5v. (no motors though)
It would probably need approx. 25 inputs and maybe 20 outputs (3 outputs would need to be analogue)
What would you recommend to interface with this, I looked at Peter Homann designs, the board looks really good, I couldn't DL the manual though.
Can these be daisy chained to increase inputs/outputs?
I'm hoping I can buy 2 of these and use 1 as inputs only and 1 as outputs only. ???

Thanks
Darc

138
VB and the development of wizards / Re: 2nd Parallel port card - Outputs....
« on: September 18, 2007, 07:05:23 AM »
Thanks Brett, now that I've looked properly.....That was a really DUMB question..................Ha...........

139
VB and the development of wizards / 2nd Parallel port card - Outputs....
« on: September 18, 2007, 06:28:11 AM »
Hey guys, another basic one for you, I've looked everywhere.
I know for 1 parallel port the outputs are controlled like this:

ActivateSignal(Output1)
DeactivateSignal(Output1)

But what commands do you use for a 2nd parallel port to use the outputs.
hhmmmmmmmmmmmm

140
All I'm trying to do is ensure that when RESET is pressed the spindles and coolant all turn off.
I have 4 spindle relays and 1 coolant relay.
It's really strange how this code works in the script editor but not when run from Mach, it presses the RESET button once and then I cannot re-enable the system???

Here's the code I have for the RESET button (M22)
'TURN OFF SPINDLE & COOLANT RELAYS THEN ESTOP THE SYSTEM
CODE "M16" 'Turn off all Spindle Relays
CODE "M19" 'Turn OFF Coolant

DoOEMButton(1021)'Press RESET

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »