Hello Guest it is April 17, 2024, 11:33:39 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.


Topics - JeffMach3

Pages: 1
1
General Mach Discussion / Restart program
« on: September 17, 2019, 02:00:25 PM »
Hi I am trying to learn how Mach 4 works.  I am more used to Fanuc.  If I want to run a program a certain amount of cycles I use the Macro B statements.  But I tried using the GOTO command in Mach4 but it just hung there. Do you have any ideas on how to do this?


N10
G0XOYO
...
#100=#100+1
IF[#100LT10]GOTO10
M30

2
Mach4 General Discussion / Creating M-Code to activate Outputs
« on: August 06, 2019, 03:14:47 PM »
Hi I am putting together a machine that requires a number of outputs,  I have figured out how to turn them on and off using buttons on the screen,  but I cannot turn them on in the program.  I tried learning how to create an M-code in Mach4 Scripting Manual but it is not helpful for someone of my caliber.   If you can help me make one that will work I can copy and make the changes for the additional outputs.    I attached my feeble attempt, but it did not work (See attached)   I noticed that there were M-codes that turned on/off outputs (M200-M228) but that did not seem to work.  Any help would be appreciated.   I am using Mach4 and Pokeys 57E

Jeff

Pages: 1