absolute value extracting to a coordinate


Results 1 to 3 of 3

Thread: absolute value extracting to a coordinate

  1. #1
    Member
    Join Date
    Jul 2014
    Posts
    221
    Downloads
    0
    Uploads
    0

    Default absolute value extracting to a coordinate

    I would like to have a variable which is negative by default so I can either choose to use it like that, or to use its absolute value when needed but I dont want to add another variable for its absolute value counterpart and i dont know how to do it without it.

    for example If i got variable:
    #100=-20.;

    then I have to add another variable:
    #101=ABS#100;

    to have both values and then I can choose to use:
    X#100 or X#101, but when I try to use

    XABS#100
    it doesnt work.
    or
    X[ABS#100]
    doesnt work
    or
    X[ABS(#100)]
    it doesnt work
    or
    X[ABS[#100]]
    it doesnt work.

    is there a way to do this?
    thanks.

    Similar Threads:


  2. #2
    Member
    Join Date
    Feb 2011
    Location
    usa
    Posts
    353
    Downloads
    2
    Uploads
    0

    Default Re: absolute value extracting to a coordinate

    #100=-20.
    #101=20.

    XABS#100
    it doesnt work.
    or
    X[ABS#100]
    doesnt work
    or
    X[ABS(#100)]
    it doesnt work
    or
    X[ABS[#100]]
    it doesn't work.

    all these are #101
    X#101 would be the same if you are trying to do something we need more information



  3. #3
    Member
    Join Date
    Jul 2014
    Posts
    221
    Downloads
    0
    Uploads
    0

    Default Re: absolute value extracting to a coordinate

    sorry it worked with
    X[ABS#101]
    I dont know how i missed it so the topic can be closed
    thanks.



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

absolute value extracting to a coordinate

absolute value extracting to a coordinate