underline in NC macro

Results 1 to 2 of 2

Thread: underline in NC macro

  1. #1
    Registered Holterdipolter's Avatar
    Join Date
    Mar 2009
    Location
    Windhagen
    Posts
    78
    Downloads
    0
    Uploads
    0

    Default

    Hello

    everyone I want to insert a NC macro into a process run in order to occupy a zero point with keyed values. Joker is a Siemens 840D PL.
    It should look like this:
    *STOPRE
    *R13=R143-3
    *R21=-R13+329
    *R31=-R21
    *STOPRE
    *$P_UIFR[1,Z,TR]=R13
    *$P_UIFR[2,X,TR]=R21
    *$P_UIFR[3,X,TR]=R31
    *STOPRE

    It works well so far apart from the underline between $P and UIFR. It’s not given out in the NC program.
    In there is simply an empty space. However it’s really necessary for the instruction.
    Does anybody have an idea how to insert it?

    Thank you very much



  2. #2
    Registered Holterdipolter's Avatar
    Join Date
    Mar 2009
    Location
    Windhagen
    Posts
    78
    Downloads
    0
    Uploads
    0

    Default

    So
    If anybody is interested here the solution:
    Place a % before the empty space... then it works.
    Maybe it helps anybody as well!



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

underline in NC macro

underline in NC macro