pls, it is possible to ignore ( or reduce the answer time ) only for SB command ?


Results 1 to 5 of 5

Thread: pls, it is possible to ignore ( or reduce the answer time ) only for SB command ?

  1. #1
    scaring mice @ north pole deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    2338
    Downloads
    0
    Uploads
    0

    Default pls, it is possible to ignore ( or reduce the answer time ) only for SB command ?

    hello please, how is it possible to execute this code faster :

    Code:
    
        M110
    
        SB = 0300 M13
        SB = 0600
        SB = 0900
        SB = 1200
        ...
        SB = 3000
    each block is considered executed when the rpm reaches the program value ± 10 %, or something like that

    is it possible to replace, preferably from code, 10% with 25% ? or is there an acceleration parameter for the M axis ? for this instance, i wish to keep the stepped acceleration, but with minimal downtime

    onestly, if possible, i wish to execute all those SB lines, during a single linear movement

    kindly


    Similar Threads:
    Last edited by deadlykitten; 06-13-2018 at 07:21 AM.
    if you wish to be famous, first you have to succeed
    ... where is Sid ?



  2. #2
    Flies Fast Superman's Avatar
    Join Date
    Dec 2008
    Location
    Antarctica
    Posts
    2664
    Downloads
    0
    Uploads
    0

    Default Re: pls, it is possible to ignore ( or reduce the answer time ) only for SB command

    Look for M code to "M-tool Ignore speed answer" it may be M168 ... I think it is a 1 shot code ( works for only that line ), repeat the final speed with spindle on code (M3/4) so that the RPM check confirms correct speed

    usage
    SB=0300 M3 M168
    SB=0600 M168
    SB=0900 M168
    ....
    SB=2500 M13

    Mills use a different code M300/301/302 , so you can start moving while the RPM builds up to speed, the 2nd M3 is to check RPM & wait if it is not at speed yet
    ie
    G15 H1
    G0 Xxx Yyy S18000 M3 M300
    G56 Hhh Z3. M8 M3
    G1 Z-zz

    PS .... these codes are not on all machines, the manual indicates they are an option



  3. #3
    scaring mice @ north pole deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    2338
    Downloads
    0
    Uploads
    0

    Default Re: pls, it is possible to ignore ( or reduce the answer time ) only for SB command

    hy superman

    from my osp300 manual : M168 Transfer mode OFF (Dust collector duct Up)

    please, in what kind of manual did you find that "M-tool Ignore speed answer" ? if i search that phrase within my docs, i can't find a clue

    i am going to check my MG code list, and others ... maybe there is something / kindly


    if you wish to be famous, first you have to succeed
    ... where is Sid ?



  4. #4
    scaring mice @ north pole deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    2338
    Downloads
    0
    Uploads
    0

    Default Re: pls, it is possible to ignore ( or reduce the answer time ) only for SB command

    hello again / about repeating the SB across several lines, i remember that i was trying to do the a similar thing with the main spindle :
    ... N1 G01 X0 F ( face cut with 2000 rpm )
    ... N2 G97 S750 M03 M42 G00 M63 X_up
    ... N3 G97 S750 M03 M42 G00 M63 Z_left
    ... N4 G01 X<>0 F ( face cut with 750 rpm )
    thus going from 2000 to 750 in 2 steps, during 2 perpendicular linear movements; the linear movements were executed pretty fast, before the spindle would reach 750

    when i tested that code, the cnc executed N2 imediatly after N1, but N3 was executed only with rpm_confirmation, thus rpm was always 750±10 % when N3 begin execution





    in that example i did not used an intermediate rpm ( i guess it would have worked ), because i was looking for a general rpm_ignore, without using intermediate rpm values, executed during several linear movements; if i would use an intermediate rpm, this means to corelate the rpm_step with the length of the linear movement : possible, but too much time consuming

    if i remember right, i have tried modal_M63 and it worked ( N4 begined execution with rpm >> 750 ), but i have put it back to one_shot, because a modal_M63 may mean trouble in other cases; i guess it would be nice to trigger M63_modal / one_shot directly from the program code





    if M168 would work, than it would definetly shorten the execution time ; i hope that it would not shorten it too much, like how there are not intermediate SB steps / kindly

    ps :
    i am aware of the M300

    if you wish to be famous, first you have to succeed
    ... where is Sid ?



  5. #5
    scaring mice @ north pole deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    2338
    Downloads
    0
    Uploads
    0

    Default Re: pls, it is possible to ignore ( or reduce the answer time ) only for SB command

    hello guys / to save some time, i have modified my soubroutine, so now, instead of :

    Code:
        SB = rpm_1
        SB = rpm_2
        ...
        SB = rpm_n
        rapid travel among distance D
    
    it delivers

    Code:
        SB = rpm_1 + rapid travel among distance d = D / n + M63
        SB = rpm_2 + rapid travel among distance d = D / n + M63
        ...
        SB = rpm_n + rapid travel among distance d = D / n + M63
    
    there is some time gain, but turret movement is too jerky

    i would like to code it using a syntax similar to 2 turret lathes :


    Code:
    
        divide the controller into processes $1 and $2 ( each one of them starts executing at same moment )
    
        $1
             SB = rpm_1
             SB = rpm_2
             ...
             SB = rpm_n
            $    
    
        $2
             rapid travel among distance D
             $
    
        controller no longer in individual process mode ( this line is executed when both processes confirmed execution )
    please, imagine what if this was possible : you may control each axis without waiting for confirmation from other axis; it may be kind of a top tier CTR mode / kindly

    if you wish to be famous, first you have to succeed
    ... where is Sid ?



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

pls, it is possible to ignore ( or reduce the answer time  ) only for SB command ?

pls, it is possible to ignore ( or reduce the answer time  ) only for SB command ?