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 09-30-2004, 09:13 PM
 
Join Date: Sep 2004
Location: Australia
Posts: 196
Darc is on a distinguished road
Camsoft Installation help needed...

Hi guys, I like the forum, good variety.
I'm attempting to adapt the Camsoft software/controller onto a Walter tool and cutter grinder, I've gotten the axis's to move (6 in total, but we will only use 5) there not moving the correct amount, I tried the gear/ratio but I think I messed it up, anyhoo's I don't really understand what counts to enter first (I put 4000) if I'm understanding this right any counts can be enter and after a bit of calculating you alter these until 1 inch on the display = 1 inch of movement?

Also with the home/limit switches, am I meant to set the variables (still a bit blurry) in the CBK file?

Other than these hiccups, which I expect many more, it is very easy to start using, little bit nerve racking when it first moved.
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 09-30-2004, 11:21 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

The counts per inch will be related to how many revolutions your encoders make while the screws turn enough times to cause an inch of table travel. If you have 1000 line encoders, the galil interprets those as being 4000 counts per revolution, since it can discern the leading and trailing edge of each positive and negative encoder pulse.

So if your screws are 5 theads per inch, then the encoder pulses per inch would be 20,000. Any error in the calculation should be very noticable, as it will likely be something like 25% or 33% or 50% off.

Your cbk file is a backup or storage file of all your settings. It is not actually used while the gui is running, because the cbk is a compilation of many files.

The settings for your limit switches are in the card.ini file. I forget which directory that file is in, but you can look for it. However, I think before you edit that file directly, that you should be able to make all those settings while in setup mode, not actually running the controller.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 09-30-2004, 11:59 PM
 
Join Date: Sep 2004
Location: Australia
Posts: 196
Darc is on a distinguished road

Hi Huflungdung,
Thanks for the reply, I think one of the main things I'm confused with is that we have a Galil 2162 card and 2 ICM 2900 terminals, I don't understand how for example we tell where parameter #3 (e.g only) is wired to e.g FLSW?
It's probably a dumb question.
We understand that on our first ICM 2900 X=X, Y=Y, Z=Z, W=A and on the second X=B, Y=C and Z will be our spindle (I think).
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 10-01-2004, 11:44 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Camsoft should be able to help you out with these details. I believe you can go into the diagnostics screen and get an interactive sort of screen of all the i/o points. If you have the limits wired up, simply actuating them should cause a square to light up or else go "off". The location of the input can then be determined.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 10-01-2004, 12:58 PM
 
Join Date: Mar 2004
Location: United States
Posts: 36
intrusion is on a distinguished road

Darc,

Please don't worry about if its a Dumb question, All question need an answer !

Looks like you are getting some pretty good help from HuFlung here. I have read HuFlung's comments in the past that have help me as well. I installed a CamSoft system and am very pleased with it. The installation went easy with their new manuals. HuFlung is correct about the Diagnostics screens and CamSoft will be able to help you out further if need be I am sure, their good people. CamSoft also released a new Installation Guide that explains pretty well about the I/O on the ICM's for limits, homes and others, have you read this section in the manaul yet?

Your description on the axis designation is correct, the spindle will be connected to the last axis in the coordinated system, so if the 6th axis is your last coordinated axis then the 7th axis will be the spindle if it is a +-10V variable drive spindle. However I am a bit confused as I think a Galil 2162 is a 6-axis card and you are descibing a 7-axis system ???. Are X,Y,Z,A,B and C axis all servo controled ??? What type of spindle do you have ???

Also if as you described parameter #3 is the forward limit switch on the 4th axis then you would connect it to FLSW on the ICM. Again check the Installation Guide for details on the limit switch designations as it describes two ICM's.

intrusion

Last edited by intrusion; 10-01-2004 at 01:09 PM.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-01-2004, 06:53 PM
 
Join Date: Apr 2003
Posts: 6
Tarak is on a distinguished road

Thanks Guys,
I've gotta agree Camsoft seems really good, everytime I email them they email back the same day, I certainly can't complain with there service.
Also we are running stepper motors, so we've got the the ICM wired to the Amplifiers, there is only a couple of wires each, I just thought it would be harder.
Also I thought if I press F1 SPINDLE START the motor light comes on and one of the OUT outputs on the ICM would have a +5v signal and obviously when you turn it off the signal would stop.

I had all axis moving together last night , oohhhh scary, as I said I've yet to get the counts right, the motors growl when changing direction, I assume that's what's causing it.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 10-04-2004, 12:47 AM
 
Join Date: Sep 2004
Location: Australia
Posts: 196
Darc is on a distinguished road

