Hello Guest it is April 24, 2024, 11:49:29 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 - omegasea21

Pages: « 1 2 3 »
11
They are the same marco, except the first uses the GetOEMLED which is mapped from input 1 and second looks directly at the input1 instead of the LED. Not sure if it makes a difference.

I just want to make sure that they are correct.

VacuumSwitch=GetOEMLED(24)

Code M8 (mist on)
Code G4 P1 (wait for 1 second)
Code M8 (flood on)
Code G4 P1 (wait for 1 second)
If VacuumSwitch=1 Then (if led 24 "trch on" is active then end macro)
Endif
Else (if not)
Code M8 (mist on)
Code G4 P1 (wait for 1 second)
Code M7 (flood on)
Code G4 P1 (wait for 1 second)
Endif (end macro)

Second option:

Code M8 (mist on)
Code G4 P1 (wait for 1 second)
Code M8 (flood on)
Code G4 P1 (wait for 1 second)
If IsActive(Input1) Then (if input1 is active then end macro)
Endif
Else (if not)
Code M8 (mist on)
Code G4 P1 (wait for 1 second)
Code M7 (flood on)
Code G4 P1 (wait for 1 second)
Endif (end macro)

Thank you!

12
General Mach Discussion / Re: Is there a VBscript beginners guide?
« on: April 18, 2010, 04:51:27 PM »
Thank you so much.

13
Fantastic, thank you!

14
General Mach Discussion / Is there a VBscript beginners guide?
« on: April 18, 2010, 02:01:56 PM »
Need help with some basic vb scripts, but can't find any good resources (that are specific to mach 3) on the issue.

thanks

15
Is there a way to pause machine for set period of time. Once I activate M3 (spindle) I would machine to stay still for 1 second before going to next G0 location.

Sample:
N01    G00 X20YZ20
N02    G00 X1.1 Y1.1
N03    M03
I would like it pause for 1 second
N04    G00 X1.1 Z1.1

16
Thank you so much!!!

17
Hello, what is the easiest way to do the following. I can't seem to get it to work.

Activate spindle relay Clockwiise - M3
Stop sprindle (M5) when freedrate DRO > 19 (feedrate DRO  is 821)
If input 1 (port 0, pin 6) is active then Activate spindle CCW - M4
Stop sprindle (M5) when freedrate DRO < 2

Any help would greatly be appreciated!

18
Brains Development / Help with brain creation with modio
« on: March 25, 2010, 04:13:20 PM »
I need to create a brain to do the following.

1.) Activate relay one (on output 5 in modbus) until feed rate DRO = 20 (I mapped analog input one to feed rate DRO)
2.) Activate relay two (on output 6 in modbus) until feed rate DRO = 1
3.) check input 2 on modio to see if it switch is closed (this is a vacuum sensor that switches on when suction threshold is achieved)
4.) If active (meaning switch is closed) complete brain

If inactive, repeat #1 and #2 (only one time) if input is inactive again then complete brain.

I would like the brain to start with an m code or keyboard hotkey if possible so I can incorporate this in my gcode file.

What is will do:
1.) Relay one extends linear actuator
2.) Relay two retracts linear actuator
3.) Analog input 1 reads potentiometer for actuator extension. 20 = full extension, 1 = full retraction
4) Input 2 on modio checks vacuum sensor switch (which verifies object was picked up)

Thank you!

19
Hello. Looking for someone to help me set up my custom machine. It is an x y gantry setup with a z drive, it is actually set up as a pick and place machine that is running mach3.

Someone familar with:
1.) Wiring Mach3
2.) Gcode
3.) modbus setup

Of course I will pay for the help. Preferably in NY, but open to other areas as well.

Thank you.




20
General Mach Discussion / How to attach 24v relay to mach3
« on: February 04, 2010, 04:18:20 PM »
Hello.

I have a breakout board and a modbus, how do I get mach 3 to activate a 24v relay? It just needs to turn on/turn off.

How do I attach the relay to the breakout board?

Thanks

Pages: « 1 2 3 »