Motor Activations : This software feature specifies how many motors the EC01 is able to control at one time. It can also be purchased individually wihtout the 7535 hardware. This feature is included with the purchase of 7535 I/O Board. All I/O terminals are clearly marked for quick and easy installation.ĮCAT-EXTIO : Enables I/O functionality on J1 socket(3.3V non-isolated, higher voltage may cause permanent damage). Each board has 16 input terminals and 8 output terminals. It is required to be purchased along with the controller if needed.ħ535 Board: The I/O Termination board ( 7535P or 7535N) provides additional optically isolated digital I/O on J1 socket. This feature enables 0-10V analog output and one Encoder channel on the EC01 controller.
Using just the Arduino loop results in much faster response times.Advanced and production applications can also benefit from these add-ons:ĪnaEnc-Expansion: Used for controlling spindle speed and read rpm/position feedback. The following image shows the response time difference of using a for loop in the Arduino loop() function versus just using the loop() function and incrementing a global position variable to read/write modbus registers. Modbus TCP Library Used (the edited version for Arduino Mega is included in the repo) The modbus plugin configuration can be accessed through the Mach4 file menu at: Configure>Plugins.>Modbus.Ģ4, 25, 26, 27, 28, 29, 38, 39, 40, 41} Input Pins The IP address in the sketch and the Mach4 modbus plugin configuration must be setup according to the network configuration of the connected device. ***This setup is not necessary of you used the exe installer only if you are importing one of the provided Mach4 profiles in the repo If you are using the W5100 ethernet shield, then pin 10 should be bent or cut off and wire should be connected from pin 10 on the Ethernet shield to pin 53 of the Arduino Mega. Pin 53 is used as the SS or CS pin so that pin 10 can be used as an output. To connect or reconnect to the modbus device, press the stop button in the diagnostic window and then the play button.Open Mach4 and navigate to Diagnostic->Modbus in the File Menu.
MACH4 CNC SOFTWARE REPLACEMENT INSTALL
MACH4 CNC SOFTWARE REPLACEMENT UPDATE
You can either use one of the included profiles in the Mach4 Profiles directory, or use the ArduinoModbusInstaller.exe from the dist folder of the repo to update an existing Mach4 profile. The input pins are active low (NPN -GND) and the output pins are active high (PNP +5v). The sketch accesses the Arduino pins directly using port manipulation for faster signaling. The program allows control of 32 inputs and 32 outputs using the Mach4 modbus plugin. This sketch requires the use of a W5100 or W5500 ethernet adapter and optionally supports either an Adafruit ADS1115 ADC and MCP4725 DAC device (or both).