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-26-2005, 11:23 AM
 
Join Date: Aug 2005
Location: usa
Posts: 25
alfalfa is on a distinguished road
Set Tool Offsets in NC Program??

Is there a way to set tool offsets to the control from an NC program? Also, along the same line, is it possible to do the same for part offsets (G54-G58??)? This would allow me to save all tool and part offsets with the NC file and they would be automatically downloaded to the control each time the part file is run. I had minimal success with part offsets, it would set the number, but then the machine would proceed to move to each offset location.

Desired result:

Sym Pin.nc

(Tool) (Descr) (Length)
T1 1" EM -14.35
T2 1/4 Drill -12.25
(Offsets)
G54 X-2.7 Y-7.12 Z0
%
(Sym Pin for Buzzwheel)
10 G1 X-10 Y...........

Thanks,
AL
Reply With Quote

  #2   Ban this user!
Old 09-26-2005, 02:17 PM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 982
psychomill is on a distinguished road

Most machine controls have a way of doing this. The most common is using whats called a "G10" line. This is an example for Fanuc controls:

code:

%
G90
G10L2P1X-2.7Y-7.12Z0. (SETS G54 OFFSETS)
G10L2P2X-5.4Y-7.12Z0. (SETS G55 OFFSETS)

G10L10P1R-14.35 (SET TOOL LENGTH FOR T1)
G10L10P2R-12.25 (SET TOOL LENGTH FOR T2)
.
.
(PROGRAM)
.
.
M30
%

The "L" designates what you want to control (offsets, tool length, tool wear, parameters, etc)

The "P" designates the controling variable (tool number, parameter number, offset number etc)

Not too sure if this would apply to camsoft...

HTH.....
__________________
It's just a part..... cutter still goes round and round....
Reply With Quote

  #3   Ban this user!
Old 09-27-2005, 02:08 AM
 
Join Date: Mar 2004
Location: Burnaby B.C.
Posts: 54
Ben Olson is on a distinguished road

the G10 code in Camsoft is the one code that lets my machine feed properly

( I'm still not convinced that G01 actually works properly in CNC Plus.???... G10 is another feed code in Camsoft and on my machine it operates the way G01 should work , and lets me make parts )

needless to say the use of G10 in your example on a Fanuc control won't be the same on a Camsoft ( but I've been wrong before..... )
Reply With Quote

  #4   Ban this user!
Old 09-27-2005, 07:28 AM
 
Join Date: Aug 2005
Location: usa
Posts: 25
alfalfa is on a distinguished road

Thanks guys,

I am using Camsoft Plus. I have not had any obvious problems with G1.

It is installed on an OKK MCV500. It is in production, I am just wanting to make it more user friendly and idiot-proof (impossible?? :-) ). If anyone needs code for a similar machine, let me know. The tool change routine is at about 90%.

_____________________
De Oppresso Liber - Is 61
Reply With Quote

  #5   Ban this user!
Old 09-28-2005, 02:22 AM
 
Join Date: Mar 2004
Location: Burnaby B.C.
Posts: 54
Ben Olson is on a distinguished road

odd coincidence...... my Camsoft retrofit is also an OKK MCV 500....it makes parts but is nowhere close to what I consider idiot proof...( could just be me ) nice solid machine though

if you don't mind sharing I'd like to see what you did as far as tool changing goes
and did you keep the Mitsubishi servo drives?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-28-2005, 12:23 PM
 
Join Date: Aug 2005
Location: usa
Posts: 25
alfalfa is on a distinguished road

Re the original drives: they went up in flames. (Something got really hot in the cabinet.) Hence the retrofit. We ended up going to A-M-C DC Servos w/ original motors. The spindle was a bit more picky so we put on an AC drive/motor, this also allowed us to bump the max speed.

As far as the ATC code, the boss is a little bit hesitant to just give it away (it took us several weeks to get it right), but if you have something that might be helpful to us.... Otherwise, I would be happy to go over generalities on it. We finally used a limit switch to replace to prox switch for counting, that made all the difference as it was losing magazine position.

