I swapped the comands over and this time I could watch the boat go to Periscope depth.
Get_depth_under_sub_keel,0,0,0,0,0,0,2
Periscope_depth,0,0,0,0,0,0,0
Camera_on_next_unit,0,0,0,0,0,0,5
Wait,0,0,0,0,0,0,2
The next stage was to listen, so far so good. two contacts.
Next was goto scope station - this did not work, I was stuck on the external camera.