PMDX Forum

General Category => Generic Spindle interfaces, I/O boards, Misc boards and panels => Topic started by: jbolt on June 07, 2015, 12:07:16 PM

Title: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: jbolt on June 07, 2015, 12:07:16 PM
[Amended] I have changed the subject to reflect the current configuration and added information on the current setup and problems below.

Jay
Title: Re: PMDX-106 and simple BOB
Post by: jbolt on June 07, 2015, 10:15:48 PM
My second question is how the PDMX-106 is wired to the VFD.

It is a Huangyang 1.5kw vfd.
The VFD control inputs are:

FWD  =    forward rum
REV  =    reverse run
DCM  =   common terminal for digital inputs
VI      =      0-10v analog input
ACM  =      analog input ground

I understand from the manual that VI = Connector J2 SET and ACM = J2 LOW. jumper on ref-to-pot/local

How does the PMDX-106 hookup to the VFD FWD, REV & DCM terminals? J6 & J8? and if so to which terminals. nc, com or no?  or???

Jay
Title: Re: PMDX-106 and PMDX-122
Post by: jbolt on June 13, 2015, 01:45:03 AM
I have changed the BOB to a PMDX-122 and with some help from another forum I now have the spindle running fwd and rev from Mach3. In test mode on the 106 I cannot get the spindle to reduce speed to 30%, it stays at 100%. I am also unable to change speed in Mach3. I suspect it is a VFD setting but I believe I have everything set correctly. I did find that PD070 was set to 0-5v analog input. I cahnged it to 0-10v but with this setting the spindle only goes to 50% (200hz) and I still cannot change speed. The 106 J1 & J2 jumpers are set for 0-10vdc.

Ant thoughts on what needs to be changed would be appreciated.

Jay
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: jbolt on June 13, 2015, 11:43:08 PM
I checked the  pmdx-106, output voltage on J2. On first press of the test button I get 7.67v and the vfd goes to 100%. On the second press the voltage drops to 2.046v and the vfd stays at 100%. VFD will not go to 30%. In Mach3 I can turn the spindle on in forward or reverse with M3 & M4 but I cannot set the speed.

Settings:

PMDX-122 Settings:

J5 Pin 11 --> X Home/Limit
J5 Pin 12 --> Y Home/Limit
J5 Pin 13 --> Z Home/Limit

J8 +5v --> (From PC Power Supply Lead)
J8 Pin 14 --> PMDX-106 J9 DIR IN
J8 Pin 16 --> PMDX-106 J3 PWM IN
J8 Pin 17 --> PMDX-106 J3 CP-OK
J8 GND --> (From PC Power Supply Lead)

JP1 +5v/Pin 2-9
JP2 Pin 2-9/OK
JP3 Output Enable/CP-OK
JP4 Pin 17/OK
JP5 DIR/OUT

=====================================================

PMDX-106 Settings:
J3 CP-OK --> Pin 17
J3 PWM IN --> Pin 16

J9 DIR IN --> Pin 14

J2 LOW --> VFD (VI) Analog Voltage Frequency Reference Input (0-+10v corresponding to the highest operating frequency)
J2 SET --> VFD (AGM) Common terminal of analog and control signals

J4 +5v --> (From PC Power Supply Lead)
J4 GND --> (From PC Power Supply Lead)

(See attached image of J6 & J8 wiring)
J6 NO --> VFD (D1, FOR)
J6 COM --> VFD (DCM) Common terminal of digital and control signals
J6 NC --> VFD (D2, REV)

J8 NO --> VFD (D1, FOR)
J8 COM --> VFD (DCM) Common terminal of digital and control signals

JP1 Loc/Ref
JP2 0-10v

Dip Switches (all off)

=====================================================

VFD: Huanyang HY01D511B
3PHAC110 +- 20% 50Hz +- 5Hz
3PH 0~110AC 1.5KW 13A 0.50 - 400.00Hz

VFD Parameter set:

