585,926 active members*
3,661 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2006
    Posts
    4

    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

  2. #2
    Join Date
    Mar 2016
    Posts
    325

    Re: Parameter change from nc program on Heidenhain TNC640

    check the MPs it has to be there

  3. #3
    Join Date
    Mar 2006
    Posts
    4

    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
    Join Date
    Dec 2011
    Posts
    99

    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)

Similar Threads

  1. Heidenhain TNC 426 - Parameter / PLC
    By rajappa in forum Deckel, Maho, Aciera, Abene Mills
    Replies: 12
    Last Post: 01-09-2024, 10:39 AM
  2. parameter heidenhain 630
    By joebrabo in forum Controller & Computer Solutions
    Replies: 4
    Last Post: 03-01-2016, 03:02 AM
  3. Replies: 5
    Last Post: 05-19-2015, 10:42 PM
  4. Parameter for: HEIDENHAIN TNC 407 B
    By elhosseiny in forum G-Code Programing
    Replies: 2
    Last Post: 08-22-2009, 08:49 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
  •