I will describe here how to connect arduino directly to mach3 without any additional hardware.This will not use any modbus library it is just proof of working. You will end up with ability of mach3 to read input pin on arduino. But if this will work for you then adding full modbus library for proper... By: VladoM