Question:

Match the codes used in CNC part programming with their functions.\[\begin{array}{c c | c c} \hline \textbf{Code} & & \textbf{Function} & \\ \text{P} & \text{G91} & \text{1} & \text{End of program} \\ \hline \text{Q} & \text{M02} & \text{2} & \text{Programming in incremental coordinates} \\ \hline \text{R} & \text{G32} & \text{3} & \text{Spindle stop} \\ \hline \text{S} & \text{M05} & \text{4} & \text{Thread cutting in turning} \\ \hline \end{array}\]

Show Hint

G-codes typically specify motion or machining operations, while M-codes control auxiliary machine functions such as spindle or coolant.
Updated On: Jan 13, 2026
  • P-2, Q-3, R-4, S-1
  • P-2, Q-1, R-4, S-3
  • P-4, Q-1, R-2, S-3
  • P-4, Q-2, R-3, S-1
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

To match the CNC codes correctly, we review the meaning of each code. G91 represents incremental coordinate programming, where each position is specified relative to the previous point rather than an absolute origin. Therefore, P must match function 2. M02 is used to signal the end of program, so Q matches function 1. G32 is the standard G-code for thread cutting in turning operations, making R associated with function 4. Finally, M05 is used in CNC machines to command spindle stop, so S corresponds to function 3. Therefore, the correct matching is P-2, Q-1, R-4, S-3, which corresponds to option (B).
Was this answer helpful?
0
0

Questions Asked in GATE PI exam

View More Questions