Here is my bar pull code, looks a bit less complex than yours.
(PULL BAR)
G53 move turret to safe location, use machine coordinate system
M9 coolant off
M5 spindle off
M6 T909 change tool, bar puller
G54 use work coordinate system
G0 X1.661 move to clearance
G0 Z-1.925 move to pull position
G1 X-0.178 F50 grab part
M11 release chuck (G4 delay is not required on my machine)
G1 Z0.50 F50 pull to new position
G0 X1.661 move to clearance
G53 move turret to safe location, use machine coordinate system