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 > OneCNC


OneCNC Discuss OneCNC software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-03-2003, 07:22 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
Coordinates modal and / for rapids

In OnecncXP:

More Shadow/Bandit peculiarities to deal with: these controllers require a "/" before each named axis on a Rapid move. This is not hard to do in the OnecncXP, but there is a problem with the slashes that are not needed when coordinate output is modal.

Example:

/X1. /Y1. /Z1.
/ / /Z0. (no movement in X and Y).

Any trick to get around this? I could run with Coordinate output modal unchecked, but this makes for more stuff to transmit for DNC, as well as cluttering up the code a bit with redundant stuff.

Thanks.
__________________
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

  #2   Ban this user!
Old 04-04-2003, 03:40 PM
OneCNC's Avatar  
Join Date: Mar 2003
Location: United States
Posts: 70
OneCNC is on a distinguished road
/ Modal

Hu,

Rather than inserting a "/" and removing the G00 from the format as you seem tobe doing currently , change the G00 variable as the posti designed to format, it insures 100% seemless posting.

From ther Posting Format Dialogue Box Choose -> Rapid Line Format from the Drop Down Menu.

On the right side are the available Insertions and Substitutions for that cycle. Select the - G00 Rapid Move and below will appear the current Rapid Line Variable Prefix. Repalce the G00 Value with the '/" character you require and click OK.

This is proper method.

Tech Support
OneCNC LLC
(877) 626-1262
www.onecnc.com
Attached Thumbnails
Click image for larger version

Name:	bandit.gif‎
Views:	135
Size:	28.4 KB
ID:	74  
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 04-04-2003, 03:40 PM
OneCNC's Avatar  
Join Date: Mar 2003
Location: United States
Posts: 70
OneCNC is on a distinguished road
/ Modal

Hu,

Rather than inserting a "/" and removing the G00 from the format as you seem tobe doing currently , change the G00 variable as the posti designed to format, it insures 100% seemless posting.

From ther Posting Format Dialogue Box Choose -> Rapid Line Format from the Drop Down Menu.

On the right side are the available Insertions and Substitutions for that cycle. Select the - G00 Rapid Move and below will appear the current Rapid Line Variable Prefix. Repalce the G00 Value with the '/" character you require and click OK.

This is the proper and correct method, hope this helps.



Tech Support
OneCNC LLC
(877) 626-1262
www.onecnc.com
Attached Thumbnails
Click image for larger version

Name:	bandit.gif‎
Views:	139
Size:	28.4 KB
ID:	75  
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 04-04-2003, 04:09 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
I thought I tried that. I will recheck, but I think that will only place a single "/" at the front of the line, and it needs to be placed in front of each axis that happens to be named in that move. I'll recheck tonight when I get home just to be sure.

I also tried a {G} in front of each axis like this:
{G}{X} {G}{Y} {G}{Z}

but this works out the same as doing what you said to do. It works fine if all axis are required, but if one or two of them are not needed, then we get the extra "/" in front of the deleted entry

Thanks.
__________________
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  
Old 04-04-2003, 08:47 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
Okay, I did recheck what happens and I was correct in what I described.

Here is another thing I tried:

In the Rapid Line Format G00, instead of replacing the G00 prefix with a "/", I just ignored this, because no {G} will be used at all. What I did is relace the X with a /X prefix, a Y with a /Y prefix, and a Z with a /Z.

So the Start lines field displays simply as follows:
{X} {Y} {Z}

But the prefixes are all changed as described above.

This seems to work right for Rapid mode, but unfortunately this /X or /Y or /Z gets retained as the "permanent prefix" for Feedrate mode, too.

I notice that this "universal prefix" rule does not seem to apply to the {G}, for example, in G00, it will retain the "/" if I put it in, and if I then go to the G01 setup and check the prefix that is associated with {G}, it can be different, or blank as I desire.

Perhaps you can fix is so that the XYZ prefixes remain associated uniquely with each setup field.
__________________
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)

Last edited by HuFlungDung; 04-04-2003 at 09:23 PM.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-04-2003, 09:39 PM
OneCNC's Avatar  
Join Date: Mar 2003
Location: United States
Posts: 70
OneCNC is on a distinguished road
Lightbulb

HU,

The posting works as I described but I will elaborate further.

As per the above posting replace the G00 with a "/" .

Modify the Rapid Move format as follows:
{G}{X} {G}{Y} {G}{Z} {F}

Doing as instructed in the above post produces a / for each axis as it is just a multiple variable call/insertion which works in both modal and non-modal formats.

The resulting code output is as follows:

(This is a series of rapid moves between 4 points followed by 2 feed movements using the above format. )

MODAL COORDINATES AND G CODES
/X-1.4219 /Y-1.1458 /Z0.
Y1.7396
X1.6094
Y-1.1458
X-1.4219
G01 X1.6094 Y1.7396 F10.0
X-1.4219

NON-MODAL
/X-1.4219 /Y-1.1458 /Z0.
/X-1.4219 /Y1.7396 /Z0.
/X1.6094 /Y1.7396 /Z0.
/X1.6094 /Y-1.1458 /Z0.
/X-1.4219 /Y-1.1458 /Z0.
G01 X1.6094 Y1.7396 Z0. F10.0
G01 X-1.4219 Y1.7396 Z0.

Tech Support
OneCNC LLC
(877) 626-1262
www.onecnc.com
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 04-04-2003, 10:42 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
This first combination of options will not work with Bandit/Shadow, as every axis that is moving in Rapid must always be addressed with a "/", thus Gcodes must be nonmodal always.
MODAL COORDINATES AND G CODES
/X-1.4219 /Y-1.1458 /Z0. (Rapid move, correct syntax)
Y1.7396 (considered feedrate move)
X1.6094 (considered feedrate move)
Y-1.1458 (considered feedrate move)
X-1.4219 (considered feedrate move)
G01 X1.6094 Y1.7396 F10.0 (considered feedrate move)
X-1.4219 (considered feedrate move)


This one I can get all right, just as you posted:
NON-MODAL Gcodes and Non-modal Coordinates
/X-1.4219 /Y-1.1458 /Z0.
/X-1.4219 /Y1.7396 /Z0.
/X1.6094 /Y1.7396 /Z0.
/X1.6094 /Y-1.1458 /Z0.
/X-1.4219 /Y-1.1458 /Z0.
G01 X1.6094 Y1.7396 Z0. F10.0
G01 X-1.4219 Y1.7396 Z0.


Here is the third option which I originally spoke of and was having trouble with:
NON-MODAL Gcodes and Modal Coordinates. Notice the "/" that is retained when the associated redundant axis movement is eliminated. Here is what it would turn out like (but is incorrect Bandit/Shadow syntax), using your same code as above:

/X-1.4219 /Y-1.1458 /Z0.
/ /Y1.7396 /
/X1.6094 / /
/ /Y-1.1458 /
/X-1.4219 /Y-1.1458 /
X1.6094 Y1.7396 Z0. F10.0
X-1.4219 Z0.


( I also removed the G01, since this is not required, but this is easily eliminated in the NC setup)

Note, this third permutation of modal options does work correctly in OneCNC Mill Professional.

As I suggested above, the simplest fix would be to allow for unique prefixes to exist in the G00 setup versus the G01 setup for these three:
Value X
Value Y
Value Z
If you can acoomplish this, I think it would be harmless to all other users who are using the standard FANUC-speak.

(and no, I didn't stay up till 4 in the morning to post this )
__________________
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)

Last edited by HuFlungDung; 04-07-2003 at 01:47 AM.
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





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