Huanyang GT VFD Questions
- MF
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
13 Jun 2022 08:25 #245059
by MF
Huanyang GT VFD Questions was created by MF
Hi All
I'm a newby to Linux CNC, and have converted an old Myford ML7 Lathe to CNC. Both axes are working fine, but I'm struggling with getting my computer to interface with the Huanyang GT VFD I'm using. I'm using:USB to RS485 adapter CM340Huanyang GT VFD (i.e. not going through the BOB)I have followed various schemes for linking the VFD to the computer, but when I put the appropriate code into the Custom HAL and Custom Postgui, I cannot subsequently open Linux CNC. I just get what appears to be reams of errors.I looked at the Linux manual for guidance, and in the section for HY_GT_VFD, in the hardware setup, it mentions there is a location on the board for a SW1. The author had to change a pair of crossed jumper wires there to parallel to enable the RS485 (please see attached photograph).
I checked my VFD and saw the SW1 location just to the right of the terminal blocks. There do appear to be two parallel jumper wires there, so to me, it looks like the VFD is already set up for RS485. I went back to Huanyang to clarify, but they just referred me to the manual, which says nothing at all about SW1.
Please could someone confirm whether my VFD is already set up for RS485.
Thanks in advance
I'm a newby to Linux CNC, and have converted an old Myford ML7 Lathe to CNC. Both axes are working fine, but I'm struggling with getting my computer to interface with the Huanyang GT VFD I'm using. I'm using:USB to RS485 adapter CM340Huanyang GT VFD (i.e. not going through the BOB)I have followed various schemes for linking the VFD to the computer, but when I put the appropriate code into the Custom HAL and Custom Postgui, I cannot subsequently open Linux CNC. I just get what appears to be reams of errors.I looked at the Linux manual for guidance, and in the section for HY_GT_VFD, in the hardware setup, it mentions there is a location on the board for a SW1. The author had to change a pair of crossed jumper wires there to parallel to enable the RS485 (please see attached photograph).
I checked my VFD and saw the SW1 location just to the right of the terminal blocks. There do appear to be two parallel jumper wires there, so to me, it looks like the VFD is already set up for RS485. I went back to Huanyang to clarify, but they just referred me to the manual, which says nothing at all about SW1.
Please could someone confirm whether my VFD is already set up for RS485.
Thanks in advance
Please Log in or Create an account to join the conversation.
- scotth
- Away
- Elite Member
Less
More
- Posts: 220
- Thank you received: 52
13 Jun 2022 15:25 #245074
by scotth
Replied by scotth on topic Huanyang GT VFD Questions
Using the procedure in the Huanyang manual, set the following register values:
Set PD000 to 0 - unlock parameters
Set PD001 to 2 - Command source is RS485
Set PD002 to 2 - Speed source is RS485
Set PD163 to 1 - Communications address 1
Set PD164 to 1 - 9600 b/s
Set PD165 to 3 - 8 Bit No Parity - RTU
Set PD000 to 1 - lock parameters
Set PD000 to 0 - unlock parameters
Set PD001 to 2 - Command source is RS485
Set PD002 to 2 - Speed source is RS485
Set PD163 to 1 - Communications address 1
Set PD164 to 1 - 9600 b/s
Set PD165 to 3 - 8 Bit No Parity - RTU
Set PD000 to 1 - lock parameters
Please Log in or Create an account to join the conversation.
- MF
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
14 Jun 2022 08:43 #245102
by MF
Replied by MF on topic Huanyang GT VFD Questions
Hi Scotth
Thank you for your quick reply.
The parameters you describe don't seem to relate to my VFD. I think they must be for the HY VFD from Huanyang, whereas I have the GT version.
I have set the parameters as follows:The Huanyang GT VFD must be configure via the faceplate to talk Modbus with LinuxCNC. Consult the Operation section of the Huanyang GT-series Inverter Manual for details. Set the following parameters:P0.01 = 2Set Run Command Source to Modbus serial port.P0.03Set Maximum Frequency to the maximum frequency you want the VFD to output, in Hz.P0.04Set Upper Frequence Limit to the maximum frequency you want the VFD to output, in Hz. This should be the same as the value in P0.03.P0.05Set Lower Frequency Limit to the minimum frequency you want the VFD to output, in Hz.P0.07 = 7Set Frequency A Command Source to Modbus serial port.P2.01 = ???Set Motor Rated Power to the motor’s power rating in kW.P2.02 = ???Set Motor Rated Frequency to the motor’s max frequency in Hz.P2.03 = ???Set Motor Rated Speed to the motor’s speed in RPM at its rated maximum frequence.P2.04 = ???Set Motor Rated Voltage to the motor’s maximum voltage, in Volts.P2.05 = ???Set Motor Rated Current to the motor’s maximum current, in Amps.PC.00 = 1Set Local Address to 1. This matches the default in the hy_gt_vfd driver, change this if your setup has special needs.PC.01 = 5Set Baud Rate Selection to 5 (38400 bps). This matches the default in the hy_gt_vfd driver, change this if your setup has special needs.0 = 1200
1 = 2400
2 = 4800
3 = 9600
4 = 19200
5 = 38400PC.02 = 0Set Data Format (8n1 RTU). This matches the default in the hy_gt_vfd driver, change this if your setup has special needs.PC.03 = 1Set Communication Delay Time to 1 ms. This is expected by the hy_gt_vfd driver.
This is as required by the manual for Linux cnc for the HY_GT_VFD.
Problem seems to be that I cannot establish comms with the vfd via the USB/RS485 adapter
The manual makes reference to hardware mods to SW1 possibly being required to enable the RS485 communication function. The author of the manual stated that there were two crossed jumper wires at SW1 on his GT VFD, and they had to be changed to parallel. The photo I attached to my post shows the wires at SW1 on my GT VFD are parallel, so I think it is already set up for RS485, but I can't be sure. I really would appreciate it if someone could confirm that this is/is not the case
Thank you for your quick reply.
The parameters you describe don't seem to relate to my VFD. I think they must be for the HY VFD from Huanyang, whereas I have the GT version.
I have set the parameters as follows:The Huanyang GT VFD must be configure via the faceplate to talk Modbus with LinuxCNC. Consult the Operation section of the Huanyang GT-series Inverter Manual for details. Set the following parameters:P0.01 = 2Set Run Command Source to Modbus serial port.P0.03Set Maximum Frequency to the maximum frequency you want the VFD to output, in Hz.P0.04Set Upper Frequence Limit to the maximum frequency you want the VFD to output, in Hz. This should be the same as the value in P0.03.P0.05Set Lower Frequency Limit to the minimum frequency you want the VFD to output, in Hz.P0.07 = 7Set Frequency A Command Source to Modbus serial port.P2.01 = ???Set Motor Rated Power to the motor’s power rating in kW.P2.02 = ???Set Motor Rated Frequency to the motor’s max frequency in Hz.P2.03 = ???Set Motor Rated Speed to the motor’s speed in RPM at its rated maximum frequence.P2.04 = ???Set Motor Rated Voltage to the motor’s maximum voltage, in Volts.P2.05 = ???Set Motor Rated Current to the motor’s maximum current, in Amps.PC.00 = 1Set Local Address to 1. This matches the default in the hy_gt_vfd driver, change this if your setup has special needs.PC.01 = 5Set Baud Rate Selection to 5 (38400 bps). This matches the default in the hy_gt_vfd driver, change this if your setup has special needs.0 = 1200
1 = 2400
2 = 4800
3 = 9600
4 = 19200
5 = 38400PC.02 = 0Set Data Format (8n1 RTU). This matches the default in the hy_gt_vfd driver, change this if your setup has special needs.PC.03 = 1Set Communication Delay Time to 1 ms. This is expected by the hy_gt_vfd driver.
This is as required by the manual for Linux cnc for the HY_GT_VFD.
Problem seems to be that I cannot establish comms with the vfd via the USB/RS485 adapter
The manual makes reference to hardware mods to SW1 possibly being required to enable the RS485 communication function. The author of the manual stated that there were two crossed jumper wires at SW1 on his GT VFD, and they had to be changed to parallel. The photo I attached to my post shows the wires at SW1 on my GT VFD are parallel, so I think it is already set up for RS485, but I can't be sure. I really would appreciate it if someone could confirm that this is/is not the case
Please Log in or Create an account to join the conversation.
- scotth
- Away
- Elite Member
Less
More
- Posts: 220
- Thank you received: 52
14 Jun 2022 17:59 #245141
by scotth
Replied by scotth on topic Huanyang GT VFD Questions
The manual for this drive, I believe.
The exact information off the drive should help. I find no information on the jumpers shown or SW1.
The exact information off the drive should help. I find no information on the jumpers shown or SW1.
Attachments:
Please Log in or Create an account to join the conversation.
- scotth
- Away
- Elite Member
Less
More
- Posts: 220
- Thank you received: 52
21 Jun 2022 20:39 #245554
by scotth
Replied by scotth on topic Huanyang GT VFD Questions
Please Log in or Create an account to join the conversation.
Time to create page: 0.059 seconds