CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > Phase Converters and VFD


Phase Converters and VFD Running 3 phase machines on single phase power and variable frequency drive discussion


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-11-2010, 06:28 AM
 
Join Date: May 2010
Location: Norway
Posts: 60
Vaffel is on a distinguished road
Connecting Huanyang VFD to Mach3 via Gecko 540

Hi,

So I've searched all day both on google and on this forum for someone explaning how to control the huanyang VFD+spindle from mach3 via gecko540, without any luck.

I'm having trouble getting this to work.

Ive connected the +10V, Vi and ACM from VFD to the 7, 8 and 9 pins on the G540 as of the manual. The VFD was setup to correctly run from the VFD panel first (so I know its working on its own). Then I changed the PD001 and 002 to 1

I also changed the PD070's to the correct values. 0-10V = 0-400Hz, etc.

In Mach3, spindle is turned on, and step is put on pin 14, dir on 0. The port is 1 for both.

PWM is turned on, and base freq is set 50 (should this be 400?) and min PWM is set to 0%.

Spindle step is set to 1000, acc set to 1. And pulley: min 0, max 24000, ratio 1.

So when I turn on the spindle by command: M3 S10000 - nothing happens. The VFD display is not showing any difference.

What have I missed? When I get home, I will measure that Gecko actually puts out a voltage of something between 0 and 10V on the Vi.

Thanks for any and all help!!
Reply With Quote

  #2   Ban this user!
Old 10-11-2010, 09:42 AM
 
Join Date: Dec 2009
Location: usa
Posts: 412
jsantos is on a distinguished road

The connections you've made between the G540 and your VFD controls the speed of your spindle.

You will also need to have the connections between the G540 and your VFD to start and stop the spindle. You'll have to connect your VFD's FWD (Run Forward) and CMN (Common) to a relay that is in turned connected to OUTPUT1 or OUTPUT2 of the G540.

Once you've got the above setup, you then setup the Relay Control in Mach3, Config->Ports and Pins-> Spindle Setup to select OUTPUT1 or OUTPUT2 for your M3.
Reply With Quote

  #3   Ban this user!
Old 10-11-2010, 09:46 AM
 
Join Date: Dec 2009
Location: usa
Posts: 412
jsantos is on a distinguished road

Download this -> http://www.homanndesigns.com/EN010_V8.pdf

It's the best wiring diagram I've seen for the G540 and includes all the wiring you'll need for your VFD.
Reply With Quote

  #4   Ban this user!
Old 10-11-2010, 03:05 PM
 
Join Date: May 2010
Location: Norway
Posts: 60
Vaffel is on a distinguished road

Thanks dudes!

So, if I just short the FOR and Commons terminal on the VFD, I would get the same effect as turning on the relay, right?

But if I do this, the spindle will be running at mininmum speed all the time?

Thanks!
Reply With Quote

  #5   Ban this user!
Old 10-11-2010, 03:46 PM
 
Join Date: Dec 2009
Location: usa
Posts: 412
jsantos is on a distinguished road

Originally Posted by Vaffel View Post
Thanks dudes!

So, if I just short the FOR and Commons terminal on the VFD, I would get the same effect as turning on the relay, right?

But if I do this, the spindle will be running at mininmum speed all the time?

Thanks!
Shorting the FOR and COM terminal on the VFD just starts the spindle. You can still control the speed of the spindle with your S command or the Spindle Panel on Mach 3.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-24-2011, 03:42 PM
Action-KAT's Avatar  
Join Date: Aug 2008
Location: England
Posts: 107
Action-KAT is on a distinguished road
need a little help

Hi need a little help setting up same setup
I've been trying to follow the setup here with no look.

I have connected my G540 to the VFD as the drawing EN010_V8.pdf
7 - ACM / 8 - VI / 9 - 10V

wire from pin 5 G540 to pin 4 SSR
wire from +Vdc to pin 4 SSR
wire from pin 2 SSR to VFD FOR
wire from pin 1 SSR to VFD DCM

I have been using the VFD to control my spindle prior to trying this setup all worked fine.

On the VFD control panel I changed PD001 to 1 & PD002 to 1 for external terminal.

now not to sure if I have it right in Mach3.
attached pic of setup I set PWM base to 400 not sure if this correct it also keeps changing to 401 or 403 !

I'm sure i've miss understood something
cheers for any help
Attached Thumbnails
Click image for larger version

Name:	SSR.jpg‎
Views:	60
Size:	36.3 KB
ID:	127324   Click image for larger version

Name:	Mach3 setup.jpg‎
Views:	151
Size:	107.5 KB
ID:	127326  
Attached Files
File Type: pdf cnc vfd Introduction2[1].pdf‎ (881.6 KB, 142 views)
Reply With Quote

  #7   Ban this user!
