Results 1 to 3 of 3

Thread: Argument Specification II

  1. #1
    Registered
    Join Date
    May 2007
    Location
    US
    Posts
    779
    Downloads
    0
    Uploads
    0

    Argument Specification II

    Does NcPlot handle sub calls using argument specification type II?
    So all 33 parameters can be used.

    Code:
    G65 P9500 Ax.x Bx.x Cx.x Ix.x Jx.x Kx.x Ix.x Jx.x Kx.x Ix.x Jx.x Kx.x Ix.x Jx.x Kx.x Ix.x Jx.x Kx.x Ix.x Jx.x Kx.x Ix.x Jx.x Kx.x Ix.x Jx.x Kx.x Ix.x Jx.x Kx.x Ix.x Jx.x Kx.x


  2. #2
    Gold Member MetLHead's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    749
    Downloads
    0
    Uploads
    0
    Hi Andre',

    No, it doesn't. Do you have a machine set up this way?

    Scott


  3. #3
    Registered
    Join Date
    May 2007
    Location
    US
    Posts
    779
    Downloads
    0
    Uploads
    0
    I have a programming project where I may need to pass in more parameters then are available with spec. I.

    I believe it is not something that needs to be setup in the machine but just depends on how the order of the parameters in the G65/66 call line. At least that is what the manual says I have not tested it on the machine yet, need to find some time when it is not running parts.

    I can use global vars. if I need to, I just do not like doing that unless they are actually being used globally.

    A simple workaround I can use for testing in NCPlot is to put some code at the top of the sub to copy variables #901 - #933 to #1 - #33 and then put some similar code before each sub call in the main program to load up the 900 variables.

    Since this machine does not have the optional variables it should just cause an error if the copy code does not get deleted before the program gets to the machine.


Similar Threads

  1. 17PM-H311-P1 specification
    By dbunic in forum Stepper Motors and Drives
    Replies: 10
    Last Post: 11-26-2010, 01:46 AM
  2. Forum Bug- Missing Argument
    By ger21 in forum Forum Questions or Problems
    Replies: 25
    Last Post: 03-19-2008, 04:22 PM
  3. What is the specification of Stepper motor
    By sanjiv in forum Stepper Motors and Drives
    Replies: 5
    Last Post: 03-13-2007, 05:23 AM
  4. R8 Spindle Specification (M1TR?)
    By lmartin1001 in forum Mechanical Calculations/Engineering Design
    Replies: 1
    Last Post: 10-16-2006, 02:13 PM
  5. Open Source CNC Controller Specification
    By gregmary in forum DIY CNC Router Table Machines
    Replies: 28
    Last Post: 12-04-2005, 10:58 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.