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-11-2009, 08:05 PM
Ox1 Ox1 is offline
 
Join Date: Jan 2009
Location: US
Posts: 22
Ox1 is on a distinguished road
Tandem Readouts?

Has enyone writ the code for duals yet?

I want ABS AND DIST TO GO side by side.

They say that it can be done - we just need to write it - and it is down deep into the C++ areas. (Whatever that is?)

It's not at the top of my priority list, but I doo have a hole in the top right of my screen for it. I'd like to git that blue sky covered up one day. (Not that we're up and running yet by eny stretch.)

We should be able to git there eventually, but hey - if somone else has been there / done that - well I'd be abliged for the road map.


---------------

Think Snow Eh!
Ox

Last edited by Ox1; 09-12-2009 at 11:11 AM. Reason: my other left that is. (roll eyes)
Reply With Quote

  #2   Ban this user!
Old 09-12-2009, 01:57 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

The quick and dirty apparoach: Create a LABEL that has your value. Set Timer.fil to run several times per second and update the LABEL. You'd probably have some flicker and disagreement in the last digit.

The really NEAT and KEWL way. Use visual basic, C, etc. to write a small .exe program. Have it run in a separate window on your screen.

Karl
Reply With Quote

  #3   Ban this user!
Old 09-12-2009, 08:08 AM
Ox1 Ox1 is offline
 
Join Date: Jan 2009
Location: US
Posts: 22
Ox1 is on a distinguished road

Yeah - I want a seperate winder.

Of course the labels could be used for quicker service.

Was just wondering if enyone had done it yet.


-------------

Think Snow Eh!
Ox
Reply With Quote

  #4  
Old 09-12-2009, 08:51 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

It would be fun to be able to write a GUI, wish I knew how.

One thing I like about the Mitsubishi display is a coordinate display for "Next" moves for all axis. That is the cat's ass. It gives you the incremental distance of the move after the present one, and it isn't changing so fast that it is meaningless. Besides, when single stepping through the program (on a lathe job) you can darn soon decide "hey, I don't want to go that far!"

Knowing that the display updates are rather slow when running Camsoft, I don't know if Distance to go would live up to your expectations. As Karl suggested, it might be possible to rig up a "Next" display in the form of a set of labels that might look like a poor man's digital display. You'd have to write the logic somewhere (in the G01 and G00 logic) to compute the label contents from your gcode.....I'm not sure how much that might bog down the PC when running short segment gcode.

Edit: just thinking about this, I am not sure exactly how you would 'read ahead' one line of gcode in Camsoft, so that you could grab the coordinates and do a difference operation between the current move and the next move.
__________________
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

  #5   Ban this user!
Old 09-13-2009, 01:32 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by HuFlungDung View Post

Edit: just thinking about this, I am not sure exactly how you would 'read ahead' one line of gcode in Camsoft, so that you could grab the coordinates and do a difference operation between the current move and the next move.
DISTOGO is a command in the camsoft language. So that part is a piece of cake. I'd do this task with a timer of about 0.1 sec. and a real nice label. That's real slow for the computer, the human would notice a slight disagreement in the .0001 field for fractions of a second - not important most likely. More important, I could get this running in one hour.

Karl
Reply With Quote

Sponsored Links
  #6  
Old 09-13-2009, 04:38 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

The regular axis displays on my Camsoft interface update rather slowly, it might be due to running on an older PC, but they seem to update maybe every 1/4 sec or so.

Distance to go might be easy, how about "next"?
__________________
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

  #7   Ban this user!
Old 09-13-2009, 05:42 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by HuFlungDung View Post
The regular axis displays on my Camsoft interface update rather slowly, it might be due to running on an older PC, but they seem to update maybe every 1/4 sec or so.

Distance to go might be easy, how about "next"?
I've not seen the slow update problem. I've settled on one PC for all my machines - an HP Compac D530 tower with a P4 2.6 to 3.06Ghz. running XP SP1 stripped for performance. Many HD clones and all parts interchange. Cost about $50 on fleabay. I do still own a couple galil 17x0 cards. To run these I use the same case but install a Soyo P4 ISA motherboard. This MB uses the same processor and memory as the HP.

I can visualize how to do next if you really need it. Create a buffer stack; all Gcodes call buffer macro. The first time you see a Gcode the buffer just records info and exits. The second time it records info and runs the previous Gcode. And so on. This could end up being tricky.

Karl
Reply With Quote

  #8  
Old 09-14-2009, 09:58 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Karl,
That is an interesting idea, to run the gcode through a macro first, in order to decipher the next move as an incremental value.

Maybe the Camsoft tech can chime in here, but I'd have to wonder if the way that computer programming works, is it really possible to run a text macro as fast as one could expect proper C+ programming to run, even if the macro were written as perfectly as it could be? How much overhead is there in making Windows rerun that macro 1000 times per second, if you happened to be running short segment 3d code on a mill?
__________________
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

  #9   Ban this user!
Old 09-14-2009, 12:03 PM
 
Join Date: Apr 2003
Location: United States
Posts: 279
camsoft is on a distinguished road

You can get fast enough response from a C++ routine that would display another readout side by side. This would not use a MACRO. A text macro would not run nearly as fast as a C++ or VB program. We can answer this in two ways. Since a macro would need to be called by another routine, not even a TIMER.FIL file would call a macro 1000 times a second. Although, the code inside a macro, could execute logic on average about 10,000 times a second, so if written as to run in a GOOP LOOP it could execute a text macro very fast, but this would bog down the PC because updating the screen display too fast is a lot of Windows overhead but for readout display purposes on the screen you would only need to run the routine 4-5 times a second or else the numbers would start to blur.

When running very short segments in a 3D file where there are very short line segments to execute we have a feature called FASTMODE that actually suppresses the G code display so splines and 3D files can run at their fastest.

We are glad you asked, because this gives us a chance to talk about how we wrote our own drivers for the Galil card that far surpass the restrictions of how fast native Galil commands can execute. The end result is that we can offer the fastest cutting speeds there is for mold makers. To do this the software drivers have to talk directly to the board. We can process data to the Galil board faster than most machines can cut. So fast that if we did update the screen this would actually slow the cutting down. The G code would fly by so fast you wouldn't be able to catch a glimpse.

On most CBK file interfaces using the default operator interface and G codes for a particular machine. There's a button that toggles between ABSOLUTE & INCREMENTAL displays. The nice thing is that you can add to any of these buttons more commands such as TOGODISP or MACHDISP to flip between readouts.

If you wished you could make separate windows or screens but you'll need to use our CamSoft.DLL (API) using VB or C++. There have been OEM's that private label our software that show Distance to Go, Absolute, Incremental or Relative to Machine or Job Zero.

With our real-time solid modeled simulation or wire frame graphics animation, visually showing the tool cutter move on the screen while cutting it's both quicker & easier to just look at the graphic window to get a sense of were the tool is now, where it's has cut (colored in) or where it is about to move next (graphical gray tool path show as not yet cut)

There is a fill-in-the-blank box under DESIGN OPERATOR INTERFACE on the CNC SETUP window called DISPLAY LINES OF G CODE where you can enter the number of G code lines to display. It will tell you there that a negative value will show how many of the next lines of G code to display.

Tech Support
CamSoft Corp.
support@camsoftcorp.com
PH 951-674-8100
Fax 951-674-3110
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

  #10   Ban this user!
Old 09-14-2009, 07:23 PM
Ox1 Ox1 is offline
 
Join Date: Jan 2009
Location: US
Posts: 22
Ox1 is on a distinguished road

There is a fill-in-the-blank box under DESIGN OPERATOR INTERFACE on the CNC SETUP window called DISPLAY LINES OF G CODE where you can enter the number of G code lines to display. It will tell you there that a negative value will show how many of the next lines of G code to display.
As ours is not up and running yet I wuzn't sure, but I ass u me'd that this was the case.

???

AFA the distance to go thing - The only practical use for this is when the feedrate is such that you CAN actually follow it - but as far as I'm concerned - the biggest benefit of this is on initial run through of a new (or edited?) program when you can stop the motion (generally Z) just before it hits the part and dbl check that it has a "Dist To Go" value that looks right.

...And at that purpose - it aint somethin' that I see needing "updated" forty-leven times a second. My brain may be able think on it's own that fast - but I kant consciously harness it that fast - so no point.

Shirley beats burying a C-drill 2" deep in the part!



-------------

Think Snow Eh!
Ox
Reply With Quote

Sponsored Links
  #11  
Old 09-14-2009, 11:19 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Thanks to Camsoft for that answer.

Another question that is relevant to this topic: can one run the Camsoft GUI across two monitors if one has Windows set up that way? I've got a lot of stuff crammed onto my one and only monitor, and I hate to lose sight of all that by going on to a full screen axis display. I recall there are hotkeys to quickly switch around but I've never gotten into the habit of using them. With tandem axis displays, I'd be even more hard pressed for screen space.
__________________
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; 09-15-2009 at 02:21 PM.
Reply With Quote

  #12   Ban this user!
Old 09-15-2009, 04:59 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

I've done Camsoft on dual monitors on this computer, my office unit. Just demo mode, but I'm sure it would work on a machine control also.

Karl
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
Fanuc Tandem control Jung Fanuc 0 06-10-2008 09:19 PM
Problem- Sieg Digital readouts kawazuki Mini Lathe 1 03-09-2008 09:02 AM
Question about tandem lead screws Chunky Linear and Rotary Motion 23 07-12-2005 11:20 AM
BP Ser 1 , Ez Trak: Axis Readouts suddenly no longer accurate XRM37 Bridgeport and Hardinge Mills 2 02-09-2005 10:04 PM
Multiple Axes Readouts squarewave CamSoft Products 2 12-12-2003 01:02 PM




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