Hello Guest it is October 16, 2021, 02:27:58 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 - TPS

General Mach Discussion / Re: REF All home
« on: April 27, 2018, 02:11:03 PM »
ok Sounds good so far.
first would be to get the referencing working of the single axis.

press Ref Z make sure the referencing Z is working, upwards to your Limit switch
press Ref X make sure the referencing X is working
press Ref Y make sure the referencing Y is working

if we have this working, we will create a customized ref all home script

« on: April 27, 2018, 11:48:06 AM »
the code is running the subroutine 180 times (G98 L01 L180)

that is the reason why the orignal uses #variables to calculate values by runtime.

General Mach Discussion / Re: REF All home
« on: April 27, 2018, 10:58:24 AM »
if you have Limit Switches for all axis, it should be no Problem.
maybe a Little Change in the ref all button script.

+ a Floating head connected to the probe Input for detection of material surface,
then you can "cover" all

Mach4 General Discussion / Re: Mach 4 with ess surging issue
« on: April 25, 2018, 04:49:50 PM »
we are very sorry, that our Magic glas ball can not see the line 758 of your code.

General Mach Discussion / Re: Mach 3 tool change problem.
« on: April 24, 2018, 04:13:16 PM »
first Change your M6End code to:

REM The default script here moves the tool back to m6start if any movement has occured during the tool change..

REM x = GetToolChangeStart( 0 )
REM y = GetToolChangeStart( 1 )
REM z = GetToolChangeStart( 2 )
REM a = GetToolChangeStart( 3 )
REM b = GetToolChangeStart( 4 )
REM c = GetToolChangeStart( 5 )
REM if(IsSafeZ() = 1) Then
REM    SafeZ = GetSafeZ()
REM    if  SafeZ  > z then StraightTraverse x, y,SafeZ, a, b, c
REM       StraightFeed  x, y,  z  , a, b, c
REM else
REM Code"G00 X" & x & "Y" & y
REM end if

normaly you set your G54 Z Zero to the top of your workpiece, and work then with neative Z values to do the Job.

in the M6Start macro you can add code to get the Z axis to a Position where you can do your tool Change.

in M6End is only code needed if your cam does not bring back the Z-axis to a Position where it is needed after toolchange,
but your example G.code does this, so only one part of Software should o this (G-code or M6End macro), never both of them.


General Mach Discussion / Re: Mach 3 tool change problem.
« on: April 24, 2018, 01:42:05 AM »
for a first test have a look to your M6End macro, in Folder C:\Mach3\Macros\Your Profile Name.
try to comment the code out by using Rem at the start of each line.

anyway your code is sendig the z axis to 1.5814 after every toolchange.

VB and the development of wizards / Re: trigonometry center
« on: April 23, 2018, 09:50:02 AM »
the macro does not swap axis, it is Rotation the X/Y plane,
so if you do a jog in X (on Keyboard) then will both axis move-

anyway the macros's are not for trigonometry Center probe, they are for probing a twisted part.

maybe you can use two spare Inputs on the Controller for MPG A/B and do the selection
via Screen Buttons ?

General Mach Discussion / Re: Missing codes in auto tool changer
« on: April 23, 2018, 04:35:42 AM »
the machine will only do what in M6Start and/or M6End macro is coded.
as Long you don't Show us your code, we can only look in our magic glass ball ;)