Newport OPHIR EA-1 Скачать руководство пользователя страница 37

37 

 

Energy Measurement Commands (Thermopile Sensors): 

This section is relevant for thermopile sensors measuring single-shot energy pulses. Some of the commands are 
relevant also for pyroelectric/PD-C sensors measuring pulsed laser pulses, as will be noted below in a separate 
section. 

 
Force Energy Command ($FE): 

$FE[CR] -> *[CR] {Forces sensor into energy mode. Needed if sensor started up in power-only mode. Sensor can be 
set to start up in energy mode as default if required, by sending $HC S after sending $FE. When in energy mode, 
sensor can continue to measure power using $SP etc. To switch off energy mode, send $FP command} 
 

Energy Flag Command ($EF): 

$EF[CR] -> *1[CR] or *0[CR] {Returns status of energy measurements, whether there has been a new energy 
measurement since last Send Energy ($SE) command was processed} 

Notes: 

When starting up energy measurements, it is good practice to send the $EF command to check there is no “residual” 
energy measurement already present, and if the command returns “1” the old measurement should be cleared by 
sending the $SE command before continuing. See sub-section “Notes on Measurement Energy in Support Software” 
below. 

 

Send Energy Command ($SE):

 

$SE[CR] -> *1.2345E1[CR] (Energy in Joules), or “*OVER[CR]” {Returns latest energy value measured in Joules, or 
"OVER" if last energy measurement was overrange. Returns "?NOT MEASURING ENERGY[CR]" if sensor is not 
measuring energy but only power} 

Notes: 

The Energy value is returned using same format defined for $SP. The exponent value depends on the chosen energy 
scale 
If the power level saturates the internal A-to-D while measuring energy, $SE returns "OVER" 
The $SE command will repeatedly return the last energy measurement until a new energy pulse arrives, the $EF flag 
can be used to determine if a new energy measurement has arrived since the last time $SE was used 
The maximum rate at which energy can be measured depends on the specific sensor parameters 
See section below for suggestions on usage of this command in software. 

 

Energy Status ($ES): 

Returns status of energy measurements at this moment. Return value is one of the following codes: 

 

"NOT IN ENERGY" if not measuring energy (see $FE) 

 

"START" if energy measurements are resetting (when first entering energy mode it takes a few seconds for the 
software to prepare for the first measurement) 

 

"WAIT" if waiting for the next trigger to arrive 

 

"INT" if integrating the present energy pulse 

 

"VALUE" if a valid value is available (only for one cycle) 

 

"TIMEOUT" if integration failed (power level did not drop low enough to end integration, only for one cycle) 

 

"FINISH" after value is available, before new triggers are allowed 

 

Energy Ready ($ER): 

Sends *1 if an energy value is ready, or 0 otherwise. Does not relate to whether the value was queried using $SE. 
When first entering the energy mode, or after changing the energy scale, the device will not be ready to receive and 
measure a new energy pulse, and the command will return “*0”. When the device is ready to receive a new energy 
pulse, the command will return “*1”. If a pulse is received and the device is triggered, the command will return *0 
while integrating the measurement, until it is ready to receive the next pulse. 
 

Energy Threshold ($ET): 

Queries or sets energy threshold. Allows the customer to adjust the internal trigger level used for detecting the start 
of an energy pulse. 
0 or no parameter: Query 

Содержание OPHIR EA-1

Страница 1: ...EA 1 Ethernet Adapter USER MANUAL OPHIR OPTRONICS www ophiropt com photonics EA 1 ETHERNET ADAPTER...

Страница 2: ...ting the User Device Name 14 Setting the Mains Frequency 14 Returning to Factory Default Settings 15 Chapter 3 HTTP and the Built In Web Server 16 Connecting to the built in web server 16 Using the bu...

Страница 3: ...oing Commands 35 Power Measurement Commands 35 Energy Measurement Commands Thermopile Sensors 37 Wavelength Commands 38 Continuous Send Commands 40 Misc Commands 41 Commands for Pyroelectric PD C Sens...

Страница 4: ...mple opening a Telnet connection or using the USB port refer to a PC running Windows 7 Instructions for a PC running XP or newer versions of Windows are similar or identical in most cases but minor va...

Страница 5: ...1 supports Ophir thermopile photodiode pyroelectric PE C and PD10 series sensors The EA 1 device is supported by a special PC Application OphirEthernetApp or by Ophir s StarLab software package Physic...

Страница 6: ...er over Ethernet PoE if available or via the 12 24v DC input Connection Protocols There are four ways to connect to the device Telnet HTTP UDP USB Virtual COM Port Telnet A Telnet connection can be us...

Страница 7: ...ct to the device separately from the Ethernet for configuration purposes This connection can be used to query or set the IP address for the first time or to switch between dynamic and static IP addres...

Страница 8: ...ct to the device via a network with this IP address Conversely if the IP address is changed by the customer to a new value for example 172 16 16 49 as in the examples below it will still be possible t...

Страница 9: ...ay 172 16 16 1 Note In order to connect to the device using a PC it may be necessary to first set the PC to a static IP address Instructions for doing this are shown in Appendix 2 below The following...

Страница 10: ...e for example 172 16 16 49 Note At present there is no option to switch on DHCP Dynamic IP address allocation using a button this can be done using other methods see below or by typing the command ND...

Страница 11: ...ernatively open windows explorer and navigate to the folder C windows system32 cmd exe or the equivalent and click on the icon or set up a shortcut to cmd exe and place it on the desktop Once the comm...

Страница 12: ...known or when connecting the device directly to a PC network port is not be possible The way to do this is to connect via USB which establishes a connection to the PC via a Virtual COM Port VCP The dr...

Страница 13: ...1 Ethernet Adapter provides the option to use Dynamic IP Address allocation When enabled after the EA 1 powers up it sends a request to the local network requesting a free IP address and other IP sett...

Страница 14: ...above Once this is done the user command DN can be used to query or change the device name The name can be up 30 characters long This command is described more fully in the section on User Commands se...

Страница 15: ...onnectors from the device then unscrew the two screws on the left and right of the panel where the D15 sensor socket is located and then pull the PCB out along with the D15 panel Once removed press do...

Страница 16: ...ached sensor Connecting to the built in web server The example give below refers to a device with IP address 172 16 16 49 Open the web browser for example Internet Explorer and type http 172 16 16 49...

Страница 17: ...al To view the power being measured by the attached sensor return to the Start Page and click on the Power Monitor button The following page will be displayed The latest power measurement will be disp...

Страница 18: ...able or via the 12 24v DC connector The sensor is attached to the adapter via the D15 plug Alternatively the device can be connected to the PC via USB The device uses a USB Virtual COM Port The driver...

Страница 19: ...will open one for each selected sensor The main window allows the user to control all main features of the attached sensor and to view measurements Power Display and Statistics The power or energy bei...

Страница 20: ...engths or regions depending on the sensor being used In the example below the laser options are CO2 10 6um YAG 1 064um or VIS around 532nm But other sensors may have other regions defined Choose the a...

Страница 21: ...wavelength value using the scroll bars or by typing the value in the window as for the Add option above Then click on OK to finalize the choice of wavelength In order to remove one of the existing 6 f...

Страница 22: ...front of each command as it is added automatically by the application A detailed list of user commands is added below Measuring Energy Some thermopile sensors offer single shot energy measurements in...

Страница 23: ...to select LOW MEDIUM or HIGH The default threshold is MEDIUM In order to increase or decrease the default threshold by a factor of 3 choose HIGH least sensitive triggering or LOW most sensitive trigge...

Страница 24: ...the device Note that the first time the DHCP mode is switched on the IP address will probably change the next time the device is powered up The User Device Name can also be added edited or removed us...

Страница 25: ...available and necessary the software will continue with the upgrade automatically Note Do not disconnect the communications or power cables while the firmware is being upgraded Firmware upgrade takes...

Страница 26: ...he latest version is available on the Ophir Website Log Files and Buffer Files The OphirEthernetApp application automatically creates log files while the sensor window is open and the sensor is measur...

Страница 27: ...is a useful way to check which commands are being used by the application and as a way to provide examples when writing custom software to talk to the device It is also useful for debugging in case t...

Страница 28: ...application starts up or when pressing the Search button Customers can also incorporate a similar search using the UDP protocol into their own software in order to detect any Ophir devices connected t...

Страница 29: ...commands and receive replies as an alternative to Telnet See details below in chapter Details of User Commands Summary of TCP Port Numbers By convention TCP uses the following port numbers Connection...

Страница 30: ...EA 1 are terminated by CR LF Replies from the EA 1 begin with a symbol ASCII code 0x2A if there are no errors Replies from the EA 1 begin with a symbol ASCII code 0x3F if there is any kind of error fo...

