?
Solved

Writing VB code for CNC machines

Posted on 2001-09-18
7
Medium Priority
?
394 Views
Last Modified: 2012-06-27
This is a bit of a long shot, but I'm wondering if anyone can help me with some code I'm trying to write regarding CNC machines.  I've noticed that quite a few people using this site also work in the manufacturing area so I'm hoping one of you can help.  I'm trying to send and receive data from a PC to a CNC machine (FANUC control).  I'm looking for some literature pointing me in the right directions as at the moment all I'm getting is polarity errors from the CNC's (but at least it means I'm sending something right?!).  I'm basically after any sample code if possible or just some literature about the subject as I can't find any anywhere.
Cheers,
Luke
0
Comment
Question by:Luke_Stephens
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 

Author Comment

by:Luke_Stephens
ID: 6490117
Cheers mate, but they just give me information on writing NC programs, I need to know how to send these programs into a CNC through VB.
0
 
LVL 6

Expert Comment

by:xSinbad
ID: 6490118
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 6

Expert Comment

by:xSinbad
ID: 6490121
still looking
0
 
LVL 6

Expert Comment

by:xSinbad
ID: 6490183
0
 
LVL 4

Accepted Solution

by:
frankd earned 900 total points
ID: 6506361
Luke,

Your question brings up several questions in my mind:

1.) Do you know what the protocol is? i.e. 9600N1 etc.
2.) Do you know the format that the Fanuc is expecting the data?

I would think that Fanuc would be your best bet to get these answers.  If this is not possible and you have another device that is hooked up to the serial port on the Fanuc and it sends information correctly then yoy can intercept the communications both ways.

B&B electronics (www.bb-elec.com) has a full featured serial data and protocol analyzer that helps in these cases.

Hope this helps.

Frank
0
 

Author Comment

by:Luke_Stephens
ID: 6508016
Frank,
Cheers mate, I'll give you the points because I want to close this question now and you're the nearest so far!  Sorry xSinbad, thanks for your help.  

In the end I went to a guy called Dan Fritz who wrote a package called PC-DNC.  He's helped me out loads.  Fanuc are surprisingly useless regarding this!  Their website is a disgrace at least!

Nice one,
Luke
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question