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! > Machine Controllers Software and Solutions > CamSoft Products


CamSoft Products Discuss Camsoft PC based CNC controller products here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-18-2009, 05:12 PM
 
Join Date: Oct 2003
Location: Tennessee
Posts: 51
squarewave is on a distinguished road
Format for "Send Command to Card"

What is the proper format for sending a command to the motion card in the diagnostics screen box "Send Command to Motion Card"? I'm trying to get the last error code by using a TC command, but it always says "unrecognized command". I've tried several other valid Galil commands with the same result.

Do I need quotes, parenthesis, colon, etc?

Thanks for any insight anyone can provide!
Reply With Quote

  #2  
Old 05-18-2009, 06:04 PM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 530
HillBilly is on a distinguished road

COMMAND TC
Reply With Quote

  #3   Ban this user!
Old 05-18-2009, 10:04 PM
 
Join Date: Oct 2003
Location: Tennessee
Posts: 51
squarewave is on a distinguished road

Thanks Hillbilly. That did the trick. I knew that was the format for use in the .fil files, but it never occurred to me that it would be required in the text box!

The TC command didn't give me any useful information, but the SC (stop code) certainly confirmed my suspicion. My motion is stopping from noise in my limit switch wiring. It is happening so fast that Camsoft is not responding to it, but the motion card is.

Now that I know the problem, all I have to do is figure out how to fix it!
Reply With Quote

  #4  
Old 05-18-2009, 11:15 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,533
Al_The_Man is on a distinguished road
Buy me a Beer?

Are you using opto isolated 24v inputs or 5v off the card?
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

  #5   Ban this user!
Old 05-19-2009, 07:34 AM
 
Join Date: Oct 2003
Location: Tennessee
Posts: 51
squarewave is on a distinguished road

I'm using an isolated 12V to power them. If I have a 24V supply, I'll change to that to perhaps increase the Signal to Noise ratio, if you think that might help.

I've read people are having success with capacitors on the inputs at the ICM 1900 as well.

I also have some ferrite cores ordered that should be here shortly.

Al, you recommend tying all of the power supply 0V lines together at a common place on the machine chassis. Do you recommend doing that for the limit switch power supply as well, even though the Galil manual states "To take full advantage of opto-isolation, an isolated power supply should be used to provide the voltage at the input
common connection. When using an isolated power supply, do not connect the ground of the isolated power to the ground of the controller."?
Reply With Quote

Sponsored Links
  #6  
Old 05-19-2009, 08:29 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,533
Al_The_Man is on a distinguished road
Buy me a Beer?

I have always grounded my supplies and systems to a central ground plate, I just use opto isolation to go between voltage standards.
I also take my PC power supply common to the same plate, rather than allow it to just ground through the mother board.
In the case of Galil, I ground the 5v common at the ICM or other breakout board etc.
I have never had spurious trips due to grounding problems.
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

  #7   Ban this user!
Old 05-19-2009, 01:03 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

FWIW, I do it the same as Al. I also have all my limit switches NC (normally closed) and run the power to the switch and then to the galil input. You won't get noise this way, its always powered with you're good to run. (And if a wire ever breaks, you're shut down) One of my machines uses 12 volt. Note if you wire your switches this way you have to change the default polarity with COMMAND CN 1,1

Karl
Reply With Quote

  #8   Ban this user!
Old 05-19-2009, 07:51 PM
 
Join Date: Oct 2003
Location: Tennessee
Posts: 51
squarewave is on a distinguished road

Thanks. My switches are also NC, but with an isolated power supply.

To verify that the problem is the limit switch wiring, I disconnected the switches at the ICM and told the motion card my switches were normally open (CN -1). The machine performed just fine with zero issues.

An electronics friend also mentioned the opto-isolators (on the motion card) have a limited life and the LEDs could be becoming weak. Has anyone had that issue?

I'll be checking grounds and trying the common ground approach. Thanks much for all the great input and suggestions.
Reply With Quote

  #9   Ban this user!
Old 05-19-2009, 08:24 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

The opto isolators are in the ICM.

I buy my parts used. I have an 1900 where the inputs didn't work. I'll sell it to you cheap <Grin>

Seriously, do you have any spares. My first move would be a brain swap <entire computer with galil and I/O card> Cuts the problem in two.

If its still in the machine, i'd jumper the suspect limit. if you still got trouble, then I'd swap ICM (do this last cause its a big job)

All this after you got the wiring right

Just a suggestion. other routes are possible. the whole idea is to start dividing the problem in two.

karl
Reply With Quote

  #10   Ban this user!
Old 05-19-2009, 11:42 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Mind if i go Off Topic? About four years ago you had a lot of issues with a wire EDM. Did you ever get it running right? What was the solution? i just reread that old thread, it involved going too slow and stalling out.

If i ever get time, i have a wire EDM to put camsoft on.

Karl
Reply With Quote

Sponsored Links
  #11  
Old 05-23-2009, 09:27 AM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 530
HillBilly is on a distinguished road

I had some proximity switches hooked to a Galil that would speratically trigger the inputs. I put 2k resistors across the inputs at the Galil to require more current in the loop than 1mA.

Noise can be a BEAR on an EDM!

Darek
Reply With Quote

  #12   Ban this user!
Old 05-25-2009, 07:55 PM
 
Join Date: Oct 2003
Location: Tennessee
Posts: 51
squarewave is on a distinguished road

Karl - Thanks for remembering. This is actually the same machine. I have taken a multi-year hiatus from my machining hobby. I had a need for the wire edm for a family project so I took some time to get it up and running. It brought back a lot of memories! I've actually solved several problems in the process so it has been a useful exercise. Ferrite cores are definitely your friend when you have noise issues. They cleared up my keyboard and mouse issues. Just put them on the PS2 cord right as it enters the computer. I've also put them on the limit switch wires, but haven't tried them out yet. I also got some capacitors to go across the switch inputs on the ICM if the ferrite is not enough. I'll report back when I've had a chance to really try it out.

By the way, I'm pretty sure the optos for the limit switches are on the motion card. The optos on the ICM are an option; but the ones on the motion card for the limit switches are standard.

Darek - Yes, noise is a bear on an EDM. I hadn't thought of your suggestion about the extra resistor. I'll add that to my arsenal listed above. Luckily, a lot of people are detailing their problems with Variable Frequency Drives, so I have learned quite a bit from reading their posts. If I get my noise issues sorted out, I might actually be able to concentrate on the software!

Last edited by squarewave; 05-26-2009 at 08:23 PM.
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
Need Help!- memory card error "1010"??? spock Fanuc 6 08-13-2010 08:10 AM
Need Help!- Disabled "Lathe Index" command vadim_m EdgeCam 0 02-19-2009 05:23 AM
17 Years of "Grime" on an Axis card donl517 Fadal 8 12-27-2007 05:02 PM
Autocad to cnc -and the "list" command draftingrus G-Code Programing 3 04-09-2007 05:09 AM
Add "View New Posts" to "Main Menu" Mr.Chips Forum Questions or Problems 4 04-21-2004 10:54 PM




All times are GMT -5. The time now is 05:05 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