00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef ATAUXSRV_DEFINES_H
00012 #define ATAUXSRV_DEFINES_H
00013
00014 #define atauxsrvMODULE_ID "atauxsrv"
00015 #define atauxsrvMODULE_NAME atauxsrvMODULE_ID
00016 #define atauxsrvMODULE_TITLE "AT Signal Cabinet Services"
00017 #define atauxsrvLOG_ID 101
00018
00019 #include "lsfDefines.h"
00020
00021 #define atauxsrvSTATUS_UNKNOWN 0
00022 #define atauxsrvSTATUS_ERROR 1
00023 #define atauxsrvSTATUS_OK 2
00024 #define atauxsrvSTATUS_IDLE atauxsrvSTATUS_OK
00025 #define atauxsrvSTATUS_ACTIVE 3
00026 #define atauxsrvSTATUS_PROGRESS 0x10
00027
00028 #define atauxsrvTRA_DEVICE "tra"
00029 #define atauxsrvTRA_DEVIDX 0
00030
00031 #define atauxsrvENV_DEVICE "env"
00032 #define atauxsrvENV_DEVIDX 1
00033
00034 #define atauxsrvCCM_DEVICE "ccm"
00035 #define atauxsrvCCM_DEVIDX 2
00036
00037 #define atauxsrvTRA_MON_DEVICE "traMonitor"
00038 #define atauxsrvTRA_MON_DEVIDX 0
00039
00040 #define atauxsrvENV_MON_DEVICE "envMonitor"
00041 #define atauxsrvENV_MON_DEVIDX 1
00042
00043
00044
00045
00046 #define atauxsrvNUM_CCM_SENSOR 2
00047 #define atauxsrvCCM_TEMP_AMBIENT 0
00048 #define atauxsrvCCM_TEMP_CABINET 1
00049 #define atauxsrvCCM_TEMP_MARGIN 5.0
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059 #define atauxsrvRELOCATION_STATION atauxsrvSTATUS_OK
00060 #define atauxsrvRELOCATION_PROGRESS atauxsrvSTATUS_ACTIVE
00061
00062 #define atauxsrvMS_MASK 0x02FF
00063
00064 #define atauxsrvMS_PWRC 0x0001
00065 #define atauxsrvMS_ALTC 0x0002
00066 #define atauxsrvMS_ASI4 0x0004
00067 #define atauxsrvMS_ROS3 0x0008
00068 #define atauxsrvMS_ROS4 0x0010
00069 #define atauxsrvMS_SIGC 0x0020
00070 #define atauxsrvMS_NEGV 0x0040
00071 #define atauxsrvMS_VLTI 0x0080
00072 #define atauxsrvMS_ASI2 0x0200
00073
00074 #define atauxsrvMS_FLAG 0x0400
00075
00076 #define atauxsrvSHUTTER_CLOSED atauxsrvSTATUS_OK
00077 #define atauxsrvSHUTTER_OPENED 3
00078 #define atauxsrvSHUTTER_MOVING atauxsrvSTATUS_PROGRESS
00079 #define atauxsrvSHUTTER_CLOSING (atauxsrvSHUTTER_CLOSED | atauxsrvSHUTTER_MOVING)
00080 #define atauxsrvSHUTTER_OPENING (atauxsrvSHUTTER_OPENED | atauxsrvSHUTTER_MOVING)
00081 #define atauxsrvSHUTTER_INTERMEDIATE 0x0F
00082
00083 #define atauxsrvNUM_SHELL 2
00084 #define atauxsrvMAX_INTERPOLATION 16
00085 #define atauxsrvNUM_ACTUATOR 4
00086 #define atauxsrvNUM_ANEMOMETER 2
00087
00088 #define atauxsrvSHELL_NORTH 0
00089 #define atauxsrvSHELL_SOUTH 1
00090
00091 #define atauxsrvSHELL_MIN_ANGLE 0
00092 #define atauxsrvSHELL_MAX_ANGLE 90
00093 #define atauxsrvSHELL_CLOSE_ANGLE atauxsrvSHELL_MAX_ANGLE
00094 #define atauxsrvSHELL_OPEN_ANGLE atauxsrvSHELL_MIN_ANGLE
00095
00096 #define atauxsrvENCLOSURE_CLOSED atauxsrvSTATUS_OK
00097 #define atauxsrvENCLOSURE_OPENED 3
00098 #define atauxsrvENCLOSURE_MOVING atauxsrvSTATUS_PROGRESS
00099 #define atauxsrvENCLOSURE_AUTO_CLOSING 0x20
00100 #define atauxsrvENCLOSURE_WORKAREA_LOCK 0x40
00101
00102 #define atauxsrvENCLOSURE_CLOSING (atauxsrvENCLOSURE_CLOSED | atauxsrvENCLOSURE_MOVING)
00103 #define atauxsrvENCLOSURE_OPENING (atauxsrvENCLOSURE_OPENED | atauxsrvENCLOSURE_MOVING)
00104
00105 #define atauxsrvSEAL_INFLATED atauxsrvSTATUS_OK
00106 #define atauxsrvSEAL_DEFLATED 3
00107
00108 #define atauxsrvMAX_WIND_SPEED 18.0
00109
00110
00111
00112
00113 #define atauxsrvTRA_CMD_ACK 0
00114 #define atauxsrvTRA_CMD_ROS 1
00115 #define atauxsrvTRA_CMD_ENC 2
00116 #define atauxsrvTRA_CMD_PNE 3
00117
00118 #define atauxsrvTRA_CMD_ACK_MS 0x0004
00119
00120 #define atauxsrvTRA_CMD_ROS_STOP 0
00121 #define atauxsrvTRA_CMD_ROS_CLOS 0x0001
00122 #define atauxsrvTRA_CMD_ROS_OPEN 0x0002
00123
00124 #define atauxsrvTRA_CMD_ENC_STOP 0
00125 #define atauxsrvTRA_CMD_ENC_OPEN 0x0300
00126 #define atauxsrvTRA_CMD_ENC_OPEN_NORTH 0x0100
00127 #define atauxsrvTRA_CMD_ENC_OPEN_SOUTH 0x0200
00128 #define atauxsrvTRA_CMD_ENC_CLOS 0x0C00
00129 #define atauxsrvTRA_CMD_ENC_CLOS_NORTH 0x0400
00130 #define atauxsrvTRA_CMD_ENC_CLOS_SOUTH 0x0800
00131
00132 #define atauxsrvTRA_CMD_PNE_ONOFF 0x0010
00133
00134
00135
00136
00137 #define atauxsrvTRA_STA_TRA_ALL_DATA 0
00138 #define atauxsrvTRA_STA_TRA_NUM_DATA 14
00139 #define atauxsrvTRA_STA_ENC_POSITION 0
00140 #define atauxsrvTRA_STA_ENC_ANEMOMTR 4
00141 #define atauxsrvTRA_STA_TRA_STATUS1 10
00142 #define atauxsrvTRA_STA_TRA_STATUS2 11
00143 #define atauxsrvTRA_STA_TRA_STATUS3 12
00144 #define atauxsrvTRA_STA_TRA_STATUS4 13
00145
00146
00147
00148
00149 #define atauxsrvTRA_STA1_ENC_FULLY_CLOSED_MASK 0x0001
00150 #define atauxsrvTRA_STA1_ENC_ISNOT_CLOSED_MASK 0x0002
00151 #define atauxsrvTRA_STA1_ENC_AUTO_CLOSING_MASK 0x0004
00152 #define atauxsrvTRA_STA1_WORK_AREA_SAFE_MASK 0x0008
00153 #define atauxsrvTRA_STA1_TUBE_IN_PARK_MASK 0x0010
00154 #define atauxsrvTRA_STA1_PNE_MAX_PRESSURE_MASK 0x0020
00155 #define atauxsrvTRA_STA1_GEN_REL_STATUS_MASK 0x0100
00156 #define atauxsrvTRA_STA1_TEL_ENGAGED_MASK 0x0200
00157 #define atauxsrvTRA_STA1_TRA_ENGAGED_MASK 0x0400
00158 #define atauxsrvTRA_STA1_ROS_ENGAGED_MASK 0x0800
00159 #define atauxsrvTRA_STA1_PWR_400V_OK_MASK 0x1000
00160 #define atauxsrvTRA_STA1_PWR_GEN_OFF_MASK 0x2000
00161 #define atauxsrvTRA_STA1_REMOTE_CONTROL_MASK 0x4000
00162 #define atauxsrvTRA_STA1_GIS_DOOR_CLOSED_MASK 0x8000
00163
00164 #define atauxsrvTRA_STA2_PP_DISCONNECTED_MASK 0x0001
00165 #define atauxsrvTRA_STA2_ROS_FULLY_CLOSED_MASK 0x0100
00166 #define atauxsrvTRA_STA2_ROS_FULLY_OPENED_MASK 0x0200
00167 #define atauxsrvTRA_STA2_FIRE_ALARM_MASK 0x0400
00168 #define atauxsrvTRA_STA2_FIRE_PRE_ALARM_MASK 0x0800
00169 #define atauxsrvTRA_STA2_FIRE_ALARM_FAULT_MASK 0x1000
00170
00171 #define atauxsrvTRA_STA3_MOTION_STOP_MASK atauxsrvMS_MASK
00172 #define atauxsrvTRA_STA3_MOTION_STOP_FLAG_MASK atauxsrvMS_FLAG
00173
00174 #define atauxsrvTRA_STA4_GEN_TRA_STATUS_MASK 0x0001
00175 #define atauxsrvTRA_STA4_OIL_LOW_LEVEL_MASK 0x0002
00176 #define atauxsrvTRA_STA4_OIL_FILTER_OK_MASK 0x0004
00177 #define atauxsrvTRA_STA4_OIL_TEMP_OK_MASK 0x0008
00178 #define atauxsrvTRA_STA4_PNE_MIN_PRESSURE_MASK 0x0010
00179 #define atauxsrvTRA_STA4_FUEL_TANK_OK_MASK 0x0020
00180 #define atauxsrvTRA_STA4_PWR_GEN_OK_MASK 0x0040
00181 #define atauxsrvTRA_STA4_UPS_ON_AND_OK_MASK 0x0080
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195 #define atauxsrvENV_CMD_ACL_ONOFF 0
00196 #define atauxsrvENV_CMD_CWP_ONOFF 1
00197 #define atauxsrvENV_CMD_SET_M1TSP 2
00198 #define atauxsrvENV_CMD_SET_DEWTM 3
00199 #define atauxsrvENV_CMD_SET_M1T 4
00200
00201
00202
00203
00204 #define atauxsrvENV_STA_STATE1 0
00205 #define atauxsrvENV_STA_STATE2 1
00206 #define atauxsrvENV_STA_FAULT 2
00207 #define atauxsrvENV_STA_DEW_TEMP 3
00208 #define atauxsrvENV_STA_AMB_TEMP 4
00209 #define atauxsrvENV_STA_M1_TSP 5
00210 #define atauxsrvENV_STA_ENC_TSP 6
00211 #define atauxsrvENV_STA_DEW_TM 7
00212 #define atauxsrvENV_STA_M1_TEMP 8
00213 #define atauxsrvENV_STA_AIR_TSP 9
00214 #define atauxsrvENV_STA_ACS_VALVE 10
00215 #define atauxsrvENV_STA_LCM_VALVE 11
00216 #define atauxsrvENV_STA_LCM_TEMP 12
00217
00218
00219
00220
00221 #define atauxsrvENV_STATE1_LCC2_ONOFF_MASK 0x0008
00222 #define atauxsrvENV_STATE1_LCM_ONOFF_MASK atauxsrvENV_STATE1_LCC2_ONOFF_MASK
00223 #define atauxsrvENV_STATE1_CHL2_ONOFF_MASK atauxsrvENV_STATE1_LCC2_ONOFF_MASK
00224 #define atauxsrvENV_STATE1_CWP2_ONOFF_MASK 0x0020
00225 #define atauxsrvENV_STATE1_CWP4_ONOFF_MASK 0x0004
00226
00227 #define atauxsrvENV_STATE1_LCC1_ONOFF_MASK 0x0002
00228 #define atauxsrvENV_STATE1_CHL1_ONOFF_MASK atauxsrvENV_STATE1_LCC1_ONOFF_MASK
00229 #define atauxsrvENV_STATE1_CWP1_ONOFF_MASK atauxsrvENV_STATE1_LCC1_ONOFF_MASK
00230 #define atauxsrvENV_STATE1_CWP3_ONOFF_MASK atauxsrvENV_STATE1_LCC1_ONOFF_MASK
00231
00232 #define atauxsrvENV_STATE1_MATCH_MASK 0x0010
00233
00234 #define atauxsrvENV_STATE2_ACS_ONOFF_MASK 0x0004
00235 #define atauxsrvENV_STATE2_ACKCMD_MASK 0x0008
00236
00237 #define atauxsrvENV_FAULT_ACS_MASK 0x0004
00238 #define atauxsrvENV_FAULT_LCM_MASK 0x0008
00239 #define atauxsrvENV_FAULT_CWP_MASK 0x0010
00240
00241 #if 0
00242 20b3 CHL1
00243 21b3 CWP1
00244 22b3 CWP3
00245 24b3 CHL2
00246 25b3 CWP2
00247 26b3 CWP4
00248 #endif
00249
00250 #endif
00251
00252 #ifdef SAUTER_FUPLAN_DOC
00253 ===================================Signaux===================================
00254 Nom Commentaires REF. References
00255 =============================================================================
00256
00257 M45a0 Memory command AHU1 1.2 2.15
00258 M45a1 Memory command chiller 1 1.11
00259 M45a2 Memory command CWP4 6.24 6.19
00260 M45a3 Memory chiller 2 start-up cmd 4.15
00261 M45a4 M1 temp. matches to set-point 3.28
00262 M45a5 Memory command CWP2 4.19
00263 M46a2 Command to run ACS 5.3 1.2
00264 M46a3 Command to run ACS&LCM chiller 5.2 4.17 6.2
00265 M46a4 Memory to run LCM disch pump 9.3 6.20
00266 M47a0 Ris. edg ESO ACS&LCM chil. cmd 8.4 5.2
00267 M47a1 Fal. edg ESO ACS&LCM chil. cmd 8.5 5.16
00268 M47a2 Ris. edg ESO LCM dis pump cmd 8.25 9.3
00269 M47a3 Fal. edg ESO LCM dis pump cmd 8.26 9.12
00270 M48a0 5.6
00271 M48a1 5.8
00272 M48a2 5.14
00273 M48a3 5.7
00274 M48a4 5.5
00275 M48a5
00276 M49a0 5.18
00277 M49a1 5.21
00278 M49a2 5.26
00279 M49a3 5.19
00280 M55c5 Auxiliary memory
00281 M55c7 Reserved memory set to 0 1.13 4.20
00282 S02l Mirror temp. sensor M6 7.6 3.5
00283 S03l Mirror temp. sensor M7 7.13 3.6
00284 S04a5 Priming time 4.10 6.11 6.29
00285 S04m Integral part for T9
00286 S04n
00287 S05l Difference between tø & setp. 8.17 3.28
00288 S06l Mirror temp. sensor M8 7.20 3.7
00289 S19m Miror temp (ESO or AI) 3.8 8.17
00290 S20m Mirror temp. 3.5 3.13
00291 S24a4 Supply temp > Dew point + 3 2.33 2.10
00292 S25m Setpoint supply temp. 2.29 2.3
00293 S26m Dew point +3 C 2.24 2.30 2.35
00294 S27m Setpoint room +3 C
00295 S29l Difference between roomtø&setp 1.27 3.22
00296 S29m Setpoint Room for regulation 1.21 2.9 8.18
00297 S30m Setpoint Roomtemp. 1.17 1.28 2.29
00298 S31l Dew point (C) 2.19 2.17
00299 S45e M1 temp. setpoint from ESO 1.17
00300 S46e dT 2.25
00301 S48e Mirror temp. from ESO
00302 S4a4 Dew point > Supply temp
00303 S53e Mirror sensor M6 from ESO 8.13
00304 S54e Mirror sensor M7 from ESO 8.14
00305 S55e Mirror sensor M8 from ESO 8.15
00306 T07a4 Miror t > Set point - 0.5 C
00307 T07a5 Miror t > Set point + 0.5 C 3.31 2.12
00308 T7a4 Miror t > Set point - 0.5 C 3.26 2.11
00309 X04A Mirror sensor M6 7.7
00310 X05A Mirror sensor M7 7.14
00311 X06A Mirror sensor M8 7.2 7.21
00312 X07A Dew point temp. 2.23
00313 X08A Fict. temp
00314 X10A Room temp. 1.27 3.18 4.9
00315 X12A Supply temp. 2.2 2.16 2.34
00316 X17A Water distribution temp. 4.1 6.16
00317 X26`3 Status CWP4 6.12
00318 X28`0 Manuel command ON/OFF 5.29 6.36 9.26
00319 X28`1 G1-ACS-Cmd-DO 5.7 5.21
00320 X28`2 Manuep setpoint off/AUTO/man 1.19 5.3 5.8 5.17 5.22 !
00321 X28`3 Manuel setpoint off/auto/MAN 1.20 5.13 5.27 6.34 9.24
00322 X28`4 Command RS232/ANALOG INPUT 3.15
00323 X28`5 General default alarm AHU1 3.32 5.33 8.7
00324 X28`6 General default LCM1 3.33 4.14 8.8
00325 X28`7 Gen-Rem-DO 5.4 5.18 6.6 9.4 9.13
00326 X29`0 G1-Aut-ACS-DO 5.35
00327 X29`1 Status flow transmitter 6.28
00328 X29`2 G1-LCM-DP-Cmd-DO 6.9 9.7 9.17
00329 X29`3 LCM tank liquid level 4.15 6.31
00330 X29`4 Priming button cwp4 4.5
00331 X29`6 Filter 1
00332 X29`7 Filter 2
00333 X45`3 ESO Cmd for ACS & LCM chiller 5.12 5.26 8.4
00334 X46`3 Command ESO
00335 X47`3 Command ESO
00336 X48`3 ESO LCM discharge pump command 6.4 8.25 9.21
00337 Y00e V1 ACS 3W valve position 2.5
00338 Y01e V2 LCM 3W valve position 4.5
00339 Y02e Output to CWP4 6.5
00340 Y20b3 Chiller 1 1.12
00341 Y21b3 Cold-water pump CWP1 1.7
00342 Y22b3 Cold-water pump CWP3 1.3
00343 Y23b3 AHU 1 1.13
00344 Y24b3 Chiller 2 start-up command 4.14
00345 Y25b3 Command cold-water pump CWP2 4.21
00346 Y26b3 Command cold-water pump CWP4 6.23
00347 Y27b3 G1-No Ala-DI 3.33
00348 Y46A Setpoint Roomtemp. for ESO 1.16
00349 Y47A Mirror temp. for ESO 3.6
00350 Y48A Setpoint supply temp. for ESO 2.30
00351 Y49A Room or telescope temp. 3.13 2.8
00352 Y50b0 Status to ESO
00353 Y50b1 Status to ESO
00354 Y50b2 General default AHU1 to ESO 8.7
00355 Y50b3 General default LCM1 to ESO 8.8
00356 Y50b4 General default CWP4 6.19 3.34
00357 Y51A V1 ACS 3W valve pos. for ESO 2.6
00358 Y52A Setpoint room +3 C
00359 Y54A Average mirror temp (ESO values) 8.14 3.14
00360 Y55A V2 LCM 3W valve pos. for ESO 4.4
00361 s45e test vanne
00362 =============================================================================
00363 Projet: AMOS Unit‚ locale: RSZ001 21.Oct. 2003 L_SV 1
00364 =============================================================================
00365
00366 #endif
00367
00368
00369