Thanks guys, I'm slowly getting there.
I got home and went to reply to the post , I forgot I'd already registered a while ago as Tarak, so I hope I didn't confuse you all.
We managed to work out the limits, they work in the diagnostic screen but for some reason the limit indicator lights aren't lighting up, I had a look at the formula but I couldn't see what was wrong, it's weird because the limit warning is popping up , but this is obviously a small problem I can sort out anytime.
Also when an I change one of the stepper motors to suit degrees, it automatically enters 11.111111 into the counts, when I try to run it it won't, is this because I need to figure out the gear ratio and enter it in the ratio?
Kinda hard to explain what I mean....
After I thought about it on the weekend, the rotary axis work with it set as mm/Inch even though it needs to be degrees and the counts set to about 5102 work close for the linear slides, so I thought the only difference is the gear boxes, the linear slides don't have any...............I think.

I hope you guys don't mind me picking your brains.
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 10-04-2004, 01:15 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

When I hooked up my limit switches, I had to invert the limit logic in the Galil card. I like to have current flowing through the switches until such time as they become activated by table overrun. The Galil default is just the opposite..I think they call it "active High", but there is a 50% chance that its the other way. Anyways, the command to do this inversion in galil-speak is CN -1. I put this in the Camsoft startup.fil as:
COMMAND CN -1

Whether this is what you need, I don't really know. I assume you've got them hooked up correctly. Of course, you must also write logic to turn on the appropiate limit light when the input is triggered.

What kind of gearing are you running your rotary axis through? How many counts does this stepper require per revolution of its own shaft? Are you saying you cannot alter the number entered, or it does a conversion for you?
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 10-04-2004, 01:24 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Here is an example of what I use for logic. I use a couple of camsoft "lights" to show that a limit has been hit. I also have a message written in one of the displays (properly called a label) about what has happened. This message is easier to see (and notice) than the teeny little "led" of the camsoft light.

~@~LIMITS.FIL
IF#6=1THENSTOP :LIGHT 9;ON;12 :LABEL2 Z- LIMIT HIT;12 :SLEEP 1 :LABEL2 Z-LIMIT HIT;14 :SLEEP 1 :LABEL2 Z-LIMIT HIT;12 :ESTOP :EXIT
IF#7=1THENSTOP :LIGHT 10;ON;12 :LABEL2 X+ LIMIT HIT;12 :SLEEP 1:LABEL2 X+LIMIT HIT;14 :SLEEP 1 :LABEL2 X+LIMIT HIT;12 :ESTOP :EXIT
IF#11=1THENSTOP :LIGHT 9;ON;12 :LABEL2 Z+ LIMIT HIT;12 :SLEEP 1 :LABEL2 Z+LIMIT HIT;14 :SLEEP 1 :LABEL2 Z+LIMIT HIT;12 :ESTOP :EXIT
IF#12=1THENSTOP :LIGHT 10;ON;12 :LABEL2 X- LIMIT HIT;12 :SLEEP 1 :LABEL2 X-LIMIT HIT;14 :SLEEP 1 :LABEL2 X-LIMIT HIT;12 :ESTOP :EXIT
IF#6=0THENIF#11=0THENLIGHT 9;OFF
IF#7=0THENIF#12=0THENLIGHT 10;OFF
IF#6=0THENIF#7=0THENIF#11=0THENIF#12=0THEN LABEL2 LIMITS CLEARED :SLEEP 1 :LABEL2 ;11
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 10-04-2004, 01:53 AM
 
Join Date: Sep 2004
Location: Australia
Posts: 196
Darc is on a distinguished road

Sorry I didn't explain myself very well, the limits are fine, we are/were having trouble with the outputs 1-8 and 8-16 (2 x ICM 2900), I think we have figured it out, we had it all ass about face.
I gotta say it's quite satisfying when it's starting to fall into place.
Also with your limit code I understand most of it, the main part I'm unsure of is the 12.
I think I'll get there, hopefully with a bit of help from you guys.

~@~LIMITS.FIL
IF#6=1THENSTOP :LIGHT 9;ON;12 :LABEL2 Z- LIMIT HIT;12 :SLEEP 1 :LABEL2 Z-LIMIT HIT;14 :SLEEP 1 :LABEL2 Z-LIMIT HIT;12 :ESTOP :EXIT


Thanks again......What do you do for a living HuFlungDung?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11  
Old 10-04-2004, 10:53 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

The 12 is the color parameter for that command.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 10-04-2004, 07:44 PM
 
Join Date: Sep 2004
Location: Australia
Posts: 196
Darc is on a distinguished road

So when I set an axis to degrees it automatically puts 11.111111 in the RATIO and sets the TOOL/DEGREE to 2, how can I easily work out the ratio of the gear box without pulling it apart?
I haven't worked out how to say move A90.00 and it will move 90°, I assume it is the gearbox throwing it out.
Tweet this Post!Share on Facebook
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
Using Camsoft on a Pratt & Whitney Tapemate C jevs CamSoft Products 22 03-19-2007 07:11 AM
Camsoft and OneCNC CRAZYRICH CamSoft Products 1 01-25-2005 10:25 AM
Camsoft and Galil WSDK/Terminal squarewave CamSoft Products 3 02-24-2004 09:42 AM
Using Gauges in CamSoft Steve Etter CamSoft Products 6 11-12-2003 02:58 PM




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