Hi,
I have a Chinese 6040 Mill, it has a NowForever D100 VFD that drives a 1.5Kw spindle!
Using Mach3 the whole setup works fine but I would like to automate the start/stop/rpm of the spindle. I currently use the keypad to control these functions.
I have used 'kmtronic Modbus tester' to send correctly formatted codes for both read and write commands to the vfd to start the spindle, change the spindle rpm and stop it, and it works fine.
I have looked at the various documentation for Brains/vb etc etc and at first glance cant see the immediate way forward. But I think I need to get the basics working from Mach3 before proceeding...
Issue 1. I have enabled Modbus in 'Ports and Pins' and used 'Test Modbus' to read holding registers from the vfd and this works fine and returns the correct results, but I cannot write to any holding registers, 'Test Modbus' returns a 'illegal data value' when I want to write the same value back!
Issue 2. When I enable the 'Modbus Plugin Support' the 'Test Modbus will not read or write values and returns a 'Receive Timeout'.
The VFD spindle control registers are in a group with an address of 900H as per the manual below.
Any help or pointers would be an amazing help, as I am a bit in the dark at the moment.
Thanks, Earle