08-06-2009 02:11 PM
Attempting to communicate to a GE-Fuji Motor Drive (AF-300 G11) via Modbus. I am using a RS-485 to RS-232 converter connected to serial com1. These seem to be a fairly common motor drive, and I have found some old threads but am hoping someone would be willing to share some example code of how to read the frequency and set the frequency, I would be most thankful.
I have tried the NI Modbus VIs and some other VIs I used for 'talking' to a flow meter via modbus/RS-485, but still no luck.
Thanks,
Steve
08-06-2009 03:27 PM
Steve,
GE-Fuji drives usually ship with free communication software. I would suggest trying to communicate with the drive using the factory software as a means to verify operation of your com port/232-485 converter and communications cabling. After this is working, then I would go back to the NI-Modbus functions.
08-07-2009 11:25 AM
Steve,
Modbus communication is essentially serial communication, so you may want to perform a loopback test on your converter to make sure everything's working properly on that end. Setting/reading the frequency shouldn't involve much more than writing or reading a certain register/set of registers, so I'd take a look at the MB Serial Master example as a starting point. You'll likely want to develop your own program for communication though.
08-12-2009 02:40 PM
08-13-2009 01:54 PM
Hey Steve,
Keep in mind that Modbus requires a very strict way of sending commands, so you'll want to make sure the values you're sending to the modbus write function are of the appropriate byte length. Past that, I'd post the drive's manual here so we can look at it to see if we can help you out. Also, it'd be a good idea to check out the modbus protocol specifications to familiarize yourself with how the messages are structured.
08-18-2009 12:35 PM
The manual for the drive can be found at: http://www.geindustrial.com/publibrary/pubLibResult.jsp?famId=13&prdTypeId=5540&subTypeId=316&src=cw...
The manul is the last item listed on the page: 'AF-300 P11 Var. Torque Freq Adj Drives'. Once the manual opens up, the modbus info is located in chapter 12.
My error must be something simple, but I haven't been able to figure it out yet. Looking at the Modbus Protocol Spec, I believe my error is with the start address, but I'm not sure.
Steve
08-19-2009 09:49 AM
Hey Steve,
According to the manual, the device works as a Modbus slave. You should look at the Modbus Master example, as your computer will act as the Modbus master.
09-22-2009 11:28 AM
11-25-2014 04:28 PM