Problem loading file

More
22 Nov 2014 12:06 #53282 by allenwg2005
After a one year absence from my machine (and with little knowledge on how to use it in the first place) I'm back at it.
I have the first of what will likely be a long list of what you folks would consider really stupid questions.
Please bare with me.

I wanted to start with the following:
I tried to load a file today and got a message that reads like this.


Near line two of /Home/Allen/linuxcnc/nc_file/….................... bad character '\357' used

I have copied the first 30 lines of code, I don't see any “bad characters” in this file.
Can someone correct me if I'm wrong, or tell me what is wrong please.

Thank you in advance, Allen


On
( ****n **** )
N1G54G17G20G40G80G90G99
N2G0X0Y0Z25.
N3X5.Y5.
N4T1M06
N5(*** T1 *** .250 Endmill ***)
N6G00X-.0039Y.312S5200M03
N7G43Z1.5H1T1
N8Z.7175
N9G1Z.6175F62.4M08
N10G2X.0478Y.3107I.0087J-.6939F110.01
N11G1X.4545
N12G2X.5223Y.3112I.0439J-1.4537
N13X.5657Y.3094I-.0219J-1.0485
N14X.6029Y.3068I-.0813J-1.431
N15X.6371Y.303I-.0796J-.8712
N16X.7023Y.2923I-.1294J-.9906
N17X.7628Y.2775I-.1528J-.7563
N18X.8476Y.2495I-.2716J-.9652
N19G1X.8654Y.2422
N20G2X.8822Y.2341I-.1187J-.2658
N21X.8978Y.2247I-.098J-.1806
N22G1X.9207Y.2103
N23X.944Y.1962
N24G2X.9586Y.1859I-.1694J-.2546
N25X.9838Y.1622I-.1157J-.1483
N26X.9968Y.1466I-.1907J-.1723
N27X1.0309Y.0977I-.3664J-.2912
N28G1X1.035Y.0895
N29G2X1.0385Y.0809I-.0993J-.045
N30X1.0437Y.0638I-.1494J-.0552

Please Log in or Create an account to join the conversation.

More
22 Nov 2014 15:25 #53284 by ArcEye
Replied by ArcEye on topic Problem loading file
Hi

Please attach the actual file.

It is highly likely there is a non displayable character code in the file.

If it does not show up in a good terminal editor, will be able to find it through a hexeditor

regards

Please Log in or Create an account to join the conversation.

More
22 Nov 2014 21:40 #53288 by BigJohnT
Replied by BigJohnT on topic Problem loading file
According to a little google search "It's a UTF-8 byte order mark." The suggestion is to delete that line and type it over again. Also make sure you only edit the files with text editors like Gedit, Notepad++ etc.

JT
The following user(s) said Thank You: allenwg2005

Please Log in or Create an account to join the conversation.

More
22 Nov 2014 23:40 #53289 by allenwg2005
Replied by allenwg2005 on topic Problem loading file
Arceye, I've attached the file.

John, I should have thought of a google search myself, I'll try retyping with gedit.

Thank you both.

Please Log in or Create an account to join the conversation.

More
23 Nov 2014 00:03 - 23 Nov 2014 00:06 #53290 by allenwg2005
Replied by allenwg2005 on topic Problem loading file
I just loaded this file in "Leafpad", what's more I put on my glasses!
As much as I would love to have “Z25.” inches of Z axis travel it's not even close to that!
I need to have a look at my CAM program and figure out how it got that value.
That's not to say this is the problem, but I expect when I change that figure I can move on to the next head scratcher.

THX
Last edit: 23 Nov 2014 00:06 by allenwg2005. Reason: Typo

Please Log in or Create an account to join the conversation.

More
23 Nov 2014 02:15 #53294 by allenwg2005
Replied by allenwg2005 on topic Problem loading file
So much for optimism.

I have tried to rewrite the line of code and save it –no joy-!
I have changed the value in Z, didn't help!

I have the same problem as originally stated.

If someone could look at the file I attached earlier I'd appreciate it.
It seemed simple enough at a glance, but things are rarely simple or easy in this arena.

Thanks again, Allen

Please Log in or Create an account to join the conversation.

More
23 Nov 2014 02:18 - 23 Nov 2014 02:19 #53295 by allenwg2005
Replied by allenwg2005 on topic Problem loading file
I just noticed my attachment didn't go through earlier.
I hope I'm doing this correctly this time.
Last edit: 23 Nov 2014 02:19 by allenwg2005.

Please Log in or Create an account to join the conversation.

More
23 Nov 2014 02:23 #53296 by allenwg2005
Replied by allenwg2005 on topic Problem loading file
OK, I guess I have to ask the really really stupid questions!!!

How is it I can't attach a file?
Step by step directions please.
Geez!! I used to know how this was done.

Please Log in or Create an account to join the conversation.

More
23 Nov 2014 03:12 #53298 by ArcEye
Replied by ArcEye on topic Problem loading file
The forum should accept .ngc files ( I think ?) but the default for everything is just to rename to a .txt extension which will always be accepted.
The following user(s) said Thank You: allenwg2005

Please Log in or Create an account to join the conversation.

More
23 Nov 2014 09:35 #53305 by allenwg2005
Replied by allenwg2005 on topic Problem loading file

File Attachment:

File Name: mygcode.txt
File Size:54 KB
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.152 seconds
Powered by Kunena Forum