Page 2 of 2 FirstFirst 12
Results 13 to 15 of 15

Thread: Double End in a While Loop

  1. #13
    Registered
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    987
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by ggborgen View Post
    Gentlemen,
    Will this work?

    WHILE[#***LE#***]DO1
    ***
    ***
    G65P****
    ***
    ***
    END1
    Basically make another macro call in side a While loop. Thanks
    Yes, that's allowable.

    Regards,

    Bill


  2. #14
    Registered
    Join Date
    Sep 2011
    Location
    USA
    Posts
    58
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by sinha_nsit View Post
    Incidently, this feature is not available in even high-level languages such as Pascal.
    Sure it is... for instance in C the function is atan2(a,b)


    Pascal, how quaint! Even its creator has disavowed all knowledge of and responsibility for that horrid language...


    As far a CNC controls, there are numerous implementation of the ATAN function. Some machines do the two argument form and others do the single argument form. Others implement both versions (with different function names). Common function names for the atan function are ATN, ATAN, ATAN2, ARG, DTF, etc. One has to RTFM to know what your machine expects. Then one has to test that info to know what your machine actually does.


  3. #15
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    Thanks for info.
    I have not learnt C. When I was student, 30+ years back, C was taught only to computer science students. For others, it was Pascal, and was considered better than Fortran which is not a structured language. Things have changed now.


Page 2 of 2 FirstFirst 12

Similar Threads

  1. Open Loop to Closed Loop Stepper Conversion
    By beamhome in forum Stepper Motors and Drives
    Replies: 10
    Last Post: 08-14-2012, 03:58 AM
  2. New 6-axis Double-Closed-Loop Controller?
    By brccrb in forum Product and Manufacturer Announcements
    Replies: 28
    Last Post: 03-04-2009, 10:46 PM
  3. Replies: 628
    Last Post: 02-02-2009, 08:47 AM
  4. CNC Brain is ready! 6-axis Double Closed Loop Controller
    By brccrb in forum Product and Manufacturer Announcements
    Replies: 374
    Last Post: 09-17-2008, 08:42 PM
  5. question on closed loop vs open loop (servo systems)
    By boonie in forum Servo Motors and Drives
    Replies: 20
    Last Post: 11-09-2007, 01:30 PM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.