586,094 active members*
4,177 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Posts
    88

    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
    Join Date
    Jan 2011
    Posts
    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
    Join Date
    May 2004
    Posts
    97
    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, 10:15 PM
  2. Replies: 4
    Last Post: 11-12-2010, 06:44 AM
  3. DPRINT with EThernet
    By Torsten in forum Fanuc
    Replies: 3
    Last Post: 07-16-2010, 01:30 AM
  4. Dprint to hard drive ?
    By kojack in forum Haas Mills
    Replies: 0
    Last Post: 06-14-2009, 09:46 PM
  5. # sign using dprint
    By Buddy Swanson in forum Parametric Programing
    Replies: 0
    Last Post: 01-04-2009, 07:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •