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 > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-17-2007, 04:36 PM
 
Join Date: Oct 2003
Location: US
Posts: 43
haysys is on a distinguished road
Homann Mod-IO w/ Digispeed XL and SJ-200 VFD (Hitachi)

Hi All,

Sorry if this is a bit specific for the general Electrical forum, but I don't see a more specific location unless it would be under VFD's. Anyway, here it is:

I have a Digispeed-XL connected to a Mod-IO board and a Hitachi SJ200-22 VFD running on Mach3 V2.065. I installed a DPST switch to toggle the Digispeed between Manual and Auto, and have a 5K pot on J4 for manual speed adjustment. In manual mode I'm able to control the VFD just fine. Pretty cool actually.

However, when in Auto mode, I am unable to get the Digispeed to work as desired. Turning on the Spindle causes the Zero Speed relay to change and the Control Voltage indicator LED to change (bright red--never varies execpt to turn off) while the Mode LED changes from Solid Red to Fast Blink Red. I'm unable to cause the Lazy double red blink (the condition for Digispeed Enabled but PWM set to zero RPM) unless I disconnect the PWM signal from the cable connecting Mod-IO to Digispeed. Zero RPM on spindle still causes a fast blink. On the possibility that the PWM signal was flipped (Hi for zero and vice-versa), I have set the RPM to 8000, but that did not change anything either. I've also played with the jumper on JP13 but saw no difference (power off on each change so Mod-IO and Disgispeed reset). The jumper remains off the board at thsi time (as I'm unable to determine which position causes what).

Here are my settings on Mod-IO:
Dout2 -- not connected to Digispeed as direction not needed for now.
Dout3 -- Configured to Output #1 As Port = 0, Pin = 3, Active Low
Dout4 -- Ports & Pins, Motor/Spindle set in Motor Outputs, Port = 0 , step (PWM) Pin = 4, Active Low

In Mach3 the following settings are in place:
In Ports & Pins, Spindle Setup tab/Relay Disable Spindle Relays box is unchecked, and Output is # 1 in both CW & CCW.
Motor Control Use Spindle Motor Output and PWM are both Checked, PWMBase Freq = 50, Min = 0%.
I have tried Modbus Spindle - Use Step/Dir as well both Checked and Unchecked. Currently Unchecked (unclear on the correct setting as I have seen both used in documentation)

I have another issue that may be related: The VFD has a nominal 10V 10mA reference voltage "H" (actually 10.57V) that I have running into P1 on J5 on the Disgispeed, P3 is connected to "L" on VFD and P2 is the control voltage "O" going to the VFD. I played with this a bit to find this connection configuration (my initial setting had it working opposite of desired). What is happening is that the Reference "H" 10 Volts is being pulled down to 1 volt (exactly) when in Auto mode, but in manual mode it works fine (Voltage stays at nominal 10V). Intuitively it would seem that the 10mA is insufficient, but that is just a guess on my part.

My questions are:
Why won't my PWM signal allow a zero-speed?
Why is my VFD Ref voltage is being pulled down???

Sorry for the lack of brevity... I was thinking that more info may help.

Any thoughts are welcome. Thanks for your time and attention!!

David
Reply With Quote

  #2   Ban this user!
Old 05-17-2007, 11:47 PM
phomann's Avatar  
Join Date: Aug 2005
Location: Australia
Posts: 450
phomann is on a distinguished road

Hi David,

Did you get my reply to your email on this subject?

You have a couple of issues to work though. They need to be solved separately.

First off, the connection between the VFD and the DigiSpeed-XL J5 connector. The terminals on the connector are;

J5-1 (V-) this needs to be connected to your VFD 0V terminal "L"
J5-2 (Vc) this needs to be connected to your VFD control terminal "O"
J5-3 (V+) this needs to be connected to your VFD +10V terminal "H"

You can check the pin labels by removing the pluggable connector to reveal the labels.

From what you have said below you have P1 and P3 the wrong way around. The DigiSpeed draws less than 5mA from the supply so it will work.

Also, Until you get things working replace LED D4 (manual mode LED) with a jumper, as it would have been when shipped.

When you swap the 2 outer wires on J5, you will also need to do the same to the wires on J4 as well. If not the manual speed pot will work backwards.

Now test that the VFD works in manual mode. If so, you can replace the jumper with the Manual mode LED. Check that it still works. If not, swap the leads on the Led.

Now, put the switch into the auto position. Measure the +10V from the VFD, is it still 10V?

Let me know how you go with that. Then well tackle the DigiSpeed to ModIO problem.

BTW, what version DigiSpeed-XL board do you have?

Cheers,

Peter.




Originally Posted by haysys View Post
Hi All,

Sorry if this is a bit specific for the general Electrical forum, but I don't see a more specific location unless it would be under VFD's. Anyway, here it is:

I have a Digispeed-XL connected to a Mod-IO board and a Hitachi SJ200-22 VFD running on Mach3 V2.065. I installed a DPST switch to toggle the Digispeed between Manual and Auto, and have a 5K pot on J4 for manual speed adjustment. In manual mode I'm able to control the VFD just fine. Pretty cool actually.

However, when in Auto mode, I am unable to get the Digispeed to work as desired. Turning on the Spindle causes the Zero Speed relay to change and the Control Voltage indicator LED to change (bright red--never varies execpt to turn off) while the Mode LED changes from Solid Red to Fast Blink Red. I'm unable to cause the Lazy double red blink (the condition for Digispeed Enabled but PWM set to zero RPM) unless I disconnect the PWM signal from the cable connecting Mod-IO to Digispeed. Zero RPM on spindle still causes a fast blink. On the possibility that the PWM signal was flipped (Hi for zero and vice-versa), I have set the RPM to 8000, but that did not change anything either. I've also played with the jumper on JP13 but saw no difference (power off on each change so Mod-IO and Disgispeed reset). The jumper remains off the board at thsi time (as I'm unable to determine which position causes what).

Here are my settings on Mod-IO:
Dout2 -- not connected to Digispeed as direction not needed for now.
Dout3 -- Configured to Output #1 As Port = 0, Pin = 3, Active Low
Dout4 -- Ports & Pins, Motor/Spindle set in Motor Outputs, Port = 0 , step (PWM) Pin = 4, Active Low

In Mach3 the following settings are in place:
In Ports & Pins, Spindle Setup tab/Relay Disable Spindle Relays box is unchecked, and Output is # 1 in both CW & CCW.
Motor Control Use Spindle Motor Output and PWM are both Checked, PWMBase Freq = 50, Min = 0%.
I have tried Modbus Spindle - Use Step/Dir as well both Checked and Unchecked. Currently Unchecked (unclear on the correct setting as I have seen both used in documentation)

I have another issue that may be related: The VFD has a nominal 10V 10mA reference voltage "H" (actually 10.57V) that I have running into P1 on J5 on the Disgispeed, P3 is connected to "L" on VFD and P2 is the control voltage "O" going to the VFD. I played with this a bit to find this connection configuration (my initial setting had it working opposite of desired). What is happening is that the Reference "H" 10 Volts is being pulled down to 1 volt (exactly) when in Auto mode, but in manual mode it works fine (Voltage stays at nominal 10V). Intuitively it would seem that the 10mA is insufficient, but that is just a guess on my part.

My questions are:
Why won't my PWM signal allow a zero-speed?
Why is my VFD Ref voltage is being pulled down???

Sorry for the lack of brevity... I was thinking that more info may help.

Any thoughts are welcome. Thanks for your time and attention!!

David
__________________
-------------------------------------------------
Homann Designs - http://www.homanndesigns.com
Reply With Quote

  #3   Ban this user!
Old 05-19-2007, 03:47 PM
 
Join Date: Oct 2003
Location: US
Posts: 43
haysys is on a distinguished road

Hi Peter,

Since we're having problems with email, I'll use the forum for the update. Maybe others can benefit too.

I have put the connections back to my original configuration as you have directed, and the manual operation works just fine. Going to manual mode causes the D4 LED to light as desired. And I have a full 10 volts across J5-1 & J5-3 in Auto mode.

However in Auto mode, if I perform a M03, the zero-speed relay switches and the spindle accelerates up to the high end and stays here no matter what Sxxxx value I enter; S0 or S8000 or anywhere in between has the spindle turning full-tilt-boogie (this condition was what initially led me to reversing my J4 & J5 connections). M05 turns it off no problem, and the zero-speed relay switches back at that point.

There is one other minor point (I can correct for this in the VFD if need be) that may be of note: In manual mode at max spindle speed, the voltage out of J5-1 & J5-2 maxes out at 9 volts with VR1 turned to the full clockwise position. Backing VR1 off reduces the max voltage further.

The Digispeed XL version is 5.0.

That's my report for now. I'm ready to take on the installment. Thanks for your patience!!

David
Reply With Quote

  #4   Ban this user!
Old 05-19-2007, 09:21 PM
phomann's Avatar  
Join Date: Aug 2005
Location: Australia
Posts: 450
phomann is on a distinguished road

Hi David,

Looking at VR1 first. ITs purpose is to reduce the maximum speed of the spindle when under manual control. This allows you to tune it to match the maximum speed when under DigiSpeed contro, which will always be slightly less.

Now to the MOdIO to DigiSpeed interface. You can test that the DigiSpeed is being controlled correctly bythe ModIO via the output Leds on the MOdIO and the status Leds of the DigiSpeed. This can be done on the bench before the DigiSpeed is connected to the VFD.

First of all you need to connect to the DigiSpeed from the white 6 pin connector J15. Do not use the screw terminals as these are open collector connections.

Also, you need to enable the DigiSpeed software module in the ModIO. You do that via the Mach3 ModIO config dialog screen, accessed under the Modbus config screen. When you enable the DigiSpeed module, ModIO outputs D3 and D4 will be on. This is because the DigiSpeed uses negative logic.

Section 4.6 of the ModIO manual shows the spindle config setup required by Mach3 to work with the Digispeed through the ModIO.

http://www.homanndesigns.com/ModIO_User092.pdf

Does your setup match that of the manual?

If so you should be able to enable the Spindle under Mach3 and you should see the D3 LED go out. Then if you set a spindle speed, to say 50% of the maximum speed you should see Dout 4 start to flash.

Does this happen?

CHeers,

Peter.





Originally Posted by haysys View Post
Hi Peter,

Since we're having problems with email, I'll use the forum for the update. Maybe others can benefit too.

I have put the connections back to my original configuration as you have directed, and the manual operation works just fine. Going to manual mode causes the D4 LED to light as desired. And I have a full 10 volts across J5-1 & J5-3 in Auto mode.

However in Auto mode, if I perform a M03, the zero-speed relay switches and the spindle accelerates up to the high end and stays here no matter what Sxxxx value I enter; S0 or S8000 or anywhere in between has the spindle turning full-tilt-boogie (this condition was what initially led me to reversing my J4 & J5 connections). M05 turns it off no problem, and the zero-speed relay switches back at that point.

There is one other minor point (I can correct for this in the VFD if need be) that may be of note: In manual mode at max spindle speed, the voltage out of J5-1 & J5-2 maxes out at 9 volts with VR1 turned to the full clockwise position. Backing VR1 off reduces the max voltage further.

The Digispeed XL version is 5.0.

That's my report for now. I'm ready to take on the installment. Thanks for your patience!!

David
__________________
-------------------------------------------------
Homann Designs - http://www.homanndesigns.com
Reply With Quote

  #5   Ban this user!
Old 05-20-2007, 07:26 PM
 
Join Date: Oct 2003
Location: US
Posts: 43
haysys is on a distinguished road

Hi Peter,

Yeah, I grokked the purpose of VR1, I simply was noting the less-than-full 10volts.

Connection from the ModIO is from J15 to J3 on the Digispeed. J15-1 = J3-2 (GND), J15-2 = J3-1 (PWM), J15-3 = J3-4 (Enable), and J15-6 = J3-5 (+5V). Index and Direction are not connected for now.

As for the ModIO and Digispeed setup and without the VFD connected, Dout3 does light but Dout4 does not. Dropping back to basics as described by you, (five screen captures that show my Mach3 setup) I have doublechecked my settings and connections. All is as defined by the V.92 section 4.6.

When the Spindle is enabled, Dout3 LED goes out, but Dout4 never lights or flashes at any variation of spindle state or speed. If I set say Output2 to Port 0 and Pin 4, I can force the light on, so the Dout4 pin appears to be capable of being activated.

I am confused by the Mod-IO v.92 Section 4.6 compared to the Digispeed XL manual V0.2 Section 5.2.5. Several settings are in contrast (PWM control, PWM base freq, Modbus Spindle-Use step/dir as well), so I have played with changing these but not from any knowledgeable standing, and certainly made no difference.

So that's where I am.

Thanks again,

David
Attached Thumbnails
Click image for larger version

Name:	Configure MODIO Device.png‎
Views:	94
Size:	16.8 KB
ID:	37685   Click image for larger version

Name:	Modbus Status & Control.png‎
Views:	73
Size:	35.3 KB
ID:	37686   Click image for larger version

Name:	Ports&Pins-Motor Outputs.png‎
Views:	70
Size:	17.9 KB
ID:	37687   Click image for larger version

Name:	Ports&Pins-Output Signals.png‎
Views:	63
Size:	22.4 KB
ID:	37688  

Click image for larger version

Name:	Ports&Pins-Spindle Setup.png‎
Views:	71
Size:	37.8 KB
ID:	37689  

Last edited by haysys; 05-20-2007 at 07:41 PM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-20-2007, 08:20 PM
phomann's Avatar  
Join Date: Aug 2005
Location: Australia
Posts: 450
phomann is on a distinguished road

Hi David,

A couple of points. The Mach to ModIO Digispeed interface does not require negative logic, so;

1. On the motor outputs tab, you need to uncheck the lowActive check
boxes as the ModIO does not require this.
2. On the motor outputs tab, the spindle direction pin should be 2 not 1
3. On the output signals tab, uncheck the lowActive for the OUtput#1
signal.

Also, keep in mind that the interface between Mach3 and the ModIO requires Mach to be setup for step/dir control, not PWM control. This is the way Mach3 requires it. What is happening is that Mach3 is sending the spindle speed to the ModIO as an integer between 0 and 16380. The ModIO then converts this to a PWM signal.

Cheers,

Peter.



Originally Posted by haysys View Post
Hi Peter,

Yeah, I grokked the purpose of VR1, I simply was noting the less-than-full 10volts.

Connection from the ModIO is from J15 to J3 on the Digispeed. J15-1 = J3-2 (GND), J15-2 = J3-1 (PWM), J15-3 = J3-4 (Enable), and J15-6 = J3-5 (+5V). Index and Direction are not connected for now.

As for the ModIO and Digispeed setup and without the VFD connected, Dout3 does light but Dout4 does not. Dropping back to basics as described by you, (five screen captures that show my Mach3 setup) I have doublechecked my settings and connections. All is as defined by the V.92 section 4.6.

When the Spindle is enabled, Dout3 LED goes out, but Dout4 never lights or flashes at any variation of spindle state or speed. If I set say Output2 to Port 0 and Pin 4, I can force the light on, so the Dout4 pin appears to be capable of being activated.

I am confused by the Mod-IO v.92 Section 4.6 compared to the Digispeed XL manual V0.2 Section 5.2.5. Several settings are in contrast (PWM control, PWM base freq, Modbus Spindle-Use step/dir as well), so I have played with changing these but not from any knowledgeable standing, and certainly made no difference.

So that's where I am.

Thanks again,

David
__________________
-------------------------------------------------
Homann Designs - http://www.homanndesigns.com
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
Mach3 & DigiSpeed Wm McNett Mach Software (ArtSoft software) 4 07-04-2008 12:30 PM
Problems with digispeed gx luis_gts Mach Software (ArtSoft software) 3 05-07-2007 06:54 PM
Taig / Digispeed XL spindle index sensor Dfennell Taig Mills & Lathes 1 01-01-2007 11:23 PM
Sieg, DigiSpeed, CNC Wm McNett Mini Lathe 2 04-22-2006 12:16 PM
Mini-mill MACH2 and Digispeed CerveloRod Mach Mill 4 11-13-2005 09:01 PM




All times are GMT -5. The time now is 08:50 PM.





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