Results 1 to 3 of 3

Thread: DPRINT FUNCTION

  1. #1
    Registered
    Join Date
    Oct 2007
    Location
    usa
    Posts
    44
    Downloads
    0
    Uploads
    0

    DPRINT FUNCTION

    We have only Citizen Swiss with Mitsubishi controls. Can anybody give me some detailed help on how to use the DPRINT function? Our new L20 typeIX and the M32 Y's seem to have this function, but i am clueless on how to use it. I have googled info and not seeing anything Mitsubishi. The stuff that i have looked at is not sinking in. Please help if you can or point me in the right direction. Thanks!


  2. #2
    Registered
    Join Date
    Jan 2011
    Location
    USA
    Posts
    94
    Downloads
    0
    Uploads
    0

    Dprint

    Machine tool builders vary the controller's functional implementation , and as
    such, some of the information below may be handled differently in
    the parameter numbers etc. However, the DPRN function works
    pretty much the same regardless of implementation.

    DPRNT is a feature that allows macro programs to output information to
    external data files. You need to set up your parameters before you can use it
    though.

    Parameter set up:
    #1127 digit alignment (try to leave at zero at first)
    #9007 This is a logical port to output your data. Set to 9 to write to memory
    #9008 set to 0 (zero)
    #9054 File name to write data to
    #9112 set to 1 to insert cr/lf code

    You must first issue a POPEN in your macro before you attempt to use
    DPRNT, and when you're done writing your data do a PCLOS.

    Heres a simple example:

    #1=12.34;
    #2=#0
    #100=-123456789.;
    #500=-0.123456789;
    POPEN;
    DPRNT[]; (print blank line)
    DPRNT[VAL-CHECK]; (this is just printing the text string)
    DPRNT[1234567890];
    DPRNT[#1[44]];
    DPRNT[#2[44]];
    DPRNT[#100[80]]; (the [80] is the digits left and right of the decimal ie.8.0)
    DPRNT[#500[80]];
    DPRNT[#100[08]];
    DPRNT[#500[08]];
    PCLOS;



    further information can be found in the programmers manual for your machine


  3. #3
    Registered
    Join Date
    May 2004
    Location
    United Kingdom
    Posts
    80
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by camsys View Post
    Parameter set up:
    #1127 digit alignment (try to leave at zero at first)
    #9007 This is a logical port to output your data. Set to 9 to write to memory
    #9008 set to 0 (zero)
    #9054 File name to write data to
    #9112 set to 1 to insert cr/lf code
    Are these parameters specific to the Citizens with Mitsubishi controls?
    I don't suppose you have a manual with this information in?


Similar Threads

  1. DPRINT Command 18Mi
    By RLMTS in forum Fanuc
    Replies: 9
    Last Post: 11-09-2011, 04:15 PM
  2. Replies: 4
    Last Post: 11-12-2010, 12:44 AM
  3. Problem- DPRINT with EThernet
    By Torsten in forum Fanuc
    Replies: 3
    Last Post: 07-15-2010, 08:30 PM
  4. Dprint to hard drive ?
    By kojack in forum Haas Mills
    Replies: 0
    Last Post: 06-14-2009, 04:46 PM
  5. # sign using dprint
    By Buddy Swanson in forum Parametric Programing
    Replies: 0
    Last Post: 01-04-2009, 01:45 PM

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.