Problem Offset axis Interpreter


Results 1 to 5 of 5

Thread: Offset axis Interpreter

  1. #1
    Member
    Join Date
    Mar 2012
    Location
    00012345
    Posts
    12
    Downloads
    0
    Uploads
    0

    Thumbs up Offset axis Interpreter

    Hi, first of all good card I'm using it on an old cnc.
    Language vb net and I must say that by the time the libraries are complete.
    I have only one question with Interpreter GCode I run the gcode with an offset

    example my gcode origin 0 files but I would run it (100,100,0,100) without changing the gcode (I hope I explained myself)
    gcode same but performed several times in different positions changing only offset

    * I tried the following two solutions:
    *
    * _Controller.CoordMotion.Interpreter.SetOrigin (100, 100, 0, 100, 0, 0, 0)
    or
    _Controller.CoordMotion.Interpreter.SetupParams.A_ AxisOffset = 100 etc.

    Thank you

    Similar Threads:


  2. #2
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default Re: Offset axis Interpreter

    Hi Fledge2b,

    You should be able to use SetOrigin. But I believe you are missing the first parameter. Did that compile?

    See the definitiion:

    /// <summary>
    /// Sets the origin offset
    /// </summary>
    /// <param name="index">Origin index - 0 for G92 offsets, 1-9 for fixture offsets</param>
    /// <param name="x">X offset</param>
    /// <param name="y">Y offset</param>
    /// <param name="z">Z offset</param>
    /// <param name="a">a offset</param>
    /// <param name="b">b offset</param>
    /// <param name="c">c offset</param>
    public void SetOrigin(int index, double x, double y, double z, double a, double b, double c)

    HTH
    Regards

    Regards
    TK http://dynomotion.com


  3. #3
    Member
    Join Date
    Mar 2012
    Location
    00012345
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default Re: Offset axis Interpreter

    other question always with an interpreter
    I have to make a slave axis in the movement use "MasterAxis3 = -1" but does not work with an interpreter how can I do?

    thanks



  4. #4
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default Re: Offset axis Interpreter

    Hi Fledge2b,

    I don't really understand your question. But the Interpreter doesn't need to handle the slave axis. The Interpreter and Coordinate Motion System will only command the Master Axis. If KFLOP is properly configured it will cause the Slave to follow the Master.

    Regards

    Regards
    TK http://dynomotion.com


  5. #5
    Member
    Join Date
    Mar 2012
    Location
    00012345
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default Re: Offset axis Interpreter

    the problem was in the configuration
    "DefineCS = {0} {1} {2} {3} {4} {5}", 0, 1, 2, 3, -1, -1)

    solved
    * thank you



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

Offset axis Interpreter

Offset axis Interpreter