Pulser3 Programming Manual Download PDF

Calling Subprogram with User-Defined G-Code

A subprogram can be called using a user-defined G code. Up to 10 custom G codes can be created. Each custom G code directs to subprograms starting from the O9010 subprogram in a sequential order. The G codes that will be used to call the subprograms must be entered into the PRM0-PRM9 parameters. These parameters should be specified in 0.0 format. For example, if the O9010.cnc subprogram is to be called with the G51 code, the value 510 should be entered into PRM0. Similarly, if the O9011.cnc subprogram is to be called with the G51.1 code, the value 511 should be entered into PRM1.

The values entered into these parameters mask the system-defined G codes. When G0 is directed to a subprogram, the G0 code loses all its functions within the system.

 

Example: