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 > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-03-2009, 02:32 AM
 
Join Date: Feb 2008
Location: United Kingdom
Posts: 11
bogflap is on a distinguished road
PRINT / MSG statements using AXIS front end

Where does the output from these statements actually go, is there an output file or something ?
Reply With Quote

  #2   Ban this user!
Old 03-03-2009, 08:28 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

It is in the manual.

http://www.linuxcnc.org/docview/deve...l#sub:Messages

John
Reply With Quote

  #3   Ban this user!
Old 03-03-2009, 09:52 AM
 
Join Date: Feb 2008
Location: United Kingdom
Posts: 11
bogflap is on a distinguished road
Smile Many thanks, I missed that the last time I read through the manual

However this poses the next question The 'message display device', Could anyone let me know what is or where it is or how to I define one
Reply With Quote

  #4   Ban this user!
Old 03-03-2009, 10:36 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

While I have not tried it I assume that you need to run EMC from a terminal window and the "default console" will be the terminal window you started EMC from.

Which leads to the next question... What are you trying to do?

John
Reply With Quote

  #5   Ban this user!
Old 03-03-2009, 11:03 AM
 
Join Date: Feb 2008
Location: United Kingdom
Posts: 11
bogflap is on a distinguished road

Basically using the grid probe ngc file to measure the 'flatness' of a piece of blank pcb. This is for isolation routing of a circuit board. Given that I can measure the relative 'flatness' I can then adjust a gcode file so that the isolation routing depth is constant (or 'more constant'). This avoids all the hassle of having to get the blank pcb absolutely flat using mechanical means.Simply probe the board whilst held in place using staright forward nuts, bolts and washers then probe using a fairly small mesh size and adjust the gcode input file in the z will compensate in software. By the way nigh on thirty years of coding means I see that none trivial task you thought of as quite achievable.
What I basically need is a simply formatted text file with all the Z values in it so that I can calculate all the relative changes across the probed mesh.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-04-2009, 02:25 AM
 
Join Date: Feb 2008
Location: United Kingdom
Posts: 11
bogflap is on a distinguished road

Using the LOG functionality in AXIS 2.3.0-beta1means I can pick and choose what I output and it gets written to the log file. I will go with this.
Reply With Quote

  #7   Ban this user!
Old 03-04-2009, 09:03 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

Are you checking the flatness of a wavy part or just getting the angle of a flat part before you start to machine it?

John
Reply With Quote

  #8   Ban this user!
Old 03-04-2009, 11:38 AM
 
Join Date: Feb 2008
Location: United Kingdom
Posts: 11
bogflap is on a distinguished road

The basic problem is avoiding using expensive bits of kit to hold the pcb flat e.g. a vacuum plate. Basically securing the pcb along the edges still gives some slight bowing in the pcb especially towards the centre of the pcb. Some folk even seem to super glue the boards down to a known flat surface. Anyway bowing seems to occur even on quite small pieces of pcb (checked with a dial gauge). I am assuming that first of all the mill table is flat and also that the pcb manufacturing produces some pretty accurate pcb thicknesses. Either way it does not matter if I can correct the g code to take into account any variations from whatever source.
Many thanks Big John T
Reply With Quote

  #9   Ban this user!
Old 03-15-2009, 11:50 AM
guru_florida's Avatar  
Join Date: Nov 2007
Location: United States
Age: 36
Posts: 257
guru_florida is on a distinguished road

If you start emc from a terminal the output will go to that window. I am not sure if it is writing to stdout or stderr though. You could easily redirect any of this to a file with simple shell redirection using 'emc > myfilename'.

Also, as powerful as linux is, I am sure you could setup some sort of redirect to a terminal type window. For example, redirect output to 'netcat' (apt-get install netcat) using a random port on the localhost and with netcat in listen mode. Then use a Gnome telnet program to connect to the netcat port you configured. EMC2 output will then be shown on the telnet screen. Put the emc2/netcat command in your desktop/menu shortcut so this setup runs by default and you can telnet at any time to see emc2 output.

The command would be something like this:
/pathto/emc | netcat -l -p 4000 --source=127.0.0.1

If emc2 happens to be writing to stderr instead of stdout then the pipe (|) requires 2 for stderr fileno:
/pathto/emc 2| netcat -l -p 4000 --source=127.0.0.1

Remove the --source=127.0.0.1 and you would be able to telnet to the emc output over another networked computer to monitor progress! hehe
Reply With Quote

  #10   Ban this user!
Old 03-16-2009, 08:43 AM
 
Join Date: Feb 2007
Location: USA
Posts: 514
Big John T is on a distinguished road

Originally Posted by bogflap View Post
Basically using the grid probe ngc file to measure the 'flatness' of a piece of blank pcb. This is for isolation routing of a circuit board. Given that I can measure the relative 'flatness' I can then adjust a gcode file so that the isolation routing depth is constant (or 'more constant'). This avoids all the hassle of having to get the blank pcb absolutely flat using mechanical means.Simply probe the board whilst held in place using staright forward nuts, bolts and washers then probe using a fairly small mesh size and adjust the gcode input file in the z will compensate in software. By the way nigh on thirty years of coding means I see that none trivial task you thought of as quite achievable.
What I basically need is a simply formatted text file with all the Z values in it so that I can calculate all the relative changes across the probed mesh.
You can actually write your g code file from a g code file while probing! I had a discussion on that the other day. You LOG what you want to the new g code file like this:

#8=-.1 (Z probe)
(LOGOPEN,probe-results.ngc)
(LOG,G1 X#5061 Y#5062 Z#5063)
G38.2Z#8
(LOGCLOSE)

The (LOG,G1 X#5061 Y#5062 Z#5063) will write the values in the variable file from the most recent probe along with the text...

http://cvs.linuxcnc.org/cgi-bin/cvsw...e=text%2Fplain


John
Reply With Quote

Sponsored Links
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Need new front end for TSI foamcutter hover1 CNC Wire Foam Cutter Machines 2 04-19-2010 04:09 PM
Need Help!- Is there a way to have BC print out a Blue Print of a drawling? Stampede BobCad-Cam 3 01-05-2009 07:36 AM
drawer front inlays mike hide WoodWorking 14 01-11-2008 11:02 AM
How to do 2 "IF" statements on the same line? murphy625 CamSoft Products 14 04-01-2005 07:28 PM
If / Then Statements Nanker G-Code Programing 6 10-23-2004 12:11 AM




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