Hi, I am not fully understanding the question, but from translation tools, I understand that you are looking for a position control (with cascade) for a stepper motor.
Below I am adding reference, Position control for PMSM and this may help you to implement your control strategy for Stepper motor.
Apologize if my tranlation and understanding is inappropriate.