Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
On Mon, 2016-05-02 at 00:40 +, Ralph Stirling wrote: > OK, due to popular demand, I dug up the (somewhat crude) > source code for my dnc. It can be compiled either for a Fanuc > (tested only on 0i-TC) or Haas. I ran it on a linux box which > mounted a CIFS network drive, so the G-code file it opened was > on a campus server. > > You can grab my code at: > http://people.wallawalla.edu/~ralph.stirling/misc/dnc/ > Thanks Ralph, that should help me understand whats going on between the Fanuc and EasyDNC. -- Ormund -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
OK, due to popular demand, I dug up the (somewhat crude) source code for my dnc. It can be compiled either for a Fanuc (tested only on 0i-TC) or Haas. I ran it on a linux box which mounted a CIFS network drive, so the G-code file it opened was on a campus server. You can grab my code at: http://people.wallawalla.edu/~ralph.stirling/misc/dnc/ -- Ralph From: Marius Alksnys [mar...@robotise.lt] Sent: Friday, April 29, 2016 11:56 PM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer? That would be awesome! > I can dig up program source for anybody that wants > it as a starting point. > > -- Ralph -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
Simplest to understand would be one program automatically loaded on each USB stick. With a label on each USB stick a minimum of computer knowledge would be required. > I would go with network, but the customer wants USB flash. They are not > very computer-savy. I wish to help them to find better way. > > 04/30/2016 07:46 AM, Chris Albertson rašė: > > How are you getting the files onto the USB drive. It seems simplest if you > > could loose the USB drive and move files over a network. With a file > > server of some kind you also loose the concept of "moving" files. There > > would just be a shared folder And you'd drop the files there. No USB drives > > > -- > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
04/30/2016 03:17 AM, Erik Friesen rašė: > Are you comfortable coding? Yes. -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
That would be awesome! > I can dig up program source for anybody that wants > it as a starting point. > > -- Ralph -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
I would go with network, but the customer wants USB flash. They are not very computer-savy. I wish to help them to find better way. 04/30/2016 07:46 AM, Chris Albertson rašė: > How are you getting the files onto the USB drive. It seems simplest if you > could loose the USB drive and move files over a network. With a file > server of some kind you also loose the concept of "moving" files. There > would just be a shared folder And you'd drop the files there. No USB drives -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
How are you getting the files onto the USB drive. It seems simplest if you could loose the USB drive and move files over a network. With a file server of some kind you also loose the concept of "moving" files. There would just be a shared folder And you'd drop the files there. No USB drives On Fri, Apr 29, 2016 at 2:24 PM, Marius Alksnyswrote: > I have a question how to simplify file transfer from, let's say, USB > flash drive to a CNC machine with specifically Fanuc 18t controller. > > Now this machine has its own old laptop with old MS Win and some DNC > software. It takes several clicks on the PC and several non trivial > Fanuc panel button presses including correct sequence of them. And to my > surprise operators are used to this. > > As I was used to DNC, there was a PC with shared NC folder(s) on a > network, connected through serial port (and adapter if needed) to the > CNC machine(s). There was no need to come to this PC. > From the machine side (with old Heidenhain controller) I had to press > EXT, enter file number, press Enter and that's all - I had any file I > wanted of any size in the machine in drip-feed mode! And this was > reallly old machine. > > Now I see this not so old (about 2006) Fanuc and I am surprised how > complicated life is for the operators.. > > Do you have an idea how to use BeagleBone or similar micro device glued > to the side of the panel of the machine to work as a USB adapter or even > + LAN file server? > > > > -- > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Chris Albertson Redondo Beach, California -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
We have several Fanuc machines of that vintage,(2002-2007). While none of them are 18t we have a couple 0i, couple of 21i, and a couple of 0i-Mate controls with PC fronts. Most all of these have some form of a USB port (the 2002 21i might not), but you may have to open the cabinet and plug into a port directly on the operator panels PC motherboard. However, all of them are able to connect to the shops ethernet network, to easily download files to run from their internal hard-drives. And running files via DNC from the internal disks is pretty simple. Loading and running from machine memory, is a pain, and is more like the process description you describe. - Original Message - From: "Marius Alksnys"To: emc-users@lists.sourceforge.net Sent: Friday, April 29, 2016 5:24:25 PM Subject: [Emc-users] A bit OT: DNC - NC file server from microcomputer? I have a question how to simplify file transfer from, let's say, USB flash drive to a CNC machine with specifically Fanuc 18t controller. Now this machine has its own old laptop with old MS Win and some DNC software. It takes several clicks on the PC and several non trivial Fanuc panel button presses including correct sequence of them. And to my surprise operators are used to this. As I was used to DNC, there was a PC with shared NC folder(s) on a network, connected through serial port (and adapter if needed) to the CNC machine(s). There was no need to come to this PC. From the machine side (with old Heidenhain controller) I had to press EXT, enter file number, press Enter and that's all - I had any file I wanted of any size in the machine in drip-feed mode! And this was reallly old machine. Now I see this not so old (about 2006) Fanuc and I am surprised how complicated life is for the operators.. Do you have an idea how to use BeagleBone or similar micro device glued to the side of the panel of the machine to work as a USB adapter or even + LAN file server? -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
On Fri, 2016-04-29 at 21:45 +, Ralph Stirling wrote: > I wrote a small program that I ran on an old Linux > PC to transfer files to a Mori Seiki lathe with Fanuc 0-iTC > and to a Haas TM-1. It waited on the handshake > signal from the machine serial port, and would then > fetch a single file from a network file system drive > (either moricode.txt or haascode.txt according to the > machine). Users of the machines would copy their > G-code file to the network drive as moricode.txt or > haascode.txt, then walk over to the machine and > punch the button sequence to read a file over the > serial port. Everything else was handled by the programs > on the PC (which was headless). I'll likely set this > up on a BBB or RPi at some point. > > I can dig up program source for anybody that wants > it as a starting point. > I'd be interested in that code, I did a small microcontroller board that sits between a PC running DNC and a Fanuc 0-M controller. The controller is failing and no longer retains macros so the tool changer stopped working, my circuit swallows the T command and does the tool change but otherwise passes the commands onto the Fanuc. I'd like to understand whats going on with DNC. -- Ormund -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
Adding requests from the panel shouldn't be hard, but who doesn't have a table or phone laying around? On Fri, Apr 29, 2016 at 8:17 PM, Erik Friesenwrote: > Are you comfortable coding? > > I just did something for myself that is similar to this for my haas vf2. > I set up a windows share using samba on a headless intel nuc running debian > and a ftdi rs232 adapter. Then a couple days later I have this web gui > that you can select the file to receive or send out of the shared folder. > I have been trying to decide where to go with it so far, whether to try to > take it commercial or open source it and sell pre ready hardware. Its > still pretty beta thought, and only supports xmodem. I think > embeddedarm.com has some nice hardware options. > > calmotion lancnc does sort of what you want, but you have to wire their > pendant on there. Plus, its an ftp server, not a real windows share. > > The state of cnc machines and dnc is pathetic. If you want something off > the shelf it was probably written years ago, or pay lots of money. > > Some people say they have run millions of lines without error checking on > rs232, but I don't trust it. All it takes is a glitch on a decimal point. > > On Fri, Apr 29, 2016 at 5:45 PM, Ralph Stirling < > ralph.stirl...@wallawalla.edu> wrote: > >> I wrote a small program that I ran on an old Linux >> PC to transfer files to a Mori Seiki lathe with Fanuc 0-iTC >> and to a Haas TM-1. It waited on the handshake >> signal from the machine serial port, and would then >> fetch a single file from a network file system drive >> (either moricode.txt or haascode.txt according to the >> machine). Users of the machines would copy their >> G-code file to the network drive as moricode.txt or >> haascode.txt, then walk over to the machine and >> punch the button sequence to read a file over the >> serial port. Everything else was handled by the programs >> on the PC (which was headless). I'll likely set this >> up on a BBB or RPi at some point. >> >> I can dig up program source for anybody that wants >> it as a starting point. >> >> -- Ralph >> >> From: Marius Alksnys [mar...@robotise.lt] >> Sent: Friday, April 29, 2016 2:24 PM >> To: emc-users@lists.sourceforge.net >> Subject: [Emc-users] A bit OT: DNC - NC file server from microcomputer? >> >> I have a question how to simplify file transfer from, let's say, USB >> flash drive to a CNC machine with specifically Fanuc 18t controller. >> >> Now this machine has its own old laptop with old MS Win and some DNC >> software. It takes several clicks on the PC and several non trivial >> Fanuc panel button presses including correct sequence of them. And to my >> surprise operators are used to this. >> >> As I was used to DNC, there was a PC with shared NC folder(s) on a >> network, connected through serial port (and adapter if needed) to the >> CNC machine(s). There was no need to come to this PC. >> From the machine side (with old Heidenhain controller) I had to press >> EXT, enter file number, press Enter and that's all - I had any file I >> wanted of any size in the machine in drip-feed mode! And this was >> reallly old machine. >> >> Now I see this not so old (about 2006) Fanuc and I am surprised how >> complicated life is for the operators.. >> >> Do you have an idea how to use BeagleBone or similar micro device glued >> to the side of the panel of the machine to work as a USB adapter or even >> + LAN file server? >> >> >> >> -- >> Find and fix application performance issues faster with Applications >> Manager >> Applications Manager provides deep performance insights into multiple >> tiers of >> your business applications. It resolves application problems quickly and >> reduces your MTTR. Get your free trial! >> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> >> -- >> Find and fix application performance issues faster with Applications >> Manager >> Applications Manager provides deep performance insights into multiple >> tiers of >> your business applications. It resolves application problems quickly and >> reduces your MTTR. Get your free trial! >> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > > -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
Are you comfortable coding? I just did something for myself that is similar to this for my haas vf2. I set up a windows share using samba on a headless intel nuc running debian and a ftdi rs232 adapter. Then a couple days later I have this web gui that you can select the file to receive or send out of the shared folder. I have been trying to decide where to go with it so far, whether to try to take it commercial or open source it and sell pre ready hardware. Its still pretty beta thought, and only supports xmodem. I think embeddedarm.com has some nice hardware options. calmotion lancnc does sort of what you want, but you have to wire their pendant on there. Plus, its an ftp server, not a real windows share. The state of cnc machines and dnc is pathetic. If you want something off the shelf it was probably written years ago, or pay lots of money. Some people say they have run millions of lines without error checking on rs232, but I don't trust it. All it takes is a glitch on a decimal point. On Fri, Apr 29, 2016 at 5:45 PM, Ralph Stirling < ralph.stirl...@wallawalla.edu> wrote: > I wrote a small program that I ran on an old Linux > PC to transfer files to a Mori Seiki lathe with Fanuc 0-iTC > and to a Haas TM-1. It waited on the handshake > signal from the machine serial port, and would then > fetch a single file from a network file system drive > (either moricode.txt or haascode.txt according to the > machine). Users of the machines would copy their > G-code file to the network drive as moricode.txt or > haascode.txt, then walk over to the machine and > punch the button sequence to read a file over the > serial port. Everything else was handled by the programs > on the PC (which was headless). I'll likely set this > up on a BBB or RPi at some point. > > I can dig up program source for anybody that wants > it as a starting point. > > -- Ralph > > From: Marius Alksnys [mar...@robotise.lt] > Sent: Friday, April 29, 2016 2:24 PM > To: emc-users@lists.sourceforge.net > Subject: [Emc-users] A bit OT: DNC - NC file server from microcomputer? > > I have a question how to simplify file transfer from, let's say, USB > flash drive to a CNC machine with specifically Fanuc 18t controller. > > Now this machine has its own old laptop with old MS Win and some DNC > software. It takes several clicks on the PC and several non trivial > Fanuc panel button presses including correct sequence of them. And to my > surprise operators are used to this. > > As I was used to DNC, there was a PC with shared NC folder(s) on a > network, connected through serial port (and adapter if needed) to the > CNC machine(s). There was no need to come to this PC. > From the machine side (with old Heidenhain controller) I had to press > EXT, enter file number, press Enter and that's all - I had any file I > wanted of any size in the machine in drip-feed mode! And this was > reallly old machine. > > Now I see this not so old (about 2006) Fanuc and I am surprised how > complicated life is for the operators.. > > Do you have an idea how to use BeagleBone or similar micro device glued > to the side of the panel of the machine to work as a USB adapter or even > + LAN file server? > > > > -- > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > > -- > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
I wrote a small program that I ran on an old Linux PC to transfer files to a Mori Seiki lathe with Fanuc 0-iTC and to a Haas TM-1. It waited on the handshake signal from the machine serial port, and would then fetch a single file from a network file system drive (either moricode.txt or haascode.txt according to the machine). Users of the machines would copy their G-code file to the network drive as moricode.txt or haascode.txt, then walk over to the machine and punch the button sequence to read a file over the serial port. Everything else was handled by the programs on the PC (which was headless). I'll likely set this up on a BBB or RPi at some point. I can dig up program source for anybody that wants it as a starting point. -- Ralph From: Marius Alksnys [mar...@robotise.lt] Sent: Friday, April 29, 2016 2:24 PM To: emc-users@lists.sourceforge.net Subject: [Emc-users] A bit OT: DNC - NC file server from microcomputer? I have a question how to simplify file transfer from, let's say, USB flash drive to a CNC machine with specifically Fanuc 18t controller. Now this machine has its own old laptop with old MS Win and some DNC software. It takes several clicks on the PC and several non trivial Fanuc panel button presses including correct sequence of them. And to my surprise operators are used to this. As I was used to DNC, there was a PC with shared NC folder(s) on a network, connected through serial port (and adapter if needed) to the CNC machine(s). There was no need to come to this PC. From the machine side (with old Heidenhain controller) I had to press EXT, enter file number, press Enter and that's all - I had any file I wanted of any size in the machine in drip-feed mode! And this was reallly old machine. Now I see this not so old (about 2006) Fanuc and I am surprised how complicated life is for the operators.. Do you have an idea how to use BeagleBone or similar micro device glued to the side of the panel of the machine to work as a USB adapter or even + LAN file server? -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] A bit OT: DNC - NC file server from microcomputer?
I didn't mention that operator selects one and only file to transfer on a PC with oNN number inside it which must not exist on the machine.. > Now this machine has its own old laptop with old MS Win and some DNC > software. It takes several clicks on the PC and several non trivial > Fanuc panel button presses including correct sequence of them. And to my > surprise operators are used to this. -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users