584,860 active members*
5,239 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > CamWorks > UPG - how to do a simple equation in the post?
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2006
    Posts
    259

    UPG - how to do a simple equation in the post?

    I'm just trying to get camworks to post out my dwell correctly. All I want to do is have the post pick up the spindle speed and divide that by 120.. I've tried everything that I can think of. I would think having this in the cycle would work
    Code:
     P<%:(120/OPR_SPEED)
    but it just returns 000..

    Any ideas?
    Just when you thought you had it all figured out, all hell breaks loose..

  2. #2
    Join Date
    Dec 2010
    Posts
    126

    Re: UPG - how to do a simple equation in the post?

    I'm by no means an expert on this, but when I have to do something like this I format it as follows,

    P<#:ABS(120/OPR_Z_SPEED)>

    You have to make sure the entire equation is in parenthesis, and that the entire variable is within brackets < & >. You should be using the pound sign instead of the percent as well. Finally, you have to make sure that the variable is being output at a time when the spindle speed is not zero. I know that sounds dumb, but it can happen.

    Hope that helps.

  3. #3
    Join Date
    Mar 2008
    Posts
    111

    Re: UPG - how to do a simple equation in the post?

    So that should be, P<%OPR_SPEED/120)

    I'm sure your VAR would be more than willing to help you out

  4. #4

    Re: UPG - how to do a simple equation in the post?

    :T:P<%: (OPR_SPEED/120)><EOL>

    Make sure you had put this after at least one tool section, or it will always be zero.

Similar Threads

  1. Equation in SW 2010
    By Jerseycnc in forum Solidworks
    Replies: 5
    Last Post: 03-22-2011, 03:27 PM
  2. Equation Problem
    By Normsthename in forum Solidworks
    Replies: 2
    Last Post: 12-08-2010, 02:29 PM
  3. Macro and/or Equation help
    By Gregory1966 in forum Solidworks
    Replies: 2
    Last Post: 02-25-2010, 01:53 PM
  4. deriving quadratic equation
    By HuFlungDung in forum Uncategorised CAM Discussion
    Replies: 1
    Last Post: 02-05-2008, 06:12 PM
  5. Equation format in g-code
    By Jester966 in forum G-Code Programing
    Replies: 5
    Last Post: 07-09-2007, 02:39 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
  •