PieceMaker Online Help - Custom M-Codes

Custom M-Codes and Descriptions for EMI's TPC.  
Not all machines make use of all M-Codes even though they may be in the directory.  The customized codes may vary from machine type to machine type.  Users may adapt codes to better suit their applications but do so at their own risk.
The purpose of this section is to be a reference of what they do, not to instruct a user on how to understand or modify the macro files.  Custom M-codes are handled by macro files on the machine.  For example M3 = mfunct3.mac and M15 = mfunct15.mac.  For reference' sake M3 and M03 are equivalent.
In many cases the M-Codes work in pairs ie M64/M65.  In most cases the even value will trigger the event and the odd will cancel it.  There are exceptions where earlier standards needed to be maintained.
Some of the features have been mapped onto the Auxiliary Function keys of the pendent.

M3   Exists to make the torch operation compatible with some typical Cam packages.  M3 calls M15 in the background and turns the torch on.  Do not use it unless necessary.

M5   Exists to make the torch operation compatible with some typical Cam packages.  M5 calls M16 in the background and turns the torch off.  Do not use it unless necessary.

M7, M8, M9   Exist as part of the standard Centroid install and they manage the coolant system.  M7 turns on Air Blow and M9 turns it off.  M8 is not used on any machines as of this writing.

M10 & M11   Clamp and Unclamp the material hold down usually found up near the torch.  Also, will fire the Scriber down/up on the 2100- series machines if so equipped.  Often toggles on Aux 4.

M14   A special version of the M15, torch ignition, that does not wait for the cutting arc to transfer prior to permitting the machine to resume motion.  It is primarily used on open profiles (angle and C-channel) where an edge start is required but due to material tolerance there may not actually be material near enough the pilot arc to transfer the cutting arc.  In this case the machine just "goes for it" and the net gain in reliability is significant.  There is a "/" in front of M14's and M15's.  It makes the ignition subject to the control's Block Skip function found under the F4-Run Menu and enables the operator to do a dry run without the torch firing.  Read the Centroid manual for further explanation.

M15 & M16 Start and stop the torch respectively.  There is a "/" in front of the M14's and M15's.  It makes the ignition subject to the control's Block Skip function.  F4-Run Menu: F4-Skips ON and enables the operator to do a dry run without the torch firing.  Pressing F4 a 2nd time will toggle the function OFF.

M17 & M18   These are used in the Scribing Operation to both extend and retract the scribe, lower and raise the scribe, and to apply a temporary G92 offset.   You may note the M10 and M11 are used inside of M17 and M18.  *** SIMUH***
 
M25   Raise the torch (servo- based Z-Axis) to the Z value of the G28 position.  It is the equivalent of the Tool Check button on the pendent.  This is a great standard Centroid feature and operators should take advantage of it to protect the torch during setups, manual loading, and interrupting a regular operation.

M31   Triggers the cam- based tube loader/indexer on the auto-loading machines.  This is the equivalent of the AUX-4 button.  

M32   Incorporates the M31 into a larger material load and stage routine.  It requires customization for different length machines and should be considered a specialized tool for special events.  Do not fool with it if you do not know what you are doing.

M44   Checks to see if there is material staged in an inbound chute so that the auto- load cycle may continue or to trigger a warning light if the machine is waiting for material in some automatic cycles.  It incorporates M76/M77, an air blast, to blow off dirt such that so the sensor does not foul.

M46/M47  Lowers and Raises (engages and disengages) the optional printing head.  The solenoid triggered is usually in the main bank with its own pressure regulator.  This regulator controls the downward pressure of the print head stop on the material in the machine.  There is a separate regulator that controls the amount of air pressure going to the needle in the print head.  There are settings in the printer control module that control the density of the printing.

M54   Is a dummy file with no standardized purpose, but sometimes is involved in manipulations WCS.

M55   It is a complex code used exclusively on the Angle-Chanel Processing Center to calculate G55, the scribe torch offset, from G54 that was setup by the operator from the main torch.

M56   Is a dummy file with no standardized purpose, but sometimes is involved in manipulations WCS.

M57   Is a dummy file with no standardized purpose, but sometimes is involved in manipulations WCS.

M62 & M63  Raises and lowers lift #1 on auto -loading machines.   This is the one nearest the torch.  In standard operation the lift is lowered by the PLC from the background.

M64 & M65  Raises and lowers lift #2 on auto-loading machines.  It is also used on short machines with only 1 lift to support the middle of small diameter material.  In standard operation the lift is lowered by the PLC from the background.  In some applications with non-round material, "wait for input-X" gets commented out.  The 2100- series machines only have Lifts #2 and #3.

M66 & M67  Raises and lowers lift #3 on auto-loading machines.  In standard operation the lift is lowered by the PLC from the background.  The 2100 series2100-series machines have only lifts #2 and #3.

M68 & M69  Raises and lowers lift #4 on auto-loading machines.  In standard operation the lift is lowered by the PLC from the background.

M70 & M71  Raises and lowers the torch if it is on a pneumatic Z-actuator.  It sometimes incorporates the M10/M11.  On machines with servo driven Z-Axis it has no practical effect on operation.

M72 & M73  Raises and lowers lift #5 or #6 on auto-loading machines equipped with them.  In standard operation the lift is lowered by the PLC from the background.

M74 & M75  Open and closes the primary chuck.

M76 & M77  Turns the part sensor air blast on and off.  Incorporated into M44.

M78 & M79  All part loading lifts up and down.

M82  A complex code that fires the cam indexer (M31), raises all the lifts raises the material clamp (M10) and raises the Torch (M70 and or M25).

M84 A complex code/mode that enables a front-loading sequence on the 2100 and 2400 series machines when using PieceMaker 5.2.6 or newer.

M86 & M87  Extends and retracts a part ejector pin on some models.



Aux Key Reference:
Aux 1:  Chuck OPEN/CLOSE
Aux 2:  Printer UP/DOWN
Aux 3:  All Lifts UP/DOWN
Aux 4:  Material Hold Down UP/DOWN
Aux 5:  
Aux 6:  Lift-1 UP/DOWN
Aux 7:  Loader Indexer
Aux 8:  
Aux 9:  Lift-2 UP/DOWN
Aux 12:  Lift-3 UP/DOWN
Aux 15:  Lift-4 UP/DOWN