OK back on my PC today.
I tested with your proposed code and here my conversion to FSX XML. The code is in the Update element of the gauge:
(P:ABSOLUTE TIME, seconds) (L:View Adjust Start Time,seconds) - 3 >
(A:INCIDENCE ALPHA,degrees) 7 >
if{ (P:ABSOLUTE TIME, seconds) (>L:View Adjust Start Time, seconds)
(A:INCIDENCE ALPHA, degrees) (L:AoA past,degrees) - 1 >
if{ (>K:VIEW_ALWAYS_PAN_Down) 1 (>L

anDown,enum) 0 (>L

anUP,enum) (A:INCIDENCE ALPHA, degrees) (>L:AoA past,degrees)
(A:INCIDENCE ALPHA, degrees) (L:AoA past,degrees) - -1 <
if{ (>K:VIEW_ALWAYS_PAN_UP) 0 (>L

anDown,enum) 1 (>L

anUP,enum) (A:INCIDENCE ALPHA, degrees) (>L:AoA past,degrees) }}
I did the code not in a "code insert function" for better reading. Is the syntax OK ?
I inserted two extra LVARs ( (L

anDown,enum) , (L

anUP,enum) ) to use it for a readout in order to check if the PAN command has been issued.
As soon as the AoA is 7 > the PAN DOWN LVAR goes to 1 and I assume the (>K:VIEW_ALWAYS_PAN_Down) command has been activated too.
However, the panel view does NOT move down. The view up is not triggered at all. There are two difficulties with this PAN commands. If they are to short, you don't see the move.
If they are to long you will see the earth or the heaven. A activation time of a full second is already to long. So, working with full seconds timer may be a problem in general.
I am not sure if it is possible to adjust it smoothly enough by < or > and seconds timer. My initial code with the GVARs worked fine at least for the landing approach. However, I will test/experiment with your proposed code also. So thanks for that.
Dietmar