593,377 active members*
7,609 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > CNC Swiss Screw Machines > Citizen Cincom B12 Sub Program (Bar Feeder)
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2021
    Posts
    7

    Exclamation Citizen Cincom B12 Sub Program (Bar Feeder)

    Dear All,
    We have 1998 year B12 machine. (With pneumatic sub chuck and no live tool version).
    We created sub program for bar feeder to change the bar. Then, we added the sub program into the main program with M8 and M9. Like below;
    M8;
    M98 P15;
    M9;
    But we had an alarm message "078 NUMBER NOT FOUND".

    P15
    N10 M6;
    N20 G97 G99 M3 S600;
    N30 U13.0 W-60.0 F2.0;
    N40 S150;
    N50 M53;
    N60 M7;
    N70 M55;
    N80 M6;
    N90 M3 S600;
    N100 G1 W60.0 F2.0;
    N110 M3 S2500;
    N120 X-0.1 F0.03;
    N130 M7;
    N140 M99;
    %

    Can anybody tell me which code should ı use?

    Thanks in advance.

  2. #2
    Join Date
    Jun 2021
    Posts
    7

    Re: Citizen Cincom B12 Sub Program (Bar Feeder)

    Dear All,
    I changed the program number 4 digits and added / to the beginning of the M98 line.

    M8;
    /M98 P8999;
    M9;

    This time it did not give an error, but when it came to line M8, the program did not progress. It stopped but did not give any error. As a result, I couldn't get it to work again.

    Please help me for this sitiuation.
    Thanks.

  3. #3
    Join Date
    Oct 2024
    Posts
    3

    Re: Citizen Cincom B12 Sub Program (Bar Feeder)

    Quote Originally Posted by cbayram7 View Post
    Dear All,
    We have 1998 year B12 machine. (With pneumatic sub chuck and no live tool version).
    We created sub program for bar feeder to change the bar. Then, we added the sub program into the main program with M8 and M9. Like below;
    M8;
    M98 P15;
    M9;
    But we had an alarm message "078 NUMBER NOT FOUND".

    P15
    N10 M6;
    N20 G97 G99 M3 S600;
    N30 U13.0 W-60.0 F2.0;
    N40 S150;
    N50 M53;
    N60 M7;
    N70 M55;
    N80 M6;
    N90 M3 S600;
    N100 G1 W60.0 F2.0;
    N110 M3 S2500;
    N120 X-0.1 F0.03;
    N130 M7;
    N140 M99;
    %

    Can anybody tell me which code should ı use?

    Thanks in advance.
    Hi cbayram7,
    I wonder if you created the bar loader program as a separated program or a sub routine of the main program.
    In case it was a separated program, the program name starts with letter O and following with program number. Then you can use /M98 P to call sub program. I recommend to use M8 twice and the reason is old machines took longer to process. So, the first M8 will basically check the signal for end of bar, and the second M8 will send back signal to machine to either run the sub program or not based on bar loader signal.
    If you have bar loader sub sequence attached with main program, you need to assign a block number starts with N and following with your desired number. Then you will use /M98 H with the number you gave for sub program to run it.
    Hope this helps,
    Sweet-Swiss

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
  •