PD001 = 1 (external control)
PD002 = 1 (external control)
PD003 = 400 (Main Frequency)
PD004 = 400 (Base Frequency)
PD005 = 400 (Max Operating Frequency)
PD006 = 2.5 (Intermediate Frequency)
PD007 = 20.00 (Min Frequency)
PD008 =110 (Max Voltage)
PD009 = 14 (Intermediate Voltage)
PD010 = 7 (Min Voltage)
PD011 = 120 (Frequency Lower Limit)
PD013 = 1 (Vendor Recommended Setting)
PD014 = 5 (Accelleration time in sec)
PD015 = 5 (Deceleration time in sec)
PD027 = 0.50 (Starting Frequency)
PD028 = 0.50 (Stopping Frequency)
PD070 = 1 (Set Control Voltage to 0-5v) (setting to " = 0", 0-10v, causes the spindle to run at 50%)
PD072 = 400 (Higher Analog Frequency)
PD073 = 120 (Lower Analog Frequency)
PD141 = 110 (Rated Motor Voltage) (From Motor Label)
PD142 = 5.0 (Rated Motor Current) (From Motor Label)
PD143 = 2 (Motor Poles)
PD144 = 3000 (Rated Motor Revolutions)
PD0176 = 60hz (Inverter Frequency Standard)

=====================================================

Mach3 Settings:
See attached XML file

=====================================================

Motion Controller:

UC100
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: jbolt on June 14, 2015, 10:54:25 AM
I finally figured it out. The VFD has an on-board potentiometer that was interfering with the output of the pmdx-106. There is a jumper in the VFD for on-board or external input. After making that change I had to change the wiring from the 106 to the VFD:

J6 NO --> FOR (VFD PD044 = 02)
J6 COM --> DCM

J8 NO --> REV (VFD PD0045 = 03)
J8 COM --> DCM

J2 LOW --> AGM
J2 SET --> VI

After making those changes I was able to run the calibration on the PMDX-106
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Steve Stallings on July 19, 2015, 01:37:16 AM
I am late to this party, but wanted to thank Jay for being persistent in finding and documenting his problem.

Despite helping many people with Huanyang inverters, I had never run into this issue with the internal potentiometer and was unaware of the physical jumper inside the inverter. I always thought you could make all the necessary configuration changes using only parameters.

The jumper is called J1 and is on the main board to the right of the terminal blocks for the control circuit connections. It needs to be in the left hand position across pins 1 and 2 in order to allow external control voltage inputs to work.
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Aqsa Ali on March 24, 2016, 08:43:06 AM
I am also working on this VFD. but I am using PMDX 107... so i need wiring diagram of VFD with PMDX-107

regards,
Aqsa
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Bob at PMDX on March 24, 2016, 10:16:24 PM
I am also working on this VFD. but I am using PMDX 107... so i need wiring diagram of VFD with PMDX-107
See figure 2 in the PMDX-107 manual for the analog connections:
PMDX-107 "Agnd" goes to VFD "AGM"
PMDX-107 "Aout" goes to VFD "VI"

For the forward/reverse controls (using jbolt's connections from above):
PMDX-107 "COM" goes to VFD "DCM"
PMDX-107 "Fwd/Run" goes to VFD "FOR" (with VFD register PD044 = 02)
PMDX-107 "Rev/Dir" goes to VFD "REV" (with VFD register PD0045 = 03)

See sections 4.1 through 4.5 for the DIP switches (hint - "Normal" mode, Relays as "Forward" and "Reverse", probably "Require Charge Pump OK", "fast PWM filter response" and 10V reference).

Bob
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Aqsa Ali on March 25, 2016, 03:46:03 AM
Thanks bob

And how can I register PD045 and PD044??

Aqsa
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Bob at PMDX on March 25, 2016, 11:19:09 AM
And how can I register PD045 and PD044??
The registers are settings that can be programmed from the VFD front panel.  I don't know which model VFD  you have, but there should be a button on the front panel labeled something like "PGM" (for "program").  Pressing that button will display the various "registers", each register has a number (like the "PD044" or other values mentioned in jbolt's post above).  The up and down arrow buttons cycle through all of the registers.  Each register controls some aspect of the VFD's behavior.  If you have the manual for your VFD, it should describe the programming procedure and also list all of the regsiters and what the values mean.

In the case of the 2 registers I mentioned, I admit that I just copied those register numbers from jbolt's post, presuming that your VFD would have the same register layout.  There should be one or two programmable registers that determine how the "FOR" and "REV" terminals are used.  Often they can be "forward" and "reverse", or "run" and "direction".  You want to program them for "forward" and "reverse".

