top of page
Writer's pictureMike Lynch

Pallet Check for Mori Seike Horizontals

by Brian Cox of Ellison Machinery


I’m an applications engineer for a Mori distributor in the Northwest. I have written a macro for a pallet check on the Mori’s. Mori is kind enough to write the current pallet in the machine as a value in variable #147. I take advantage of this to make pallet checks at the beginning of a program to prevent programs from running on the wrong pallet. We assign these as “M” codes M71 for pallet “A” check and M72 for pallet “B” check. If the correct pallet is not in the machine an alarm will be generated.


  • %

  • O9004(PALLET CHECK A)

  • #3003=1

  • IF[#147EQ1]GOTO9999

  • #3000=1 (NOT PALLET A)

  • N9999#3003=0

  • M99

  • %

  • %

  • O9005(PALLET CHECK B)

  • #3003=1

  • IF[#147EQ2]GOTO9999

  • #3000=1 (NOT PALLET B)

  • N9999#3003=0

  • M99

  • %

Load the programs listed above and make parameters 6074=71 and 6075=72 and you should be good to go.


Editor's note: Parameters vary from one Fanuc control to another. Look up the user defined M code parameters related to programs O9004 and O9005 (shown as 6074 and 6075 above) to confirm. They will be listed in the custom macro section of your Fanuc control manual.


178 views0 comments

Recent Posts

See All

Comments


bottom of page