Newbie NET S code


Results 1 to 4 of 4

Thread: NET S code

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

    Default NET S code

    NET with M code is used

    .CoordMotion.Interpreter.SetMcodeAction(6, KMotion_dotNet.MCODE_TYPE.M_Action_Program_wait_sy nc, 2, 9, 0, 0, 0, Application.StartupPath & "\C_Program\Home\CambioUt.c")


    S code?

    Thank you

    Similar Threads:


  2. #2
    Member
    Join Date
    Oct 2004
    Location
    USA
    Posts
    94
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Fledge2b View Post
    NET with M code is used

    .CoordMotion.Interpreter.SetMcodeAction(6, KMotion_dotNet.MCODE_TYPE.M_Action_Program_wait_sy nc, 2, 9, 0, 0, 0, Application.StartupPath & "\C_Program\Home\CambioUt.c")


    S code?

    Thank you
    For c# using the '&' character to join 2 Strings is incorrect. Use a '+' sign instead. Also '\' characters need to be escaped.

    Use
    Application.StartupPath + "\\C_Program\\Home\\CambioUt.c"
    Or
    Path.Combine (Application.StartupPath, @"\C_Program\Home\CambioUt.c")



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

    Default Re: NET S code

    Hi Fledge2b,

    What are you trying to do?

    What happens?

    I believe the S command is Action 10 not 6. 6 is M6 ToolChange

    Regards

    Regards
    TK http://dynomotion.com


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

    Default Re: NET S code

    I'm developing a software vb net and used for tool change M6
    SetMcodeAction (6, KMotion_dotNet.MCODE_TYPE.M_Action_Program_wait_sy nc, 2 etc. Etc.

    instead for S
    SetMcodeAction (10, KMotion_dotNet.MCODE_TYPE.M_Action_Program_wait_sy nc

    S use ... SetMcodeAction ....... led me astray the function name
    OK thanks



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

NET S code

NET S code