About CNC Software Development

Post anything you want to discuss with others about the software.

Re: About CNC Software Development

Postby dezsoe » Mon Feb 27, 2023 3:28 pm

The following samle will show you 31 if nothing is connected to the UC100:

Code: Select all
long inputsnow = 0;
UC100.GetInput(ref inputsnow);
Console.WriteLine(inputsnow.ToString());

The inputs are pulled high, so the lowest 5 bits will show you the input states.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: About CNC Software Development

Postby dezsoe » Fri Mar 03, 2023 9:42 am

I created a simple project in C# to find and connect controllers then home or move X axis. The pins are fixed in the code, you'll have to change them. I tested with it with UC100 and UC400ETH. (The UC100 in the name of the project stands for the UC100 class, not the physical device.)

Project zip download
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: About CNC Software Development

Postby Battwell » Sat Mar 04, 2023 10:05 am

download link doesnt seem to work? deszoe
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: About CNC Software Development

Postby dezsoe » Sat Mar 04, 2023 1:37 pm

I've just checked and it works.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: About CNC Software Development

Postby Battwell » Sat Mar 04, 2023 2:41 pm

link worked if i copied it. wouldnt work from click on it.
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Previous

Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 27 guests