428
OPTIONS
96-8000
June 1999
M CODES
Only one M code may be programmed per block of a program. All M codes are effective or cause an action to
occur at the end of the block. The following M codes are used to program the APC:
M36 Hold until "Pallet Ready" button is pressed
M50 Perform pallet change
SAMPLE P ROGRAMS
Example #1:
Basic program using the "Pallet Ready" light on the APC.
Oxxxx
M36 (Flash "Pallet Ready" light - wait until PALLET READY button pressed to continue)
M50 (Perform pallet change after "Pallet Ready" button is pressed)
-
(USERîš’s PART PROGRAM)
-
M99 (Repeat program)
Example #2:
Basic pallet change program that tracks which part is to be machined on each pallet.
Oxxxx
M36 (Flash "Pallet Ready" light - wait until PALLET READY button pressed to
continue)
M50 (Perform pallet change after "Pallet Ready" button is pressed)
If [#510 EQ 1] M98 (USERîš’s PART PROGRAM #1)
If [#510 EQ 2] M98 (USERîš’s PART PROGRAM #2)
M99