Newbie Palette Change M201/M202 Alarm


Results 1 to 7 of 7

Thread: Palette Change M201/M202 Alarm

  1. #1
    Member
    Join Date
    Sep 2021
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Palette Change M201/M202 Alarm

    Hi

    Found a helpful library file on this forum. MX40-HA.zip

    M201= call in pallet#1,continue if pallet#1 is current
    M202= call in pallet#2,continue if pallet#2 is current
    M203= empty tool from spindle
    M204= call WARMUP cycle for machine
    M205= empty thru tool coolant line with air blow

    If i use M201 or M202 when the right palett is "in" the machine, nothing happens and everything is ok

    If I use M201 or M202 when the wrong palett is "in" the machine, i got an Alarm :

    2207 ALARM-B Expression: factor 512F

    Machine MA-600HB 2008/07
    OSP-P200M

    M203,M204 and M205 works great

    Is there somebody who may know what causes this?

    Ole H (sorry for bad English....)

    Similar Threads:


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

    Default Re: Palette Change M201/M202 Alarm

    This library file was originally designed for a OSP7000 control.
    The alarm sounds like that some "expression" in that code does not work on your P200 control
    I cannot assist as I no longer have access to an Okuma machine...
    What you could do is put sections into a normal program, single step through it, and find the offending code... the following is used to call PALLET 1... RTS changed to M30
    Code:
    OPAL1(PALLET1)
    NSTRT(CHECK WHICH PALLET IN MACH)
     IF[VPLTK EQ 2]NCHK2 ( PALLET#2 - IN MACH)
     IF[VPLTK EQ 1]NEND
     GOTO NERR1 
    NCHK2
     IF[VORD[WKPL] NE 1]NMESS
     M60
     RP=1 M289 ( SET PALLET#1 ) GOTO NEND 
    NMESS
     VNCOM[1]=1 
     MSG (******************************** CHECK NEXT PALLET IS READY AND PRESS WORK LOAD FINISHED ********************************) 
    NLOOP
     IF[VORD[WKPL] NE 1]NLOOP
     NMSG
     GOTO NSTRT 
    NERR1
     VNCOM[1]=1
     MSG (ILLEGAL PALLET COND)
     M0
     GOTO NEND 
    NEND M30




  3. #3
    Member
    Join Date
    Sep 2021
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Re: Palette Change M201/M202 Alarm

    Hi

    Thanks for reply and tips

    When i put this into a normal program it seems like it stops on the" IF[VORD[WKPL] NE 1]NMESS" line...



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

    Default

    Quote Originally Posted by Olecnc View Post
    Hi

    Thanks for reply and tips

    When i put this into a normal program it seems like it stops on the" IF[VORD[WKPL] NE 1]NMESS" line...
    NMESS is only a jump destination.... there must be sometime else, a space missing, not liking the WKPL command ( this hold the PALLET number in the machine for a OSP7000)
    I don't know, and I am unable to check... sorry



  5. #5
    Member
    Join Date
    Sep 2021
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Superman View Post
    NMESS is only a jump destination.... there must be sometime else, a space missing, not liking the WKPL command ( this hold the PALLET number in the machine for a OSP7000)
    I don't know, and I am unable to check... sorry
    Hi

    Ok, thank you

    Ole H



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

    Default

    Quote Originally Posted by Superman View Post
    NMESS is only a jump destination.... there must be sometime else, a space missing, not liking the WKPL command ( this hold the PALLET number in the machine for a OSP7000)
    I don't know, and I am unable to check... sorry
    I think this is incorrect
    WKPL (I think) is the workload finished button, that it is OK to change pallets.



  7. #7
    Member
    Join Date
    Sep 2021
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Re: Palette Change M201/M202 Alarm

    Quote Originally Posted by Superman View Post
    I think this is incorrect
    WKPL (I think) is the workload finished button, that it is OK to change pallets.
    Hi

    Thank for the reply

    Found this program: (deleted MSG and NMSG, and now it seems to work perfect)



    OPAL1

    IF [VPLNO EQ 1] NRTS

    M60

    MSG (PALLET CHANGE IF CORRECT PALLET PROGRAM WILL CONTINUE)

    M01

    G04 F5

    NMSG

    NRTS

    RTS



    For Pallet 2



    OPAL2

    IF [VPLNO EQ 2] NRTS

    M60

    MSG (PALLET CHANGE IF CORRECT PALLET PROGRAM WILL CONTINUE)

    M01

    G04 F5

    NMSG

    NRTS

    RTS



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

Palette Change M201/M202 Alarm

Palette Change M201/M202 Alarm