Disclaimer: CNC Concepts, Inc. accepts no responsibility for the use
or misuse of techniques shown in this web page. We simply publish information
we feel will be of interest to CNC users. In all cases, the reader is totally
responsible for considering the implications, good and bad, of implementing one
or more of the techniques we show.
Pallet Check for Mori Seike Horizontals
by Brian Cox of Ellison Machinery
Im an applications engineer for a Mori distributor in the Northwest. I
have written a macro for a pallet check on the Moris. 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.