Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

95 total results found

Table of Contents

Documentation - Artsoft Mach4 CNC Controller Lua Scripting Guid...

 1 Introduction       1.1 Before You Begin       1.2 What is Mach4?      1.3 What is a Mach4 Script?  2 Script Editor       2.1 File Menu      2.2 Edit Menu       2.3 Search Menu      2.4 Debug Menu       2.5 Help Menu      2.6 Toolbar  3 Types of Scripts     ...

1 Introduction

Documentation - Artsoft Mach4 CNC Controller Lua Scripting Guid...

Introduction The purpose of this manual is to teach the basics of scripting in Mach4 using the Lua interface.  Scripts add functionality to Mach4 by providing the user with an interface to create custom M codes, macros to control tool changers and other custo...

Artsoft
mach4
Lua Scripting

2 Script Editor

Documentation - Artsoft Mach4 CNC Controller Lua Scripting Guid...

Script Editor Mach4 includes a built in script editor.  The editor can be found in the ‘Operator’ menu as ‘Edit/Debug Scripts’ (see Figure 2-1).  Selecting ‘Edit/Debut Scripts’ will open a window to select the script to be edited.  By default the ‘Macros’ fol...

Artsoft
Mach4
Lua Scripting

3 Types of Scripts

Documentation - Artsoft Mach4 CNC Controller Lua Scripting Guid...

Types of Scripts Scripts are divided into 4 types: M codes, screen, panel and modules.  This chapter will discuss the differences in and interactions between these types. M codes M codes, or miscellaneous functions, are used to create additional functionali...

4 Registers

Documentation - Artsoft Mach4 CNC Controller Lua Scripting Guid...

Registers Registers are a very powerful tool in Mach4.  They are completely user definable and can be accessed from anywhere in Mach4.  Scripts can use them to record and save data or to transfer data to another script or communicate with a plugin.  Registers...

5 Examples

Documentation - Artsoft Mach4 CNC Controller Lua Scripting Guid...

Examples The following examples are to provide some guidance on the creation of scripts.  They are not specific to any one machine and are not guaranteed to work on any machine. Using Signals Signals are internal triggers for events in Mach4.  They can be t...

Artsoft
mach4
Lua Scripting

6 Troubleshooting

Documentation - Artsoft Mach4 CNC Controller Lua Scripting Guid...

Troubleshooting Memory Mapped File Error: If you’re getting this error, check the file that seems to be causing this for mc.mcToolPathGenerate(). This used to have to be called every time a file was loaded to regenerate the tool path but this call is now a...

Mach3 Plugin Development Tutorial

Documentation - Artsoft Mach3

Documentation is attached. Look to the upper left for your attachments. 

Mach3 TOOL TOUCH OFF VIA PROBING

Documentation - Artsoft Mach3

The tool can’t stop instantaneously on contact when probing. The tool will travel some distance into the material. How far it will travel after actual contact is determined by the machinesconfiguration and the probing feedrate. The controller will react to con...

Mach3 PWM Spindle Control

Documentation - Artsoft Mach3

Documentation is attached. Look to the upper left for your attachments. 

Mach3 The Write Wizard

Documentation - Artsoft Mach3

Documentation is attached. Look to the upper left for your attachments. 

Mach3 Threading on the Lathe Turn

Documentation - Artsoft Mach3

Documentation is attached. Look to the upper left for your attachments. 

Mach3 User Guide for Brains

Documentation - Artsoft Mach3

Documentation is attached. Look to the upper left for your attachments. 

Mach3 Using ModBus

Documentation - Artsoft Mach3

Documentation is attached. Look to the upper left for your attachments. 

Mach3 Wizard List

Documentation - Artsoft Mach3

Documentation is attached. Look to the upper left for your attachments. 

Mach3 Addons for Mill

Documentation - Artsoft Mach3

Documentation is attached. Look to the upper left for your attachments. 

Mach3 G100 Setup Guide

Documentation - Artsoft Mach3

Documentation is attached. Look to the upper left for your attachments. 

Mach4 Mill Programming Guide

Documentation - Artsoft Mach4

Documentation is attached. Look to the upper left for your attachments. 

Mach4 Lathe Tool Direction

Documentation - Artsoft Mach4

Documentation is attached. Look to the upper left for your attachments. 

Mach4 Mill Operations Guide

Documentation - Artsoft Mach4

Documentation is attached. Look to the upper left for your attachments.