Are you using any sort of handheld pendant? I have tried a gamepad, but its not great...yet. How about feed/speed override pots?
Reply With Quote

  #7   Ban this user!
Old 09-29-2005, 04:37 AM
 
Join Date: Mar 2004
Location: Burnaby B.C.
Posts: 54
Ben Olson is on a distinguished road

I am still using the original Mitsu Drives ( no flames yet, knock on wood ) and the original DC spindle motor/drive ( it took a little thinking to get that working .... )

and you'd be hard pressed to upgrade the original servo motors... those things are stout

I fully understand on the ATC code... the frustration\success ratio in camsoft can be a little lopsided at times...

I got the handheld pendant from Camsoft... the feed and speed override pots work... just not in real time ( ie: you adjust the spindle speed pot and the NEXT line of Gcode it actually takes effect, same with the feed override )
Reply With Quote

  #8   Ban this user!
Old 09-29-2005, 04:03 PM
 
Join Date: Mar 2004
Location: United States
Posts: 36
intrusion is on a distinguished road

I have used the CamSoft handheld controller and the feed/speed pots work as advertised. I even saw this work at their office in California. The feed pot adjusts in real time an so does the speed pot. If your code does not work then I suggest you restore the handheld default file to get the original code from the I/O file. You must have made some changes that are interfering with its normal operation.

Frustration usually comes from not asking for assistance, this I know! and everybody needs assistance at some point whether it's electrical in nature, mechanical in nature or software in nature.
When a problem like that arises it is always best to call the software vendor and ask for assistance before too long, its probably something real simple.

intrusion
Reply With Quote

  #9   Ban this user!
Old 10-06-2005, 11:20 AM
 
Join Date: Aug 2005
Location: usa
Posts: 25
alfalfa is on a distinguished road

Still looking for help on the original problem (set Tool offsets and fixture offsets from .nc program). I'm sure it can be done, I just haven't figured it out yet. Camsoft is quite flexible, but like any computer, it will only do what you tell it to do.
Reply With Quote

  #10   Ban this user!
Old 10-06-2005, 11:41 AM
 
Join Date: Apr 2003
Location: United States
Posts: 279
camsoft is on a distinguished road

Alfalfa,

The specific answer is based on which product and version you have.

If you're using CNC professional, refer to the explanation at:
QUESTION 180

How do we set up fixture offsets, tool clearance heights and tool length offsets?

If you look at the OFFSET command in the manual which is the back bone of customizing G54 thru G59 you'll notice several optional parameters that allow you to set up the fixture offset values directly from a G code program. The current Default.CBK is pre-set this way, so if you have a new version you simply enter:

G54 X1.1 Y2.2 Z 3.3

This example sets these values into the fixture offset table on the TOOL PARAMETER screen. Open the window after running the G code program to see the values forced into these boxes automatically.

To use G54 - G59 in a program after the offsets have been entered this way or typed in directly to the boxes on the TOOL PARAMETER screen simply place a G54, G55, G56, G57, G58, G59 on a G code line.

To clear the offsets enter G53

Tech Support
CamSoft Corp.
(951) 674-8100
support@camsoftcorp.com
www.cnccontrols.com
__________________
(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
  #11   Ban this user!
Old 10-06-2005, 11:47 AM
 
Join Date: Mar 2004
Location: United States
Posts: 36
intrusion is on a distinguished road

To get back on track here!

In the case of CNC Plus and I believe and you should verify with CamSoft directly, but you can use almost any G-code other than G1, G2, G3, G10 and any canned/modal cycle codes. Refer to the CamSoft manual for default G-code actions. Or you can use any M-Code just like psychomill suggested and include the offset values to store into the control using other letters of the alphabet like L, P or R. I do not have the time to give a full illustration, however look at the following commands in the manual.

ISTHERE
TOOLHEIGHT
TOOLSIZE

The ISTHERE command is used in the G or M code logic to check for any instance of text in the program. Use this to capture the values you want to store into variables then use the same variables with the TOOLHEIGHT and TOOLSIZE with the SAVE parameter to enter the values into the tool parameters page.

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 01:35 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