Hello Guest it is March 01, 2021, 03:15:24 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

VB and the development of wizards / Re: Tool change Macro Issue
« on: February 14, 2021, 10:16:23 AM »
first i would replace:
Code: [Select]
x = GetToolChangeStart( 0 ) ' Get x tool change start position
y = GetToolChangeStart( 1 ) ' Get y tool change start position
z = GetToolChangeStart( 2 ) ' Get z tool change start position

Code: [Select]
x = GetOEMDro( 800 ) ' Get x tool change start position
y = GetOEMDro( 801 ) ' Get y tool change start position
z = GetOEMDro( 802 ) ' Get z tool change start position

Code: [Select]
Call SetUserDRO (1224,NewTool)
does not make sense to me, but don't know wether DRO 1224 is used somewhere else

all this verifycation for tool insert:
Code: [Select]
' Verify Tool Change Complete
Msg = "Please Insert Tool Number " & " ( " & GetSelectedTool() & " ) " & " " & GetToolDesc(NewTool) ' Define message
Style = vbYesNo + vbCritical + vbDefaultButton2 ' Define buttons
Style = 0 + 48 + 0 ' Define buttons.
Title = "Tool Change Requested" ' Define title
Help = "DEMO.HLP" ' Define Help file
Ctxt = 1000 ' Define topic 'context. ' Display message.
Response = MsgBox(Msg, Style, Title, Help, Ctxt)

If Response = vbOk Then ' User chose Ok
MyString = "Ok" ' Perform some action
End If

does not make many sense too, except that the machine is waiting for tool insert, because:
1.the MSG has only a OK button
2.no matter what you do (press OK or the X of msgbox), the rest of code will be done anyway

also no Chance to cancel via MSGBox input.

Mach Screens / Re: Softlimits on RnR card---, min-max input value
« on: February 14, 2021, 09:51:18 AM »
there is no possibilty (ok i do not know one), to set a Min/Max range for a partucular DRO.


i posted a numeric Keyboard Input possibilty via VB, there is would be easy to inplement.

General Mach Discussion / Re: Mach 3 is not recognizing cutting torch
« on: February 14, 2021, 05:59:00 AM »
if you can post the Profile.xml we can have a look what is configured.

General Mach Discussion / Re: Mach3 intervals going 3x as far
« on: February 12, 2021, 11:19:19 AM »
Config -> Motor Tuning -> Step's per for each axis


chapter 5.5 would be from interest

however the hole Manual might be interesting.

to reverse axis you have the following possibilties:

Config -> Ports&Pins -> Motor Outputs -> Dir low active
Config -> Homing/Limits -> Home Neg.

with a combination of both you should be able to bring everything
moving as expected.

you can try to set Config -> Home and Softlimits -> Home Off.
for X and Y axis to a value that lower left of table is Zero and not negative:

it is allways a bit confusing if you view your table.
movements are allways related from your millbit to the workpiece

so if your table moves to the left millbit related to the worpiece is moving to the right.

i try to explane from Keyboard arrow key's

key left -> X- -> table moves to the right -> millbit on workpiece moves to the left
key right -> X+ -> table moves to the left -> millbit on workpiece moves to the right
key down -> Y- -> table moves up -> millbit on workpiece moves down
key up -> Y+ -> table moves down -> millbit on workpiece moves up

for reference normaly is in your case:
for X table is far right (witch is workpiece related left) and
for Y table is far up (witch is workpiece related down)

after ref all your millbit has to be at the left lower Corner of the table

General Mach Discussion / Re: zero setting changes after running program
« on: February 07, 2021, 06:15:46 AM »
have you selected in Config -> General Config -> Persistent Offsets and Persistent DROs ?

General Mach Discussion / Re: zero setting changes after running program
« on: February 06, 2021, 08:12:42 AM »
are only the displayed values on Screen not Zero, or is the machine physicaly not at Zero?

G-Code, CAD, and CAM discussions / Re: NOOB with a gcode question...?
« on: February 05, 2021, 01:56:04 AM »
Vectric did.

N140 is the code to initiate toolchange
N160 is the code to activate tool length compensation