I am trying to learn the use of G10. Please confirm if my interpretation of the following codes is correct:

G90 G10 L10 P10 R-500; (Enters -500 mm into offset number 10, as the geometry compensation value for H-code)

G91 G10 L10 P10 R5; (Enters 5 mm incrementally into offset number 10, as the geometry compensation value for H-code, making the tool length smaller by 5 mm. So, the same tool would dig 5 mm more into the workpiece, for the same program)

G91 G10 L11 P10 R0.5; (Enters 0.5 mm incrementally into offset number 10, as the wear compensation value for H-code. So, the wear value would increase by 0.5 mm, and hence, the same tool would dig 0.5 mm more into the workpiece, for the same program)