Hello Guest it is April 23, 2024, 06:10:08 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.


Topics - omegasea21

Pages: 1
1
I have built a very large machine, that uses coordinates to locate certain objects. It is important that that machine is accurate when locating the coordinates.

If one of the axis skips a little, the coordinates are off.

I would like to create a simple macro to run every few hundred lines to reset the coordinates.

The machine does not have limit switches. Any ideas how do this?

I was thinking of purposely sending the unit past 0,0 something like -1, -1 (the machine will skip a little) and then reset the x,y DRO to 0,0.

Any better ideas?

Thank you!  

2
I would just like the script to end if the condition is met and it is not stopping. I see the Torch Up LED (OEMLED 37) lit up in the diagnostics screen, yet the script just wont stop running. Please help.

Code "m7" 'mist on
Code "G4 P4" 'Wait 4 seconds
Code "M9" 'mist off
Code "M8" 'flood on
Code "G4 P4" 'wait for seconds
Code "M9" 'Flood Off
If GetOemLED(37)=1 then 'if torch up Led active end script
End
Else 'if not
Code "m7" 'mist on
Code "G4 P4" 'Wait 4 seconds
Code "M9" 'mist off
Code "M8" 'flood on
Code "G4 P4" 'wait for seconds
Code "M9" 'Flood Off



3
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!

4
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

5
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

6
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!

7
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!

8
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.




9
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

10
Hello.

I am going to run Mach three to control a large xy gantry style table that will be used for a pick and place application.

1.) I will be using a vacuum suction cup to pick and place my items, one of the optional items I can use is a vacuum sensor, the sensor will be able to determine if enough vacuum pressure exists to lift my item. The question is, it has a digital sensor that works with a PLC (I am not familar with PLC's) can this be used with Mach 3? And if so, is there a simple PLC you recommend

Thank you,

Stuart


Pages: 1