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 > Controller Cards



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-28-2008, 09:48 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,308
Karl_T is on a distinguished road
Galil "Jog Buttons" program

I have a nine input button setup for my four axis mill with galil card. The buttons are arranged in three rows of three buttons and are connected to inputs 1-9. My present host level program uses the center button for hi/lo speed jog, and the perimeter buttons for axis and jog direction.


I'm looking to write a Galil program for a better "jog Buttons" routine.

I've been reading the Galil command reference, and such a program is certainly doable. But, it will be a bit of a challenge for me as I've never programmed in native Galil.

This must be a common need. By chance has anyone seen a similar Galil "jog buttons" routine?

Karl
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 12-28-2008, 11:20 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Karl,
You lookin' for a 'crash and burn' jog mode?

I say that with tongue in cheek because I've had past experience with Bandit and Shadow which made extensive use of such a jog system using a number pad. While its functional, I most often seemed to end up crashing the tool after about a dozen changes of direction.

Much as the Camsoft implementation of keyboard jog sucks (in machine response time), I've learned to settle for it. My 'crash and burn' rate is about the same, either way

You have a copy of my Galil threading program which runs in Galil memory. Now this looks nothing like what you would use for a jog routine, but what comes to my mind as a difficulty, is that I had to use the Camsoft SUSPEND I/O commmand (something to that effect) for the duration of time in which the threading program runs in Galil hardware. Now it so happens that all of my I/O used onboard Galil I/O so I could still have the Galil program identify and take over any of the inputs that I required while threading was going on. This included buttons like Estop, Feedhold, Spindle On, Spindle Off.

In your case, you are going to need to make your Galil card identify the offboard I/O of your keypad. I don't have a clue how you go about that.
__________________
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 12-28-2008, 11:39 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,308
Karl_T is on a distinguished road

Originally Posted by HuFlungDung View Post
...
Much as the Camsoft implementation of keyboard jog sucks (in machine response time), I've learned to settle for it. My 'crash and burn' rate is about the same, either way
....
You have a copy of my Galil threading program which runs in Galil memory. Now this looks nothing like what you would use for a jog routine, but what comes to my mind as a difficulty, is that I had to use the Camsoft SUSPEND IIn your case, you are going to need to make your Galil card identify the offboard I/O of your keypad. I don't have a clue how you go about that.
yes, your program is a big help to show how to run galil under camsoft, thanks. from this I can see how to suspend camsoft and run from the inputs on the Galil ICM board.

my Camsoft jog buttons is WAY better than keyboard jog. but it hangs the control too often. There must be a better way. I'm sure a low level (Galil) program won't hang the Camsoft host. Now, writing a good galil "jog buttons" looks to be a fair challenge.

Karl
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 12-28-2008, 01:39 PM
 
Join Date: Mar 2003
Location: USA
Posts: 332
keithorr is on a distinguished road
galil jog application

I already have an app and can work with mouse or keyboard input. fast acting. can run concurrently with camsoft as long as a handle is available. (galil has eight, camsoft should only use two at the most) Murray, let me know if you want an eval version. Need to know how/if it affects the camsoft commanded position.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 12-28-2008, 03:42 PM
 
Join Date: Jan 2007
Location: MI. USA
Posts: 201
CarbideBob is on a distinguished road

Originally Posted by Karl_T View Post
I have a nine input button setup for my four axis mill with galil card. The buttons are arranged in three rows of three buttons and are connected to inputs 1-9.

Karl
I have zero experience with camsoft so please excuse the following stupid question.
What are your pushbuttons connected to?

If you have something like a DB-10096 IO expansion which connects directly to the Galil card via a ribbon cable this is pretty straightforward.

If your IO is on a separate card there is no way for the Galil card to talk to it in native commands.

IMO you'd have to be a little nuts to implement a jog routine through the keyboard. The update time from the cpu in the keyboard to the main cpu is way too slow and the delay is going to give you problems for sure.

Bob
__________________
You can always spot the pioneers -- They're the ones with the arrows in their backs.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-29-2008, 12:44 AM
 
Join Date: Mar 2003
Location: USA
Posts: 332
keithorr is on a distinguished road

Originally Posted by CarbideBob View Post

IMO you'd have to be a little nuts to implement a jog routine through the keyboard. The update time from the cpu in the keyboard to the main cpu is way too slow and the delay is going to give you problems for sure.

Bob
NOT TRUE. I use keyboard inputs for I/O outputs, motion starts and jogging and the machine response is to the eye as fast as typing letters in a message board reply form.

Speak of what you know, not what you suppose or guess. Keyboard jogging also works without appreciable delay in Mach3; either tapping for incremental move or keydown for continuous jog. I know the camslog jog routine is defective but that is no reason to assume all jog methods are deficient.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 01-04-2009, 03:58 PM
 
Join Date: Mar 2003
Location: USA
Posts: 332
keithorr is on a distinguished road
Galil Jog Test Application

I have uploaded a jog text application. Only the X axis is enabled. It should handle all exceptions (no card detected, amps off etc). Use it with your mouse cusor.

Left click=motion in positive direction
Right click=motion in negative direction
Cursor leaves the control area=jog stops
Release Left or Right mouse button=jog stops

If using with camsoft, test by jogging + or -, then use the camsoft mdi to return to the original postion with a slow feedrate (start at X=0 before jogging)

Let me know what happens.

Zip File Location www.keithorrblowpipes.com/GalilJog.zip

This application requires the microsoft NET Framework to ensure platform compatability. You may need to download files from Microsoft before using the Galil Jog Test application.

Feedback appreciated.

Last edited by keithorr; 01-04-2009 at 04:16 PM. Reason: added net framework requirement
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
Problem- "wrong program data" when file transfer???? spock Bridgeport and Hardinge Mills 2 07-28-2008 06:59 PM
BattleAxe "aka" Ball and Chain "aka" the wife. ZipSnipe CNCzone Club House 48 05-18-2008 10:53 AM
"INPUT BUTTON NOT FUNCTIONAL IN PROGRAM MODE" offroadxx Fanuc 0 03-26-2008 07:56 AM
vickers 2100 - Tree J250 - program "rewind" mblazenby General CNC (Mill and Lathe) Control Software (NC) 2 01-11-2008 10:39 AM
Does anyone use the "ace-converter" program? ljoe1969 General CAM Discussion 1 10-26-2003 09:29 PM




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