Need Help! Parameter change from nc program on Heidenhain TNC640


Results 1 to 4 of 4

Thread: Parameter change from nc program on Heidenhain TNC640

  1. #1
    Registered
    Join Date
    Mar 2006
    Location
    Denmark
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Parameter change from nc program on Heidenhain TNC640

    Hello.

    Does anyone know how I can use the "WRITE TO PLC KEY" command on a TNC640?

    What I need is to change the safedistance on the TT tool measurement probe.

    On the TNC530 i used:
    "FN 17: SYSWRITE ID 1000 NR6540 IDX0 =+5" for 5mm safedistance.

    But how do I do this on the TNC640?

    In the plc it looks like this:

    CfgTTRoundStylus (
    key:="TT",
    centerPos:= [
    0,
    0,
    0
    ],
    stylusAxis:=Z_Positive,
    stylusDimension:=22,
    safetyDistToolAx:=5,
    safetyDistStylus:=5

    it is the "safetyDistToolAx" i need to change from the nc program

    -regards

    Similar Threads:


  2. #2
    Member
    Join Date
    Mar 2016
    Location
    Poland
    Posts
    325
    Downloads
    0
    Uploads
    0

    Default Re: Parameter change from nc program on Heidenhain TNC640

    check the MPs it has to be there



  3. #3
    Registered
    Join Date
    Mar 2006
    Location
    Denmark
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Re: Parameter change from nc program on Heidenhain TNC640

    Quote Originally Posted by steryd View Post
    check the MPs it has to be there
    It is there. But I need to change it from the NC program. Not by entering the MP manually.

    -Regards



  4. #4
    Member
    Join Date
    Dec 2011
    Location
    Hungary
    Posts
    99
    Downloads
    0
    Uploads
    0

    Default Re: Parameter change from nc program on Heidenhain TNC640

    Machine parameters can be read in the NC program:
    DECLARE STRING QS10 = "" ;no key name, global parameter
    DECLARE STRING QS11 = "CfgTTRoundStylus" ;name of configuration object
    DECLARE STRING QS12 = "safetyDistStylus" ;attribute name (= parameter)
    Q1 = CFGREAD( KEY_QS10 TAG_QS11 ATR_QS12 )

    The machine parameters can be overwritten only the PLC program... (Module 9430, 9432, 9433)



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

Parameter change from nc program on Heidenhain TNC640

Parameter change from nc program on Heidenhain TNC640