585,951 active members*
3,887 visitors online*
Register for free
Login

Thread: NET S code

Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2012
    Posts
    12

    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

  2. #2
    Join Date
    Oct 2004
    Posts
    94
    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
    Join Date
    May 2006
    Posts
    4045

    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
    TK
    http://dynomotion.com

  4. #4
    Join Date
    Mar 2012
    Posts
    12

    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

Similar Threads

  1. Replies: 51
    Last Post: 09-16-2020, 01:28 AM
  2. mach3 crashing with run of code/drilling holes through table with other code
    By normalform in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 07-28-2014, 03:38 AM
  3. corel.hpgl > sheetcam.tap > pronterface.g-code > slic3r.g.code> ramps 1.4 > H-BOT
    By thesignworks in forum Uncategorised CAM Discussion
    Replies: 0
    Last Post: 05-25-2014, 02:11 PM
  4. Converting Fanuc G code to Seimens 840D G code
    By Jasbinder in forum SIEMENS -> Sinumerik 802D/808D/810D/828D/840D
    Replies: 2
    Last Post: 02-20-2011, 05:02 PM
  5. Replies: 8
    Last Post: 12-15-2010, 09:32 PM

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
  •