Okuma Macro and writing to file


Results 1 to 4 of 4

Thread: Okuma Macro and writing to file

  1. #1
    Member
    Join Date
    Jun 2004
    Location
    United Kingdom
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default 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

    Similar Threads:


  2. #2
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    3309
    Downloads
    0
    Uploads
    0

    Default 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 Okuma Macro and writing to file-untitled-png  
    Last edited by deadlykitten; 05-12-2021 at 02:38 PM.
    raise by handling inner self conflicts, then even more, by trying not to be alone; emotions is all that truly matters ... war against awareness started more than a lifetime ago


  3. #3
    Member
    Join Date
    Jun 2004
    Location
    United Kingdom
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default 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 deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    3309
    Downloads
    0
    Uploads
    0

    Default 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

    Last edited by deadlykitten; 05-13-2021 at 02:21 AM.
    raise by handling inner self conflicts, then even more, by trying not to be alone; emotions is all that truly matters ... war against awareness started more than a lifetime ago


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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Okuma Macro and writing to file

Okuma Macro and writing to file

Okuma Macro and writing to file