PB's included ATC routines do not use the pocket entries in the lcnc tool table at all, they use the numbers parameters to store that information, which is one huge hurdle implementing a mixed ATC/manual tool change routine
I have opened an issue to track this as a new feature / improvement request
github.com/kcjengr/probe_basic/issues/95
current routines use the following numbers parameters
; Parameter #5171 is used to track if the carousel is homed (M13) (volatile)
; Parameter #5170 is used to track the current tool pocket (persistently)
; Parameter #5231 is used to track the current tool loaded it in the spindle (persistently)
; Parameters #5191 to #5202 are used to track which tool is in which pocket (persistently)
; Parameter #5190 is not populated just used in the maths to calculate the above numbers
how ever I have an open PR that will move them to
; Parameter #3989 is used to track if the carousel is homed (M13) (volatile)
; Parameter #3990 is used to track the current tool pocket (persistently)
; Parameter #3991 is used to track the current tool loaded it in the spindle (persistently)
; Parameters #4001 to #4024 are used to track which tool is in which pocket (persistently)
; Parameter #4000 is not populated just used in the maths to calculate the above numbers