io-over-tcp-modbus-arduino-mach4
This sketch requires the use of a W5100 or W5500 ethernet adapter and optionally supports either an Adafruit ADS1115 ADC and MCP4725 DAC dev

Original : https://github.com/kethort/io-over-tcp-modbus-arduino-mach4
Author : kethort
Published On : 2020-06-16
Last commit : 2023-07-13
This content was created with the assistance of ChatGPT, an artificial intelligence language model developed by OpenAI.
Mach4
Mach4 is a software used to control various CNC machines. It offers a user-friendly interface and powerful features and provides scalability through a plugin architecture. In addition, it supports a variety of machines, including routers, milling machines, lasers, and plasma cutters. However, fully utilizing this software requires time and effort, and it comes at a cost.
This project
This project requires a W5100 or W5500 ethernet adapter and can optionally support an Adafruit ADS1115 ADC and MCP4725 DAC device. It's designed to control 32 inputs and 32 outputs, providing a robust platform for automation tasks. The sketch accesses the Arduino pins directly using port manipulation for faster signaling.
This repository provides a comprehensive parts list, including links to purchase the necessary components from Amazon. It also offers detailed instructions for firmware and network setup, guiding you through the process of setting up the Arduino sketch and conforming the IP address to your network.
For the Mach4 software setup, the repository includes an executable program, ArduinoModbusInstaller.exe. This program allows you to configure the project according to your needs, whether you want to use just the inputs and outputs on the Arduino Mega or add ADC, DAC, or both.
The repository also provides a clear pinout and a link to a demonstration video, which can be incredibly helpful for visual learners. The Modbus TCP library used in the project is also linked, and an edited version for Arduino Mega is included in the repository.
In summary, this repository offers a comprehensive guide to a project that combines Arduino Mega with the Mach4 Modbus plugin. It's a valuable resource for makers interested in advanced automation tasks, providing a wealth of learning and experimentation opportunities.
Modbus
Modbus is a communication protocol used in industrial automation systems, operating on a master-slave model where the master device sends requests to slave devices. It supports different types of data registers and can operate over various physical layers, including serial communication (Modbus RTU) and Ethernet (Modbus TCP).
For detailed information about Modbus, please refer to the official website.
Demonstration
Thank you for reading.