Results 1 to 2 of 2

Thread: julian date engraving

  1. #1
    Registered
    Join Date
    Jan 2005
    Location
    usa
    Posts
    15
    Downloads
    0
    Uploads
    0

    julian date engraving

    I need to make a program for julian date engraving on mazak nexus 6000 horizontal mill. I'm not worried about the actual engraving, just the changing date part. I know there are parameters to read the date and time, but I'm not sure how to make it automatically change each day. It's running in EIA. Anyone got any ideas?


  2. #2
    Registered
    Join Date
    Mar 2005
    Location
    Silicon Valley, CA
    Posts
    988
    Downloads
    0
    Uploads
    0
    You can use the machine variables to read the date and as long as your clock and calendar is correct on the control, you can have this update itself daily using macros. The only trick here is that the date is a calendar and not a julian date or week number if that's what you need.

    For example, if all you need to know is that today is May 13, that's what you'll get from the machine variable. However, if you need to know that today is actually Julian 133 for the year 2011, this is another issue (or any other form for Julian dating). For this, you'll need a seperate macro to recalculate the julian date based on the calendar day of the control as it changes.

    For Matrix controls, the variable for the calendar is #3011. When you read #3011, the output is Yr > Month > Day. So reading #3011 today will give you a result of 20110513. From this, you need to extract what ever digit(s) you need for your engraving. The variable updates itself everyday on it's own at midnight just like any other date clock you might have at home.

    For Fusion controls, the variable is the same but the output is a bit different as the year only posts the last 2 digits. So today would be 110513.
    It's just a part..... cutter still goes round and round....


Similar Threads

  1. Any news on the X7 release date?
    By les99 in forum Syil Products
    Replies: 15
    Last Post: 01-15-2009, 08:46 AM
  2. X3 release date
    By foxsquirrel in forum Mastercam
    Replies: 21
    Last Post: 09-19-2008, 08:17 AM
  3. X7 release date ?
    By acidcustom in forum Syil Products
    Replies: 9
    Last Post: 07-08-2008, 05:15 AM
  4. How to set the time and date
    By DomB in forum Haas Mills
    Replies: 7
    Last Post: 03-10-2007, 06:03 PM
  5. Date for 3000 mem.
    By toolmkrman in forum CNCzone Club House
    Replies: 6
    Last Post: 11-06-2003, 04:02 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.