544,159 active members*
2,786 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > Okuma Macro and writing to file
Results 1 to 4 of 4
  1. #1
    Registered
    Join Date
    Jun 2004
    Posts
    6

    Okuma Macro and writing to file

    Hi all,

    It's been a while, so a quick re-intro.

    I've been an engineer for 35 years, programming CNC Fanuc for most of those years,

    recently I been introduced to the Okuma MU6300V machines, I'm ok programming in Fanuc Macro B but never programmed Okuma.

    I like the idea of writing reports on the machine,

    I've included a snippet of code below, Is this the best way to do this or is there a better way ?

    Also does anyone have a manual with examples / best practice on this topic.


    Thanks in advance for any help, I think I'll be spending quite a while in the forum.

    Alan

    IF [PRODRUN EQ 1] PT1
    PUT ‘No’
    GOTO PT2
    PT1 PUT 'Yes'
    PT2
    WRITE C

  2. #2
    Member
    Join Date
    Jun 2015
    Posts
    3310

    Re: Okuma Macro and writing to file

    hy, your code is fine pls check attached tiny mess

    with osp installed on windows, all kinds of reports can be created, all kind of apps can be used / kindly
    Attached Thumbnails Attached Thumbnails Untitled.png  
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  3. #3
    Registered
    Join Date
    Jun 2004
    Posts
    6

    Re: Okuma Macro and writing to file

    Thanks for the overcheck and info Kitten.

    Could you give me more info on the OSP software.
    If it’s a download, could you attach a link please.

    Thanks

    Alan

  4. #4
    Member
    Join Date
    Jun 2015
    Posts
    3310

    Re: Okuma Macro and writing to file

    what kind of infos are you interested in ? do you wish for help, or a second opinion on a random code ?

    at this point, you are too general, so i can't give you a specific answer; if you have doubts on something, or you need anything, just say it

    Also does anyone have a manual with examples / best practice on this topic
    don't go that way, it will waste your time; you don't need books; just start with simple stuff, then develop it ( if someone spents a few hours writing his own macro is way much better than reading best books that are out there ); what else to expect from "if-then" and "V2=V1+1" and system variables ? in the end, is all about how you nest the 'if's'; that's all how you allready know fanuc macro b, then i guess all you need is a transition to okuma
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

Similar Threads

  1. Replies: 6
    Last Post: 03-06-2017, 05:44 PM
  2. Help with Siemens Macro Reading and Writing to a file
    By vfsi in forum SIEMENS Sinumerik CNC controls
    Replies: 0
    Last Post: 10-15-2016, 12:59 AM
  3. Writing time into file...Siemens 840d
    By kotlas6667 in forum SIEMENS Sinumerik CNC controls
    Replies: 9
    Last Post: 04-22-2015, 04:19 PM
  4. Help writing chip breaker custom macro
    By MCImes in forum Fanuc
    Replies: 10
    Last Post: 10-31-2011, 05:34 PM
  5. Writing of macro program
    By Freiburgerr in forum Mazak, Mitsubishi, Mazatrol
    Replies: 3
    Last Post: 10-03-2010, 08:34 AM

Tags for this Thread

Posting Permissions

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