HBM PACEline CMD600 User Manual

Digital charge amplifier interface description
Hide thumbs Also See for PACEline CMD600:

Advertisement

Quick Links

User manual
Interface Description
Digital Charge amplifier
CMD600
A2820-1.1 en

Advertisement

Table of Contents
loading

Summary of Contents for HBM PACEline CMD600

  • Page 1 User manual Interface Description Digital Charge amplifier CMD600 A2820-1.1 en...
  • Page 3: Table Of Contents

    CMD600 Content Page Introduction ..........Network settings .
  • Page 4 Debug commands ..........ACH_NALOG_GAIN .
  • Page 5 CMD600 PAR_PACKET_COPY ......... . PAR_PACKET_POINTER .
  • Page 6: Introduction

    CMD600 Introduction The digital adjustable charge amplifier CMD600 has an Ethernet interface for configuration and digital data−streaming and a real−time signal output as " 10VDC voltag output. On power−up is output voltage −10V and both digital outputs are on logical state 0.
  • Page 7: Configuration Via Telnet Interface

    CMD600 Configuration via Telnet interface Configuration is done via standard TELNET protocol. Only one TELNET session is possible in given time. Charge amplifier accepts text commands, which are terminated with CR (hex code 0D). Optional LF characters are ignored. Charge amplifier accepts one command at once. After command is issued, charge amplifier will respond in maximum response time.
  • Page 8: Parameters Format

    CMD600 3.) Enter command: e.g. factory_default The factory settings have now been loaded. For the complete List of commands see chapter 3. 3.2 Parameters format Int (integer) is signed 32 bit number. Float numbers are always returned in float representation with 4 decimal places(example –3.4567E−9).
  • Page 9: Discovery Procedure

    CMD600 Discovery procedure When measurement application does not know the IP address of charge amplifier it can send UDP broadcast discovery packet. It should use Ethernet broadcast address (ff:ff:ff:ff:ff:ff) and IP broadcast address (ff.ff.ff.ff). The destination port should be 85 and source port should be 86. The packet should have 4 data bytes : 0x77, 0x68, 0x65, 0x72.
  • Page 10 CMD600 A complete discovery response packet capture is shown on Fig. 3: Discovery response packet capture After receiving discovery response packet measurement application have enough information to established telnet session with amplifier and set other parameters. Discovery procedure II To ensure the compatibility of CMD600 interface with other customer’s product there is also additional discovery mechanism implemented.
  • Page 11 CMD600 Requirements • The configuration of all parameters of the network settings can be changed also withtextual command interface (telnet session) • It should be possible for one or more non−configured component (s) in any network tofind and configure • It should be possible to set up a network to scan existing components (all components) Implementation Parametrization...
  • Page 12 CMD600 Telegrammheader START UINT32 0x12345679 Protokollanfang HD_TYPE UINT16 0x01 Header version HD_LEN UINT16 Header size(Telegrammheader) MAC_SENDER Senders MAC−Adr. UINT8 MAC_RECEIVER Target MAC−Adr. UINT8 DT_LEN UINT16 Data size Transaction_Header TRANSTEL_TYPE UINT16 1: Request, 2: Transaction−Type Response Service−Header SRV_ID UINT32 Service−ID RESULT−CODE INT32 0 = OK, Error <...
  • Page 13 CMD600 • 4 x UINT8: Subnet Mask • 4 x UINT8: Tcpip router address • Uint16: configuration mode (fixed or DHCP = 0x0001 = 0x0002) • 4 x UINT8: UDP port for real−time data Binary coding of binary data: ie, Little Endian Intel After reception of scan packets the PC(scan device) can change network parameters if they are not suitable for particular network with writing back: Service ”network configuration write”.
  • Page 14: Data Streaming

    CMD600 Data Streaming Amplifier can be used in data stream mode. When used in this mode amplifier send UDP packet with measurement results with predefine frequency. Measurements are send in textual format within UDP packet on predefined port. Format of message is : voltage[V], charge[C], timestamp[ticks] Where timestamp is incremented each time packet is sent, voltage is ADC converter value (in Volts) and engineering unit in measured charge (in En...
  • Page 15: Count

    CMD600 CH_COUNT Returns number of analog channels implemented in charge amplifier. In CMD600 this is 1. command not applicable inquiry CH_COUNT = ? response OK, CH_COUNT = nb_of_channels help CH_COUNT? response OK, CH_COUNT nb_of_channels ENGINEERING_UNIT Set unit on preselected channel. Unit can have up to 5 characters. command ENGINEERING_UNIT unit parameters:...
  • Page 16: Sys_Gain

    CMD600 charge_lost =0 … charge information preserved, range capacitor was not switched =1 … charge information lost range =1 … only small capacitor =2 … both capacitors inquiry CH_GAIN = ? response OK, CH_GAIN = actual_gain, charge_lost, range help CH_GAIN ? response OK, CH_GAIN gain (min = min_gain, max = max_gain) parameters:...
  • Page 17: Hpf

    CMD600 CH_SENSOR_SENSITIVITY Set sensor sensitivity of sensor attached to charge amplifier. command CH_SENSOR_SENSITIVITY sensitivity parameters: sensitivity float requested sensitivity in C/En_Unit response OK, CH_SENSOR_SENSITIVITY = sensitivity parameters: sensitivity float Look description above. inquiry CH_ SENSOR_SENSITIVITY = ? response OK, CH_ SENSOR_SENSITIVITY = sensitivity help CH__ SENSOR_SENSITIVITY response...
  • Page 18: Out_Offset

    CMD600 CH_OUT_OFFSET Used to set output offset voltage for preselected channel. Example if output offset voltage is 0,5 V then charge amplifier will have 0,5 V on output if it is in reset state. command CH_OUT_OFFSET voltage parameters: voltage float Offset voltage in V.
  • Page 19: Status_Extended

    CMD600 CH_STATUS_EXTENDED Used to inquiry preselected channel value command not applicable inquiry CH_STATUS_EXTENDED= ? response OK, CH_STATUS_EXTENDED\r\n OK,output_voltage,output_in_EnUnit,overload\r\n OK,min_voltage, max_voltage, min_En_Unit, max_En_Unit\r\n OK,switch1_state, switch2_state\r\n OK,value,channel\r\n OK, reset_state, easyteach_state, digital_input_state\r\n OK, output1_state,output2_state\r\n OK, active_packet_set\r\n parameters: output_voltage float Output value of charge amplifier in V float Output value of charge amplifier in En_Unit output_in_EnUnit...
  • Page 20: Analog_Out_Mode

    CMD600 CH_GET_PEAK_VALUES command not applicable inquiry CH_GET_PEAK_VALUES = ? response OK, CH_GET_PEAK_VALUES = min_voltage, max_voltage, min_En_Unit, max_En_Unit parameters: min_voltage float Minimum output voltage. max_voltage float Maximum output voltage. min_En_Unit float Minimum output value in En Unit. max_En_Unit float Maximum output value in En Unit. help CH_GET_PEAK_VALUES? response...
  • Page 21: Limit_Switch

    CMD600 RESET_PEAK_VALUES Used to reset peak values in one or more channels. command RESET_PEAK_VALUES peak[,ch1, ch2, ..] parameters: peak 0 .. reset max. peak value 1 .. reset min. peak value 2 .. reset both peak values ch1, ch2 .. list of channels affected by this command.
  • Page 22: Clear_Limit_Switch

    CMD600 CH_CLEAR_LIMIT_SWITCH Clear limit switch value for selected switch. Applicable to preselected channel command CH_CLEAR_LIMIT_SWITCH switch parameters: switch 1..clear limit switch 1 2.. clear limit switch 2 3..clear both switch response OK, CH_ CLEAR_LIMIT_SWITCH = switch parameters: See description above switch help CH_ CLEAR_LIMIT_SWITCH ?
  • Page 23 CMD600 GET_DIGITAL_INPUT command not applicable inquiry GET_DIGITAL_INPUT = ? response OK, GET_DIGITAL_INPUT = reset_state, easyteach_state, digital_input_state parameters: reset_state Logical state of reset button input 0..button not pressed 1..button pressed easyteach_state Logical state of SenorTeach button input 0..button not pressed 1..button pressed digital_input_state Logical state of digital input 0..button not pressed 1..button pressed...
  • Page 24: Overload_Reserve

    CMD600 DIGITAL_OUTPUT Enable/disable, set polarity and select mode for selected digital output. command DIGITAL_OUTPUT number, enable [,inverted,mode] parameters: number 1..digital output DIG1 2..digital output DIG2 enable 0..disable digital output 1..enable digital output inverted 0..active logical state for digital output is 1 1..
  • Page 25: Autoscale_Allow

    CMD600 AUTOSCALE_ALLOW (Autoscale = SensorTeach) Enable/disable auto scale function. command AUTOSCALE _ALLOW enable parameters: enable 0.. Disable auto scale function 1.. Enable auto scale function response OK, AUTOSCALE _ALLOW = enable parameters: enable See description above inquiry AUTOSCALE _ALLOW = ? response AUTOSCALE _ALLOW = enable parameters:...
  • Page 26: Easyteach

    CMD600 response OK, CH_ AUTOSCALE = step parameters: step 0…auto scale procedure is aborted or auto scale procedure is completed 1…start auto scale(channel gain is set to 600nC) 2... channel gain is set to 60nC. 3...channel gain is set to 6nC. 4..channel gain is set to 500pC. 5..end of auto scale procedu help CH_ AUTOSCALE?
  • Page 27 CMD600 RESET Used to reset charge in one or more channels. This command does not reset microprocessor inside charge amplifier. command RESET = value, [ch1, ch2, ..] parameters: value 0 .. channel is in reset (its output value is 0 or equal offset voltage) 1 ..
  • Page 28 CMD600 MANUFACTURER_DATA Used to inquiry data about amplifier stored during production command not applicable inquiry MANUFACTURER_DATA = ? response OK, MANUFACTURER_DATA \r\n manufacturer = manufacturer \r\n type = device_type \r\n firmware = hardware_revision \r\n hardware = hardware_revision \r\n serial = serial_number \r\n parameters: manufacturer string...
  • Page 29 CMD600 PROTECT_PARAM Enable/disable protection for calibration parameters. This parameter isn’t changed when factory default is carried out. command PROTECT_PARAM enable parameters: enable 0...parameters are not protected(all parameters can be changed) 1...parameters are protected(same parameters can’t be changed) response OK, PROTECT_PARAM = enable parameters: enable See description above...
  • Page 30 CMD600 IP_ADDRESS Set /get IP setting for LAN. If settings are changed, new values are active after power supply cycling or issuing command command IP_ADDRESS DHCP_mode, IP_address, telnet_port, subnet_mask, default_gateway parameters: DHCP_mode 1.. DHCP disabled 2.. DHCP enabled(default value) IP_address string Format “XXX.XXX.XXX.XXX”.
  • Page 31: Connection_Timeout

    CMD600 CONNECTION_TIMEOUT If no communication with amplifier is connection abort after timeout. If setting is changed new value is active after power cycling. command CONNECTION_TIMEOUT timeout parameters: timeout requested timeout in seconds response OK, CONNECTION_TIMEOUT = timeout parameters: timeout timeout in seconds inquiry CONNECTION_TIMEOUT = ? response...
  • Page 32 CMD600 DATA_STREAM_TARGET Set /get IP address and UDP port, to which real time data will be send command DATA_STREAM_TARGET IP_address, UDP_port parameters: IP_address string Format “XXX.XXX.XXX.XXX” Default value “0.0.0.0”, which is not valid IP. Error will be returned, if data stream is enabled with this IP. UDP_port Default value 12345.
  • Page 33 CMD600 DATA_STREAM_ENABLED Enable real time measurement value transmiting to predefined IP address with predefined rate. command DATA_STREAM_ENABLED enable parameters: enable 0.. Disable 1.. Enable response OK, DATA_STREAM_ENABLED = enable parameters: enable See description above inquiry DATA_STREAM_ENABLED = ? response OK, DATA_STREAM_ENABLED = enable help DATA_STREAM_ENABLED? response...
  • Page 34 CMD600 PAR_PACKET_SWITCH Set new packet of parameters. It can be used to check which packet of parameters is active. command PAR_PACKET_SWITCH packet parameters: packet Set new packet of parameters[1 or 2] response OK, PAR_PACKET_SWITCH=new packet parameters: new packet Return selected packet. inquiry PAR_PACKET_SWITCH =? response...
  • Page 35 CMD600 RESTART Perform full reset to charge amplifier. This is same as cycling power supply. Used to activate new network settings. Amplifier will be restarted 1 second after transmitting response to this command. command RESTART response OK, RESTART inquiry Not applicable help RESTART? response...
  • Page 36 CMD600 LED status GREEN constant Amplifier running RED constant Amplifier in reset BLUE constant Amplifier connected over TELNET session RED blinking with 1 s period Amplifier overloaded BLUE blinking with 1 s period IP not configured RED blinking with 0,5 s period Amplifier was powered up with easy teach line active.
  • Page 37: Debug Commands

    CMD600 Debug commands CH_DAC_OUT_OFFSET Used to set output offset voltage for preselected channel when signal from charge integrator is not connected to output stage. CH_DAC_OUT_OFFSET voltage parameters: voltage float Offset voltage in V. response OK, CH_ DAC_OUT_OFFSET = voltage parameters: voltage float Offset voltage in V...
  • Page 38: Input_Offset

    CMD600 CH_INPUT_OFFSET Used to set input offset for first amplifier (integrator). Value is in DAC quants and corresponds to +/−3mV. This parameter isn’t changed when factory default is carried out. command CH_INPUT_OFFSET select_input_offset,input_offset parameters: select_input 0...input offset, when high pass filter is off. _ offset 1...input offset for slow high pass filter.
  • Page 39: Pga_Gain

    CMD600 CH_PGA_GAIN Used to set PGA gain. command CH_PGA_GAIN gain parameters: gain float requested PGA gain response OK, CH_PGA_GAIN = actual_gain parameters: actual_gain float actual PGA gain inquiry CH_PGA_GAIN = ? response OK, CH_PGA_GAIN = actual_gain parameters: actual_gain float See description above. help CH_PGA_GAIN ? response...
  • Page 40 CMD600 STATS Send data about ethernet packets. command not applicable inquiry STATS = ? response OK,STATS \r\n Data about ethernet packets. help STATS? response OK, STATS PAR_SET Set parameter value for selected parameter. command PAR_SET nb_of_param, param_value parameters: nb_of_param Number of parameter. param_value string This string is stored in EEPROM.
  • Page 41 CMD600 PAR_PRINT Print selected parameter on selected packet or print all packet of parameters. command PAR_PRINT select_packet,select_param parameters: select_packet Select packet. select_param Select parameter. If is this value 255, then print all parameters in packet. In first column print name of parameter, in second column actual value of parameters and in third default value of parameters.
  • Page 42: Debug_Help

    CMD600 SET_RGB_LED Set RGB led color. command SET_RGB_COLOR color parameters: color 0..automatic RGB control 1..Red color 2..Green color 3..Blue color response OK, SET_RGB_COLOR = color parameters: color See description above. help SET_RGB_COLOR? response OK, SET_RGB_COLOR color (0..auto,1..red,2..green,3..blue) DEBUG_HELP command DEBUG_HELP response OK,DEBUG_HELP Print debug commands with comments.
  • Page 43 CMD600 System parameters There are 2 sets of parameters. First set starts on address 0, second set starts on address 2400. Both sets have the same structure of parameters. Some parameters are the same in both packets. Those parameters are global parameters and when parameter is changed then is changed also parameter on inactive packet.
  • Page 44 CMD600 Protecti Glo- Default value Description 0.0000E+00 LPF frequency [Hz] (min=1,max=20000). 0.0000E+00 HPF frequency [Hz]. Possible frequencies: 0, 0.2, 2. 6.1841E−10 Integrator capacitor (smaller)[C/V]. 6.6708E−8 Integrator capacitor (bigger) [C/V]. 2.0000E+10 Channel gain [V/C]. Limited with parameters 17 and 18. 1.6667E+7 Min channel gain [V/C] 2.0000E+11 Max channel gain [V/C]...
  • Page 45: Data_Stream_Rate

    CMD600 Num- Protect- Glo- Default value Description Limit switch 1 threshold [EnUn] Limit switch 1 polarity. 0..active if output 1 > threshold 1.. active if output 1 < threshold Limit switch 1 hysteresis [EnUn] Limit switch 2 threshold [EnUn] Limit switch 2 polarity. 0..active if output 2 >...
  • Page 46 CMD600 A2820−1.1 en...
  • Page 47 CMD600 A2820−1.1 en...
  • Page 48 They are not to be understood as express warranty and do not constitute liability whatsoever. Hottinger Baldwin Messtechnik GmbH Im Tiefen See 45 S 64293 Darmstadt S Germany Tel. +49 6151 803−0 S Fax: +49 6151 803−9100 Email: info@hbm.com S www.hbm.com...

Table of Contents