Page 1 of 3 123 LastLast
Results 1 to 12 of 25

Thread: Capture probe data from rs232 port?

  1. #1
    Registered
    Join Date
    Sep 2005
    Location
    USA
    Posts
    221
    Downloads
    0
    Uploads
    0

    Capture probe data from rs232 port?

    Can anyone tell me how to capture probe output data from the rs232 port into a file on a p.c.?
    Thanks, kinda lost on this one!

    I would like to be able to access the data from a p.c. to do further calculations on the point(s) provided by the probe.


  2. #2
    Registered bonmotwang's Avatar
    Join Date
    Feb 2011
    Location
    Canada
    Posts
    188
    Downloads
    0
    Uploads
    0
    Google serial port tool, then get the comm operator free version.
    It is a very good tool. I bought it for my TCP/IP testing, also for RS232 programming and simulating too.


    Sent from my iPhone using Tapatalk


  3. #3
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4519
    Downloads
    0
    Uploads
    0
    I have not delved into macro programming for Fadal. On Fanuc, there are commands to output captured data to the RS-232 port. You will also need a computer set up to "listen" for the data.
    http://www.kirkcon.com/


  4. #4
    Registered
    Join Date
    May 2004
    Location
    Australia
    Posts
    561
    Downloads
    0
    Uploads
    0
    Hi REVCAM_Bob,
    Probing is a subject that interests a lot of us here but very little seems to be documented about the process. There's plenty on edge & centre finding and height sensing but surprisingly little on probing for free form organic surfaces. Assuming this is what you are trying to do, any chance you could document your progress here?
    Regards
    Phil
    Last edited by skippy; 03-11-2012 at 03:03 AM.


  • #5
    Registered bonmotwang's Avatar
    Join Date
    Feb 2011
    Location
    Canada
    Posts
    188
    Downloads
    0
    Uploads
    0
    If just want to capture the waveform, you will need a data logger to capture the data into a PC.
    I am doing that all the time, part of my job is to analysis the communication protocol. Sometimes reverse engineering the protocol in some old machines.
    There is a tool called digital analyzer:-D.
    Search eBay you will find one for your frequency.


    Sent from my iPhone using Tapatalk


  • #6
    Registered
    Join Date
    May 2004
    Location
    Australia
    Posts
    561
    Downloads
    0
    Uploads
    0
    Hi BONMOTWANG,
    Just to make sure you understand what we are talking about: the object is to capture the xyz coordinates of the machine doing the probing over a free form organic shape in order to reproduce that shape in a CAD program. Is that what you are talking about?

    If so, could you please expand on your comment about the digital analyser (pour les nuls comme moi)? I looked at ebay for quite some time and saw all manner of digital analysers (temp, pressure, etc.) but didn't see anything that stood out as being a possible for this application. It's probably me that hasn't understood due to my lack of I.T. knowledge so please excuse me if that's that case.

    Regards


  • #7
    Registered
    Join Date
    Sep 2005
    Location
    USA
    Posts
    221
    Downloads
    0
    Uploads
    0

    Documenting process..

    Quote Originally Posted by skippy View Post
    Hi REVCAM_Bob,
    Probing is a subject that interests a lot of us here but very little seems to be documented about the process. There's plenty on edge & centre finding and height sensing but surprisingly little on probing for free form organic surfaces. Assuming this is what you are trying to do, any chance you could document your progress here?
    Regards
    Phil
    Yes, I can document what I find here, I think it will really help others, and me too, as the more people are engaged the more good ideas come to light.

    On that note:
    The reason I am doing what I am doing is to improve the usfullness of probes on our cnc mills. From what I have seen there is very little being done "well" that makes a probe a reliable usfull and automated tool. One guy I talked to showed me what you can do from a Haas control, and all these pre-canned cycles are very basic at best, do not include any form of real error checking, redundancy checks etc.
    This particular company basically does not use their probes due to the fact that a probe will not detect a chip in the way, does not "self detect" errors in the probe setup etc.
    My goal is to automate some of these things so that the probe can be considered a reliable tool.
    To do this I don't think it makes sense to delve deeply into attempting all of this with macros on the machine tool, rather I woul like to put the data out to a computer so that I can use real programing language and routines to automatically create probe points on the cad data, i.e. to probe a pocket you do not want to just probe two sides of the pocket and expect the result to be reliable. I think I want to probe two opposite sides, and probe each side in 5 or more places, check the consistency of the data and if one or more points looks suspect (i.e. not uniformly consistent with the others) throw the bad points out, or alert the operator or something.
    The goal is to include the probing into the cad/cam routines directly mesure mid cycle, make cutter comp adjustments and finish cutting the pockets.....
    So anyways, Yes I will post my results here.....

    Thanks!


  • #8
    Registered
    Join Date
    Sep 2005
    Location
    USA
    Posts
    221
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by bonmotwang View Post
    If just want to capture the waveform, you will need a data logger to capture the data into a PC.
    I am doing that all the time, part of my job is to analysis the communication protocol. Sometimes reverse engineering the protocol in some old machines.
    There is a tool called digital analyzer:-D.
    Search eBay you will find one for your frequency.


    Sent from my iPhone using Tapatalk
    Hi, I am actually trying to capture probed points from the CNC control.
    There is an option on the Fadal (as well as most other controls I am sure) that will send the probed xyz coordinates to the rs-232 port.
    So my first step is how to get those points saved to a text file on the pc so I can pass each point to the cad/cam system and the accompanying software that will run calculations on the probed point. So I am not trying to capture free form surfaces per see, however the concept is faily close to being the same procedure I would imagine......


  • #9
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4519
    Downloads
    0
    Uploads
    0
    Post what you have come up with in the way of macros for Fadal so that others can offer input on how to complete and improve them.
    http://www.kirkcon.com/


  • #10
    Registered Neal's Avatar
    Join Date
    Mar 2003
    Location
    Chatsworth, Ca
    Posts
    900
    Downloads
    0
    Uploads
    0
    Simply use the SPRINT statement to out put the P1 P2 and P3 probed points. Don't make it complcated. You need a waiting program on the remote PC to capture the incoming data.

    Neal


  • #11
    Registered
    Join Date
    Sep 2005
    Location
    USA
    Posts
    221
    Downloads
    0
    Uploads
    0

    Sprint?

    Hi Neal, I am guessing the sprint command can be used within a program?
    That would be cool. I was experimenting today, and the book says the g31 command is supposed to dumpt the data directly to the rs232 port.
    Perhaps the sprint command will work. I will try it.
    Being able to control how and when the data is sent will likely be a better approach.
    Since you seem to be in the "know", could you tell me if the same cable we use to send programs to the fadal will work for recieving data? I have made the assumption that it will, but when I couldn't get anything to read today, I started questioning everything.

    Thanks for the tip!


  • #12
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4519
    Downloads
    0
    Uploads
    0
    The cable is the same. Might need different software. Or use Windows Hyperterminal. Most software has time out setting. unless your software can be set to never time out, you might have issues.
    http://www.kirkcon.com/


  • Page 1 of 3 123 LastLast

    Similar Threads

    1. Need Help!- ABOUT GETTING DATA FROM RS232 FROM cnc MACHINE
      By heena123 in forum CNC-Zone
      Replies: 0
      Last Post: 07-19-2011, 08:17 AM
    2. rs232 port on M1
      By apylus444 in forum Mazak, Mitsubishi, Mazatrol
      Replies: 4
      Last Post: 02-04-2011, 02:45 AM
    3. rs232 port usb port question
      By beekeeper in forum Controller & Computer Solutions
      Replies: 3
      Last Post: 09-24-2010, 04:36 PM
    4. USING RS232 DPRNT W/DATA SERVER (18)
      By marcwdci in forum Fanuc
      Replies: 8
      Last Post: 03-29-2010, 12:36 PM
    5. Probe output data??
      By mgb1974 in forum Haas Mills
      Replies: 7
      Last Post: 10-31-2008, 11:20 AM

    Tags for this Thread

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.