59
Operation
96-8000 rev R June 2007
M48 must be placed at the beginning of the program (or section of program) that is run for the current pallet. This
will check each time that a program is run, that the program matches the pallet. For example:
Oxxxx (Users program)
M48
;
; (Users part program for pallet 1)
;
M30
Oxxxx (Users program)
M48
;
; (Users part program for pallet 2)
;
M30
An alarm will be generated, “A (or B) not in Position”, if the pallet in the machine is not the one associated with the
part program. If this alarm is generated, verify the correct program is running for the loaded pallet.
Important: Verify that the rotary table on pallet one is plugged into “Connector 1”, and that the rotary table on
pallet two is plugged into “Connector 2”.
Sample Programs
Example #1
A basic pallet change program that loads the next scheduled pallet and runs the parts program. The following is a
sample of the PST, which indicates that pallet #1 is loaded and pallet #2 is scheduled. Pallet #2 will be loaded next
(see column 2, “Load Order”) and program O06012 will be used to cut parts on that pallet (see column 5, “Program
Number”). The program comment is captured from the program.
Pallet Schedule Sample Table 1
Pallet Load Pallet Pallet Program Program
Number Order Status Usage Number Comment
1 * Loaded 23 O04990 (Rough and Finish)
2 1 Scheduled 8 O06012 (Cut Slot)
O00001 (Program Number)
M50 (Perform pallet change to next scheduled pallet, after Part Ready button is pressed)
G188: (Calls the parts program for the loaded pallet based on the PST entry for the pallet.)
M99 (Loop to top of main program)
O04990
Part Program (User’s part program)
M99 (Return from subroutine)
O06012
Part program (User’s part program)
M49Q12 Set current pallet status to 12 actual string defined by operator. In this case, status
number 12 is defined as “Last Pallet”.
M99 (Return from subroutine.)
Description: The first loop through program O00001 will load pallet #2 (M50) and run program O06012 (G188
selects program from PST for pallet #2). The PST will then resemble Sample Table 2. The asterisk for pallet #2 in
the “Load Order” column indicates that this pallet is in the mill.