Hello Guest it is March 19, 2024, 04:15:33 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

151
G-Code, CAD, and CAM discussions / Re: Drilling Machine Macro
« on: March 13, 2023, 01:37:55 PM »
so your G-code is looking like this:

G1 A10
M07
M09
G1 A20
.
.

M07 and M09 activate your Outputs for drill down/up

replace M07 and M09 for example by M400
so your G-Code will look like this

G1 A10
M400
G1 A20
.
.



now create a Macro M400.M1S in your profile folder C:\Mach3\macros\your profile name

Code: [Select]

'here activate the output for drill down
ActivateSignal(OUTPUT1)


'here we wait for an Input1 to go to high signal
While Not IsActive(Input1) 'drill down
  Sleep(10)
Wend

'here deactivate the output for drill down
DeactivateSignal(OUTPUT1)

'here we wait for an Input2 to go to high signal
While Not IsActive(Input2) 'drill up
  Sleep(10)
Wend


you have to replace Output1 and Input1/2 with the oenes you have declared in Port's&Pin's



152
4095 -> 10V

154
here:
https://en.cs-lab.eu/wp-content/uploads/2016/06/csmio-ip-s-konfiguracja-we_wy-artykul.pdf

is described how to read/write analog signal for CSMIO via macro.

155
Mach Screens / Re: Mach3: Where is lathe/mill mode set on startup?
« on: January 29, 2023, 04:27:34 AM »
it is indicated by the filending of your screenset file.
ABC.set -> is mill
ABC.lset -> is lathe

156
you can only reset workcoordinates not machinecoords.

157
General Mach Discussion / Re: Trouble moving from XP to Win7 32bit
« on: January 27, 2023, 05:49:53 AM »
it's not Mach3 your stepper drivers may not be able to run at a 3.3V PP.
you should also check settings in bios for PP-card

https://www.youtube.com/watch?v=uglCm_qsojk&t=337s
 

158
General Mach Discussion / Re: Trouble moving from XP to Win7 32bit
« on: January 27, 2023, 02:56:08 AM »
maybe your PP is a 3.3V version. i think you have to check with voltmeter.
there are a couple of tutorials on youtube.

159
Brains Development / Re: Output on one condition off if not
« on: January 22, 2023, 11:37:27 AM »
try an other output, witch is defently not used just for test

160
Brains Development / Re: Output on one condition off if not
« on: January 22, 2023, 11:36:04 AM »
this must work, something else maybe doing something with output5 ? macropump or some othe script?