Hello Guest it is March 19, 2024, 05:19:31 AM

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

171
Mach3 and G-Rex / Re: Help Please!!! X and Y axis move in one direction
« on: December 25, 2022, 04:48:06 AM »
here:
http://cnc4pc.com/Tech_Docs/1_C10R10.PDF

is a very basic connection diagram, just to double check your wiring.

the X/Y Dro's are going up and down if you press cursor key's?

do you have a possibilty to measure dir outpout's with a multimeter?

172
try this

Code: [Select]

If IsActive(INPUT2) Then
message "abc"
End If


173
General Mach Discussion / Re: tool changer
« on: December 05, 2022, 02:57:45 AM »
pls create a new thread and post all informations you have about ATC , your controller
maybe in/outputs you used and pictures of all.

174
General Mach Discussion / Re: tool changer
« on: December 05, 2022, 02:21:18 AM »
i have not created this macro, just made some changes and never got an answer wether it work's.

175
General Mach Discussion / Re: Spindle Orientation for tool changer
« on: November 08, 2022, 01:37:04 AM »
played arrount with this a lot, ended up in having a proximity switch witch is connected to an input and
a little bit of macro code, witch was good enough for me.

Code: [Select]
    Code "S10 M3" 'turn to prox
    While Input1 = 0  'wait to be on
    Wend
    While Input1 = 1  'wait to be off
    Wend
    Code "S1 M4" 'reverse to prox
    While Input1 = 0  'wait to be on again
    Wend
    Code "M5"

but i have a pul/dir driven servo spindle, witch allows very slow rotation.

176
General Mach Discussion / Re: Early laser off with PWM
« on: November 02, 2022, 02:19:09 AM »
here:

https://www.machsupport.com/forum/index.php?topic=12444.msg265104#msg265104

Tweakie explained how to control this with a small pcb board.

177
General Mach Discussion / Re: Early laser off with PWM
« on: November 01, 2022, 02:42:53 PM »
IMHO you will have no luck with using M3 and S commands to control your laser properly
because these commands are not syncronized with motion commands.

the only two possibilities i know are:

- use M10/M11

- use the direction pin of a virtual axis (A/B/C) to switc laser on/off

there are o lot threads about this problem here on the board.

178
General Mach Discussion / Re: can't get proper Z
« on: November 01, 2022, 02:38:24 PM »
here is your code:
Code: [Select]
CurrentFeed = GetOemDRO(818) 'Get the current feedrate to return to later
CurrentAbsInc = GetOemLED(48) 'Get the current G90/G91 state
CurrentGmode = GetOemDRO(819) 'Get the current G0/G1 state

If GetOemLed (825)=0 Then 'Check to see if the probe is already grounded or faulty
DoOEMButton (1010) 'zero the Z axis so the probe move will start from here
Code "G4 P3" ' this delay gives me time to get from computer to hold probe in place
Code "G90 G31Z-4. F4" 'probing move, can set the feed rate here as well as how far to move
While IsMoving() 'wait while it happens
Wend
ZProbePos = GetVar(2002) 'get the exact point the probe was hit
Code "G0 Z" &ZProbePos 'go back to that point, always a very small amount of overrun
While IsMoving ()
Wend
Call SetDro (2, .060) ' change .060 to your plate thickness and then adjust for final accuracy
Sleep 200 'Pause for Dro to update.
Code "G1 Z1. F50" 'put the Z retract height you want here, must be greater than the touch plate thickness
While IsMoving ()
Wend
Code "(Z axis is now zeroed)" 'puts this message in the status bar
Code "F" &CurrentFeed 'Returns to prior feed rate
Else
Code "(Z-Plate is grounded, check connection and try again)" 'this goes in the status bar if applicable
End If

If CurrentAbsInc = 0 Then 'if G91 was in effect before then return to it
Code "G91"
End If

If CurrentGMode = 0 Then 'if G0 was in effect before then return to it
Code "G0"
End If   

there are two things witch can cause your problem.

1st: the code is reading Var(2002)  for the exact hitpoint of the probe.
most "cheaper" motion controller are not handling this var's correctly.

2nd: you wrote that you set the plateheight to 0.250 but in the code it is hardcoded to 0.060,
so this might also cause your problem

179
VB and the development of wizards / Re: macro correction help
« on: October 29, 2022, 06:22:59 AM »
Config -> General Config -> ignore M calls while loading

180
ok, it is a dll, and we are not able to "see" the macro code.
only thing what's left is to use a "selfmade" M6Start macro for the ATC.


here:

https://www.machsupport.com/forum/index.php?topic=36417.msg249874#msg249874

is an example i posted some years ao.