585,665 active members*
3,130 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > Okuma FWRITC command
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2004
    Posts
    7

    Post Okuma FWRITC command

    Hi All,

    When writing to a file on the Okuma,
    Is it possible to use a variable within the FWRITE command.

    I'd like to save individual files using a time stamp format

    IE:-

    DATACATCH - 26-05-21
    DATACATCH - 27-05-21
    DATACATCH - 28-05-21
    ETC

    If possible I would assume its something like

    FWRITC MD1 : DATACATCH - {DATE}.TXT;A

    Thanks in advance
    Alan

  2. #2
    Join Date
    Jun 2004
    Posts
    7

    Re: Okuma FWRITC command

    I've had a further look.

    Can anyone tell me whether the following is the correct syntax for what I'm trying to achieve.

    FWRITC MD1: DATACATCH - [VTIME].TXT;A

  3. #3
    Join Date
    Jun 2015
    Posts
    4154

    Re: Okuma FWRITC command

    hy what kind of data are you recording ?

    Code:
        FWRITC daily.txt;A
        PUT '    '         ( tab )
        PUT VTIME [ 1 ] , 4
        PUT ' . '
        PUT VTIME [ 2 ] , 2
        PUT ' . '
        PUT VTIME [ 3 ] , 2
        PUT '    '
        PUT VTIME [ 4 ] , 2
        PUT ' . '
        PUT VTIME [ 5 ] , 2
        PUT ' . '
        PUT VTIME [ 6 ] , 2
        WRITE C
        CLOSE C
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

Similar Threads

  1. Replies: 1
    Last Post: 04-08-2016, 02:55 AM
  2. Okuma MX-60HB SVP Speed Command alarm
    By Chinook0 in forum Okuma
    Replies: 0
    Last Post: 02-04-2015, 09:09 PM
  3. Okuma OSP5000L 2151 Command Error in MDI
    By twicecustom in forum Okuma
    Replies: 4
    Last Post: 09-03-2012, 08:22 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
  •