Results 1 to 4 of 4

Thread: system variables vs parameters

  1. #1
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0

    system variables vs parameters

    Are system variables of macros and machine parameters similar (why should these be treated as different)?
    If yes, is it possible to set machine parameters through a macro?
    Of course, if a machine does not have Custom Macro B, then this question does not arise.


  2. #2
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,942
    Downloads
    0
    Uploads
    0
    Variables are just that, storage registers, they can be manipulated by program commands to achieve mathematical results, or system Variables can be read to inquire the machine state etc.
    Parameters are settings that configure the machine characteristics such as servo tuning, encoder resolution and machine options as a few examples.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  3. #3
    Registered
    Join Date
    Mar 2005
    Location
    Silicon Valley, CA
    Posts
    988
    Downloads
    0
    Uploads
    0
    If yes, is it possible to set machine parameters through a macro
    Yes, it is possible to set/change some machine parameters with a macro.... but not all.


    EDIT: I should add though, its more readily done by using G10
    It's just a part..... cutter still goes round and round....


  4. #4
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    This example is from Oi-MB manual (P. 366):
    G10 L50;
    N3404 R00000100;
    G11;

    My question is that why is it not permitted (or is it permitted?) to simply use
    #3404 = 4; in the main program or in a macro (decimal 4 is equivalent to binary 100), which will make our life much easier !! Afterall, some system variables are read/write type, which can be modified as well. Why does the control differentiate between parameters and system variables?

    Of course, when the same parameter refers to different axes, as in the following case (taken from the same manual), it may not be possible:
    G10 L50;
    N1322 P3 R4500; (modify Z axis)
    N1322 P4 R12000; (modify A axis)
    G11;

    Incidently, can we write N3404 R4 in the first example? Is it that some R words must be binary while some other must be decimal?


Similar Threads

  1. System variables
    By cncwhiz in forum Fanuc
    Replies: 6
    Last Post: 01-17-2008, 11:27 PM
  2. System variables in a O-MD
    By AZDEN in forum Fanuc
    Replies: 1
    Last Post: 10-23-2007, 11:50 AM
  3. Output parameters as variables
    By viorel26 in forum Fanuc
    Replies: 4
    Last Post: 10-03-2007, 03:14 AM
  4. System variables
    By jorgehrr in forum G-Code Programing
    Replies: 8
    Last Post: 02-18-2007, 08:26 PM
  5. Mori Seiki MF-T6 System Variables
    By EvilScooby in forum General CAM Discussion
    Replies: 0
    Last Post: 06-12-2003, 08:32 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.