Страница 31: ...6 letter prefix we have defined for UDP receives XXXX the same user defined string as defined above to check which response is from which command 1 23 is the received data to this command See details...

Страница 32: ...ROM Values are entered and returned in format 172 16 16 49 When setting a new value replies SAVED need reset and saves the value in the local EEPROM to be used after the next reset If the value entere...

Страница 33: ...cated and counts down continually from the moment the IP address is allocated with precision of one second In most cases the device is not likely to be connected to the network for many days at a time...

Страница 34: ...by replying before performing the reset Note When using the USB Virtual COM Port connection it is recommended the channel be closed in the support software immediately after sending this command other...

Страница 35: ...led either a bad zero value was measured or failed to write values to EEPROM ZEROING COMPLETED CR zeroing completed successfully and should now be saved using ZS Zero Save ZS ZS CR status CR LF Saves...

Страница 36: ...Set desired setting e g power scale using WN command b Save chosen settings using HC S command c If the incorrect parameter is sent PARAM ERROR is returned Force Power Command FP FP CR CR Forces senso...

Страница 37: ...uring energy SE returns OVER The SE command will repeatedly return the last energy measurement until a new energy pulse arrives the EF flag can be used to determine if a new energy measurement has arr...

Страница 38: ...f the device is ready to receive the next pulse of energy Wavelength Commands This section is relevant for all types of sensors GENERAL INFORMATION ON WAVELENGTH CONFIGURATION COMMANDS Ophir sensors a...

Страница 39: ...the first available favorite wavelength corresponding to index 1 971 is the second available favorite wavelength 532 is the third available favorite wavelength NONE indicates that the following 3 favo...

Страница 40: ...2 command and is terminated by sending the CS 1 command or by sending any other command Once Continuous Send mode is stopped the receive buffer inside the PC or host device must be flushed before try...

Страница 41: ...anently responds 1 Note Factory default is polling enabled the result of disabling is that if a sensor is swapped over the software firmware and host application will not be aware of the change and wi...

Страница 42: ...ata rates up to 10Hz See details above The commands supported are FE EF SE For higher performance and in particular for higher data rates when using fast pulsed lasers use the Continuous Send mode ins...

Страница 43: ...his mode energy data is returned in a simple ASCII format with 4 significant digits Data is terminated with the Line Feed Carriage Return characters in a similar way to responses from a regular comman...

Страница 44: ...de In Binary Mode data is delivered in large blocks A block consists of a 16 byte header followed by multiple data packages 8 bytes each The header contains information about the number of bytes inclu...

Страница 45: ...1 Byte_6 FLOAT Value energy or frequency byte 2 Byte_7 FLOAT Value energy or frequency byte 3 Most significant 4 OTHER MODES At present the CS modes defined are as described above In addition there ar...

Страница 46: ...sample per pulse up to 40kHz Binary CS mode A to D Resolution 12 bits no sign Electrical accuracy 0 25 new 0 5 after 1 year Electrical input noise 2mV Max data rate every pulse Command Mode 10Hz Max d...

Страница 47: ...ctions Local Area Network Properties Select Internet Protocol TCP IP and click on Properties Select Use the following IP Address set as follows IP address 10 0 0 3 Subnet mask 255 255 255 0 Default ga...

Страница 48: ...may not be displayed Double click or right click and choose properties to open its properties screen Select Internet Protocol Version 4 TCP IPv4 and click on Properties Select Use the following IP Add...

Страница 49: ...settings to match the PC s existing IP address or to restore the EA 1 device to its default IP address follow the instructions in the section above Setting up a static IP address in the Configuration...

Страница 50: ...ge the IP address to match the IP address of the PC but 1 or 1 in the last digit For example 172 16 18 51 do NOT use the exact same address as obtained above from the PC 172 16 18 50 Press Save h Set...

Страница 51: ...ected in the Available Devices list Add the device to the list of My Devices by clicking Add See full instructions in the StarLab Manual m The user should be aware that the next time the PC is started...

Страница 52: ...ther to use shielded or unshielded cable and whether to use non isolated cable where the ground shield is shorted all the way through from one end to the other or isolated cable where the ground is no...

Страница 53: ...hanges in chapter 6 v7 11 May 17 PC app rev 1 12 firmware v1 12 Added details of UDP connection protocol in commands section Minor corrections in commands section v8 1 Jun 17 PC app rev 1 12 firmware...

Отзывы: