585,883 active members*
4,531 visitors online*
Register for free
Login
Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2007
    Posts
    13

    Writing time into file...Siemens 840d

    Hello
    I know how can i get one cycle time one part and i want to write the value into e.g program or some file. Is it possible?

  2. #2
    Join Date
    Nov 2011
    Posts
    40
    Hi kotlas6667

    Can you explain more in detail what are you trying to do i think i might be able to help you

  3. #3
    Join Date
    Dec 2007
    Posts
    13
    Hi
    My machine is connected to net and include hdd where i can conect e.g on F:\ (\\xxx.xxx.xxx.xxx\$f)
    Is possible or is it somewhere (in HDD) the registered value of the R parameters?

  4. #4
    Join Date
    Dec 2007
    Posts
    13
    Quote Originally Posted by IfeCro View Post
    Hi kotlas6667

    Can you explain more in detail what are you trying to do i think i might be able to help you

    Hi
    My machine is connected to net and include hdd where i can conect e.g on F:\ (\\xxx.xxx.xxx.xxx\$f)
    Is possible or is it somewhere (in HDD) the registered value of the R parameters?

  5. #5
    Join Date
    Nov 2011
    Posts
    40
    Yes it is possible.
    I am not sure if you can write on network location, but you can do that in your WPD or SPF or MPF directory on the machine.

    You can do that with WRITE command.

    I am using it to write my probing results into file "PROBE_RESULTS.SPF".

    Now you should do the same thing, but you will have to create your own cycle/macro with timer function and WRITE instructions of course.
    Then you call that cycle on beginning and end of your program with different parameter for ON/OFF

    Example:
    T1 D1
    M6
    TIMER(1) ;1 turns your timer ON
    ...
    ...
    G75 Z0
    TIMER(0) ;0 turns your timer OFF
    M30

    So i would do it like that if it was me.

  6. #6
    Join Date
    Dec 2007
    Posts
    13
    Quote Originally Posted by IfeCro View Post
    Yes it is possible.
    I am not sure if you can write on network location, but you can do that in your WPD or SPF or MPF directory on the machine.

    You can do that with WRITE command.

    I am using it to write my probing results into file "PROBE_RESULTS.SPF".

    Now you should do the same thing, but you will have to create your own cycle/macro with timer function and WRITE instructions of course.
    Then you call that cycle on beginning and end of your program with different parameter for ON/OFF

    Example:
    T1 D1
    M6
    TIMER(1) ;1 turns your timer ON
    ...
    ...
    G75 Z0
    TIMER(0) ;0 turns your timer OFF
    M30

    So i would do it like that if it was me.
    HM....
    1.how can i create own cycle?
    2.what will include (TIMER(1)) cycle?
    3.how do you write values into "PROBE_RESULTS.SPF"?

  7. #7
    Join Date
    Nov 2011
    Posts
    40
    That custom cycle writes the values by it self into my result file

    But if you never wrote any of your own cycles i think you might be in trouble.
    I am not sure if i can explain everything in details here.

    Contact me on PM and give me your e-mail we will discus some details and maybe later on this week i write you that cycle.

    Cheers

  8. #8
    Join Date
    Dec 2007
    Posts
    13
    Hi all!
    Writing is fine, but when writing the file is always loaded (mark X), and I want to this file after writing unloaded (without X). is it possible?
    Attached Thumbnails Attached Thumbnails unload.JPG  

  9. #9
    Join Date
    Apr 2002
    Posts
    5003
    Try downloading this file.

    Siemens Industry Online Support - Automation Service, Automation Support, Simatic Service, Simatic Support, Technical Support, Technical Consulting

    All of the functions with writing, reading parametres, math are listed there.

  10. #10
    Join Date
    May 2004
    Posts
    97

    Re: Writing time into file...Siemens 840d

    Quote Originally Posted by kotlas6667 View Post
    Hi all!
    Writing is fine, but when writing the file is always loaded (mark X), and I want to this file after writing unloaded (without X). is it possible?
    Hi there - did you ever find a solution to unload a Siemens program automatically?

Similar Threads

  1. Need Siemens 840D Help
    By gears2010 in forum SIEMENS -> Sinumerik 802D/808D/810D/828D/840D
    Replies: 5
    Last Post: 07-25-2013, 03:54 PM
  2. SIEMENS 840D
    By BKCOM in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 4
    Last Post: 12-08-2010, 11:21 PM
  3. Probing with Siemens 840D
    By tjseza in forum SIEMENS -> Sinumerik 802D/808D/810D/828D/840D
    Replies: 1
    Last Post: 11-24-2010, 05:29 AM
  4. Looking for some Siemens 840D work?
    By Irvingw in forum SIEMENS -> Sinumerik 802D/808D/810D/828D/840D
    Replies: 0
    Last Post: 02-11-2010, 08:31 PM
  5. VB & Siemens 840D
    By Thunder in forum Visual Basic
    Replies: 1
    Last Post: 09-22-2007, 04:28 PM

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
  •