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! > CAM Software > SheetCam


SheetCam Discuss SheetCam software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #25   Ban this user!
Old 08-26-2007, 12:13 PM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

80 pounds!! Sheesh...i thought it was $80 US. Oh well.

Is there a way for the modal values to associate a Z command and a /Z as the same command? Non of my Z's are working because they all rapid up to zero and non-rapid down to 1". So basically the first rapid up and the first normal down appear and no others.
Reply With Quote

Sponsored Links
  #26  
Old 08-26-2007, 12:53 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

I don't see any Z-1. command in your code sample, so maybe that is why you are not seeing any output.

When programming in absolute, Z rapid moves can be modal, because any command to the same Z, whether rapid or feedrate, will be to the same position and is harmless to omit one command or the other.

I just realized if you get around to programming in incremental, then you would want to turn modal numbers off completely.
__________________
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)
Reply With Quote

  #27   Ban this user!
Old 08-26-2007, 04:58 PM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

No, I'm programming in absolute (which seems nice - except it resets to incremental with every reset). The samples I put up there are a little old (already).

The modalnumber function has a key & a value. If that value is the same for that key then it won't redisplay it.

What's happening is I'm actually trying to do this:

/Z1.
(move)
Z-1.
(cut stuff)
/Z1.
(move)
Z-1.
(cut stuff)
etc..

but only the first two Z & /Z are appearing because each following Z is considered an already completed move by that key. It doesn't know that Z and /Z are the same axis basically.

What I did to fix it for now is remove rapid Z. It takes longer but it works.

Now...if I can come full circle. I'm having communication problems with my CNC. I've never had programs this long before. I can see invalid characters appearing in the transmission (maybe 1 character every 3-4 pages). So it's randomly screwing up my program. They're usually popping up around line 450 but some have made it all the way to 600 and some at 100...same program (grrrr.)

Anyhoo, here's how I'm connecting...any thoughts?

1200 baud
7 data bits
even Parity
1 stop bit
Hardware flow control

It's always worked OK before. I'm on a new laptop so I'm going to go get my old one and try that too.
Reply With Quote

  #28   Ban this user!
Old 08-26-2007, 06:41 PM
 
Join Date: Nov 2004
Location: England
Posts: 137
locost_cam is on a distinguished road

To keep rapid and feed Z moves synchronised do this:

rapid:
text("/")
modalnumber("Z",endz,"0.0")

move at feed:
modalnumber("Z",endz,"0.0")


Is your serial cable wired for hardware flow control? If not you could get strange things happening if the Bandit pauses to process incoming data.
Reply With Quote

  #29   Ban this user!
Old 08-26-2007, 07:03 PM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

Originally Posted by locost_cam View Post
To keep rapid and feed Z moves synchronised do this:

rapid:
text("/")
modalnumber("Z",endz,"0.0")

move at feed:
modalnumber("Z",endz,"0.0")


Is your serial cable wired for hardware flow control? If not you could get strange things happening if the Bandit pauses to process incoming data.
I tried that - but then it would output "/" without the Z occasionally. I can't confirm if this would cause problems with the Bandit, but I suspect it would. Infact - it might make the next command become a rapid feed.

Your instincts on the serial were good. At least I think. I tried putting a 50 ms delay between sends and it took it ok. So I guess my new laptop is just too fast.

Anyway - It still had a few random tabs but the program made it in successfully. I'm still having a problem with it terminating after upload. I thought this used to resolved with the ASCII 19, but now I'm not so sure because even if I had it in there it would still terminate after upload.
Reply With Quote

  #30  
Old 08-26-2007, 07:31 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

I wonder how many instances of the rapid Z move would you get if you did not use the 'modalnumber' function for the Z rapid moves?
__________________
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)
Reply With Quote

Sponsored Links
  #31   Ban this user!
Old 08-27-2007, 04:23 AM
 
Join Date: Nov 2004
Location: England
Posts: 137
locost_cam is on a distinguished road

Originally Posted by Chris64 View Post
I tried that - but then it would output "/" without the Z occasionally. I can't confirm if this would cause problems with the Bandit, but I suspect it would. Infact - it might make the next command become a rapid feed.
Oops, I should have thought of that. Use nonmodalnumber for the rapids. It does mean that the Z will always be output but it will track the Z for feed rate moves.
Reply With Quote

  #32   Ban this user!
Old 10-07-2007, 07:36 PM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

Just to give an update - The Bandit Post processor appears to be working great.

Now for the bad news...It appears I have some type of glitch. about half the time I send the program to the controller it has an error that crashes execution on the CNC. It's usually around line 400-500. Here's the strange thing - it's a valid entry. It's as if the commands stored in the controller aren't as they appear. One time, I re-entered the command manually and it worked (so it just didn't receive things quite right). I verified the math on the commands (they are correct) so I'm tempted to think it's maybe a memory problem with the bandit...but it's not always the same line number. Also it's always with arcs...but the math on the arcs is correct (I calculated the distance from arc center to start and to finish and the difference between the two are well within the .0001 requirement). Also I put a huge delay (200ms) in between each line to be sure that it wasn't running too fast for the controller but it didn't help.

I know this doesn't really have anything to do with this original topic...I'm just sort of complaining in the hopes that someone can suggest something I didn't think of.

A conversion may be in my future after all (darn!)
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
Bandit Control DieGuy General CNC (Mill and Lathe) Control Software (NC) 1 02-05-2011 08:17 PM
Bandit controller bobadame General CNC (Mill and Lathe) Control Software (NC) 10 08-25-2010 08:40 PM
Supermax with Bandit III damelman Knee Vertical Mills 3 08-23-2009 10:56 PM
Bandit III controller SHIZUOKA CNCzone Club House 0 10-16-2006 12:47 PM
Bandit Control ? jdelaney44 Bridgeport and Hardinge Mills 3 03-06-2005 08:36 PM




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