Old 02-24-2011, 04:57 PM
 
Join Date: Dec 2009
Location: usa
Posts: 412
jsantos is on a distinguished road

Your wiring looks good.

I changed my relay from an electro-mechanical relay to the Crydom SSR. Unfortunately, I couldn't get the SSR to work. It would start up the spindle but it would never completely stop. So I had to go back to my electro-mechanical relay.

The attachments show how I've got Mach 3 set-up to run my spindle.
Attached Thumbnails
Click image for larger version

Name:	s1.jpg‎
Views:	147
Size:	50.6 KB
ID:	127327   Click image for larger version

Name:	s2.jpg‎
Views:	124
Size:	12.1 KB
ID:	127328   Click image for larger version

Name:	s3.jpg‎
Views:	143
Size:	66.1 KB
ID:	127329   Click image for larger version

Name:	s4.jpg‎
Views:	139
Size:	52.2 KB
ID:	127330  

Reply With Quote

  #8  
Old 02-24-2011, 05:53 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by Action-KAT View Post
wire from pin 5 G540 to pin 4 SSR
wire from +Vdc to pin 4 SSR
wire from pin 2 SSR to VFD FOR
wire from pin 1 SSR to VFD DCM

I have been using the VFD to control my spindle prior to trying this setup all worked fine.
It appears you are using a SSR that is totally unsuitable for what you are trying to do.
If I understand it correctly, you are using a 240vac TRIAC output SSR to switch low voltage DC control.
If going with an isolated switch, you need something with a DC logic level output.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #9   Ban this user!
Old 02-24-2011, 11:32 PM
 
Join Date: Dec 2009
Location: usa
Posts: 412
jsantos is on a distinguished road

Originally Posted by Al_The_Man View Post
It appears you are using a SSR that is totally unsuitable for what you are trying to do.
If I understand it correctly, you are using a 240vac TRIAC output SSR to switch low voltage DC control.
If going with an isolated switch, you need something with a DC logic level output.
Al.
Good eye, Al! I didn't even notice that.

But I'm using (I think) a DC logic level output and it didn't work for me either. It seemed that the output does not completely shut down. Attached is what I tried. They work if I use them to turn my stepper motor brake on and off on my z-axis, but not when I use it to turn my spindle on/off.

I would love to replace my electro-mech relay with an SSR. Anything you can recommend?
Attached Thumbnails
Click image for larger version

Name:	XT6E1274.jpg‎
Views:	53
Size:	111.9 KB
ID:	127355  
Reply With Quote

  #10   Ban this user!
Old 02-25-2011, 11:03 AM
Action-KAT's Avatar  
Join Date: Aug 2008
Location: England
Posts: 107
Action-KAT is on a distinguished road

Hi Al

Electrics Not my best subject.
I have looked for a similar relay that homanndesigns sells in the UK.
not having much look,
if you could point me in the right direction what i'm looking for from a UK supplier
it would save me a lot of hair pulling ( what little I have )

cheers for the heads up
KAT
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-25-2011, 11:12 AM
 
Join Date: Dec 2009
Location: usa
Posts: 412
jsantos is on a distinguished road

Originally Posted by Action-KAT View Post
Hi Al

Electrics Not my best subject.
I have looked for a similar relay that homanndesigns sells in the UK.
not having much look,
if you could point me in the right direction what i'm looking for from a UK supplier
it would save me a lot of hair pulling ( what little I have )

cheers for the heads up
KAT
If you're looking for the 48V relay that HomannDesign sells, it's similar/same to the Tyco Electronics (Potter & Brumsfield) T9A series "DC Coil 30 Amp Panel Mount Relay". Get the 48V coil. They're what I'm using.
Reply With Quote

  #12  
Old 02-25-2011, 12:21 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

What you have to look at is the Off state output current, many have 5ma off current, which can be the cause of not turning off.
You could simply use a 4N25 for 50˘.
In the attached drawing, just separate the commons for isolation, and you do not need the 4.7k output resistor on the collector.
Al.
Attached Thumbnails
Click image for larger version

Name:	4N25.jpg‎
Views:	119
Size:	32.2 KB
ID:	127409  
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Struggling connecting Mach3 to a controller zaebis Mach Software (ArtSoft software) 5 07-24-2009 08:09 PM
Problems connecting to the controller with Mach3 zaebis Machines running Mach Software 2 07-09-2009 09:30 PM
gecko 540 with mach3 meck11 Gecko Drives 5 04-06-2009 08:53 AM
Mach3 Gecko 201 Ed Williams Gecko Drives 7 08-20-2008 12:16 AM




All times are GMT -5. The time now is 08:36 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361