Home
Issue 1.0, 07/12/04
Contents
1. Command Parameter Range Description DL Lv v 1 0 Disable Leds leds off on BIAS LED Command Parameter Range Description BP Lv 0 0 lt v lt 100 0 Bias Power SYSTEM COMMANDS Command Parameter Range Description SB b b 1 34 Status Byte IN INitialize pulpo reboot SD date date dd mm yy Set Date for real time clock ST time time hh mm ss Set Time for real time clock VS Version of Software SYSTEM COMMANDS Serial Port Command Parameter Range Description CM Controller Mode EC ECho mode TM Terminal Mode VLT Instrumentation Pulpo 2 Manual VLT TRE ESO 13630 3490 1 0 07 12 2004 65 of 76 LOGGING Command Parameter Range Description LB Log Begin store in log file from the beginning LC Log Check check last element written in log file LD Log Dump LO t t gt 0 LOg interval sec LR Log Restart store in log file from the first free place LS Log Stop VLT TRE ESO 13630 3490 1 0 07 12 2004 66 of 76 VLT Instrumentation Pulpo 2 Manual 6 6 PID Pulpo 2 uses a common PID Proportional Integral Derivative control loop to control the power to the heaters Showing our system with the usual diagram E i B u in our case Plant is a heater the transfer function is E ESE K I Eps AA 2 KP KI KD can be defined using the KP KI KD commands see the Commands chapter
2. Example HE 1 1 enable heater 1 OK HE 1 read if heater 1 is enabled or disabled OK 1 Heater Mode Define the sampling time for the PID controller Syntax HM h m with h 1 gt 8 and m 0 gt 2 m 0 or 1 1 s of duty cycle m 2 10 s of duty cycle Default value Example HM 1 1 set heater 1 mode to 1 OK HM 1 read heater 1 mode OK 1 Heater Resistance Read the resistance value of a heater Normally the range is between 75 Ohms and 100 Ohms for the old dewars The resistance value is calculated during PULPO initialization Syntax HR h with h 1 gt 8 Example HR 1 read resistance for heater 1 OK 75 6 resistance equal 75 6 Ohms VLT TRE ESO 13630 3490 1 0 07 12 2004 51 of 76 VLT Instrumentation Pulpo 2 Manual INit Initialize Pulpo2 reboot Syntax IN Example IN reboot Pulpo2 OK Derivative Constant kd for PID controller Read or set derivative constant for PID controller associated to a heater see 6 6 for the formula Syntax KD h f with h 1 gt 8 f 0 0 gt 200 0 Default value 0 Example KD Ly 300 set kd for heater 1 equal to 30 5 OK KD 1 OK 30 5 Integral Constant ki for PID controller Read or set integral constant for the PID controller associated to a heater see 6 6 for the formula Syntax KI h f with h 1 gt 8 f 0 0 gt 1000 0 Default value 120 Example KI 1 40 5 set ki for heater 1 equal to
3. 1 INTRODUCTION 1 1 Purpose This document provides a description of the functionalities and the command interface of the Pulpo 2 ESO standard multifunctional module It is intended to provide the ESO hardware and software engineers who intend to maintain or use the Pulpo 2 controller with all the necessary information to e understand the Pulpo 2 hardware setting e operate Pulpo2 through the software command interface Pre requisites knowledge of CCD camera systems operations cooling CCD operation conditions shutter is required therefore Pulpo 2 must be used by experienced engineers only 1 2 Applicable documents The following documents of the exact issue shown form a part of this document to the extent specified herein Document Number issue Date e AD 01 VLT PRO ESO 10000 0228 10 03 1993 VLT Software Programming Standards AD 02 VLT PLA ESO 00000 0006 21 05 1992 VLT Software Management Plan 1 3 Reference documents The following documents are referenced in this document Reference _ Document Number issue Date tile SSCS RD 01 INS 01 0044 JL Pulpo upgrade statement of work RD 02 INS 02 0018 AltermativesforPulpo upgrade RD 03 VLT CRE ESO 13640 0003 Pulpochange request 1 4 Abbreviations and acronyms This document employs several abbreviations and acronyms to refer concisely to an item after it has been introduced The following list is aimed to help the reader in reca
4. 5V for Bias LED 5 OptoGND 13 BIAS LED 6 OptoGND 14 OptolN 0 spare 7 OptoPower 12V 15 OptolN 1 spare 8 OPEN COMMAND open collector output Pinout of the Digital I O connector Pin Signal Pin Signal 1 Mux control 3 Enable 0 6 Mux control 5 Enable 2 2 Mux control 2 Address 2 7 Mux Power 15V 3 Mux control 1 Address 1 8 Mux Power 15V 5V 4 Mux control O Address 0 9 AGND 5 Mux control 4 Enable 1 The voltage on this pin depends on the jumper setting on the board It can be set to 15V or 5V Values in brackets indicate usage of signals for the Omega Multiplexer boards VLT TRE ESO 13630 3490 1 0 07 12 2004 73 of 76 VLT Instrumentation Pulpo 2 Manual ANNEX B Practical Example OmegaCam 1 Reading the Sensor values a To get the value of a sensor use SE lt Sensor number gt 4 a he reply will be one of the following OK lt Value gt e g SE 7 gt 0K 273 1 ER 2 Sensor doesn t exist e g SE 439 gt ER 2 ER 4 Sensor not connected e g SE 5 gt ER 4 The sensor assignment is the following Si 5 PT100 connected via the DB37 or SCSI 1 S6 Fiera Box LEMO connector S7 internal calibration resistor always 273 1K S8 Vacuum sensor s9 Heater current in mA s10 18 PT 100 via SCSI 1 519 32 PT 100 via SCSI 2 If the multiplexer boards are connected and enabled 111 118 S121 128 S
5. The same applies for the watchdog status bit This bit is set when the watchdog trigger bit is not written to in regular intervals of lt 1 second Once set the bit can only be reset by writing a 1 to the watchdog reset bit Both status bits can be used to generate interrupts Serial DAC Control Register Chip Select DAC Load DAC The Chip Select DAC and the Load DAC bits connect to the CSDAC and LdDAC inputs of the serial DAC Provided the jumper on the board is set to programmable overcurrent the overcurrent trip point can be set in steps of 0 73 mA within a range of 0 mA to 3A i e one increment of the overcurrent trip point register one DN data number corresponds to 0 73 mA The overall current cannot exceed The bias LED current is also determined by the programming of the serial DAC second channel Serial DAC Data Register bit writeaccess read access Of serialdatain serial data out The SCIk signal is automatically generated with the proper timing For details concerning the sequence of data bits see data sheet MAX532 VLT Instrumentation an Pulpo 2 Manual 07 12 2004 31 of 76 Shutter Status Control Register writeaccess readaccess EndofExposure Interrupt Enable EndofExposure DarkExposure OpenCommandActHi RemoteStatus Interrupt Enable RemoteStatus Line 7 Event4 is a rising edge Event4 counter overrun Event2 Interrupt Enable Event2 encountered Event1 Interrupt Enable
6. Pin Signal Pin Signal 1 Sensor 1 current 35 Sensor 1 current 2 Sensor 1 sense 36 Sensor 1 sense 3 Sensor 2 current 37 Sensor 2 current 4 Sensor 2 sense 38 Sensor 2 sense 5 Sensor 3 current 39 Sensor 3 current 6 Sensor 3 sense 40 Sensor 3 sense 7 Sensor 4 current 41 Sensor 4 current 8 Sensor 4 sense 42 Sensor 4 sense 9 Sensor 5 current 43 Sensor 5 current 10 Sensor 5 sense 44 Sensor 5 sense 11 Sensor 10 current 45 Sensor 10 current 12 Sensor 10 sense 46 Sensor 10 sense 13 Sensor 11 current 47 Sensor 11 current 14 Sensor 11 sense 48 Sensor 11 sense 15 Sensor 12 current 49 Sensor 12 current 16 Sensor 12 sense 50 Sensor 12 sense 17 Sensor 13 current 51 Sensor 13 current 18 Sensor 13 sense 52 Sensor 13 sense 19 Sensor 14 current 53 Sensor 14 current 20 Sensor 14 sense 54 Sensor 14 sense 21 Sensor 15 current 55 Sensor 15 current 22 Sensor 15 sense 56 Sensor 15 sense 23 Sensor 16 current 57 Sensor 16 current 24 Sensor 16 sense 58 Sensor 16 sense 25 Sensor 17 current 59 Sensor 17 current 26 Sensor 17 sense 60 Sensor 17 sense 27 Sensor 18 current 61 Sensor 18 current 28 Sensor 18 sense 62 Sensor 18 sense 29 N C 63 N C 30 N C 64 N C 31 Heater 4 65 Heater Power 24V 32 Heater 3 66 Heater Power 24V 33 Heater 2 67 Heater Power
7. link are echoed back This mode is useful to test the serial link reliability This mode is active since a cr is detected in the incoming string m Syntax EC Example EC et serial link in Echo Mode OK Related commands CM Controller Mode TM Terminal Mode External Muxboards Enable Disable External Muxboards Syntax EM n with n 0 Disable External MuxBoards n 1 Enable External MuxBoards with no parameter it returns the MuxBoard enable status Default value 0 Example EM 1 enable external muxboards OK EM read if external muxboards are enabled OK 1 Note Command implemented for Pulpo 2 not existing in Pulpo VLT TRE ESO 13630 3490 1 0 07 12 2004 50 of 76 VLT Instrumentation Pulpo 2 Manual Filter Value Read or set the value for the A coefficient in the digital recursive filter used to calculate the sensors temperature The low pass filter has the form of Yi A Yi 1 1 A Xi were Xi is the sensor readout Yi 1 is the previous computed value for the temperatur Syntax FV f with f 0 0 gt 1 0 Default value 0 Example FV 0 5 set filter A coefficient to 0 5 OK FV set filter A coefficient OK 0 5 HEater n ON OFF Enable or disable the PID routine for heater h Syntax HE h v with h 1 gt 8 v 0 gt 3 v 0 turn off the PID v 1 turns the PID on Default values 0 heaters disabled
8. oscillator and is therefore independent of the system clock VLT TRE ESO 13630 3490 1 0 07 12 2004 20 of 76 VLT Instrumentation Pulpo 2 Manual There will not be any termination or quiet state biasing of signals This has to be done on the CPU board e g pulling AEN low or pulling OWS high VLT TRE ESO 13630 3490 1 0 07 12 2004 21 of 76 VLT Instrumentation Pulpo 2 Manual 5 3 Sensors 1mA current NT ae source PLD PT100 select Supply and sense 16 PT100 4 x ADG707 Supply and sense 8 PT100 2 x ADG707 Supply and sense reference sensor and heater current 5 PT100 sensors 2 x ADG707 resistor sense reference Vacuum resistor Heater current Fig 6 Sensor Interfacing VLT TRE ESO 13630 3490 1 0 07 12 2004 22 of 76 VLT Instrumentation Pulpo 2 Manual As shown in Fig 6 four ADG707 differential multiplexers connect one of up to 29 PT100 sensors to a 0 5 mA current source The other terminal of the selected PT100 is simultaneously switched to ground Four additional ADG707 differential multiplexers connect one of the sense conductors of the selected PT100 the reference resistor or the vacuum gauge or the heater current sense output to an analog signal chain The gain in the signal chain can be switched to accommodate the different output levels of the PT100s and the vacuum gauge The analog chain uses the PGA205 and the INA118 instrumentation ampli
9. s 111 118 121 128 131 138 gt sensors on ext Mux s 211 218 221 228 231 238 gt sensors on ext Mux s 311 318 321 328 331 338 gt sensors on ext Mux s 411 418 421 428 431 438 gt sensors on ext Mux 4 WN RE This command associates the sensor s to heater h for the PID controller Tf no parameter s is given the reply contains the sensor which is associated with the heater h Example CS 2 1 associate heater 2 with sensor 1 OK CS 52 read sensor associated with heater 2 OK 1 Disable Leds Disable the front panel LEDs Syntax DL n without parameter n or n 1 disable leds with n 0 enable leds This command is intended to avoid light pollution Example DL disable LEDs OK DL 0 enable LEDs OK VLT TRE ESO 13630 3490 1 0 07 12 2004 49 of 76 VLT Instrumentation Pulpo 2 Manual Dewar Model Define or read the dewar model Syntax DM m m 0 4 where m 0 4 Dewar Model connected to PULPO m 0 all independent heaters m 1 heaters 1 and 2 in parallel the others independent m 2 heaters 2 and 3 in parallel the others independent m 3 1 m 4 li heaters and 3 in parallel the others independent heaters 2 and 3 in parallel the others independent Default value 0 Example DM 1 set dewar model 1 OK DM read dewar model OK 1 ECho Mode Set serial link in Echo Mode characters received through the serial
10. 0 Set if Alarm enabled for Sensor 131 AlarmS132Enab 1 Set if Alarm enabled for Sensor 132 AlarmS133Enab 2 Set if Alarm enabled for Sensor 133 AlarmS134Enab 3 Set if Alarm enabled for Sensor 134 AlarmS135Enab 4 Set if Alarm enabled for Sensor 135 AlarmS136Enab 5 Set if Alarm enabled for Sensor 136 AlarmS137Enab 6 Set if Alarm enabled for Sensor 137 AlarmS138Enab 7 Set if Alarm enabled for Sensor 138 STATUS BYTE 10 BIT FUNCTION AlarmS211Enab 0 Set if Alarm enabled for Sensor 211 AlarmS212Enab 1 Set if Alarm enabled for Sensor 212 AlarmS213Enab 2 Set if Alarm enabled for Sensor 213 AlarmS214Enab 3 Set if Alarm enabled for Sensor 214 AlarmS215Enab 4 Set if Alarm enabled for Sensor 215 AlarmS216Enab 5 Set if Alarm enabled for Sensor 216 AlarmS217Enab 6 Set if Alarm enabled for Sensor 217 AlarmS218Enab 7 Set if Alarm enabled for Sensor 218 STATUS BYTE 11 BIT FUNCTION AlarmS221Enab 0 Set if Alarm enabled for Sensor 221 AlarmS222Enab 1 Set if Alarm enabled for Sensor 222 AlarmS223Enab 2 Set if Alarm enabled for Sensor 223 AlarmS224Enab 3 Set if Alarm enabled for Sensor 224 AlarmS225Enab 4 Set if Alarm enabled for Sensor 225 AlarmS226Enab 5 Set if Alarm enabled for Sensor 226 AlarmS227Enab 6 Set if Alarm enabled for Sensor 227 AlarmS228Enab 7 Set if Alarm enabled for Sensor 228 STATUS BYTE 12 BIT FUNCTION AlarmS231Enab 0 Set if Alarm enabled for Sensor 231 AlarmS232Enab 1 Set if Alarm enabled for Sensor 232 AlarmS233Enab 2 Set if Alarm enabled fo
11. 07 12 2004 26 of 76 VLT Instrumentation Pulpo 2 Manual 5 5 Shutter control OpenCommand exposure time event event FullyClosed H 4A event event FullyOpen 49 43 Fig 8 shutter control and status signals The shutter timing of Fig 8 is one possible example Due to a programmable shutter interface different shutter configurations can be implemented The programmability of the interface allows for different signal polarities and allows for the measurement of the delays of the shutter mechanics with respect to the exact time at which a start or end of an exposure is commanded The exposure time is controlled by the PLD on the Pulpo 2 peripheral board The timing control is based on the local 16 000 MHz clock and hence accurate to within 62 5 ns The local clock is divided down to a 1ms clock and this slow clock is then used for the exposure time counting The resolution of the exposure time setting is therefore 1ms Because a 24 bit counter is used a maximum of 4 6 hours 16 777 s exposure time can be set VLT TRE ESO 13630 3490 1 0 VLT Instrumentation Pulpo 2 Manual 07 12 2004 27 of 76 The shutter control on the Pulpo 2 peripheral board uses the following shutter signals OpenCommand Output shutter opens when signal is active active low or high programmable FullyClosed Input pulses inactive when shutter leaves and enters fully closed status acc to configura
12. AlarmS417Trigger 6 Set if Alarm triggered for Sensor 417 AlarmS418Trigger 7 Set if Alarm triggered for Sensor 418 STATUS BYTE 33 BIT FUNCTION AlarmS421Trigger 0 Set if Alarm triggered for Sensor 421 AlarmS422Trigger 1 Set if Alarm triggered for Sensor 422 AlarmS423Trigger 2 Set if Alarm triggered for Sensor 423 AlarmS424Trigger 3 Set if Alarm triggered for Sensor 424 AlarmS425Trigger 4 Set if Alarm triggered for Sensor 425 AlarmS426Trigger 5 Set if Alarm triggered for Sensor 426 AlarmS427 Trigger 6 Set if Alarm triggered for Sensor 427 AlarmS428Trigger 7 Set if Alarm triggered for Sensor 428 VLT Instrumentation Pulpo 2 Manual VLT TRE ESO 13630 3490 1 0 07 12 2004 41 of 76 STATUS BYTE 34 BIT FUNCTION AlarmS431 Trigger 0 Set if Alarm triggered for Sensor 431 AlarmS432Trigger 1 Set if Alarm triggered for Sensor 432 AlarmS433Trigger 2 Set if Alarm triggered for Sensor 433 AlarmS434Trigger 3 Set if Alarm triggered for Sensor 434 AlarmS435 Trigger 4 Set if Alarm triggered for Sensor 435 AlarmS436 Trigger 5 Set if Alarm triggered for Sensor 436 AlarmS437 Trigger 6 Set if Alarm triggered for Sensor 437 AlarmS438Trigger 7 Set if Alarm triggered for Sensor 438 VLT TRE ESO 13630 3490 1 0 07 12 2004 42 of 76 VLT Instrumentation Pulpo 2 Manual 6 2 Command reply and errors Any command reply has one of the following forms OK OK lt parameter gt ERR lt error code gt The error codes are
13. CPU BOARD Sicssicesteeesszensesiees iae taroen e 5642656150009 S raes ees arapa ennen 10 A e ea aeea AERA aAA AARAA apeesseeeee tr caterers 10 4 21 PoWerSUPplY italia 12 4 3 RS an TER 14 9 PERIPHERAL BOARB 228482228 80er Ara Ir ASE eIn tes 17 5 1 Functions board format and CONNectorS ooccccccnnccnncnnccnnnonoconnnnnaconnnnoninnnnnns 17 9 2 Bus interface ner rin 19 A A 21 9 4 y OAS COMIN it AA AAA tata 24 5 9 ONU ECONO ee TE Ir PR NIE EBEN 26 5 6 Other Tunctions ieisisissei ieteiiefeieiseettestinet liebe sssbeairhertinetlstee 27 ST Register intetace so nites RR eee 28 NAAA aat Hain Settee tat fet SER cat ae SEE cat aett aibaaahaast eher 34 64 SAUS DVIES Aa un a aa i ae td 34 6 2 Command reply and errors ccccccccnnnonocccnnnnccnnnnannnnnnnnnccnnnnnnnnccnnnnnnnnnnnnnnncnnnn 42 6 3 Dimensions of command and reply parameters eennnnen 45 G HC OM nur ale ER Re 45 6 5 lt Commands shortlist 24 224222 Hierin 63 A GAL Dee Ea TERE RENEE AD AS Es EB Dad 66 O 66 0 8 Self REcovery season 67 1 DIFFERENCIES WITH RULPO sra en eee 68 7 1 Incompatibililles 200 nidad adas 68 7 2 New tunctionalities tomo io erotica ceras 68 ANNEX A Cable connector pinout cccccccncccinnnononccnnncccnnnnanonccnnnnccnnnnnnnnoccnnnncnnnnns 69 ANNEX B Practical Example OmegaCaM ooooccccccccnnnncooccconcccnnnccnnnnannnnnncninnnnnnnrs 73 VLT Instrumentation an Pulpo 2 Manual 07 12 2004 4 of 76
14. For a description of the 486Core see the dedicated chapter below The backplane connector is a 96 pin DIN41612 This connector provides power and ISA bus signals to the Peripheral board The CPU board also contains the power supply for the 486Core and the Peripheral board It is supplied with 24V from the FIERA power supply The required voltages for the 486Core 5V 3 3V and the peripheral board 5V 3 3V 15V 15V 24V are generated on the CPU board by means of DC DC converters The control connection to the user display and keyboard is also performed through the CPU board The display is a Varitronix MGLS12864T HT LEDO3 with a display size of 128x64 pixel and LED background illumination It features an on board Toshiba controller T6963 8K ROM with predefined character sizes of 8x8 or 8x6 pixels and 8K RAM for user defined characters lt can operate in either text mode graphic mode or mixed mode The user input can be performed via buttons on the front panel These buttons are read by the 486Core via the GPIO General Purpose I O lines so there is no need for additional circuitry The connection to the LCD display is via the parallel port interface due to the ease of use and availability of the software device driver to control it 1 See www compulab co il VLT TRE ESO 13630 3490 1 0 07 12 2004 11 of 76 VLT Instrumentation Pulpo 2 Manual D amp Q X O Mm Com 1 Opto isolated an Comports Com
15. Self Recovery us SS lt Sensor number gt SV lt Temperature gt SR lt l Enable or 0 Disable gt For OmegaCam ss 19 Check with SS should return OK 19 SV 320 Check with SV should return OK 320 SR 1 Check with SR should return OK 1
16. am ame a e Real time clock SF 3 UART a RSZ32 RSZ32 COML dry I O ports External Bus Interface IDE Hard Disk 1 controller A Floppy Flo disk Js controller a annn z KER a Parallel EPP ECP Z Port a NAND FLAS UARTs RSZ32Z R3232 5 16 128MB e COMZ 3 ER dry i optional Optional Super WO a CACHE Elansc4o00 CPU core 486 compatible Fig 4 Block diagram of the 486Core The 486Core module is a tiny PC Card module 75 x 54 mm It can be equipped with different sizes of FLASH memory RAM and different configuration depending on the target application Table 1 summarises the most important features VLT TRE ESO 13630 3490 1 0 07 12 2004 15 of 76 VLT Instrumentation Pulpo 2 Manual Feature Description CPU Board Remarks Processor 486 running at 33 486 at 66Mhz 66 or 100Mhz DRAM 8 32 MB 32MB Program NOR 1 8MB 4MB FLASH NAND Flash Disk 1 136MB 16MB LCD Graphics Parallel port device Might be used for controller driver or raw LCD Alternatively control of the the parallel port or parallel port lines GPIO can be used PCMCIA controller Available No Control lines can be used for other purposes PC AT systemlogic Floppy Disk Parallel port Either keyboard and essential controller Parallel GPIO s controller or peripherals port 32 GPIO s GPIO s will be used IDE Keyboard for keyboard controller Power dual supply
17. consumption 3 3V 5V 30mW Mhz MTBF 100 000 hours Network interface Ethernet 10BaseT with transformer and EMI Filter Table 1 486 Core features About 300 KB of the NOR FLASH is used for BIOS the remaining part is used for disk emulation Flash ROM guarantees a minimum of 1 000 000 write operations per sector For applications requiring large non volatile on board storage the 486CORE can be assembled with additional NAND Flash NAND Flash is a block device optimized for block read and write operations rather than random access It is used to emulate FFS Flash File System any piece of software that allows flash to be used similarly to a disk drive It is seen by the operating system as a regular hard disk NAND Flash is available with size of 16 32 64 or 128 Mbytes The 486CORE is designed for upward NAND Flash compatibility with future and larger devices NAND Flash VLT TRE ESO 13630 3490 1 0 07 12 2004 16 of 76 VLT Instrumentation Pulpo 2 Manual guarantees a minimum of 1 000 000 block write operations and 10 year data retention Most of the control lines on the 486Core are multiplexed between different functions There is always a trade off between them e g enabling the keyboard controller limits the memory usage to 16MB Three GPIO s General Purpose I O would be needed for the input buttons and one for the control of display illumination The 486Core offers 6 GPIO s which are not multip
18. defined in the pulpolErrors h file The error number from 0 to 25 are kept with the same definition as PULPO1 for backward compatibility El define SUCCESS Or vz El define ERR_UNDEFINED_CMD 1 78 ay define ERR BAD PARAMETER E i zy define ERR_OUT_OF_RANGE B oft define ERR_SENSOR_NOT_CONNECTED 4 7 define ERR NO EXPOSURE ACTIVE 59 78 define ERR_EXP_ALREADY RUNNING SAR A y define ERR_EXP_ALREADY PAUSED I fk El define ERR_EXP_UNDEFINED 8 el define ERR_RTC_TIMEOUT SE define ERR_VAC_GAUGE_DEFECTIVE 0 ay define ERR_LOGGING_OFF 1 define ERR_NO_SENSOR_ASSOCIATED 20 57 define ERR NO SHUTTER STATUS AVAILABLE EA EJ define ERR RTC ERROR 4 define ERR_NO_LOG_ACTIVITY 5 define ERR_SHUTTER_OPEN_TIMEOUT 6 define ERR SHUTTER CLOSE TIMEOUT TAS El define ERR_VAC_PWR_OFF Spa define ERR SHUTTER ALREADY CLOSED 9 Ay define ERR NO SHUTTER BOARD CONNECTED 20 E7 define ERR_INSTRUMENT_SHUTTER_UNDEFINED 21 57 define ERR SHUTTER INSTRUMENT INCONSISTENCY 22 EJ define ERR NO INTEGER VALUE 23 0 JE define ERR_OUT_OF_TIME 24 el define ERR _PAUSED NOT ALLOWED DURING DARK 25 UGE El define ERR NOT YET IMPLEMENTED 26 2y define ERR_GENERAL 40 General error 7 p2periph errors Ef define ERR_READ_REG 41 Error when reading physical register define ERR_WRITE_REG 42 Error when writing physical register define ERR_SELECT_SENSOR 43 Erro
19. is Linux EM i486 The code completely written in C follows the VLTSW standards defined in AD 01 The code is archived within the CMM pulpo2 module For detailed information about the software structure compilation debugging and installation refer to the README file in the pulpo2 module 6 1 Status bytes Pulpo 2 has 34 status bytes which are used for maintaining information on Pulpo 2 operation They are accessible using the command SB n where n can be any number from 1 to 34 STATUS BYTE 1 LEDEnab BiasLedOn HeaterOvercurrent Watchdog TunerActive AlarmsGlobalEnabled AlarmsGlobalTEnabled Unused FUNCTION Set if front panel status LEDs enabled Set if Bias LED enabled Setif Overcurrent Set if Watchdog Set if Tuner Active Set if Global Alarm enabled Setif Temperature Global Alarm enabled Not Used STATUS BYTE 2 BIT FUNCTION ShOpen 0 Set if shutter open ExpPaused 1 Set if exposure paused by CCD controller PE 1 ExpActive 2 Set if exposure active ShutterNotConnected 3 Set if no shutter detected at start up shutter test StatusOpenAvailable 4 Set if OPEN status available at start up shutter test StatusCloseAvailable 5 Set if CLOSE status available at start up shutter test StatusRemoteAvailable 6 Set if REMOTE status available at start up shutter test ShutterError 7 Set if Shutter error detected during start up or normal exp STATUS BYTE 3 BIT FUNCTION
20. status El define ERR_INC_TIMER 90 Error incrementing heater timer e define ERR_LOC 91 Error locking programme EL define ERR_SET_ALARMS 92 Error setting all alarms define ERR_RESET ALARMS 93 Error resetting all alarms 7 define ERR_RESISTANCE 94 Error reading heater resistances Ba define ERR_BROKEN_SENSOR 95 PT100 is broken define ERR_INIT_SENSORS 96 Error initialising sensors heaters define ERR_MSGINIT 97 Error initialising msg system ef define ERR_LOADING_CONF 98 Error loading configuration file 2 Logging errors define ERR_LOGINIT 150 Error initialising Logging define ERR_LOGFILE_OPEN 151 Error opening log file ef define ERR_LOGFILE FTRUNCATE 152 Error truncating log file E define ERR LOGFILE MMAP 153 Error mmapping memory for log file ay define ERR_LOGFILE WRITE 154 Error writing file l p2serial errors E define ERR_READING_BUFFER 200 Error while reading serial buffer ef define ERR WRITING BUFFER 201 Error while writing serial buffer EJ define ERR OPEN SERIAL 202 Error while opening serial port Ef p2uif errors USTA define ERR CHECKING KEYS 300 Error when checking keys define ERR_INIT_KEYPAD 301 Error when initializing keypad e define ERR GET KEYPAD STATE 302 Error when getting keypad state Ej define ERR RESET KEYPAD STATE 303 Error when resetting keypad state el define ERR_DISPLAY_SENSORS 304 Error when displaying sensors El define ERR
21. supply voltages A voltage supervisor MAX 814 on the 5V supply is used to generate a reset on power up and in case of a power failure The MAX814 also provides the option of a manual reset via a button The Peripheral board is reset via the RSTDRV signal on the ISA bus and generated by the 486Core The display requires an adjustable contrast voltage from 9 to 12V Due to the low current lt 4mA it can be derived from the 15V by means of a simple voltage divider The 12V is used to provide power to the opto I O s on the CPU board and the peripheral board On the CPU board it supplies the power to the optocouplers for the serial ports and on the peripheral board it provides power to the shutter interface and the user I O lines A 3V lithium battery is used to keep the RTC real time clock running in case of a power failure Note The battery only serves as a backup source for the RTC when Pulpo 2 is off All configuration data set points heater assignment etc is stored in non volatile FLASH memory and will be kept even if the battery fails VLT TRE ESO 13630 3490 1 0 VLT Instrumentation Pulpo 2 Manual 07 12 2004 14 of 76 4 3 The 486Core 5 D e Slot 1 10BaseT PCMCIA Slot 2 Magnetics Controller gt a td Po a z LCD TFT STN s Ethernet Controller Controller a Optional Ethernet KR Keyboard XT keybrd O ee acs E e rr Infrared IrDA Controller
22. the heaters activating them for a short time and measuring the current and the resistance Syntax RH Example RH reset heaters OK Reset OverCurrent Reset OverCurrent on heaters Read the Heater Supervision Register and reset Overcurrent if it is set Syntax RO Example RO reset overcurrent OK VLT TRE ESO 13630 3490 1 0 07 12 2004 56 of 76 VLT Instrumentation Pulpo 2 Manual Reset Shutter Run a test on the shutter and update the status Syntax RS Example RS reset shutter OK Reset Temperature sensors Test all the sensor inputs to determine which ones are connected and set the status bytes accordingly Syntax RT Example RT reset temperature sensors Reset Vacuum sensor o Check Vacuum Sensor connection In the reply the connection state is shown 0 for not connected 1 for connected Syntax RV Example RV reset vacuum sensor OK 1 vacuum sensor is connected Show triggered Alarms show triggered Alarms Syntax SA Example SA OK S212 S313 alarm triggered by Sensors 212 and 313 Note Command implemented for Pulpo 2 not existing in Pulpo Status Byte Return a status byte The staus byte is shown in hexadecimal form Syntax SB n with n 1 gt 34 Example SB 2 read status byte 2 shutter OK A0 status byte 2 has bits 10100000 Shutter Close Close shutter Syntax SC Exam
23. 0 07 12 2004 68 of 76 VLT Instrumentation Pulpo 2 Manual 7 DIFFERENCIES WITH PULPO 7 1 Incompatibilities With respect to the previous multifunctional module for the ESO cooling systems and shutters Pulpo Pulpo 2 has the following incompatibilities 7 2 no LN sensor and alarm DB command DeBug mode not available LD command Log Dump not implemented due to the dimension of the log file it can be retrieved only through the ethernet connection e g via ftp LO command has only one parameter time interval XD command eXposure Delay not available New functionalities With respect to the previous multifunctional module for the ESO cooling systems and shutters Pulpo Pulpo 2 has the following new functionalities enhanced number of temperature sensors and heaters in particular SE CS HE commands enhanced possibility to connect more heaters through external multiplexers new EM command self recovery new SS SV SR commands low level alarms implemented new LL command possibility to easily check the triggered alarms new SA command global temperature alarm flag new TA command VLT TRE ESO 13630 3490 VLT Instrumentation 1 0 Pulpo 2 Manual ANNEX A 07 12 2004 69 of 76 Cable connector pinout Pinout of SCSI 2 Connector Sensors 1 5 10 18 Heater 1 4
24. 0 Set if Alarm triggered for Sensor 221 AlarmS222 Trigger 1 Set if Alarm triggered for Sensor 222 AlarmS223Trigger 2 Set if Alarm triggered for Sensor 223 AlarmS224 Trigger 3 Set if Alarm triggered for Sensor 224 AlarmS225 Trigger 4 Set if Alarm triggered for Sensor 225 AlarmS226 Trigger 5 Set if Alarm triggered for Sensor 226 AlarmS227 Trigger 6 Set if Alarm triggered for Sensor 227 AlarmS228Trigger 7 Set if Alarm triggered for Sensor 228 STATUS BYTE 28 BIT FUNCTION AlarmS231 Trigger 0 Set if Alarm triggered for Sensor 231 AlarmS232 Trigger 1 Set if Alarm triggered for Sensor 232 AlarmS233Trigger 2 Set if Alarm triggered for Sensor 233 AlarmS234 Trigger 3 Set if Alarm triggered for Sensor 234 AlarmS235 Trigger 4 Set if Alarm triggered for Sensor 235 AlarmS236Trigger 5 Set if Alarm triggered for Sensor 236 AlarmS237 Trigger 6 Set if Alarm triggered for Sensor 237 AlarmS238Trigger 7 Set if Alarm triggered for Sensor 238 VLT Instrumentation Pulpo 2 Manual VLT TRE ESO 13630 3490 1 0 07 12 2004 40 of 76 STATUS BYTE 29 BIT FUNCTION AlarmS311 Trigger 0 Set if Alarm triggered for Sensor 311 AlarmS312Trigger 1 Set if Alarm triggered for Sensor 312 AlarmS313Trigger 2 Set if Alarm triggered for Sensor 313 AlarmS314Trigger 3 Set if Alarm triggered for Sensor 314 AlarmS315Trigger 4 Set if Alarm triggered for Sensor 315 AlarmS316Trigger 5 Set if Alarm triggered for Sensor
25. 131 138 for MUX board 1 211 218 S221 228 S231 238 For MUX board 2 311 318 S321 328 S331 338 For MUX board 3 S411 418 S421 428 S431 438 For MUX board 4 2 MUX boards Enable Disable the Multiplexer boards with EM lt 1 Enable or 0 disable gt For Omegacam EM 1 Check with EM should return OK 1 3 Heater setup 3 1 Control sensor assignment Read or set the control sensor for a heater with CS lt Heater number gt lt Sensor Number gt For Omegacam CS 1 217 Check with CS 1 should reply OK 217 cs 2 314 Check with CS 2 should reply OK 314 cs 3 114 Check with CS 3 should reply OK 114 CSs 4 317 Check with CS 4 should reply 0K 317 VLT TRE ESO 13630 3490 1 0 07 12 2004 74 of 76 VLT Instrumentation Pulpo 2 Manual 3 2 Setpoint4 Read or set the setpoint for each heater with SP lt Heater number gt lt Setpoint in Kelvin gt For OmegaCam SP 1 153 Check with SP 1 should return OK 153 0 SP 2 153 Check with SP 2 should return OK 153 0 SP 3 153 Check with SP 3 should return OK 153 0 SP 4 153 Check with SP 4 should return OK 153 0 Note The default setpoint for warmup is 310 3 3 Enable Disable heaters4 Enable or disable the heaters with HE lt Heater number gt lt 0 disable or 1 enable gt For Omegacam HE 1 1 Check with HE 1 should return OK 1 HE 2 1 Check with HE 2 should return OK 1 HE 3 1 Check with HE 3 should return OK 1 HE 4 1 Check with HE 4 sh
26. 24V 34 Heater 1 68 Heater Power 24V IMPORTANT This connector shares sensors 1 5 and Heater 1 3 with the 37pin SUB D connector Use only the DB connector OR the SCSI for these controls VLT TRE ESO 13630 3490 VLT Instrumentation 1 0 Pulpo 2 Manual 07 12 2004 70 of 76 Pinout of SCSI 1 Connector Sensors 19 32 Heater 5 8 Pin Signal Pin Signal 1 Sensor 19 current 35 Sensor 19 current 2 Sensor 19 sense 36 Sensor 19 sense 3 Sensor 20 current 37 Sensor 20 current 4 Sensor 20 sense 38 Sensor 20 sense 5 Sensor 21 current 39 Sensor 21 current 6 Sensor 21 sense 40 Sensor 21 sense 7 Sensor 22 current 41 Sensor 22 current 8 Sensor 22 sense 42 Sensor 22 sense 9 Sensor 23 current 43 Sensor 23 current 10 Sensor 23 sense 44 Sensor 23 sense 11 Sensor 24 current 45 Sensor 24 current 12 Sensor 24 sense 46 Sensor 24 sense 13 Sensor 25 current 47 Sensor 25 current 14 Sensor 25 sense 48 Sensor 25 sense 15 Sensor 26 current 49 Sensor 26 current 16 Sensor 26 sense 50 Sensor 26 sense 17 Sensor 27 current 51 Sensor 27 current 18 Sensor 27 sense 52 Sensor 27 sense 19 Sensor 28 current 53 Sensor 28 current 20 Sensor 28 sense 54 Sensor 28 sense 21 Sensor 29 current 55 Sensor 29 current 22 Sensor 29 se
27. 3 optional 486 Core Esel Ethernet with on board DRAM Keyboard control Front panel NOR FLASH keyboard NAND FLASH 5V 3 3V Display control 15V Ep MEE Power 133V supply 12V_Opto 24V 24V from FIERA power supply a Fig 2 Overview of the PULPO II CPU board VLT Instrumentation ea Pulpo 2 Manual 07 12 2004 12 of 76 4 2 Power supply To 486 Core N 5V Voltage RESET a supervis 5V A To 486 Core 3 3V gt ee To shutter rom interface FIERA power 2 supply 12V a VCC LCD 5 To display g 15V 15V 9 32V 15V 15 24V To 486 Core 3V Lithium Battery Fig 3 Block diagram of the power supply All required voltages are generated on the CPU board The main power supply for the board is a standard FIERA 24V Kniel power supply mounted on the power supply of the Detector Head All other voltages are derived from this voltage using Deutronic DC DC converters VLT TRE ESO 13630 3490 1 0 07 12 2004 13 of 76 VLT Instrumentation Pulpo 2 Manual The maximum currents can be seen in the table below Voltage max Current Used on 5V 2A CPU Board peripheral board 3 3V 2A CPU Board peripheral board 12V 1 6A CPU Board peripheral board 15V 100mA peripheral board 15V 100mA peripheral board Display Each voltage has auto resetting SMD fuses Standard bypassing plus additional Pl filters are used to smoothen the
28. 316 AlarmS317Trigger 6 Set if Alarm triggered for Sensor 317 AlarmS318Trigger 7 Set if Alarm triggered for Sensor 318 STATUS BYTE 30 BIT FUNCTION AlarmS321Trigger 0 Set if Alarm triggered for Sensor 321 AlarmS322Trigger 1 Set if Alarm triggered for Sensor 322 AlarmS323Trigger 2 Set if Alarm triggered for Sensor 323 AlarmS324Trigger 3 Set if Alarm triggered for Sensor 324 AlarmS325Trigger 4 Set if Alarm triggered for Sensor 325 AlarmS326Trigger 5 Set if Alarm triggered for Sensor 326 AlarmS327 Trigger 6 Set if Alarm triggered for Sensor 327 AlarmS328 Trigger 7 Set if Alarm triggered for Sensor 328 STATUS BYTE 31 BIT FUNCTION AlarmS331 Trigger 0 Set if Alarm triggered for Sensor 331 AlarmS332Trigger 1 Set if Alarm triggered for Sensor 332 AlarmS333Trigger 2 Set if Alarm triggered for Sensor 333 AlarmS334 Trigger 3 Set if Alarm triggered for Sensor 334 AlarmS335Trigger 4 Set if Alarm triggered for Sensor 335 AlarmS336 Trigger 5 Set if Alarm triggered for Sensor 336 AlarmS337 Trigger 6 Set if Alarm triggered for Sensor 337 AlarmS338Trigger 7 Set if Alarm triggered for Sensor 338 STATUS BYTE 32 BIT FUNCTION AlarmS41 1 Trigger 0 Set if Alarm triggered for Sensor 411 AlarmS412Trigger 1 Set if Alarm triggered for Sensor 412 AlarmS413Trigger 2 Set if Alarm triggered for Sensor 413 AlarmS414Trigger 3 Set if Alarm triggered for Sensor 414 AlarmS415Trigger 4 Set if Alarm triggered for Sensor 415 AlarmS416Trigger 5 Set if Alarm triggered for Sensor 416
29. 40 5 OK KT 1 OK 40 5 Proportional Constant kp for PID controller Read or set the proportional constant for the PID controller associated to a heater see 6 6 for the formula Syntax KP h f with h 1 gt 8 0 0 gt 1000 0 Default value 37 Example KP 15045 set kp for heater 1 equal to 50 5 OK KP 1 OK 50 5 VLT TRE ESO 13630 3490 1 0 07 12 2004 52 of 76 VLT Instrumentation Pulpo 2 Manual Log Begin Start logging Syntax LB Example LB log begin OK Related commands LC Log Check O LOg interval R Log Restart iS Log Stop Log Check Log Check Return last element written in log file and how many elements are still free Syntax LC Example LC OK 8460 28404 8460 records written 28404 free Related commands og Begin Og interval og Restart og Stop n wow Log Dump Send logged information through serial link Syntax LD NOT IMPLEMENTED IMPORTANT due to the dimension of the log file the only practical way to retrieve it is using ftp through the ethernet connection VLT TRE ESO 13630 3490 1 0 07 12 2004 53 of 76 VLT Instrumentation Pulpo 2 Manual Low Limit Read or set the Low Limit f for triggering an alarm on sensor s f is in K for a temperature sensor or mB for the vacuum sensor Syntax LL s f where s 1 6 gt temperat
30. 490 1 0 VLT Instrumentation Pulpo 2 Manual 07 12 2004 9 of 76 3 HOUSING The standard housing consists of off the shelf aluminum profiles kind of profiles from the company MTS Systemtechnik and aluminum covers This housing combines a good trade off among easiness robustness and accessibility to the internal parts Fig 1 PULPO II With a different wider housing up to 3 peripheral boards could be used VLT TRE ESO 13630 3490 1 0 07 12 2004 10 of 76 VLT Instrumentation Pulpo 2 Manual 4 CPU BOARD 4 1 Functional overview The Pulpo 2 CPU board offers the following functionalities Non volatile FLASH Disk for OS configuration and user data ISA Bus with 16 bit Data 16 bit address and control lines Power supply for on board peripherals and the Pulpo 2 Peripheral board Up to 3 optoisolated serial ports and one serial fiber connection to the SLCU e Ethernet connection for on site debugging and fast log data download e Interface to the user through the front panel keyboard and display The Pulpo 2 CPU board has a standard Eurocard size 160x100 mm The core component is a tiny 486Core PC card module 75x54mm from Compulab which hosts a complete PC with a 486 processor on board memory FLASH disk and all standard PC peripherals e g serial ports parallel port IDE Interface keyboard controller PCMCIA controller Ethernet controller and external interface I O ports VL bus and ISA bus
31. AE s v where s 0 gt switch on off alarms s 1 6 gt temperature sensors s 8 gt vacuum sensor s 10 32 gt temperature sensors s 111 118 121 128 131 138 gt sensors on ext Mux 1 s 211 218 221 228 231 238 gt sensors on ext Mux 2 s 311 318 321 328 331 338 gt sensors on ext Mux 3 s 411 418 421 428 431 438 gt sensors on ext Mux 4 v 0 1 gt disable enable alarm To access a sensor on an external Mux the command EM 1 must have been issued before If the parameter v is not included th nable status for the given sensor is returned Default values 0 alarms disabled Example AE 0 0 disable all alarms OK AE 1 read alarm enable status for sensor 1 OK 0 alarm for sensor 1 disabled Related commands LL Low Limit for alarm TT Temperature Trip point TA Temperature Alarm r VLT TRE ESO 13630 3490 1 0 07 12 2004 47 of 76 VLT Instrumentation Pulpo 2 Manual Auto Tuner Turns the PID Auto Tuner routine ON or OFF This command determines the PID parameters for heater 1 or 1 and 2 when they are connected in parallel Syntax AT n n 0 turn Auto Tuner off n 1 turn Auto Tuner on Default value 1 Example AT 1 start AutoTuner OK AT O stop AutoTuner OK AT check AutoTuner status OK O AutoTuner off NOT YET IMPLEMENTED AVerage Computes the average value and standard deviation of 10 measurements of s
32. Alarm triggered for Sensor 121 AlarmS 122Trigger 1 Set if Alarm triggered for Sensor 122 AlarmS 123Trigger 2 Set if Alarm triggered for Sensor 123 AlarmS 124 Trigger 3 Set if Alarm triggered for Sensor 124 AlarmS 125Trigger 4 Set if Alarm triggered for Sensor 125 AlarmS 126Trigger 5 Set if Alarm triggered for Sensor 126 AlarmS127Trigger 6 Set if Alarm triggered for Sensor 127 AlarmS128Trigger 7 Set if Alarm triggered for Sensor 128 STATUS BYTE 25 BIT FUNCTION AlarmS 131 Trigger 0 Set if Alarm triggered for Sensor 131 AlarmS 132Trigger 1 Set if Alarm triggered for Sensor 132 AlarmS 133Trigger 2 Set if Alarm triggered for Sensor 133 AlarmS 134 Trigger 3 Set if Alarm triggered for Sensor 134 AlarmS 135 Trigger 4 Set if Alarm triggered for Sensor 135 AlarmS 136 Trigger 5 Set if Alarm triggered for Sensor 136 AlarmS 137 Trigger 6 Set if Alarm triggered for Sensor 137 AlarmS 138Trigger 7 Set if Alarm triggered for Sensor 138 STATUS BYTE 26 BIT FUNCTION AlarmS211 Trigger 0 Set if Alarm triggered for Sensor 211 AlarmS212Trigger 1 Set if Alarm triggered for Sensor 212 AlarmS213Trigger 2 Set if Alarm triggered for Sensor 213 AlarmS214Trigger 3 Set if Alarm triggered for Sensor 214 AlarmS215Trigger 4 Set if Alarm triggered for Sensor 215 AlarmS216Trigger 5 Set if Alarm triggered for Sensor 216 AlarmS217Trigger 6 Set if Alarm triggered for Sensor 217 AlarmS218Trigger 7 Set if Alarm triggered for Sensor 218 STATUS BYTE 27 BIT FUNCTION AlarmS221 Trigger
33. AlarmS1Enab 0 Set if Alarm enabled for Sensor 1 AlarmS2Enab 1 Set if Alarm enabled for Sensor 2 AlarmS3Enab 2 Set if Alarm enabled for Sensor 3 AlarmS4Enab 3 Set if Alarm enabled for Sensor 4 AlarmS5Enab 4 Set if Alarm enabled for Sensor 5 AlarmS6Enab 5 Set if Alarm enabled for Sensor 6 AlarmS7Enab 6 Set if Alarm enabled for Sensor 7 AlarmS8Enab 7 Set if Alarm enabled for Sensor 8 VLT TRE ESO 13630 3490 1 0 07 12 2004 35 of 76 VLT Instrumentation Pulpo 2 Manual STATUS BYTE 4 BIT FUNCTION AlarmS9Enab 0 Set if Alarm enabled for Sensor 9 AlarmS10Enab 1 Set if Alarm enabled for Sensor 10 AlarmS11Enab 2 Set if Alarm enabled for Sensor 11 AlarmS12Enab 3 Set if Alarm enabled for Sensor 12 AlarmS13Enab 4 Set if Alarm enabled for Sensor 13 AlarmS14Enab 5 Set if Alarm enabled for Sensor 14 AlarmS15Enab 6 Set if Alarm enabled for Sensor 15 AlarmS16Enab 7 Set if Alarm enabled for Sensor 16 STATUS BYTE 5 BIT FUNCTION AlarmS17Enab 0 Set if Alarm enabled for Sensor 17 AlarmS18Enab 1 Set if Alarm enabled for Sensor 18 AlarmS19Enab 2 Set if Alarm enabled for Sensor 19 AlarmS20Enab 3 Set if Alarm enabled for Sensor 20 AlarmS21Enab 4 Set if Alarm enabled for Sensor 21 AlarmS22Enab 5 Set if Alarm enabled for Sensor 22 AlarmS23Enab 6 Set if Alarm enabled for Sensor 23 AlarmS24Enab 7 Set if Alarm enabled for Sensor 24 STATUS BYTE 6 BIT FUNCTION AlarmS25Enab 0 Set if Alarm enabl
34. AlarmS333Enab 2 Set if Alarm enabled for Sensor 333 AlarmS334Enab 3 Set if Alarm enabled for Sensor 334 AlarmS335Enab 4 Set if Alarm enabled for Sensor 335 AlarmS336Enab 5 Set if Alarm enabled for Sensor 336 AlarmS337Enab 6 Set if Alarm enabled for Sensor 337 AlarmS338Enab 7 Set if Alarm enabled for Sensor 338 STATUS BYTE 16 BIT FUNCTION AlarmS411Enab 0 Set if Alarm enabled for Sensor 411 AlarmS412Enab 1 Set if Alarm enabled for Sensor 412 AlarmS413Enab 2 Set if Alarm enabled for Sensor 413 AlarmS414Enab 3 Set if Alarm enabled for Sensor 414 AlarmS415Enab 4 Set if Alarm enabled for Sensor 415 AlarmS416Enab 5 Set if Alarm enabled for Sensor 416 AlarmS417Enab 6 Set if Alarm enabled for Sensor 417 AlarmS418Enab 7 Set if Alarm enabled for Sensor 418 STATUS BYTE 17 BIT FUNCTION AlarmS421Enab 0 Set if Alarm enabled for Sensor 421 AlarmS422Enab 1 Set if Alarm enabled for Sensor 422 AlarmS423Enab 2 Set if Alarm enabled for Sensor 423 AlarmS424Enab 3 Set if Alarm enabled for Sensor 424 AlarmS425Enab 4 Set if Alarm enabled for Sensor 425 AlarmS426Enab 5 Set if Alarm enabled for Sensor 426 AlarmS427Enab 6 Set if Alarm enabled for Sensor 427 AlarmS428Enab 7 Set if Alarm enabled for Sensor 428 STATUS BYTE 18 BIT FUNCTION AlarmS431Enab 0 Set if Alarm enabled for Sensor 431 AlarmS432Enab 1 Set if Alarm enabled for Sensor 432 AlarmS433Enab 2 Set if Alarm enabled for Sensor 433 AlarmS434Enab 3 Set if Alarm enabled for Sensor 434 AlarmS435Enab 4 Set if Ala
35. DISPLAY MENU1 305 Error when displaying menul ay define ERR_DISPLAY MENUPID 306 Error when displaying menu PID e define ERR DISPLAY MENUALARMS 307 Error when displaying menu Alarms define ERR_DISPLAY MENUMISC 308 Error when displaying menu Misc 7 define ERR_SHOW_STATE_SENSORS 309 Error when displaying state sensors define ERR_MAIN MENU 310 Error when displaying main menu 7 VLT TRE ESO 13630 3490 1 0 07 12 2004 44 of 76 VLT Instrumentation Pulpo 2 Manual define ERR_MENU_HEATER_CTRL 311 Error when displaying Heater Ctrl id define ERR MENU ALARMS 312 Error when displaying Menu Alarms define ERR_MENU_MISC 313 Error when displaying Menu Misc Ej PID automatas errors EJ define ERR INIT OUT POWER 400 define ERR SET OUT POWER 401 define ERR PID COMPUTE 402 define ERR PID 403 VLT TRE ESO 13630 3490 1 0 07 12 2004 45 of 76 VLT Instrumentation Pulpo 2 Manual 6 3 Dimensions of command and reply parameters The following conventions are used temperature values are expressed in Kelvin K pressure values are expressed in millibar mB current values are expressed in milliampere mA sensor average and deviation values are expressed in digital units ADU heater resistances are expressed in Ohm Q power consumption is expressed in Watt W expoure times are expressed in second s shutter open and close delays are expressed in microsecond u
36. EUROPEAN SOUTHERN OBSERVATORY Organisation Europ enne pour des Recherches Astronomiques dans l Hemisphere Austral Europ ische Organisation f r astronomische Forschung in der s dlichen Hemisphare ESO EUROPEAN SOUTHERN OBSERVATORY Karl Schwarzschild Stra e 2 D 85748 Garching bei M nchen VLT INSTRUMENTATION PULPO 2 Manual VLT TRE ESO 13630 3490 Issue 1 0 Date 07 12 2004 Prepared by Claudio Cumani Christoph Geimer Nicolas Haddad Bernhard Lopez Javier Reyes Javier Valenzuela Approved by Dietrich Baade Released by Alan Moorwood VET Instrimentatioh VLT TRE ESO 13630 3490 1 0 Pulpo 2 Manual 07 12 2004 2 of 76 Change Record TssuerRev Date Section Page affected 07 12 2004 VLT TRE ESO 13630 3490 1 0 07 12 2004 3 of 76 VLT Instrumentation Pulpo 2 Manual TABLE OF CONTENTS 1 INTRODUCTION Loa aaa 4 Vide A de ib 4 1 2 Applicable document occccccnnccoccccncncccnnnannnncnnnncnnnnnnnnnncnnnnnnnnnnnnnnncnnnnccnnnnnnnnnes 4 1 3 Reference documents ici rd 4 1 4 Abbreviations and ACronyMS ieseni on e e aaae ei e a eresi 4 1 95 E eE A We en to noe 5 1 6 Stylisti CONVENTIONS Es rss sneen nerne 5 1 77 Naming conventions 2 4 tas oia vara AA anteater eee 6 1 8 gt Acknowledgments ramiro lanar ektas ta tusleneseeeinuatualeasieeelnuatasleatineetnaadsbsl ae 6 2 OVERVIEW ts re Be ater tect Miata aea ise nat re vlad ere surah eae ovine 7 3 SHOUSING wats A ah and dee dann ae te 9 4
37. Event1 encountered The status of the RemoteStatus and ShutterFail signals is directly reflected in bits 9 and 8 of the shutter status register The readable bits 0 7 are used to signal an overrun of the event counters and the occurrence of an event Bit 12 signals that the exposure time counter has counted down to zero These bits 0 7 and 12 are reset when a shutter exposure is started In order to determine which interrupt source generated an interrupt the status register has to be read If the interrupt is generated by a pulse on the RemoteStatus or ShutterFail line the external hardware has to ensure that these lines are asserted for a long enough period of time interrupt latency saftey margin because otherwise the interrupt source cannot be found out by software Bits 7 4 determine whether the respective event is considered to be triggered on a falling when bit 0 or a rising edge bit 1 Each event can trigger an interrupt if the corresponding Event Interrupt Enable bit is set The interrupt source can be determined from the Event encountered bits of the Shutter Status Register The Event encountered bits are reset when the next exposure is started by setting the StartExposure bit in the ShutterCtriReg An exposure is started synchronous with an internal 1ms clock immediately after the StartExposure bit is set The exposure can be aborted Aborting an exposure has the same effect as if the shutter exposure time co
38. Heaters RT Reset Temperature sensors SE s s 1 438 SEnsor value SP h Lt h 1 8 Set Point temperature for heater SR Lv v 0 1 Self Recovery enable off on SS s s 1 438 define Self recovery Sensor SV t Self recovery Value temperature TP Lv 50 0 lt v lt 1280 0 Trip Point for DAC TS Lv 0 5 lt v lt 10 Temperature Slope VACUUM Command Parameter Range Description RV Reset Vacuum sensor VA Lv v 0 1 VAcuum power off on ALARMS Command Parameter Range Description AE s v s 0 438 v 0 1 Alarm Enable s 0 global v off on LL s Lt s 1 438 alarm Lower Limit temperature SA Show triggered Alarms TA v v 0 1 set global Temperature Alarm flag off on TT s t Temperature Trip point alarm upper limit temperature VL e Vacuum upper Limit pressure VLT Instrumentation Pulpo 2 Manual VLT TRE ESO 13630 3490 1 0 07 12 2004 64 of 76 SHUTTER Command Parameter Range Description gt start exposure lt abort exposure CD Close Delay OD Open Delay OS Open Shutter PE v v 0 1 Pause Exposure continue pause RS Reset Shutter SC Shutter Close SI id id 1 12 Shutter Identifier SL v v 0 1 Shutter Logic SM m m 0 3 Shutter Mode dark science LED no shut LED and shut XT 1 0 lt t lt 16777 215 eXposure Time s FRONT PANEL LEDS
39. Og interval R Log Restart Open Delay Return the last open shutter delay in microseconds Syntax OD Example OD read open shutter delay OK 42 open shutter delay was 42ms Open Shutter Open the shutter The shutter remains open until a Shutter Close SC or an Abort lt command is issued Syntax OS Example OS open shutter OK VLT Instrumentation VLT TRE ESO 13630 3490 1 0 Pulpo 2 Manual 07 12 2004 55 of 76 Pause Exposure Pause an exposure The reply contains the close or open shutter delay in microseconds or an error code Syntax PE n with n 0 1 n l pause the active exposure if normal exposure the shutter is closed n 0 paused exposure is continued Example PE 1 pause exposure OK 45 close shutter delay was 45ms PE 0 continue exposure OK 42 open shutter delay was 45ms Related commands gt Start Exposure lt Abort Exposure XT eXposure Time set PoWer Read or set the power delivered to a heater In case of setting the power he reply contains the duty cycle and the power consumption W 100 duty cycle corresponds to 7 5 W for a 75 Ohm heater ESO standard Syntax PW n duty with n 1 gt 8 duty 0 gt 100 Default value 0 Example PW 1 100 set duty cycle for heater 1 to 100 OK PW 1 read duty cycle for heater 1 OK 100 6 5 100 duty cycle 6 5 W Reset Heaters Perform a test on
40. Sensor 19 AlarmS20Trigger 3 Set if Alarm triggered for Sensor 20 AlarmS21Trigger 4 Set if Alarm triggered for Sensor 21 AlarmS22Trigger 5 Set if Alarm triggered for Sensor 22 AlarmS23Trigger 6 Set if Alarm triggered for Sensor 23 AlarmS24Trigger 7 Set if Alarm triggered for Sensor 24 STATUS BYTE 22 BIT FUNCTION AlarmS25Trigger 0 Set if Alarm triggered for Sensor 25 AlarmS26Trigger 1 Set if Alarm triggered for Sensor 26 AlarmS27 Trigger 2 Set if Alarm triggered for Sensor 27 AlarmS28Trigger 3 Set if Alarm triggered for Sensor 28 AlarmS29Trigger 4 Set if Alarm triggered for Sensor 29 AlarmS30Trigger 5 Set if Alarm triggered for Sensor 30 AlarmS31 Trigger 6 Set if Alarm triggered for Sensor 31 AlarmS32Trigger 7 Set if Alarm triggered for Sensor 32 STATUS BYTE 23 BIT FUNCTION AlarmS111Trigger 0 Set if Alarm triggered for Sensor 111 AlarmS112Trigger 1 Set if Alarm triggered for Sensor 112 AlarmS113Trigger 2 Set if Alarm triggered for Sensor 113 AlarmS114Trigger 3 Set if Alarm triggered for Sensor 114 AlarmS115Trigger 4 Set if Alarm triggered for Sensor 115 AlarmS116Trigger 5 Set if Alarm triggered for Sensor 116 AlarmS117Trigger 6 Set if Alarm triggered for Sensor 117 AlarmS118Trigger 7 Set if Alarm triggered for Sensor 118 VLT Instrumentation Pulpo 2 Manual VLT TRE ESO 13630 3490 1 0 07 12 2004 39 of 76 STATUS BYTE 24 BIT FUNCTION AlarmS 121 Trigger 0 Set if
41. ation number and description is summarized Sensor number Description 1 4 to external multiplexers internal PT100 Temperature sensor external PT100 connector reference sensor connected to internal 100 Q precision calibration resistor 8 vacuum sensor 9 heater current sensor 10 32 internal PT100 Temperature sensor 111 118 external PT100 via external multiplexer 1 121 128 external PT100 via external multiplexer 1 131 138 external PT100 via external multiplexer 1 211 218 external PT100 via external multiplexer 2 221 228 external PT100 via external multiplexer 2 231 238 external PT100 via external multiplexer 2 311 318 external PT100 via external multiplexer 3 321 328 external PT100 via external multiplexer 3 331 338 external PT100 via external multiplexer 3 411 418 external PT100 via external multiplexer 4 421 428 external PT100 via external multiplexer 4 431 438 external PT100 via external multiplexer 4 Summary of sensor identification numbers and description in the OmegaCam VLT TRE ESO 13630 3490 1 0 07 12 2004 24 of 76 VLT Instrumentation Pulpo 2 Manual 5 4 Heater control PLD 24VDC supply software l triggered MAX 471 watchdog current 1 sec sense I sp amplifier I PA js MOSFET i heater switches i o control 1m i register l 1 SEERE VE EJ i i current i Bee sense
42. ble or 0 Disable gt For OmegaCam AE 217 1 Check with AE 217 should return OK 1 AE 114 1 Check with AE 114 should return OK 1 AE 314 1 Check with AE 314 should return OK 1 AE 19 1 Check with AE 19 should return OK 1 4 5 Temperature Global Alarm IMPORTANT PULPO has a global temperature alarm which enables disables all temperature alarms As long as the global temperature alarm is not enabled no temperature alarm will be triggered even if all temperature alarms are enabled To enable disable the global temperature Alarm use TA lt 1 Enable or 0 Disable gt For OmegaCam TA 1 Check with TA should return OK 1 4 6 Global Alarm IMPORTANT PULPO has a global alarm which enables disables all alarms As long as the global alarm is not enabled no alarm will be triggered even if vacuum alarm or temperature alarms are enabled To enable disable the global Alarm use AE 0 lt 1 Enable or 0 Disable gt For OmegaCam AE 0 1 Check with AE 0 should return OK 1 4 7 If an Alarm is triggered To disable the alarms use AE 0 0 To check which alarms have been triggered use SA To reenable the alarms use AE 0 1 For OmegaCam AE 0 0 Check with AE 0 should return OK 0 SA Should return the triggered alarms AE 0 1 Check with AE 0 should return OK 1 VLT TRE ESO 13630 3490 1 0 07 12 2004 76 of 76 VLT Instrumentation Pulpo 2 Manual 4 8 Enable Disable Self Recover To enable disable the
43. e Pinout for external sensor Sensor 6 normally used for FIERA box Pin Signal Pin Signal 1 Sensor 6 current 3 Sensor 6 sense Sensor 6 sense 4 Sensor 6 current Pinout of the 24V power connector Pin Signal Pin Signal 1 24V 3 Sense Sense 4 24V_GND Alarm outputs There are 2 alarm outputs for temperature alarm and 2 outputs for vacuum alarm Each output offers a normally open relay contact The connectors are 2 pin Lemo FFA 0S 302 CLAC42 VLT TRE ESO 13630 3490 1 0 07 12 2004 72 of 76 VLT Instrumentation Pulpo 2 Manual Pinout of the vacuum gauge connector Pin Signal Pin Signal 1 NC 4 VAC 2 GND 5 NC 3 VAC 6 VAC Power 24V 0 10V output of the vacuum gauge only if power to the vacuum gauge is enabled VA command Pinout of the RS232 connector Pin Signal Pin Signal 1 NC 6 NC 2 Receive 7 NC 3 Transmit 8 NC 4 NC 9 NC 5 GND This pinout requires a Nullmodem cable for the connection to a terminal Pinout of the shutter connector 15pin High Density Pin Signal Pin Signal 1 Fully OPEN status input 9 OptoOut 1 spare open collector 2 Fully CLOSE status input 10 OptoOut 2 spare open collector 3 REMOTE status input for SESO 11 Common Emitter for 8 9 10 4 FAIL status input 12
44. e a 10 5 sec exposure OK gt start the exposure OK XT 3 decrement the remaining time by 3 sec OK XT 20 increment the remaining time by 20 sec OK XT request remaining time OK 26 3 still 26 3 seconds to go Related commands gt Start Exposure lt Abort Exposure PE Pause Exposure VLT Instrumentation Pulpo 2 Manual VLT TRE ESO 13630 3490 1 0 07 12 2004 63 of 76 6 5 Commands short list HEATER TEMPERATURE CONTROL LOOP Command Parameter Range Description AT Lv v 0 1 turn PID Auto Tuner off on AV s s 1 32 AVerage value and deviation on sensor n CS h Ls h 1 8 S 1 438 Connect Sensor heater m to sensor n DM Lv v 0 4 Deware Model all ind 1 2 par 2 3 par 1 3 par 1 2 3 par EM v v 0 1 Enable Multiplexer off on FV Lf 0 0 lt f lt 1 0 Filter Value HE h v h 1 8 v 0 3 HEater off on on 90 on 45 HM h v h 1 8 v 0 2 Heater Mode linear 1 s duty cycle 10 s duty cycle HR h h 1 8 Heater Resistance KD h v h 1 8 0 lt v lt 200 PID derivative constant KI h v h 1 8 0 lt v lt 1000 PID integral constant KP h Lv h 1 8 0 lt v lt 1000 PID proportional constant PW h v h 1 8 0 lt v lt 100 percentage of PoWer delivered to heater RO Reset Overcurrent on heaters RH Reset
45. ed for Sensor 25 AlarmS26Enab 1 Set if Alarm enabled for Sensor 26 AlarmS27Enab 2 Set if Alarm enabled for Sensor 27 AlarmS28Enab 3 Set if Alarm enabled for Sensor 28 AlarmS29Enab 4 Set if Alarm enabled for Sensor 29 AlarmS30Enab 5 Set if Alarm enabled for Sensor 30 AlarmS31Enab 6 Set if Alarm enabled for Sensor 31 AlarmS32Enab 7 Set if Alarm enabled for Sensor 32 STATUS BYTE 7 BIT FUNCTION AlarmS111Enab 0 Set if Alarm enabled for Sensor 111 AlarmS112Enab 1 Set if Alarm enabled for Sensor 112 AlarmS113Enab 2 Set if Alarm enabled for Sensor 113 AlarmS114Enab 3 Set if Alarm enabled for Sensor 114 AlarmS115Enab 4 Set if Alarm enabled for Sensor 115 AlarmS116Enab 5 Set if Alarm enabled for Sensor 116 AlarmS117Enab 6 Set if Alarm enabled for Sensor 117 AlarmS118Enab 7 Set if Alarm enabled for Sensor 118 STATUS BYTE 8 BIT FUNCTION AlarmS121Enab 0 Set if Alarm enabled for Sensor 121 AlarmS122Enab 1 Set if Alarm enabled for Sensor 122 AlarmS123Enab 2 Set if Alarm enabled for Sensor 123 AlarmS124Enab 3 Set if Alarm enabled for Sensor 124 AlarmS125Enab 4 Set if Alarm enabled for Sensor 125 AlarmS126Enab 5 Set if Alarm enabled for Sensor 126 AlarmS127Enab 6 Set if Alarm enabled for Sensor 127 AlarmS128Enab 7 Set if Alarm enabled for Sensor 128 VLT Instrumentation Pulpo 2 Manual VLT TRE ESO 13630 3490 1 0 07 12 2004 36 of 76 STATUS BYTE 9 BIT FUNCTION AlarmS131Enab
46. enames pre suffixes as they have to be typed italic in the text for parts that have to be substituted with the real content before typing teletype for examples lt name gt in the examples for parts that have to be substituted with the real content before typing bold and italic are also used to highlight words VLT TRE ESO 13630 3490 1 0 07 12 2004 6 of 76 VLT Instrumentation Pulpo 2 Manual 1 7 Naming conventions This implementation follows the naming conventions as outlined in AD 01 1 8 Acknowledgments Special thanks to Rolf Gerdes who contributed to the development of the Pulpo 2 project and to the first draft of some of the chapters of this manual VLT TRE ESO 13630 3490 1 0 07 12 2004 7 of 76 VLT Instrumentation Pulpo 2 Manual 2 OVERVIEW Pulpo 2 is an ESO standard multifunctional module designed for use with cooling systems and shutters of ESO CCD detector systems It is able to Read up to 29 temperature sensors PT100 type Control 8 heaters circuits of up to 7 Watts each Read out of a vacuum sensor Interface in a flexible way to a large variety of shutters Centralize alarms from vacuum and temperature sensors Display parameters for easy and quick parameter check out Log sensor values on internal flash disk for later recovery Provide a serial and an ethernet interface The standard Pulpo 2 consists of a CPU board a peripheral board the user interface display and butto
47. ensor s The reply values are in ADUs Syntax AV s where s 1 32 gt temperature sensors s 8 gt vacuum sensor s 9 gt heater current s 111 118 121 128 131 138 gt sensors on ext Mux s 211 218 221 228 231 238 gt sensors on ext Mux s 311 318 321 328 331 338 gt sensors on ext Mux s 411 418 421 428 431 438 gt sensors on ext Mux BUNE Example AV 1 read average value of sensor 1 OK 42350 1 2 5 Bias Power Set the current level to the bias LED Full power 100 is approximately 25mA Syntax BP f with f 0 0 gt 100 0 Default value 0 Example BP 50 set LED current to 12 5 mA OK BP read Power to Bias LED OK 50 0 Close Delay Return the last shutter Opening Delay in microseconds Syntax CD Example CD request shutter close delay OK 45 close shutter delay was 45ms VLT TRE ESO 13630 3490 1 0 07 12 2004 48 of 76 VLT Instrumentation Pulpo 2 Manual Controller Mode Set serial link in controller mode characters are not echoed back This is the normal mode for connecting PULPO with the CCD controller Syntax CM Example CM set serial link in Controller Mode OK Related commands EM Echo Mode TM Terminal Mode Control Sensor Command Control Sensor Syntax CS h s where h 1 8 gt heater s 1 32 gt temperature sensors s 8 gt vacuum sensor s 9 gt heater current
48. fiers An AD7663 analog to digital converter is used parallel 16 bit output The input range of the AD7663 is 0 10V The AD7663 is supplied with 5VDC The 5V is derived from the 15V analog supply voltage by means of a linear regulator The heater current sensing is effected using a current sense amplifier which converts the current to an equivalent voltage This voltage is supplied to a multiplexer for sensing The ADC range and resolution are sufficient to detect whether or not a PT100 connection is broken If the sensed voltage exceeds the nominal range of temperatures one of the wires that are used to connect the PT100 must be broken In the following table the sensor identification number and description is summarized Sensor number Description 1 5 internal PT100 Temperature sensor external PT100 connector FIERA box reference sensor connected to internal 100 Q precision calibration resistor 8 vacuum sensor 9 heater current sensor 10 32 internal PT100 Temperature sensor Summary of sensor identification numbers and description VLT TRE ESO 13630 3490 1 0 07 12 2004 23 of 76 VLT Instrumentation Pulpo 2 Manual External multiplexers can be connected to the ADG707 differential multiplexers in this way the number of connected PT100 sensors can be increased So far this possibility has been used only in the case of OmegaCam In the following table the OmegaCam identific
49. for the default values 6 7 Logging Pulpo 2 keeps trace of performed actions errors warnings and modifications in the configuration by writing the following files in the home chris pulpo2 directory pulpoSystem out it contains the list of the commands executed by pulpo2 and the error and warning messages pulpoConfig out it contains the actual configuration values heater settings alarm settings shutter settings and so on With logging enabled LB command the following file is also created pulpoLog out it contains the values of the sensors and the heater powers periodically detected at time intervals defined by the LO command Due to the dimension of the pulpoLog out file it can be retrieved only via the ethernet connection e g using ftp VLT TRE ESO 13630 3490 1 0 07 12 2004 67 of 76 VLT Instrumentation Pulpo 2 Manual 6 8 Self Recovery With Self Recovery enabled the system is brought to a defined temperature whenever the alarm related to a defined sensor is triggered e Define the sensor whose triggered alarm should start the Self Recovery SS s e Define the reference temperature which will be defined for all the active heaters if the alarm for sensor s defined by SS s is triggered SV t e Enable the Self Recovery SR 1 With the above commands all the enabled heaters will bring the system to the temperature t whenever the sensor s triggers an alarm VLT TRE ESO 13630 3490 1
50. her the board is present test whether all lines are operative etc _ a o Eventx Counter Register x 1 4 bit writeaccess read access not used not used event counter value Misc l O Register wWriteaccess read access MuxPower1 not used MuxPowerO not used MuxChannel 5 0 not used LEDEnable not used TemperatureAlarm not used VacuumAlarm not used VaccuumPower not used OptoOut1 Optoln1 OptoOut0 Optoln0 Bit 5 is used to enable two LED outputs One LED output can be connected to an LED to signal that at least one of the heaters is powered on The other LED output signals that the shutter OpenCommand is asserted VLT TRE ESO 13630 3490 1 0 07 12 2004 33 of 76 VLT Instrumentation Pulpo 2 Manual Bits 4 and 3 are used to switch a relay in case that an overtemperature or loss of vacuum is detected The relay can be used to trigger an alarm Bit 2 is available to switch the power supply to the vacuum sensor Bits 1 and 0 are user defined inputs outputs As an option bits 15 and 14 can be used to enable 15V 5V and 15V to a multiplexer in the detector head Digital data bits 13 8 can be fed to the detector head to select a multiplexer channel in the detector head VLT Instrumentation Pulpo 2 Manual VLT TRE ESO 13630 3490 1 0 07 12 2004 34 of 76 6 SOFTWARE The Pulpo 2 microprocessor is a 486CORE with 16MB flash disk and 32MB DRAM The operating system
51. input PRA as 1 i I heater i Ma status register il Overcurrent kj overcurrent trip point I i alarm I Fig 7 heater control With the Pulpo 2 Peripheral board it is possible to connect up to 8 heaters These heaters are driven with 24V in PWM Mode The overall current for all heaters must not exceed 3A A MOSFET switch is connected in series to each heater and switches the current 320 mA through the heater The heaters can be activated individually The total heater current is sensed and the overcurrent trip point is set for the total heater current The overcurrent trip point can be set by software via the second channel of the DAC for the bias LED or alternatively using a potentiometer A 2 channel 12 bit serial DAC MAX532 is used for the circuit to drive a bias LED with a constant current Safety mechanisms to avoid overcurrent damaging the CCD e Software triggered watchdog 1 second interval for triggering in the PLD e Current Sensing and possibility to read back current value by software see section 4 2 VLT TRE ESO 13630 3490 1 0 07 12 2004 25 of 76 VLT Instrumentation Pulpo 2 Manual e Comparison of heater current with trip point This is implemented in hardware see Fig 7 whereby the trip point can be fixed potentiometer or set by software DAC The selection between hardware and software settings is made by means of solder jumper on the peripheral board VLT TRE ESO 13630 3490 1 0
52. lexed thus ensuring that the full functionality will be maintained More I O lines can be made available by disabling the PCMCIA slot There are no plans to use the PCMCIA interface for the CPU board VLT TRE ESO 13630 3490 1 0 07 12 2004 17 of 76 VLT Instrumentation Pulpo 2 Manual 5 PERIPHERAL BOARD 5 1 Functions board format and connectors 1mA to PT100 Vacuum and PT100 heater current voltage sensing Vacuum gauge heater current Heater Control Programmable and Supervision Logic Open Command Opto Shutter I F VO Shutter Close Shutter Fail Remote Status Temp Alarm Vacuum Alarm Relays and Opto I O Vacuum Power User I O Fig 5 Overview of PULPO II peripheral board VLT Instrumentation ea Pulpo 2 Manual 07 12 2004 18 of 76 The Pulpo 2 peripheral board offers the following functionalities e Possibility to connect up to 32 sensors one vacuum sensor type Balzers or Edwards one reference sensor connected to an internal 100 Q precision calibration resistor one heater current sensor to show the current used by the heaters up to 29 PT100 temperature sensors e Heater control of up to 8 heaters the overall current cannot exceed 3A e Safety options for heater control Software triggered watchdog max 1 sec trigger interval overcurrent sensing in hardware current sensing in software e opto coupled shutter i
53. ll not be registered Writing a 1 to bit 7 will start a conversion of the ADC A read cycle will yield the ADC status in bit 7 Bit 6 is used to set the gain of the instrumentation amplifier programmable gain amplifier PGA One of 32 sensor channels can be selected with bits 4 0 and the selected channel is connected to the instrumentation amplifier by setting bit 5 of the register VLT Instrumentation nn Pulpo 2 Manual 07 12 2004 29 of 76 eee control status register 2 100 Q reference resistor heater current optional PT100 sensors Sensor Data Register bit rite access read access no result last converted sensor value Heater Control Register read access heater select 7 not used not used not used not used not used not used not used not used Every heater can be individually enabled or disabled independent of all other heaters A heater is switched on if the heater select bit for the specific heater is set and the heater enable bit is set as well Heater Supervision Register writeaccess read access not used watchdog interrupt enable not used not used not used watchdog status overcurrent status VLT Instrumentation 7 a 07 12 2004 30 of 76 Pulpo 2 Manual The overcurrent status bit is set as soon as the overcurrent condition is encountered The bit can only be reset by a global board reset RESETDRV Line of the ISA Bus or writing a 1 to the overcurrent reset bit
54. lling the extended meaning of each short expression BIOS Basic Input Output System CCD Charge Coupled Devices CPU Central Processing Unit DAC Digital to Analog Converter DMA Direct Memory Access DN Data Number DRAM Dynamic Random Access Memory ESO European Southern Observatory VLT TRE ESO 13630 3490 1 0 07 12 2004 5 of 76 VLT Instrumentation Pulpo 2 Manual FFS Flash File System FIERA Fast Imager Electronic Readout assembly GPIO General Purpose I O 1 0 Input Output IDE Integrated Device or Drive Electronics ISA Industry Standard Architecture LCU Local Control Unit LCD Liquid Crystal Display LED Light Emitting Diode MOSFET Metal Oxide Semiconductor Field Effect Transistor MTBF Mean Time Between Failures NAND Negated AND logic NOR Negated OR logic OS Operating System PC Printed Circuit PCMCIA Personal Computer Memory Card International Association also People Can t Memorize Computer Industry Acronyms PID Proportional Integral Derivative controller PLD Programmable Logic Device PWM Pulse Width Modulator RAM Random Access Memory RTC Real Time Clock SLCU Sparc based Local Control Unit SMD Surface Mounted Device UART Universal Asynchronous Receiver Transmitter VLT Very Large Telescope XTAL Crystal frequency reference 1 5 Glossary No special definition is introduced in this manual 1 6 Stylistic conventions The following styles are used bold in the text for commands fil
55. n ext Mux 4 s 1 6 gt temperature sensors Default value 350 K Example TT 33 0 set alarm high limit on sensor 9 to 330 K OK DT 9 OK 330 Related commands LL AE TA Low Limit for alarm Alarm Enable Temperature Alarm VAcuum power Turn the vacuum gauge off or on or read the present status Syntax VA v where n 0 1 n 0 disable vacuum gauge n 1 enable vacuum gauge Default value 1 Example VA 1 OK VA OK 1 enable vacuum gauge VLT TRE ESO 13630 3490 1 0 07 12 2004 62 of 76 VLT Instrumentation Pulpo 2 Manual Vacuum Limit Set or read the vacuum limit to trigger the Vacuum Alarm in mB Syntax VL f Default value 1e0 Example VL le 02 set vacuum alarm high limit to 10 mB OK VL OK 1e 02 Related commands LL Low Limit for alarm AE Alarm Enable Version Software Return the PULPO software version Syntax VS Example VS OK 4 79 eXposure Time Define the time for the next exposure If the exposure is active a or sign in front of the value increments or decrements the remaining time One restriction of this command is that you can add or subtract only integer values but the initial exposure command accepts floating point values The maximum exposure time is 16777 s 4 6 hrs Syntax XT f with 0 lt f lt 16777 floating point number s Default value 0 Example XT 10 5 defin
56. nable Note Command implemented for Pulpo 2 not existing in Pulpo Terminal Mode Set serial link in Terminal Mode characters received through the serial link are echoed back This mode is meant for working with PULPO connected to a local terminal Syntax TM Example TM set serial link in Terminal Mode OK Related commands CM Controller Mode EM Echo Mode Trip Point for DAC Set or read the DAC Trip Pont level mA Syntax TP xE with f 50 gt 1280 Default value 1000 Example TP 100 set DAC Trip Pont to 100 mA OK TP read DAC Trip Pont OK 100 VLT Instrumentation Pulpo 2 Manual Temperature Slope Set or read the maximum temperature variation allowed per minute by the PIDs Syntax TS f with 22 059 gt 10 0 Default value 5 Example TS 1 OK TS OK 7 Temperature Trip point K min VLT TRE ESO 13630 3490 1 0 07 12 2004 61 of 76 set max 7 K variation per minute read max temperature variation per minute Set or check the temperature high limit at which the temperatur alarm is triggered Syntax TT s f where s 1 6 gt temperature sensors s 10 32 gt temperature sensors s 111 118 121 128 131 138 gt sensors on ext Mux 1 s 211 218 221 228 231 238 gt sensors on ext Mux 2 s 311 318 321 328 331 338 gt sensors on ext Mux 3 s 411 418 421 428 431 438 gt sensors o
57. ned outputs and inputs The alarm signals are used to close two normally open relays The user defined outputs and inputs are opto isolated An additional relay can be used to switch the power of the vacuum sensor The Peripheral board also controls two LEDs on the front panel One LED lights up when one heater is on and the other when the shutter is open VLT TRE ESO 13630 3490 1 0 VLT Instrumentation Pulpo 2 Manual 07 12 2004 28 of 76 5 7 Register interface There are 14 registers on the Pulpo 2 peripheral board which are accessed using the following addresses type ID1 IDOXXXXXXXXXX 1101 Serial DAC Data Register Shutter Control Status Register ID1 IDOXXXXXXXXXX0110 Shutter Exposure Time High Word Register ID1 IDO XX XXXXXXXXO1 11 Shutter Exposure Time Low Word Register ID1 IDO XXxXxxXXXXXXX0000 Event1 counter ID1 IDO X XXXXXXXXX0001 Event2 counter ID1 IDOXXXXXXXXXX0010 Event3 counter ID1 IDOXXXXXXXXXX0011 Event4 counter r w ID1 0 board identification jumper setting X don t care r w read write access ro read only access wo write only access Sensor Control Status Register bit writeaccess readaccess 7 ADC start of conversion ADC Busy 5 PT FBC PGA gain control A enable sensor mux sensor channel Bits 15 8 are not used e a read cycle of the sensor control status register will yield meaningless results in these bit positions The bits written to these bit positions wi
58. ns the housing and the cabling inside figure 1 The CPU board controls the display the input keyboard the serial link and the Peripheral board The peripheral board is the interface to the detector head sensing the temperature and controlling the heaters and the shutter With a different housing up to 3 peripheral boards could be used The interface between the CPU board and the Peripheral board is via an ISA bus VLT TRE ESO 13630 3490 1 0 VLT Instrumentation Pulpo 2 Manual 07 12 2004 8 of 76 Fig 1 Overview of PULPO II The CPU board is based on a credit card size embedded PC mounted on a board containing the power supply and the connectors to the display input keyboard and the serial communication to the SLCU This embedded PC is called 486Core in this document As can be seen on figure 1 the connectors on the Peripheral board to interface to the Detector Head are split in two groups The first group of connectors offers the same interface as the current PULPO and the second group presents the additional sensors and heater control lines By doing this the current PULPO can be replaced by the new one without changing the cabling between PULPO and the dewar This idea will help us in maintaining the instruments already deployed in case we need to substitute the current PULPO by an upgraded one VLT TRE ESO 13630 3
59. nse 56 Sensor 29 sense 23 Sensor 30 current 57 Sensor 30 current 24 Sensor 30 sense 58 Sensor 30 sense 25 Sensor 31 current 59 Sensor 31 current 26 Sensor 31 sense 60 Sensor 31 sense 27 Sensor 32 current 61 Sensor 32 current 28 Sensor 32 sense 62 Sensor 32 sense 29 N C 63 N C 30 N C 64 N C 31 Heater 8 65 Heater Power 24V 32 Heater 7 66 Heater Power 24V 33 Heater 6 67 Heater Power 24V 34 Heater 5 68 Heater Power 24V VLT TRE ESO 13630 3490 1 0 07 12 2004 71 of 76 VLT Instrumentation Pulpo 2 Manual Pinout of 37pin SUB D connector Sensor 1 5 Heater 1 3 This connector can be used to replace a PULPO1 unit with PULPO 2 It has the same pinout as the DB 37 on PULPO1 Pin Signal Pin Signal 1 Heater 1 20 Sensor 1 current 2 Heater Power 24V 21 Sensor 2 current 3 Sensor 1 current 22 Sensor 3 current 4 Sensor 2 sense 23 Sensor 3 sense 5 Sensor 2 current 24 Sensor 3 current 6 Sensor 4 current 25 NC 7 Sensor 4 sense 26 NC 8 Sensor 4 sense 27 Sensor 5 current 9 Sensor 4 current 28 NC 10 Sensor 5 current 29 Heater 3 11 Sensor 5 sense 30 Heater power 24V 12 Sensor 5 sense 31 Sensor 1 sense 13 NC 32 Sensor 2 sense 14 NC 33 Sensor 3 sense 15 NC 34 NC 16 NC 35 NC 17 NC 36 NC 18 Heater 2 37 NC 19 Sensor 1 sens
60. nterface with 1ms resolution 61ns accuracy hardware controlled exposure time e 2 relays for alarm signaling vacuum and temperature e 1 relay to switch vacuum power supply e 2 additional spare optocoupled outputs and 2 inputs on the shutter connector e current output for LED driving The board has the standard 3U Eurocard format 160 x 100 mm A 96 pin DIN 41612 VG connector is used for the connection to the CPU module and for supplying power to the peripheral board The power supply is 24VDC for the heaters 3A 15VDC 150 mA for the analog sensing 5VDC 350 mA for the digital electronics 12V 100mA for optocouplers The ground for 24V is connected to analog ground directly at the VG connector The analog ground will be connected to digital ground at the ADC Flat ribbon cables connect PT100s heaters etc internally to the PULPO housing The Samtec FFSD series with a pitch of 1 27 mm are used Two pins per connector are employed for the heater signals to distribute the current VLT Instrumentation un Pulpo 2 Manual 07 12 2004 19 of 76 5 2 Bus interface The bus interface is an ISA Industry Standard Architecture interface exclusively using 16 bit I O cycles The following bus signals are used to decode valid accesses from the CPU CET EI use ES Address Enable inactive for valid access BALE Buffered Address Latch Active at start of cycle for valid Enable access Input Clock 14 385 MHz System Cl
61. ock System Address 16 bit address SDO 15 Bidirectional System Data 16 bit data NOR Input I O Read Read cycle Input I O Write Write cycle Indicate 16bit I O cycle possible OWS Tristate Output 0 wait state Indicate zero wait state cycle Tristate Output I O Channel Ready Indicate cycle completed RESETDRV Input Reset Power up or system reset IRQ5 IRQ13 Tristate Output Interrupt Request IRQ5 used for optional interrupt signalling The signal assignment on the backplane follows the one that is specified for the Pulpo 2 CPU board Zero wait state 16 bit I O cycles are implemented on the ISA interface No other accesses are supported The registers are normally polled but interrupts are available for certain bits IRQ5 normally used and IRQ13 supplementary are connected to the PLD Programmable Logic Device The interrupt is generated when a certain condition is encountered e g watchdog not triggered and the corresponding interrupt enable bit is set watchdog interrupt enable The interrupt is released when the bit is polled i e read cycle to watchdog status bit The board identification number can be set using two solder jumpers i e there are four possible identification numbers the identification number 00 should not be used since this combination results in I O port addresses of 0 31 which are already in use by the CPU The system clock is 14 385 Mhz The timing of the shutter is derived from a local
62. ould return OK 1 4 Alarm setup 4 1 Vacuum alarm setpoint Enter the setpoint with VL lt Setpoint gt Note The format must be exponential For OmegaCam VL 1 0e 03 Check with VL should return OK 1 0e 03 4 2 Enable Disable the vacuum alarm The vacuum sensor is connected as Sensor 8 To enable the vacuum alarm use AE 8 lt l enable or 0 disable gt For Omegacam AE 8 1 Check with AE 8 should return OK 1 4 3 Temperature alarm a Po enter the high setpoint for a temperature alarm use PT lt Sensor number gt lt Setpoint in Kelvin gt For Omegacam TT 217 180 Check with TT 217 should return OK 180 TT 114 180 Check with TT 114 should return OK 180 TT 314 180 Check with TT 314 should return OK 180 TT 317 180 Check with TT 217 should return OK 180 TT 19 155 Check with TT 19 should return OK 155 VLT Instrumentation F Pulpo 2 Manual 07 12 2004 75 of 76 To enter the low setpoint for a temperature alarm use LL lt Sensor number gt lt Setpoint in Kelvin gt For Omegacam LL 217 80 Check with LL 217 should return OK 80 LL 114 80 Check with LL 114 should return OK 80 LL 314 80 Check with LL 314 should return OK 80 LL 317 80 Check with LL 217 should return OK 80 LL 19 80 Check with LL 19 should return OK 80 4 4 Enable Disable the temperature alarm To enable disable the temperature alarm use AE lt Sensor number gt lt 1 Ena
63. ple SC close shutter VLT TRE ESO 13630 3490 1 0 07 12 2004 57 of 76 VLT Instrumentation Pulpo 2 Manual Set Date for real time clock Define or read the date in the real time clock Syntax SD dd mm yy Example SD 01 05 98 set date to May 1 1998 OK SEnd sensor value Read the value of a sensor Syntax SE s where s 1 7 10 32 gt temperature sensors s 8 gt vacuum sensor s 9 gt heater current s 111 118 121 128 131 138 gt sensors on ext Mux s 211 218 221 228 231 238 gt sensors on ext Mux s 311 318 321 328 331 338 gt sensors on ext Mux s 411 418 421 428 431 438 gt sensors on ext Mux DB 0 N RE To access a sensor on an external Mux the command EM 1 must have been issued before The reply is the value of sensor n in floating point notation or an error code if the sensor is out of range or not connected Shutter Identifier Define or check the instrument shutter identifier Syntax where IL H pa pi L2 no shutter board is connected shutter without status bit iris shutter iris open status bit no close status bit iris open and close status bits iris no open status bit close status bit two blades open status bit no close status bit seso shutter emmi shutter Wide Field Imager shutter hot nu Il Mom om nm Il ERE Te aT TTT ES FPOMDYNAUOBWNEHE OO 10 Efosc2 shutter n 11 Fors shutter n 12 OmegaCam sh
64. r Sensor 233 AlarmS234Enab 3 Set if Alarm enabled for Sensor 234 AlarmS235Enab 4 Set if Alarm enabled for Sensor 235 AlarmS236Enab 5 Set if Alarm enabled for Sensor 236 AlarmS237Enab 6 Set if Alarm enabled for Sensor 237 AlarmS238Enab 7 Set if Alarm enabled for Sensor 238 STATUS BYTE 13 BIT FUNCTION AlarmS311Enab 0 Set if Alarm enabled for Sensor 311 AlarmS312Enab 1 Set if Alarm enabled for Sensor 312 AlarmS313Enab 2 Set if Alarm enabled for Sensor 313 AlarmS314Enab 3 Set if Alarm enabled for Sensor 314 AlarmS315Enab 4 Set if Alarm enabled for Sensor 315 AlarmS316Enab 5 Set if Alarm enabled for Sensor 316 AlarmS317Enab 6 Set if Alarm enabled for Sensor 317 AlarmS318Enab 7 Set if Alarm enabled for Sensor 318 VLT Instrumentation Pulpo 2 Manual VLT TRE ESO 13630 3490 1 0 07 12 2004 37 of 76 STATUS BYTE 14 BIT FUNCTION AlarmS321Enab 0 Set if Alarm enabled for Sensor 321 AlarmS322Enab 1 Set if Alarm enabled for Sensor 322 AlarmS323Enab 2 Set if Alarm enabled for Sensor 323 AlarmS324Enab 3 Set if Alarm enabled for Sensor 324 AlarmS325Enab 4 Set if Alarm enabled for Sensor 325 AlarmS326Enab 5 Set if Alarm enabled for Sensor 326 AlarmS327Enab 6 Set if Alarm enabled for Sensor 327 AlarmS328Enab 7 Set if Alarm enabled for Sensor 328 STATUS BYTE 15 BIT FUNCTION AlarmS331Enab 0 Set if Alarm enabled for Sensor 331 AlarmS332Enab 1 Set if Alarm enabled for Sensor 332
65. r when selecting sensor El define ERR_ADC_TIMEOUT 44 Timeout during A D conversion El define ERR CURRENT OUT OF RANGE 45 Value for current out of range define ERR_HEATER_WRONG_ID 46 Heater ID wrong 7 define ERR_XTIME_OUT_OF_RANGE 47 Exposure time out of range El define ERR_XTYPE_WRONG 48 Wrong exposure type El define ERR SPOLARITY OUT OF RANGE 49 Value of spolarity out of range El define ERR ENABLE IO 50 Error when enabling 1 0 access define ERR DISABLE IO 51 Error when disabling I O access define ERR_SENSOR_VAL 92 fx define ERR_WRITE_NEXT_SENSOR 530 7 define ERR_INITREG_MAINLOOP 54 7 define ERR_PERIPH_TIMEOUT 55 El define ERR_ENABLE_LED 56 Error when enabling LED define ERR_DISABLE_LED 57 Error when disabling LED define ERR_ARM SHUTTER 58 Error when arming shutter x define ERR_OPENING SHUTTER 59 Error when opening shutter xy VLT TRE ESO 13630 3490 1 0 07 12 2004 43 of 76 VLT Instrumentation Pulpo 2 Manual define ERR READ EXPTIME 60 Error while reading exp time 077 define ERR READ OCALARM 61 Error while reading OCurrent alarm Ef define ERR_RESET_HEATERWD 62 Error while reseting Heater watchdog define ERR_ENABLING_LED 63 Error while enabling LED xy define ERR_RESET_OPTOO 64 Error while reseting Opto0 as define ERR_RESET_OPTO1 65 Error while reseting Optol e define ERR_RESET_VACALARM 66 Error while re
66. rm enabled for Sensor 435 AlarmS436Enab 5 Set if Alarm enabled for Sensor 436 AlarmS437Enab 6 Set if Alarm enabled for Sensor 437 AlarmS438Enab 7 Set if Alarm enabled for Sensor 438 VLT Instrumentation Pulpo 2 Manual VLT TRE ESO 13630 3490 1 0 07 12 2004 38 of 76 STATUS BYTE 19 BIT FUNCTION AlarmS 1Trigger 0 Set if Alarm triggered for Sensor 1 AlarmS2Trigger 1 Set if Alarm triggered for Sensor 2 AlarmS3Trigger 2 Set if Alarm triggered for Sensor 3 AlarmS4Trigger 3 Set if Alarm triggered for Sensor 4 AlarmS5Trigger 4 Set if Alarm triggered for Sensor 5 AlarmS6Trigger 5 Set if Alarm triggered for Sensor 6 AlarmS7Trigger 6 Set if Alarm triggered for Sensor 7 AlarmS8Trigger 7 Set if Alarm triggered for Sensor 8 STATUS BYTE 20 BIT FUNCTION AlarmS9Trigger 0 Set if Alarm triggered for Sensor 9 AlarmS 10Trigger 1 Set if Alarm triggered for Sensor 10 AlarmS 11 Trigger 2 Set if Alarm triggered for Sensor 11 AlarmS 12Trigger 3 Set if Alarm triggered for Sensor 12 AlarmS 13Trigger 4 Set if Alarm triggered for Sensor 13 AlarmS 14Trigger 5 Set if Alarm triggered for Sensor 14 AlarmS 15 Trigger 6 Set if Alarm triggered for Sensor 15 AlarmS 16Trigger 7 Set if Alarm triggered for Sensor 16 STATUS BYTE 21 BIT FUNCTION AlarmS 17Trigger 0 Set if Alarm triggered for Sensor 17 AlarmS 18Trigger 1 Set if Alarm triggered for Sensor 18 AlarmS19Trigger 2 Set if Alarm triggered for
67. s 6 4 Commands Here is the complete list of serial Pulpo 2 commands The commands consist of two alphabetic characters followed by arguments The end of the command string is always a carriage return ASCII 0x13 The answer from PULPO is always an OK plus parameters if any or an ERR In the examples the commands are in courier while the replies are in courier bold italic gt Start Exposure Start Exposure Open the shutter for the time defined with the XT set eXposure Time command or until an Abort Exposure lt command is received The reply contains the open shutter delay in us or an error code Syntax gt Example XT 10 set 10 seconds for the exposure time OK gt start the exposure OK 42 open shutter delay was 42 ms Related commands lt Abort Exposure PE Pause Exposure XT eXposure Time VLT TRE ESO 13630 3490 1 0 07 12 2004 46 of 76 VLT Instrumentation Pulpo 2 Manual lt Abort Exposure Close the shutter The reply contains the close shutter delay in us or an error code Syntax lt Example XT 10 set 10 seconds for the exposure time OK gt start the exposure OK 42 open shutter delay was 42 ms lt abort exposure OK 45 close shutter delay was 45 ms Related commands gt Start Exposure PE Pause Exposure XT eXposure Time Alarm Enable Enable alarms connected to the sensors Syntax
68. seting VacAlarm ay define ERR_RESET_TEMPALARM 67 Error while reseting TempAlarm define ERR_SET_OPTOO 68 Error while seting Opto0 define ERR_SET_OPTO1 69 Error while seting Optol ej define ERR_SET_VACALARM 70 Error while seting VacAlarm ef define ERR_SET_TEMPALARM 71 Error while seting TempAlarm E define ERR_CHECK_SHSTAT 72 Error while checking shut stat El define ERR_CONTINUE_EXP 73 Error while continuing exposure El define ERR_PAUSE EXP 74 Error while pausing exposure ay define ERR_TURNOFF_HEATER 75 Error while turning off heater KJ define ERR TURNON HEATER 76 Error while turning on heater E define ERR_CREATING_SEMAPHORE 77 Error while creating semaphore ef define ERR_INITIALIZING SEMAPHORE 78 Error while init semaphore e define ERR_LOCKING_SEMAPHORE 79 Error while locking semaphore El define ERR_UNLOCKING_SEMAPHORE 80 Error while unlocking semaphore El define ERR_RESET_HEATEROC 81 Error while reseting Heater watchdog define ERR EXTMUX ENABLE 82 Error en disabling External Mux eL define ERR_EXTMUX_NOT_ENABLED 83 Error accessing External Mux define ERR READ SENSOR 84 Error reading Sensor 7 define ERR_READ_EXT_SENSOR 85 Error reading Sensor on ExtMux y define ERR_AVERAGE 86 Error computing average ef define ERR_READ_KEYB_STATUS 87 Error reading keyboard status oh define ERR_ACTIVATE_HEATER 88 Error activating heater El define ERR_SHUTTER_STATUS 89 Error checking shutter
69. tion of Fig 8 FullyOpen Input pulses inactive when shutter leaves and enters fully open status acc to configuration of Fig 8 ShutterFail shutter failed RemoteStatus shutter dependent All shutter l F signals are opto isolated to avoid ground loops The exposure command OpenCommand 0 is issued to the shutter when the StartExposure bit in the shutter control register is set A counter is initialized with the combined value of the shutter exposure time low word and high word registers and downcounting is started Moreover the counters for the Event1 and Event2 delays are reset and start incrementing The event1 counter is stopped when event occurs Event1 is defined as a transition of the FullyClosed bit Whether the leading or trailing edge of the FullyClosed bit is taken as event1 is defined by the Event1ActiveEdge bit in the shutter status control register see chapter Software Interface The event2 delay is similarly counted see Fig 8 The exposure is finished OpenCommand 1 when the shutter control register count reaches zero Event3 and event4 counters are reset and start incrementing at this point The counters are stopped on the occurrence of event3 and event4 respectively The event counters comprise 16 bits which allows for delays up to 65 seconds 5 6 Other functions Other functions on the Pulpo 2 board are four alarm outputs two temperature alarms and two vacuum alarms as well as two user defi
70. unter reaches zero e the OpenCommand signal is reset The only difference is that the EndofExposure bit in the Shutter Status Control Register is not set The setting of the PauseExposure bit simply causes the shutter exposure time counter to stop decrementing and keep the current value until the PauseExposure bit is reset again The polarity of the OpenCommand output can be set using the OpenCommandActHi bit If the DarkExposure bit is set the OpenCommand line is kept in its inactive state for the duration of the exposure i e the shutter is not opened VLT Instrumentation iS Pulpo 2 Manual 07 12 2004 32 of 76 not used bits 23 16 of exposure time The lowest 8 bits are used to set the highest byte of the shutter exposure time counter Shutter Exposure Time Low Word Register write access readaccess bits 15 0 of exposure time Whenever the StartExposure bit in the shutter control status register is set the 24 bit shutter exposure time counter is loaded with the composite contents of bits 7 0 from the shutter exposure time high word register and bits 15 0 of the shutter exposure time low word register The OpenCommand signal is immediately asserted and the shutter exposure time counter starts decrementing The OpenCommand is asserted for the composite content of the exposure time registers 1 in milliseconds Moreover this register is available to test read write accesses with 16 bit data i e to test whet
71. ure sensors s 8 gt vacuum sensor s 10 32 gt temperature sensors s 111 118 121 128 131 138 gt sensors on ext Mux 1 s 211 218 221 228 231 238 gt sensors on ext Mux 2 s 311 318 321 328 331 338 gt sensors on ext Mux 3 s 411 418 421 428 431 438 gt sensors on ext Mux 4 s 1 6 gt temperature sensors Default values le 09 mB for vacuum sensor 77 K for temperature sensors Example L 9 130 set alarm low limit on sensor 9 to 130 K OK iL 9 OK 130 Related commands TT Temperature Trip point AE Alarm Enable TA Temperature Alarm Note Command implemented for Pulpo 2 not existing in Pulpo Define the logging interval sec Syntax LO t with t gt 0 Example LO 60 store once per minute OK LO OK 60 Default value 600 Related commands og Begin og Check og Restart og Stop anaw VLT TRE ESO 13630 3490 1 0 07 12 2004 54 of 76 VLT Instrumentation Pulpo 2 Manual Log Restart Restart logging from the first free place in the circular buffer i e without overwriting the previous information Syntax LR Example LR log restart OK Related commands LB Log Begin iC Log Check O LOg interval iS Log Stop Log Stop Stop logging Syntax LS Example LS log stop OK Related commands LB Log Begin iC Log Check O L
72. utter Default value 1 Example sii set shutter identifier to 1 OK SI read shutter identifier OK 1 shutter identifier is 1 VLT TRE ESO 13630 3490 1 0 07 12 2004 58 of 76 VLT Instrumentation Pulpo 2 Manual Shutter Logic Set or read the logic level to open the shutter Syntax SL n where n 0 1 n 0 shutter open with low TTL level n 1 shutter open with high TTL level Default value 0 Example SL 1 set shutter logic to 1 OK ST read shutter logic OK 1 shutter logic is 1 Set Mode for shutter Set or read the type of exposure to perform Syntax SM m with m 0 gt 4 0 dark exposure 1 science exposure 2 3 Il Il operate bias LED instead of shutter operate bias LED AND shutter at same time F a a a Il Default value 1 Example SM 1 set shutter mode to 1 OK SM read shutter mode OK 1 shutter mode is 1 Set Point for heater temperature Set or check the reference temperature K for a heater Syntax SP h t with h 1 gt 8 and t 77 0 gt 350 0 Default value 300 Example SP 1 330 set reference for heater 1 to 330 K OK SP 1 read reference for heater 1 OK 330 VLT TRE ESO 13630 3490 1 0 07 12 2004 59 of 76 VLT Instrumentation Pulpo 2 Manual Self Recovery Enable or disable the Self Recovery n n 0 1 n 0 disable self recovery n 1 nable self recover
73. y Syntax SR where Default value 0 Example SR 1 enable self recovery OK SR Yead self recovery ok 1 Note Command implemented for Pulpo 2 not existing in Pulpo Self recovery Sensor Set or read out the Sensor which is used for Self Recovery Syntax SS s Default value 0 Example ss 19 use sensor 19 for self recovery OK ss read sensor used for self recovery OK 19 Note Command implemented for Pulpo 2 not existing in Pulpo Set Time for real time clock Set or read the time on the real time clock Syntax ST hh mm ss Example ST 10 00 00 set time to 10 o clock OK ST read time OK 10 00 05 Self recovery reference Value Set or read out the Self recovery temperature reference Value K Syntax SV t with t 77 0 gt 350 0 Default value 273 15 Example sv 310 set self recovery temperature to 310 K OK SV read self recovery temperatur OK 310 Note Command implemented for Pulpo 2 not existing in Pulpo VLT Instrumentation 7 ea Pulpo 2 Manual 07 12 2004 60 of 76 Temperature Alarms Enable or disable Temperature Alarms globally Syntax TA v where n 0 1 n 0 disable temperature alarms n 1 nable temperature alarms Default value 1 Example TA 1 enable temperature alarms OK TA OK 1 Related commands LL Low Limit for alarm TT Temperature Trip point AE Alarm E
Download Pdf Manuals
Related Search
Related Contents
Manuale BATGOBODIR - Audio-luci TA54 User Manual 12-2014 V8 Xerox 106R02775 Emtec Click USB 3.0 128GB PCL 735 12 channel Relay Actuator Card HQ HQHB22CLAS003 halogen lamp Sony LMP-H200 User's Manual Guia_proyecto final algortimos y programación ANNO VII Copyright © All rights reserved.