547,037 active members*
2,550 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > Palette Change M201/M202 Alarm
Results 1 to 7 of 7
  1. #1

    Join Date
    Sep 2021
    Posts
    4

    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....)

  2. #2
    Flies Fast
    Join Date
    Dec 2008
    Posts
    2837

    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

    Join Date
    Sep 2021
    Posts
    4

    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
    Join Date
    Dec 2008
    Posts
    2837
    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

    Join Date
    Sep 2021
    Posts
    4
    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
    Join Date
    Dec 2008
    Posts
    2837
    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

    Join Date
    Sep 2021
    Posts
    4

    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

Similar Threads

  1. Need Help- Multiple plates change program M90 or M201
    By y2121411 in forum CNC Machining Centres
    Replies: 0
    Last Post: 12-12-2019, 02:26 PM
  2. Palette Change Info
    By oshuab in forum Okuma
    Replies: 12
    Last Post: 08-09-2016, 01:16 PM
  3. Palette system
    By YordanZaykov in forum Mechanical Calculations/Engineering Design
    Replies: 0
    Last Post: 12-06-2012, 12:39 PM
  4. Palette change
    By thilda in forum SIEMENS -> GENERAL
    Replies: 1
    Last Post: 03-17-2012, 03:57 PM
  5. SW 2010 dimension palette
    By sambudy in forum Solidworks
    Replies: 0
    Last Post: 02-26-2010, 11:45 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
  •