There is a post in this like that describes how to select a register and change its value:
http://www.cnczone.com/forums/diy-cnc-router-table-machines/129938-heck-program-huanyang-vfd.html

Bob
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Aqsa Ali on March 28, 2016, 03:38:50 AM
Bob,

Thank you. it helped me alot understanding VFD. I am gonna set the rejisters. amd will inform you after setting this.

Aqsa
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Aqsa Ali on March 28, 2016, 11:08:12 AM
I have HAUNYANG INVERTER of HY-M0D4A type. And i checked its manual.. rejister PD045 is for 'FOR' and PD045 is for 'REV'. and there factory setting is 2 and 3.
So i guess now I don't have to set any rejister for this..
Am i rite?

Aqsa
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Bob at PMDX on March 28, 2016, 06:17:43 PM
I don't seem to be able to find a copy of the manual for that model on-line.  I would also check register PD070 which (based on the post above from jbolt) determines whether the analog input for speed control is 0 to 5V or 0 to 10V.

Bob
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Aqsa Ali on March 29, 2016, 11:45:47 AM
I set soo many rejisters. but mach4 is not controlling VFD.. I am gonna attach some photos of my VFD manual
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Aqsa Ali on March 29, 2016, 11:46:48 AM
One more picture
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Bob at PMDX on March 30, 2016, 12:38:34 AM
Here are some things to try:

(1) Can you control the spindle from the VFD front panel?

(2) There is usually a register that determines where the VFD looks for control info.  There are usually values for "front panel" or "internal", something like "Analog" or "0-10V" or "Fwd/Rev" or "external", and sometimes "RS-422" or "MODBus" if your VFD supports those interfaces.  See if you can find that register or registers.  In the example from jbolt above, those look to be PD000 and PD001.  See also the comment in this thread by Steve on July 19th, 2015 about a jumper inside the VFD that you may need to change.

Once you verify that you can control the VFD from the front panel, and then change the registers so that the VFD is looking at the 0-10V analog input and the Fwd/Rev terminals, go on to try this:

I presume you have a PMDX-126 along with the PMDX-107.  Is that correct?  Have you looked at our app note AN001, "Mach3 Configuration with 3 Axis and PWM Spindle Speed Using a Single Parallel Port" (http://www.pmdx.com/AppNotes)?  Even if you are using Mach4, that app note will give you the necessary PMDX-126 and PMDX-107 DIP switch settings.  And if you are using Mach3, it also gives you the Mach3 settings to make sure the spindle PWM signal appears on the correct pin.

If you are using Mach4, what motion control device/plug-in are you using?  If you are using Mach3, are you using a PC parallel port to connect to the PMDX-126?  Or are you using an external motion controller such as a SmoothStepper?

(3) Make sure you have the spindle PWM signal assigned to Port 1 Pin 16, and the spindle direction signal to Port 1 Pin 14.

(4) If your settings are correct, when you command the spindle on, with a non-zero speed, you should see the LED on the PMDX-126 at connector J6, the terminal labeled "16" turn on, as well as the "PWM" LED on the PMDX-107.  The brightness of those LEDs should vary with spindle speed - the higher the spindle speed, the brighter the LED.

(5) When you turn on the spindle in the forward direction (i.e. with an "M3" command), you should see the "Run/Fwd" LED on the PMDX-107 turn on.

If you do not see the expected results for steps (4) and (5), then we need to investigate your Mach3/Mach4/Motion Controller configuration.

Bob
Title: Re: PMDX-106, PMDX-122, Huanyang VFD setup)
Post by: Steve Stallings on March 31, 2016, 09:12:54 PM
I too looked for information on your model of Huanyang VFD. I was
able to find places offering it for sale, but could not find a manual.

If it is like other Huanyang VFDs, the parameters that control the
source of commands are:

PD001 run command source
            set to 0 for operator panel on the VFD
                      1 for terminal strip, this is what you need
                      2 for communications port

PD002 source of operating speed
            set to 0 for operator panel on the VFD
                      1 for terminal strip, this is what you need
                      2 for communications port