@jdandcoke P defines the tool number in M563 eg:

M563 P0 S"hemera" D0 H1 F0

T[number} selects the tool eg:

T0

Ian