Hello Guest it is April 28, 2024, 08:51:34 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 - Jim G

Pages: « 1 2 3 »
11
G-Code, CAD, and CAM discussions / Re: Macro for inputs and outputs
« on: February 03, 2016, 05:39:07 PM »
this needed a bit of editing - should read these before I post right...
 
The controller sends a signal to an air valve that sends a signal to the two Desoutter drillers to activate
There is a cam switch on one of  the drillers that  sends a signal to the controller when the cycle is done so the controller moves to the next position and does it all over again.

The problem is the "sleep " command .... not sure why it is isn't working correctly but I have to have a sleep that is greater than the driller cycle... My desire is that the sleep command just takes the signal form the driller completion and turns that sustained signal into a momentary signal.  If I am not drilling and the signal stays on the controller moves quickly - like the sleep command is ignored. But when actually drilling the sleep command has to be longer than the drill cycle or it tries to move the part before the driller has finished up. Make sense? MMMMM?

Drilling wood so there is quite a bit of difference in the density sometimes from board to board so I have to have a sleep cycle that is longer than the longest drilling cycle - which really slows things down..

Jim



12
G-Code, CAD, and CAM discussions / Macro for inputs and outputs
« on: February 03, 2016, 03:44:40 PM »
Trying to get this macro to work better -
The controller sends a signal to an air valve that sends a signal to the tow Desoutter drillers to activate
There is a cam switch at on the drillers that is to send a switch to the controller when the cycle is done so the controller moves to the next position and does it all over again.

The problem is the "sleep " command .... not sure why it is isn't working correctly but I have to have a sleep that is greater than the driller cycle... My desire is that the sleep command just takes the signal form the driller completion and turns that sustained signal into a momentary signal.  If I am not drilling and the signal stays on the controller moves quickly - like the sleep command is ignored. But when actually drilling the sleep command has to be longer than the drill cycle or it tries to move the part before the driller has finished up. Make sense? MMMMM?

Here is the Macro - it works - just want to get the thing to cycle faster.

ActivateSignal(OUTPUT1)
While Ismoving()
Sleep(1100)        ' Wait 1.1 sec  This can be adjusted as needed
Wend
While IsActive(INPUT1)= False
Sleep(50)
Wend
DeactivateSignal(OUTPUT1)

13
General Mach Discussion / Re: code for a repeat single axis driller
« on: January 13, 2016, 06:42:48 PM »
It worked - thanks so much!!!!


14
General Mach Discussion / Re: code for a repeat single axis driller
« on: January 13, 2016, 06:22:39 PM »
The switch closes when the driller is done drilling and remains closed until the next cycle when it opens when the drill descends.
I will put this in my program and see if it works.

Thanks so much - will let you know.



15
General Mach Discussion / Re: code for a repeat single axis driller
« on: January 13, 2016, 05:43:43 PM »
That code didn't work real well when I loaded in my macro for the outputs.
But I have a cycle that works as long as I manually interrupt the end of drilling cycle -
the end of drilling cycle is a limit switch on the drills that is normally closed - When the driller drills it opens and when it finishes it trips the switch to a closed position it signals the Macro to go to the next Gcode cycle. The problem is that the computer reads the signal as sustained and I can't get out of the Gcode loop and into the macro to activate the driller. I  need to insert something in the macro code to turn the input signal from the drill from a sustained signal into a momentary signal . When I do this manually all runs well.

I have attached the macro language - Help.

ActivateSignal(OUTPUT1)
While IsActive(INPUT1)= False
Sleep(50)
Wend
DeactivateSignal(OUTPUT1)

16
General Mach Discussion / Re: code for a repeat single axis driller
« on: January 09, 2016, 01:34:23 PM »
Ok - I will load that and see what how my outputs react...

thanks

17
General Mach Discussion / Re: code for a repeat single axis driller
« on: January 09, 2016, 10:14:50 AM »
here is the xml file and the m1s stuff
tell me what else you need -
Have these loaded in program but I can get the diagnostic tool to do anything..
Suppose to issue a m90x command to test these???

18
General Mach Discussion / Re: code for a repeat single axis driller
« on: January 09, 2016, 09:25:15 AM »
I have some macros loaded from the guys at CNC router parts.. how do I add stuff to these replys so you see what I am working with..

19
General Mach Discussion / Re: code for a repeat single axis driller
« on: January 08, 2016, 06:39:23 PM »
load a part - complete the process and unload and repeat..... thousands of times .......

20
General Mach Discussion / Re: code for a repeat single axis driller
« on: January 08, 2016, 05:25:03 PM »
The signal can be as short as 1/10  of a second. The drillers are Desoutter units and are the standard air over eclectric models.
They drill at angles so I am just setting this up with a puller for positioning the wood under the drills.
If using the z axis the drillers would have to be moved with steppers as well?  I am pretty sure I need Macros.


Thanks for the help.

Pages: « 1 2 3 »