Thank you for any help in advance. I'm working with a Biglia Rapido using a Mitsubishi M700 controller. The lathe has two 3 axis turrets and a 2 axis sub spindle. I have a wait code at the end of the program - prior to resetting the variables, and at the beginning of the program - prior to entering the variables. On occasion, the controller will allow head 1 to pass the wait code at the beginning and then hangs with head 2 and the sub spindle still at the wait code. I've tried placing a pause (using G4) before and after the wait codes, but it still hangs. I'm relatively new to programming G-code and I'm not sure where to go from here.