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! > MetalWorking Machines > General Metal Working Machines


General Metal Working Machines General discussions of all metal working machines from drill presses to band-saws.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-17-2009, 06:55 PM
 
Join Date: Nov 2009
Location: Canada
Posts: 5
whiteredline is on a distinguished road
WinNc 3.1 File Format

Hi, hoping someone can help me out.

I created a program on Mastercam X2 and used a generic Fanuc post processor to create an NC file. I put the .NC file on a floppy, and transferred it to the computer that is attached to my cnc machine.

I have an Emco Maier PC50 milling machine that is controlled by a pc. The name of the program that controls the machine is WinNc., version 3.1. The controller is Fanuc OM. I think it's a program meant to emulate the Fanuc controller, using a PC and a keyboard.

I open up the WinNC program in Windows Explorer, and drop the .NC file in the Prog. Folder from my :A drive.
I open the NC control program (WinNC) and try to load the .NC program into the controller to run the program.

For some reason, the program is not recognizing the .NC program I loaded into the program file.

Any idea what I am doing wrong? Wrong post processor? Or do I need to save the .NC file using a different file extension? Any help is appreciated. Thanks in advance.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 11-19-2009, 12:20 PM
 
Join Date: Apr 2006
Location: USA
Posts: 187
SCRAPWOTSCRAP is on a distinguished road

There is a config file for WinCnc WINCNC.INI, in that file is a line that reads
"Filetype=".

This line will tell you what the file extension is that is accepted by WinCNC. You can add "*.nc" if it is not there already, .tap might be there .anc might be there, or you could change your file extension to match what is listed there.

What version of windows are you running?? Wondering if that is the 3.1 you mention since you are using a floppy. I'm not sure there is a WinCNC 3.1.

Is there an error message when you try to load program?
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 11-19-2009, 03:17 PM
 
Join Date: Nov 2009
Location: Canada
Posts: 5
whiteredline is on a distinguished road
winnc version

Hi there, I am using WinNc version 3.5. and windows 98.

I called EMCO tech support yesterday, and the nice tech guy told me to rename the file as O1234. The Fanuc controller loaded the program. Yah!

But when I tried to graph it to see if it would work, I got an error message
70M 0 syntax error.

I am using a generic post processor for fanuc emco machines that I downloaded at inhousesolutions.com.

I have post processor for my emco pc50 mill for mastercam ver 8 and ver 9, but these posts are incompatible with mastercam ver 10 and above.

arrghhh
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 11-19-2009, 03:21 PM
 
Join Date: Apr 2006
Location: USA
Posts: 187
SCRAPWOTSCRAP is on a distinguished road

Well you are getting closer, lol. Syntax error means it doesn't like something in your code, can you post it here so we can look at it and hopefully get you going?
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 01-21-2012, 11:51 AM
 
Join Date: Dec 2007
Location: USA
Posts: 10
jeff 888 is on a distinguished road

I know this is an old thread but I am having the exact same issue with the syntax error and was wondering what solution was found?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-22-2012, 06:40 AM
 
Join Date: Nov 2009
Location: Canada
Posts: 5
whiteredline is on a distinguished road
Emco cnc file

[FONT="Arial"]
I am running an older Emco CNC with winNc version 3.5
the cad/cam software I'm running is Mastercam X2
I got the post processor for Emco machines from the in house solutions website under downloads.
After loading the post processor and machine definition files into the Mastercam program and generating a cutter path, I post it. The Mastercam NC editor shows up.

Here is what I noticed you must do if you want the file to run.

Remove all block numbers. The machine will error out and not run

Remove any script that describes the part file, cutter, time it was made, etc.In the Mastercam NC editor, these usually show up as green. Pretty much anything that is not a G or M code or a coordinate X,Y, Z must be removed.

remove the % at the start for the file.

Change any cutter height offset to G43 T1 H1, or whatever tool offset you are using.

My machine only holds one tool and has no tool changer

So the program should look like this

G20 G40 G91 etc (all the prep codes)
G00 X Y M03 S1000 etc
G43 T1 H1 etc
then the rest of the program.

I will post a sample program when I get one from work, I am at home right now and can't remember the codes exactly. Just remove block numbers, all the letters in parentheses that describe the program, remove the % sign at the start of the program, and make sure the G43 code is T1 and H1 and it should run.

Once you load it onto the PC (mine had windows 98, lol), RENAME the file to O1234 that's an O as in a letter O then any 4 numbers up to 9999. The winNC software will not read the .nc file extension that is generated by Mastercam, the file must be a generic wordpad or notepadvfile. It's basically an ASCII file (american society of computing something or other) format.

There is no file extension, it just shows on the screen as O1234.

Then load it up and off you go.

I inherited this machine from another school, it hadn't been running in 10 years and no one knew how to run it. I finally got it running and it cuts great.

I've cut plastic, aluminum, mild steel and tool steel with it. I've done simple engravings to lofted and ruled 3 d surfaces. If only it were bigger! It's a great little machine. Hop this helps you.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 01-30-2012, 04:55 AM
 
Join Date: Dec 2007
Location: USA
Posts: 10
jeff 888 is on a distinguished road

Originally Posted by whiteredline View Post
[FONT="Arial"]
I am running an older Emco CNC with winNc version 3.5
the cad/cam software I'm running is Mastercam X2
I got the post processor for Emco machines from the in house solutions website under downloads.
After loading the post processor and machine definition files into the Mastercam program and generating a cutter path, I post it. The Mastercam NC editor shows up.

Here is what I noticed you must do if you want the file to run.

Remove all block numbers. The machine will error out and not run

Remove any script that describes the part file, cutter, time it was made, etc.In the Mastercam NC editor, these usually show up as green. Pretty much anything that is not a G or M code or a coordinate X,Y, Z must be removed.

remove the % at the start for the file.

Change any cutter height offset to G43 T1 H1, or whatever tool offset you are using.

My machine only holds one tool and has no tool changer

So the program should look like this

G20 G40 G91 etc (all the prep codes)
G00 X Y M03 S1000 etc
G43 T1 H1 etc
then the rest of the program.

I will post a sample program when I get one from work, I am at home right now and can't remember the codes exactly. Just remove block numbers, all the letters in parentheses that describe the program, remove the % sign at the start of the program, and make sure the G43 code is T1 and H1 and it should run.

Once you load it onto the PC (mine had windows 98, lol), RENAME the file to O1234 that's an O as in a letter O then any 4 numbers up to 9999. The winNC software will not read the .nc file extension that is generated by Mastercam, the file must be a generic wordpad or notepadvfile. It's basically an ASCII file (american society of computing something or other) format.

There is no file extension, it just shows on the screen as O1234.

Then load it up and off you go.

I inherited this machine from another school, it hadn't been running in 10 years and no one knew how to run it. I finally got it running and it cuts great.

I've cut plastic, aluminum, mild steel and tool steel with it. I've done simple engravings to lofted and ruled 3 d surfaces. If only it were bigger! It's a great little machine. Hop this helps you.
This helps a lot thank you! I am working with a high school to get their set of machines back up and running and I just was not able to get code running. This solved my issues thanks.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Unexpected file format southernexplore BobCad-Cam 8 09-26-2009 02:52 PM
anyone have the DSTV file format? ABC123 General CAM Discussion 21 07-28-2009 12:38 PM
DSTV file format? ABC123 General CAM Discussion 7 01-16-2009 06:37 AM
Problem- V22 Unexpected File Format? argo cnc BobCad-Cam 2 08-28-2008 12:32 PM
Understanding file format osaris Mazak, Mitsubishi, Mazatrol 3 04-01-2007 08:38 PM




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