Home
IG2 User Manual - Pyramid Technical Consultants Europe
Contents
1. C C C C Pendleton Added F460 I O 1128 bug fixes renamed document 2 0 1 February 16 2014 C Pendleton 1128 bug fixes added I O 2 0 0 January 7 2014 Added C400 as a supported device Added asciiclient and kollmorgen devices Added C400 I O 2 1 0 March 13 2014 Pendleton Added Keithley 238 GPIB support 2 2 0 April 8 2014 Pendleton Added IC101 support A Pyramid Technical Consultants Page 3 of 33 IG2 10 29 2014 Added IC101 I O September 16 2014 C Pendleton J Modified kollmorgen device Iken Modified F460 device Added H20 device September 30 2014 C Pendleton Added channel buffering October 9 2014 J Iken Added F100 Added H20 I O October 29 2014 Added 1128 I O 1 3 Reference documents Document Author s Comments 2 CONTENTS 1 General Information 1 1 Document Approval 1 2 Revision History 1 3 Reference documents Contents What IS EPICS ae eat ca ec a ayes a de E E cae eae auspsce O E ae 6 HOW Goes G2 Use EPICS scious atarsrauineaentealennaneninancnnendennenaame anne E E E EE 6 What EPICS software can be used with IG 2 P vsjcisistarernssejanserantedsangedasonndeaacsanensaoonnnenencedaieddienses 7 IG2 Usage and Startup IG2 Configuration and CHannels 7 1 1 Channel Scaling 7 1 2 Channel Limits 7 1 3 Channel Buffering Supported Device Types and Wires A Pyramid Technical Consulta
2. 4 HOW DOES IG2 USE EPICS IG2 includes an optional Channel Access Server CAS or Portable Server that implements EPICS Channel Access Protocol This allows any EPICS client software to readback and control IG2 I O points using EPICS Process Variables PVs IG2 has a database of named I O points called channels listed in its configuration file default system xml Each of these channels has an associated type and direction These channels map one to one to EPICS PVs made available by IG2 This list of channels represents the full list of EPICS PVs available This hardware configuration file contains a section for virtual devices that allows the EPICS CAS to be enabled in IG2 To enable the EPICS CAS in IG2 add the following lt epicscas gt node to the lt interpreter gt section of the file HHH system xml lt interpreter gt lt devices gt lt epicscas type epicscas name epics_server gt A Pyramid Technical Consultants Page 6 of 33 IG2 10 29 2014 lt devices gt lt interpreter gt HHH 5 WHAT EPICS SOFTWARE CAN BE USED WITH IG2 Almost any EPICS software tool can be used with IG2 There is a vast selection of canned tools and programming APIs available Many of them can be found on the EPICS website http www aps anl gov epics extensions index php There is support for C C Java LabView Matlab Perl Python C PHP and other languages There are canned tools for backup restore archiving pl
3. gain analog_out_monitor_gain_2 Analog output gain 9 11 1128 lt loopcontroller type 1128 gt G2 loop controller direct support Description variant_in_current 128 elements of channel data A 10000 overrange 20000 unable to convert to A digital_in_measuring Measuring readback analog_in_bias High voltage readback volts analog_in_hcc High current channel readback A analog _in_range_current Range A A Pyramid Technical Consultants Page 23 of 33 IG2 10 29 2014 analog_in_range_charge Range C analog_out_bias High voltage command volts analog_out_integration_time Integration time s int_out_conversions_per_sample Conversions per sample 1 255 int_out_range_hcc High current channel range 1128HCC_1uA_Range 0x0 1128HCC_5uA_Range 0x1 1128HCC_10uA_Range 0x2 1128HCC_20uA_Range 0x3 digital_out_initiate Initiate command 1 Initiate 0 Abort digital_out_enable_external_bias High voltage output 1 enable 0 disable int_out_ion_chamber_mode lon chamber mode 0 Standard Mode 1 IC Mode analog _in_adc_1 ADC In1 analog _out_averaging period Averaging Period 25 1e 4 250 1e 3 2500 1e 2 25000 1e 1 41675 1 667e 1 250000 1 0 digital_out_zero_offset Set the latest data sample as the background offset vector digital_out_clear_offset_zero Clear the background offset vector string_in_firmware Firmware Version string_in_fpga FPGA Version A Pyramid Technical Consultants Pag
4. int_out_base_address Base address initialized as 0x08810000 int_in_interlock_readbacks Bit encoded readback of interlock status Least significant bits first cmd 8 reserved1 1 reserved2 1 High when CPLD is in fault state fault 1 enable_in 1 Reflects the state of the Enabled line as determined by the commands sent enabled 1 High if the CPLD has failed cpld_stat_A 1 High if the CPLD has failed cpld_stat_B 1 Reflects the key switch state high for Diag keyswitch 1 command sent for diag mode diag_mode 1 High when relay is closed interlock_status 1 Reflects the intended state of the relay as determined by the commands sent interlock_command 1 High when the CPLD should be in the initial state initial_state 1 reserved3 4 relay_command 1 reserved4 7 digital_out_relay_enable 1 enable 0 disable digital_out_actuator_enable 1 enable 0 disable digital_out_test_ab 0 Test A 1 Test B no readback digital_out_interlock_enable 0 Enable 1 Disable A Pyramid Technical Consultants Page 26 of 33 IG2 10 29 2014 digital_out_calibration_source Calibration Source 1128 NoCalibrationSource 0 1128 _InternalCalibrationSource 1 int_out_calibration_current_channel Calibration channel 1 129 1 128 strip select 129 HCC analog 260 _out_current_calibration 4 elements of valid 128 bits followed by gain offset pairs valid x4 gain 0 offset O gain 1
5. 27 offset 127 digital_out_buffered_acquisition Buffer Contiguous Data 1 Enable 0 Disable 9 12 1 101 lt board type IC101 gt Fiber slave device G1 G2 loopcontroller support Wire Description analog_in_current Current input A analog _in_accumulated_charge Accumulated charge C analog_out_range Range select A digital_out_initiate Initiate command digital_out_accumulate_charge Accumulate command 1 start accumulation O stop accumulation 9 13 F100 lt board type F100 gt Fiber slave device G1 G2 loopcontroller support Wire Description analog _in_1 Current input A digital_out_initiate Initiate measurement 1 initiate 0 abort int_out_range Range select 0 16 Sixteen total thirteen unique O auto 1 1pA 2 2 uA A Pyramid Technical Consultants Page 27 of 33 IG2 10 29 2014 3 5 pA 4 10 pA 5 10 pA 6 20 pA 7 50 pA 8 100 pA 9 100 LA 10 200 pA 11 500 pA 12 1mA 13 1 mA 14 2 mA 15 5 mA 16 10 mA 10 VIRTUAL DEVICES lt interpreter gt section Each device in this section is a custom or virtual device and is directly supported through IG2 10 1 MEMBLOCK lt memblock type memblock size n gt Wire Description A Pyramid Technical Consultants Page 28 of 33 IG2 10 29 2014 10 2 BPM Detector lt detector type bpm gt X AXIS Channels 17 32 Y AXIS Channels 1 16 digital_out_position analog _out_bias analog_in_b
6. 3200_10uA Range 0 F3200_100uA Range 1 F3200_1mA Range 2 F3200_100mA Range 3 variant_out_range_set 1 element of bank 1 16 If bank 1 all ranges are set 1 element of range 0 3 F3200_10uA Range 0 F3200_100uA Range 1 F3200_1mA Range 2 F3200_100mA Range 3 A Pyramid Technical Consultants Page 13 of 33 IG2 10 29 2014 digital_out_buffered_acquisition Buffer Contiguous Data 1 Enable 0 Disable int_out_acquisition_mode Acquisition mode 0 7 F3200_CustomAcquisitionMode 0 F3200_InternalAcquisitionMode 1 F3200_ExternalStartAcquisitionMode 2 F3200_ExternalStartStopAcquisitionMode 3 F3200_ExternalStartHoldAcquisitionMode 4 F3200_ExternalWindowedAcquisitionMode 5 F3200_SweepMode 6 F3200_EncoderDrivenMode 7 int_out_adc_rate ADC rate Hz int_out_conversions_per_sample Conversions per sample int_out_start_trigger_source Start trigger source 0 3 InternalTriggerSource 0 BNCTriggerSource 1 OpticalTriggerSource BNC_and_OpticalTriggerSource int_out_pause_trigger_source Start trigger source 0 3 InternalTriggerSource 0 BNCTriggerSource 1 OpticalTriggerSource BNC_and_OpticalTriggerSource int_out_stop_trigger_source Start trigger source 0 3 InternalTriggerSource 0 BNCTriggerSource 1 OpticalTriggerSource BNC_and_OpticalTriggerSource int_out_stop_count Stop Count int_out_register_offset Offset from base_address to read or write int_out_register_cont
7. 7 TTL digital input channel 7 digital_in_8 TTL digital input channel 8 digital_out_1 TTL digital output channel 1 digital_out_2 TTL digital output channel 2 digital_out_3 TTL digital output channel 3 digital_out_4 TTL digital output channel 4 digital_out_5 TTL digital output channel 5 digital_out_6 TTL digital output channel 6 digital_out_7 TTL digital output channel 7 digital_out_8 TTL digital output channel 8 9 8 N2400 lt board type N2400 gt Fiber slave device G1 loop controller support only Description digital_in_mode_switch_n Mode switch position n 1 24 digital_in_relay_switch_n Relay switch position n 1 24 digital_in_limit_neg_n Limit switch neg state n 1 24 digital_in_limit_pos_n Limit switch pos state n 1 24 digital_out_switch_relay_n Switch relay n 1 24 9 9 H10 lt board type H10 gt Fiber slave device G1 G2 loopcontroller support Wire Description analog in_1 Old probe dBdT New probe voltage analog_in_2 Field 9 10 H20 lt board type H20 gt Fiber slave device G1 G2 loopcontroller support A Pyramid Technical Consultants Page 21 of 33 IG2 10 29 2014 Wire Description analog_in_probe_field_1 Field measured by probe 1 G analog_in_probe_field_2 Field measured by probe 2 G analog_in_probe_temperature_1 Temperature measured by probe 1 C analog_in_probe_temperature_2 Temperature measured by probe 2 C analog_in_adc_1 ADC1 measurement V analog_in_adc_2 ADC2 m
8. IG2 User Manual PYRAMID TECHNICAL CONSULTANTS INC C PENDLETON VERSION 2 4 2 A Pyramid Technical Consultants Page 1 of 33 10 29 2014 IG2 DATE SUBMITTED DOCUMENT NAME REVISION NUMBER AUTHOR PROJECT NAME PURPOSE 10 29 2014 IG2 User Manual 2 4 2 Christopher J Pendleton IG2 Design NOTE The information in this document is the property of Pyramid Technical Consultants Inc and should not be reproduced printed copied or distributed in any manner without permission If a document number has been assigned above then the document is controlled and can be found in the Pyramid SharePoint document repository A Pyramid Technical Consultants Page 2 of 33 IG2 10 29 2014 1 GENERAL INFORMATION 1 1 Document Approval This document has been reviewed and approved by the following individuals NAME AND PROJECT FUNCTION DIGITAL SIGNATURE Christopher J Pendleton Director Software Development William Nett Executive Vice President Jeremy Iken Software Engineer 1 2 Revision History Version Date Author s Comments 1 1 0 October 3 2013 C Pendleton Added noscale wires to BPM 1 2 0 October 16 2013 C Pendleton Added supported device types H10 F460 B10 N2400 1128 Pendleton Added F460 I O 1 3 0 November 7 2013 1 4 0 November 21 2013 Pendleton Added memblock type 1 5 0 December 30 2013 Pendleton Added 1128 I O
9. ML configuration file to contain the optional aMax parameter lt channel name bufferedchn wire analog_in_1 aMax 50 gt Set aMax to the maximum size of the device s buffered acquisition to ensure that data is not lost It can likely be set lower than this as the throughput of an individual channel depends on several factors including client performance and overall number of channels in the system aMax is an optional parameter and defaults to O unbuffered 8 SUPPORTED DEVICE TYPES AND WIRES The system xml hardware configuration is separated into 2 main sections or nodes The first is lt loopcontrollers gt This section contains a complete listing of standard Pyramid hardware devices in the system The other section is called lt interpreter gt This section contains a listing of A Pyramid Technical Consultants Page 9 of 33 IG2 10 29 2014 custom hardware and virtual devices The tables below list supported device types and their associated i o wires 9 PYRAMID DEVICES lt loopcontroller gt section Each device in this section is supported in some device hierarchy Loop controller devices can be directly communicated with over Ethernet Fiber slave devices must be paired with a compatible Pyramid loop controller Pyramid loop controllers can have one of two communication protocols G1 loop controllers A500 G2 loop controllers A560 A360 F460 1128 9 1 M10 lt board type M10 gt F
10. _buf Data buffer size int_out_trig_bur Burst size int_out_trig_mode Trigger mode 0 6 C400_CustomAcquisitionMode 0 C400_InternalAcquisitionMode 1 C400_ExternalStartAcquisitionMode 2 C400_ExternalStartStopAcquisitionMode 3 C400_ExternalStartHoldAcquisitionMode 4 C400_ExternalWindowedAcquisitionMode 5 C400_DiscriminatorSweepMode 6 int_out_trig_source_start Start trigger source 0 3 InternalTriggerSource 0 A Pyramid Technical Consultants Page 19 of 33 IG2 10 29 2014 BNCTriggerSource 1 OpticalTriggerSource 2 BNC_and_OpticalTriggerSource 3 int_out_trig_source_stop Stop trigger source 0 3 InternalTriggerSource 0 BNCTriggerSource 1 OpticalTriggerSource 2 BNC_and_OpticalTriggerSource 3 int_out_trig_source_pause Pause trigger source 0 3 InternalTriggerSource 0 BNCTriggerSource 1 OpticalTriggerSource 2 BNC_and_OpticalTriggerSource 3 int_out_pulse_period Pulse period nsec int_out_pulse_width Pulse width nsec analog _out_low_limit_n Discriminator low level volts analog_out_high_limit_n Discriminator high level volts analog_out_bias_n Voltage control for the 4 channels volts analog _out_period Integration period sec 9 7 B10 lt board type B10 gt Fiber slave device G1 loop controller support only Wire Description digital_in_6 TTL digital input channel 6 A Pyramid Technical Consultants Page 20 of 33 IG2 10 29 2014 digital_in_
11. alibrate Channel 0 3 digital_out_clear_calibrations Clear Calibrations variant_out_hvdac_calibration 3 element array valid gain offset variant_out_hvadc_calibration 3 element array valid gain offset variant_out_calibration_range_1 Calibration for range 1uA 9 element array valid gain O offset O gain 3 offset 3 variant_out_calibration_range_2 Calibration for range 10uA Same as range 1 variant_out_calibration_range_3 Calibration for range 100uA Same as range 1 variant_out_calibration_range_4 Calibration for range 1mA Same as range 1 variant_out_analoginput_calibration 5 element array valid gain O offset O gain 1 offset 1 variant_out_analogoutput_calibration 9 element array valid gain O offset O gain 3 offset 3 A Pyramid Technical Consultants Page 18 of 33 IG2 10 29 2014 9 6 C400 lt board type C400 gt G2 loop controller direct support Description digital_in_running Running state 1 running O not running digital_in_paused Paused state 1 paused O not paused digital_out_initiate Initiate Abort acquisition control command 1 initate O abort digital_out_polarity_n Discriminator polarities for the 4 channels n 1 4 1 positive O negative digital_out_pulse_enable_n Pulse control for the 4 channels n 1 4 1 enable 0 disable int_out_accum_mode Accumulate mode 0 1 C400_Singlelntegrations 0 C400_Accumulatedintegrations 1 int_out_trig
12. ants Page 33 of 33
13. convert between user units and device units These scale factors apply only to analog data types This can be seen in the above M10 channel example The channel r_XQ7_current_ctrl specifies 2 scale factor attributes scaleB and scaleC These correspond to a linear scaling with the following relationship lt y Bx C where y user units and x device units gt These scale factors are optional If not specified in the channel node scaleB 1 and scaleC 0 7 1 2 Channel Limits Channels have optional upper and lower limits These limits apply only to analog output types and are in user units This can be seen in the above M10 channel example The channel c_XQ7_current_ctrl specifies 2 limit attributes limitLow and limitHigh This channel cannot be set to a value lower than limitLow or higher than limitHigh These limits are set independently of the physical limits on the device For a description of each physical Pyramid device see the device data sheet and manual at http ptcusa com products html 7 1 3 Channel Buffering EPICS buffering is limited and high rate updates due to the processing of burst device data can cause data loss IG2 features additional buffering controls designed to control flow of this type of data into the EPICS layer The full design and advanced options are shown in Appendix 1 To enable sample buffering on an individual channel modify the channel node in the X
14. e 24 of 33 IG2 10 29 2014 string_in_serial_num Serial Number string_in_software_rev Software Revision string_in_secondary_fpga Secondary FPGA Version string_in_rtp_rev RTP Revision analog _out_target_dose Target Charge nC This and next wire should be tested thoroughly digital_out_beam_enable Enable Beam digital_in_beam_enabled 1 enabled O disabled analog_in_hcc_processed HCC data in Amps May be processed filtered digital_in_hcc_target_reached 1 target reached analog_in_hcc_dose FPGA2 v1 4 10 and later Dose accumulated on the HCC in coulombs FPGA2 v1 4 9 and earlier HCC dose remaining in coulombs int_out_start_trigger_source Start trigger source 0 1 InternalTriggerSource 0 BNCTriggerSource 1 int_out_pause_trigger_source Start trigger source 0 1 InternalTriggerSource 0 BNCTriggerSource 1 int_out_stop_trigger_source Start trigger source 0 1 InternalTriggerSource 0 BNCTriggerSource 1 int_out_bnc_start_gate Trigger gate polarity 1 Falling edge gate 0 Rising edge gate int_out_stop_count Stop Count int_out_burst_count Burst Size int_out_register_offset Offset from base_address to read or write A Pyramid Technical Consultants Page 25 of 33 IG2 10 29 2014 int_out_register_contents Contents read from address or contents to write to address digital_out_register_command Get register at address or Set register address with contents 1 set 0 get
15. e Version string_in_fpga FPGA Version string_in_serial_num Serial Number string_in_software_rev Software Revision string_in_secondary_fpga Secondary FPGA Version string _in_rtp_rev RTP Revision string_in_hardware_rev Hardware Revision int_out_position_calculation 1 Split Calculation O Quadrant Calculation digital_out_buffered_acquisition Buffer Contiguous Data 1 Enable 0 Disable int_out_acquisition_mode Acquisition mode 0 5 F460_CustomAcquisitionMode 0 F460_InternalAcquisitionMode 1 F460_ExternalStartAcquisitionMode 2 F460_ExternalStartStopAcquisitionMode 3 F460_ExternalStartHoldAcquisitionMode 4 F460_ExternalWindowedAcquisitionMode 5 int_out_start_trigger_source Start trigger source 0 1 InternalTriggerSource 0 BNCTriggerSource 1 int_out_pause_trigger_source Start trigger source 0 1 InternalTriggerSource 0 BNCTriggerSource 1 A Pyramid Technical Consultants Page 17 of 33 IG2 10 29 2014 int_out_stop_trigger_source Start trigger source 0 1 InternalTriggerSource 0 BNCTriggerSource 1 int_out_bnc_start_gate Trigger gate polarity 1 Falling edge gate 0 Rising edge gate int_out_stop_count Stop Count int_out_burst_count Burst Size int_out_calibration_source Calibration Source 0 2 No Calibration Source 0 Internal Low 1 Internal High 2 int_out_calibration_channel Channel to receive internal calibration source 0 3 int_out_calibrate_command C
16. e mode configuration O voltage 1 current analog _out_sourcelevel Source setpoint configuration analog_out_compliancevoltage Compliance voltage configuration digital_out_initiate Set operational mode O stop 1 run digital_in_error Error state of last command sent O no error 1 error string_out_command Send string command Max 40 characters A Pyramid Technical Consultants Page 31 of 33 IG2 10 29 2014 11 APPENDIX 1 ADVANCED CHANNEL BUFFERING 11 1 Design See section 7 1 2 for introduction and basic options The full design is shown below Data Source epicspv updateChannels BufferA synchronized Memory Queue queue size lt size Amax Bmax Amax BufferB Active Object postEvent EPICS event queue size lt Bmax PTCChannelG2 clientUpdate EPICS library A Pyramid Technical Consultants Page 32 of 33 IG2 10 29 2014 11 2 Global Options There are 2 global buffering options lt epicscas name ecas aMax 10 bMax 20 gt aMax is an optional parameter that determines the global value that all channels will default to This can be overridden at the channel level see 7 1 2 The default value of this parameter is 0 unbuffered bMax determines the maximum allowed number of samples on the EPICS event queue Changing this is not recommended The default value is 10 A Pyramid Technical Consult
17. easurement V analog_out_dac_1 DAC V Manual Mode Only analog_out_dac_2 DAC V Manual Mode Only int_out_range_1 Probe 1 range integer int_out_range_2 Probe 2 range integer int_out_mode_1 Probe 1 mode Mode_Manual 0x0 Mode_Monitor 0x1 Mode_DigitalClosedLoop 0x2 Mode_AnalogClosedLoop 0x3 Mode_FastMonitor 0x4 int_out_mode_2 Probe 1 mode same mapping as mode_out_1 analog_out_setpoint_1 Field Setpoint G Digital Closed Loop Mode Only analog_out_setpoint_2 Field Setpoint G Digital Closed Loop Mode Only analog_out_averaging_period Averaging period s int_in_serial_num_1 Probe 1 serial number int_in_serial_num_2 Probe 2 serial number analog_in_calib_temp_1 Calibration Temperature A Pyramid Technical Consultants Page 22 of 33 IG2 10 29 2014 analog_in_calib_temp_2 Calibration Temperature analog_out_proportional_1 Proportional Kp analog_out_proportional_2 Proportional Kp analog_out_outmax_1 Out Max V analog_out_outmax_2 Out Max V digital_out_positive_output_1 Positive only output 0 Positive only disabled 1 Positive only enabled digital_out_positive_output_2 Positive only output 0 Positive only disabled 1 Positive only enabled analog _out_slew_limit_2 Slew Limit V s analog _out_setpoint_gain_1 Setpoint Gain G V Analog Closed Loop Mode Only analog _out_setpoint_gain_2 Setpoint Gain G V Analog Closed Loop Mode Only analog_out_monitor_gain_1 Analog output
18. ents Contents read from address or contents to write to address int_out_base_address Base address initialized as 0x08810000 A Pyramid Technical Consultants Page 14 of 33 IG2 10 29 2014 digital_out_register_command Get register at address or Set register address with contents 1 set 0 get 9 5 F460 lt loopcontroller type F460 gt G2 loop controller direct support Wire Description analog in_1 ADC channel 1 volts analog_in_2 ADC channel 2 volts analog_in_current_1 Current channel 1 A analog_in_current_2 Current channel 2 A analog_in_current_3 Current channel 3 A analog_in_current_4 Current channel 4 A analog_in_channel_1 Current channel 1 w sensor compensations A analog _in_channel_2 Current channel 2 w sensor compensations A analog_in_channel_3 Current channel 3 w sensor compensations A analog _in_channel_4 Current channel 4 w sensor compensations A analog_in_x_pos Calculated x position analog _in_y_pos Calculated y position analog _in_bias Voltage analog _in_process_value Process value servo analog_in_process_target Process target servo variant_in_data 4 elements of current data 4 elements of channel data 1 element of xpos 1 of ypos 4 elements of analog in data A Pyramid Technical Consultants Page 15 of 33 IG2 10 29 2014 digital_out_initiate int_out_range_1 int_out_range_2 int_out_range_3 int_out_range_4 int_out_monitor analog_out_1 analog_
19. ias int_in_position analog_in_xcurrent_noscale analog_in_ycurrent_noscale analog_in_beamcurrent_noscale analog_in_xcurrent analog_in_ycurrent analog_in_beamcurrent Description Position control O out non zero in High voltage control V High voltage readback V Position readback O out non zero in X axis current readback A This value sum of the X axis channels Y axis current readback A This value sum of the Y axis channels Beam current readback A This value sum of X axis channels sum of Y axis channels 2 X axis current readback variable units autoscaled See analog _in_xcurrent_noscale Y axis current readback variable units autoscaled See analog _in_ycurrent_noscale Beam current readback variable units autoscaled See analog _in_beamcurrent_noscale variant_in_channels 32 element array of channel data A analog _in_xpos_actual analog _in_ypos_actual A Pyramid Technical Consultants Calculated x axis position readback mm Gaussabola algorithm Returns 10000 when calue cannot be calculated Calculated y axis position readback mm Gaussabola algorithm Returns 10000 when calue cannot be calculated Page 29 of 33 IG2 10 29 2014 analog_in_width_actual Calculated x axis width readback mm Gaussabola algorithm Returns 10000 when calue cannot be calculated analog _in_height_actual Calculated y axes width readback mm Gaussabola algorith
20. iber slave device G1 G2 loopcontroller support Description digital_out_initiate Initiate command 1 Initiate 0 Abort analog_out_1 DAC channel 1 volts A Pyramid Technical Consultants Page 10 of 33 IG2 10 29 2014 9 2 M40 lt board type M40 gt Fiber slave device G1 G2 loopcontroller support Wire Description analog _out_4 DAC channel 4 volts analog_out_5 DAC channel 5 volts analog _out_6 DAC channel 6 volts analog_out_8 DAC channel 8 volts digital_out_1 TTL digital output channel 1 digital_out_2 TTL digital output channel 2 A Pyramid Technical Consultants Page 11 of 33 digital_in_6 TTL digital input channel 6 IG2 10 29 2014 digital_out_3 TTL digital output channel 3 digital_out_4 TTL digital output channel 4 digital_out_5 TTL digital output channel 5 digital_out_6 TTL digital output channel 6 digital_out_7 TTL digital output channel 7 digital_out_8 TTL digital output channel 8 9 3 13200 lt board type 13200 gt Fiber slave device G1 G2 loopcontroller support Wire Description variant_in_current 32 element array of channel data A digital_in_measuring 13200 measuring mode indicator analog_in_bias High voltage readback volts digital_in_actuator_limitA Actuator limit A readback digital_in_actuator_limitB Actuator limit B readback digital_out_actuator Actuator position control analog _out_bias High voltage control volts analog _out_period 13200 integration time c
21. m Returns 10000 when calue cannot be calculated analog_in_xpos_target Target x axis position not currently used analog_in_ypos_target Target y axis position not currently used analog_in_width_target Target x axis width not currently used analog_in_height_target Target y axis width not currently used 10 3 ASCIICLIENT lt asciiclient type asciiclient ip TODO port TODO proto TODO gt Wire Description string_out_message String sent to device string_in_response Response received from device int_in_status TODO string_in_error_description TODO 10 4 KOLLMORGEN lt kollmorgentype kollmorgen telnet_write_chn TODO telnet_read_chn TODO telnet_status_chn TODO telnet_error_chn TODO gt Wire Description analog_out_position MP P float int_out_table MT TNUM integer int_out_profile MT CNTL integer int_out_task MT NUM integer int_out_cmdsource DRV CMDSOURCE integer int_out_opmode DRV OPMODE integer A Pyramid Technical Consultants Page 30 of 33 IG2 10 29 2014 digital_out_stop DRV STOP no argument digital_out_move MT MOV no argument digital_out_home HOME MOV no argument digital_out_enable DRV DIS DRV ENA no argument analog _in_position PL FB int_in_status TODO string_in_error_description TODO 10 5 KEITHLEY manufacturing build only lt keithley type keithley name k238 id 0 address 16 gt Wire Description int_out_sourcemode Sourc
22. nts Page 4 of 33 IG2 10 29 2014 9 9 1 9 2 9 3 9 4 9 5 9 6 9 7 9 8 9 9 9 10 9 11 9 12 9 13 10 10 1 MEMBLOCK 10 2 BPM Detector 10 3 ASCIICLIENT 10 4 KOLLMORGEN 10 5 KEITHLEY 11 Appendix 1 Advanced Channel Buffering 11 1 Design 11 2 Global Options A Pyramid Technical Consultants Page 5 of 33 IG2 10 29 2014 3 WHAT IS EPICS From the EPICS website http www aps anl gov epics index php EPICS is a set of software tools and applications which provide a software infrastructure for use in building distributed control systems to operate devices such as Particle Accelerators Large Experiments and major Telescopes Such distributed control systems typically comprise tens or even hundreds of computers networked together to allow communication between them and to provide control and feedback of the various parts of the device from a central control room or even remotely over the internet EPICS uses Client Server and Publish Subscribe techniques to communicate between the various computers Most servers called Input Output Controllers or IOCs perform real world I O and local control tasks and publish this information to clients using the Channel Access CA network protocol CA is specially designed for the kind of high bandwidth soft real time networking applications that EPICS is used for and is one reason why it can be used to build a control system comprising hundreds of computers
23. onfiguration control int_out_capacitor 13200 capacitor configuration control 0 or 1 digital_out_initiate 13200 initiate acquisition control 9 4 F3200E lt board type F3200E gt G2 loopcontroller support Description variant_in_data 32 elements of channel data A 1 element of sample info A bit convert to int 1 element of sample info B bit convert to int 4 elements of ADC 3 elements of DAC command A Pyramid Technical Consultants Page 12 of 33 IG2 10 29 2014 1 overrange bitmask analog_out_adc_1 not yet added ADC out channel 1 V analog_out_adc_2 not yet added ADC out channel 2 V analog_out_adc_3 not yet added ADC out channel 3 V analog_in_adc_1 not yet added ADC in channel 1 V analog_in_adc_2 not yet added ADC in channel 2 V analog_in_adc_3 not yet added ADC in channel 3 V analog_in_adc_4 not yet added ADC in channel 4 V digital_in_1 not yet added TTL digital input channel 1 digital_in_2 not yet added TTL digital input channel 2 digital_in_3 not yet added TTL digital input channel 3 digital_in_4 not yet added TTL digital input channel 4 digital_out_1 not yet added TTL digital output channel 1 digital_out_2 not yet added TTL digital output channel 2 digital_out_3 not yet added TTL digital output channel 3 digital_out_4 not yet added TTL digital output channel 4 digital_out_initiate Initiate measurement 1 initiate 0 abort variant_in_range 16 elements of range F
24. otting and monitoring Any EPICS client that need to communicate with IG2 must be in the same network broadcast domain as IG2 6 IG2 USAGE AND STARTUP IG2 is a console application that takes one command line argument for the path of the xml configuration file Example ig2 2 0 2 c config mysystem xml The configuration file path argument is optional IG2 will use system xml by default located in the local application directory 7 G2 CONFIGURATION AND CHANNELS The system xml file contains a listing of the hardware configuration that IG2 will manage This configuration is user specific G2 offers a set of device types that can be controlled A set of I O points called wires is available within an instance of each of these device types Users can define an arbitrary number of channels within the device instance which map to a specified wire to provide control and readback HHH system xml lt board type M10 name XQ7_ctrl address 7 gt lt channels gt lt channel name c_XQ7_current_ctrl wire analog_out_1 limitLow 10 limitHigh 10 gt lt channel name r_XQ7_current_ctrl wire analog_in_1 scaleB 2 scaleC 1 gt A Pyramid Technical Consultants Page 7 of 33 IG2 10 29 2014 lt channel name r_XQ7_thermalok wire digital_in_1 gt lt channel name c_XQ7_remote wire digital_out_2 gt lt channels gt lt board gt HHH The above example shows an M10 The main node is a lt boa
25. out_2 analog_out_3 analog_out_4 analog_out_bias analog_out_integration_time analog_out_dac_low_limit analog_out_dac_high_limit analog_out_kp analog_out_ki analog_out_low_current_limit analog_out_reference int_out_servo_period A Pyramid Technical Consultants 4 elements of analog out data 1 element of high voltage Initiate measurement 1 initiate 0 abort Channel 1 range 0 3 F460_1uA_Range 0 F460_10uA_Range 1 F460_100uA_Range 2 F460_1mA_Range 3 Channel 2 range same as channel 1 Channel 3 range same as channel 1 Channel 4 range same as channel 1 Monitor out mode 0 3 F460_Current 0 F460_Sensor 1 F460_Position 2 F460_ManualOutput 3 Analog out channel 1 V Analog out channel 2 V Analog out channel 3 V Analog out channel 4 V External bias V Integration time seconds DAC low limit servo DAC high limit servo Kp PID parameter servo Ki PID parameter servo Low current limit servo Reference servo Servo period microseconds Page 16 of 33 IG2 10 29 2014 int_out_servo_mode Servo mode 1 7 see device manual digital_out_servo_enable Servo enable 1 enable O disable int_out_register_offset Offset from base_address to read or write int_out_register_contents Contents read from address or contents to write to address digital_out_register_command Get register at address or Set register address with contents 1 set 0 get string_in_firmware Firmwar
26. rd gt with attributes that specifies it as an M10 named XQ7_ctrl at address 7 Channels names are arbitrary but must be unique There are 4 channels defined and each has a specified M10 wire Channel r_XQ7_current_ctr is connected to M10 wire analog _in_1 This wire correspond to the physical M10 ADC channel 1 The data type of the wire is embedded in the first part of the wire name The direction is also embedded in the wire name after the data type A table of supported data types and directions is listed below The xxx part of the wire name is specific to the device that the wire is assigned to Wire name Data Type User Access int_in_xxx Integer 32 bit Read only digital_in_xxx Integer 32 bit Read O false non zero true digital_out_xxx Integer 32 bit Read Write O false non zero true variant_in_xxx Array of Double precision floats Read 64 bit variant_out_xxx Array of Double precision floats Read Write 64 bit analog n _in_xxx Array of Double precision floats Read 64 bit of length n analog n _out_xxx Array of Double precision floats Read Write 64 bit of length n string _in_xxx Null terminated string Read not supported with IG2 EPICS string_out_xxx Null terminated string Read Write not supported with IG2 EPICS Table 1 Supported Data Types and User Access A Pyramid Technical Consultants Page 8 of 33 IG2 10 29 2014 7 1 1 Channel Scaling Channels have optional scale factors to
Download Pdf Manuals
Related Search
Related Contents
LCD Rear Projection VISY-X - FAFNIR GmbH 2013.06 - My PAGE View ケイセイ神経刺激装置 TS-260 Copyright © All rights reserved.
Failed to retrieve file