File uploads/downloads via Ethernet cable

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

drhodes4601
Posts: 26
Joined: Sun Jan 29, 2023 12:13 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20551
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: Yes

File uploads/downloads via Ethernet cable

Post by drhodes4601 »

Hi again.
I have been trying to find some info on how to handle file transfers between my M400s console and my PC. I am running CNC 10 v1.51 on Linux 2.271. Serial #20551.
The console shows how many bytes were supposedly sent, but never seems to make it to the PC.
I've tried Kermit,.xterm, and Windows terminal to receive with.
Someone please point me in the right direction.
Thank!
Danny
Attachments
1678158914967996764035.jpg
16781587928011363671008.jpg
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: File uploads/downloads via Ethernet cable

Post by cncsnw »

4800 7N2 is an unusual choice of serial parameters. Are you positive that is what you have set at the other end?

Have you tried specifying a different "COM" port on the CNC control?

Do you have access to any RS232 troubleshooting hardware? Barring that, a third PC that is known to be able to communicate can be useful as a tie-breaker, to tell you whether the problem is with the configuration at the CNC, or the PC.

Also: are you using a null modem cable? See http://www.cncsnw.com/NullMdm.htm
drhodes4601
Posts: 26
Joined: Sun Jan 29, 2023 12:13 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20551
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: Yes

Re: File uploads/downloads via Ethernet cable

Post by drhodes4601 »

So I'm getting the feeling I'm confusing 2 different communication methods. I am not trying to use a serial cable for transfer. The controller has a RJ45 Ethernet plug. I am trying to use an Ethernet cable between the machine and PC. The PC recognizes the console, but gives the error no IP address.
I should have been more specific about what I am trying to do.
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: File uploads/downloads via Ethernet cable

Post by cncsnw »

Yes, I just noticed that your subject line said "ethernet cable".

The "Download" and "Upload" options on the F2/Load screen are for RS232 communication via a serial port. These are primarily used in a "legacy" environment, that is already set up to use RS232 to move jobs to a variety of CNC controls.

If you want to transfer files over a local area network (LAN) connection, see Centroid tech bulletin 168 "Networking Linux Based Controls".

Once you have a working connection, so that the CNC control computer has access to (and is granted write access to) a folder on the Windows PC, then you can use the F7/Utility -> F5/File Ops -> F2/Export option to copy one or more files to that destination folder.
drhodes4601
Posts: 26
Joined: Sun Jan 29, 2023 12:13 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20551
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: Yes

Re: File uploads/downloads via Ethernet cable

Post by drhodes4601 »

So after reading TB 168, it became quite obvious that transferring files across a null modem serial cable would be the easiest to do. Picked up a cable today and worked perfect. Next time I find a router at a garage sale for $1, I will try to set up the Ethernet connection.
Thanks for your help again!
Danny
tblough
Posts: 3072
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: File uploads/downloads via Ethernet cable

Post by tblough »

If you are just connecting two computers via Ethernet, you can use a crossover cable and do not need a hub/switch.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
drhodes4601
Posts: 26
Joined: Sun Jan 29, 2023 12:13 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20551
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: Yes

Re: File uploads/downloads via Ethernet cable

Post by drhodes4601 »

I will give that a try! I had never heard of a crossover Ethernet cable. Thanks for the info!
drhodes4601
Posts: 26
Joined: Sun Jan 29, 2023 12:13 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20551
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: Yes

Re: File uploads/downloads via Ethernet cable

Post by drhodes4601 »

I'm still at it. Got an Ethernet crossover cable and tried it. The PC would show unknown network and diagnostics said no valid IP address.
Picked up a used router this morning for $4(yeah, I went over budget) and hooked it up. PC recognizes the router and shows it as a network, but the controller isn't visible on the network. Light on the router shows the controller is connected.
The Linux did not have a cnc10.net file so I created one with a path. I have no clue if I did this correct. I will attach pics of the shared folder link Windows told me to use and a pic of it on the controller using the format TB168 shows. Linux at a command prompt uses forward slashes for dividers. Windows uses back slashes. TB 168 shows using forward slashes. CNC10 shows using back slashes. And I have no clue which to use...
I have tried to follow the TB 168 on network connections, but it is written for Win7/8 max. Does anyone have updated instructions for Win10?
Thanks!
Danny
Attachments
IMG_20230318_224653741_BURST001.jpg
IMG_20230318_213723935.jpg
IMG_20230318_230728286.jpg
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: File uploads/downloads via Ethernet cable

Post by cncsnw »

What does your cnc10.net file say?

From a command prompt on either computer, are you able to ping the IP address of the other computer, without error?
drhodes4601
Posts: 26
Joined: Sun Jan 29, 2023 12:13 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20551
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: Yes

Re: File uploads/downloads via Ethernet cable

Post by drhodes4601 »

Ping appears to work, but controller isn't viable by the PC.
Attachments
IMG_20230319_140835510.jpg
IMG_20230319_140921786.jpg
IMG_20230319_141105194.jpg
IMG_20230319_141540211.jpg
IMG_20230319_141550907.jpg
Post Reply