TGC: Antenna Status Flags.

1. Antenna status flags :

T - LMC gives timeout

R - LMC in remote mode

L - LMC in local mode

S - LMC in suspend mode

D - LMC Disconnected

M - LMC in maintenance mode

N - Antenna not Okay

If LMC in Remote mode(R), it will be treated as ideal condition and no flag will appear.



2. Time flag :

T --> LMC time - Linux time > 3 sec or not responding.

t --> Servo time - Linux time > 3 sec

U --> GPS Unlock (LMC Variable)



3. Antenna tracking ideal : I

For az_state :

I --> if(az_state != manual || != Positiong || !=Tracking || !StwRlsBkd)

z --> if (az_State == Positiong)

B --> if (az_State == StwRlsBkd)

m --> if (az_State == manual)

NA --> if (az_State == Tracking) , 'NA implies no flag value will be shown'

For el_state :

I --> if(el_state != manual || != Positiong || !=Tracking || !StwRlsBkd)

Z --> if (el_state == Positiong)

b --> if (el_state == StwRlsBkd)

M --> if (el_state == manual)

NA --> if (el_state == Tracking) , 'NA implies no flag value will be shown'



4. High current flag :

C --> if ( az_motor1_current > threshold_value=30.0 || az_motor2_current > threshold_value=30.0)

c --> if ( el_motor1_current > threshold_value=30.0 || el_motor2_current > threshold_value=30.0)



5. Encoder Faulty flag :

E --> if(az_enc == 1 )

e --> if(el_enc == 1)



6. Antenna not tracking correct Target flag:

if(az_state == Tracking && el_state == Tracking){

X --> if ( Source position_EL/AZ - Antenna_Encoder_EL/AZ > 30")

}



7. High wind flag: W

w --> if(wind_vel1 > 25.0 || wind_vel2 > 25.0)

W --> if((w50 == 1 || (w80 == 1))



8. Voltage not okey flag :

A --> if(az_ac == 0)

a --> if(el_ac == 0)



9. FPS jammed flag :

J --> if ( fps.status = "Jammed")

F --> if (fps.status = "Uncalibrated")



10. Servo Axis limit hit flag :

H --> if ( CCP || CCF || CPL || CFL)

h --> if ( DNP || DNF || UPP || UPF)



11. Servo AXIS Stowed flag :

s --> if (stp == 1) flag = s