background image

EA-1 User Manual 

 

 

43 

 

 

"CONTINUOUS" indicates that this sensor contains a laser calibration curve. In this case, the user can select any 
wavelength within the min and max limits of the curve configured inside the sensor, and also choose up to 6 
"favorite" wavelengths that are more easy to choose using the $WI or $WL commands, see below. 
"200" is the minimum wavelength in "nm" that can be selected by the user 
"3000" is the maximum wavelength in "nm" that can be selected by the user 
"2" is the index of the currently selected "favorite" wavelength offered 
"2490" is 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 favorite wavelengths are not currently enabled 
See commands $WI, $WL, $WD, $WE for more details of controlling wavelength options 

 

Set Wavelength Index ($WI):  

$WI 1[CR] –> *[CR] {Set Wavelength Index of sensor. Index '1' is for first defined wavelength, 2 for second 
wavelength, and so on, where the index is as defined by the $AW command. Value on power-up will be saved using 
$HC command, see below. Returns “?BAD PARAM” if parameter is greater than 6. Returns “?NO WL DEFINED AT 
INDEX” if index refers to an inactive wavelength setting (“NONE” returned by $AW command).} 

 

Set Wavelength Value ($WL) :  

$WL 777[CR] -> *[CR] {This command changes the presently chosen (active) favorite wavelength index from its 
current value to the new value in "nm". This command is not available for "Discrete" wavelength mode, see $AW 
above. To permanently save the change to local EEPROM memory for next startup, send command "$HC S"} 

Example: 

Assume $AW command returned: "* CONTINUOUS 200 3000 2 2490 971 532 NONE NONE NONE[CR]" 
$WL 111111 -> ?WAVELENGTH OUT OF RANGE[CR][LF] 
$WL 1111 -> *[CR][LF] – successfully changes currently chosen index (2) to 1111nm 

 

Note:

 Supports only sensors with a continuous calibration curve, photodiodes and some thermopiles. See $AW. 

 

Wavelength Add ($WD): 

$WD <1-6> <wavelength>[CR] -> *[CR] {Add a favorite wavelength to the list of favorite wavelengths. Index chosen, 1 
to 6, MUST be one that does not yet contain a favorite wavelength setting (listed as “NONE” by $AW). "Wavelength" 
is a decimal value in nm. Any changes will be saved temporarily in local RAM; after $HC S command, they will be 
stored permanently in EEPROM as the power-up setting. Use $WE to erase an existing wavelength setting if 
necessary.  

Common Error Messages: 

"?WL ALREADY USED" if the index chosen already has a favorite wavelength defined for it. 
“?BAD WL” if wavelength value entered is out of range of defined curve. 
“?BAD PARAM” if parameter is out of range} 

Examples: 
Assume $AW command returned: "* CONTINUOUS 200 3000 2 2490 971 532 NONE NONE NONE[CR]" 
$WD 7 1111 -> ?INDEX NOT IN RANGE[CR][LF] 
$WD 5 111111 -> ?WAVELENGTH OUT OF RANGE[CR][LF] 
$WD 1 1111 -> ?WAVELENGTH ALREADY DEFINED. USE WL COMMAND[CR][LF] 
$WD 5 1111 -> *[CR][LF] – successfully changed index 5 to 1111 

Wavelength Erase ($WE): 

$WE <1-6>[CR] -> *[CR] {Wavelength Erase. Erase one of the existing favorite wavelengths, at index provided. This 
change will be saved temporarily in RAM; after $HC S command, it will be stored permanently in EEPROM as the 
power-up setting. 

ERROR MESSAGES (in addition to general ones defined above): 

"?NOT USING CALIBRATION CURVE" if sensor does not have Calibration Curve defined 
"?BAD PARAM" if index is not within 1-6} 
 

Continuous Send Commands: 

NOTES ON CONTINUOUS SEND MODE: 

Summary of Contents for Ophir EA-1

Page 1: ...Ophir Optronics Solutions Ltd EA 1 Ethernet Adapter Ethernet Adapter User Manual EA 1 EA 1...

Page 2: ...4 Setting the User Device Name 15 Setting the Mains Frequency 15 Returning to Factory Default Settings 16 Chapter 3 HTTP and the Built In Web Server 17 Connecting to the built in web server 17 Using t...

Page 3: ...e Specific Commands 37 General Commands 37 Zeroing Commands 38 Power Measurement Commands 38 Using the Low Freq Power Mode Photodiode Sensors 40 Energy Measurement Commands Thermopile Sensors 40 Wavel...

Page 4: ...ctions regarding computer control of the adapter for example 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 Win...

Page 5: ...r The EA 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 packa...

Page 6: ...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 used to send commands and receive back replies fro...

Page 7: ...r 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 address modes For example if the user is not certain o...

Page 8: ...to connect 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 po...

Page 9: ...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 page should be shown on the web browser once a...

Page 10: ...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 1 in the web browser from the Standard Command p...

Page 11: ...nd click on the icon or set up a shortcut to cmd exe and place it on the desktop Once the command prompt window is open click inside the window and type the following commands telnet 10 0 0 2 enter es...

Page 12: ...ion in Windows are provided on the Ophir website and are also installed together with the OphirEthernetApp application in its installation folder under Ophir Ethernet Application DRIVER_USB In order t...

Page 13: ...ddress usually only the last value will need to be updated for example as shown above the default IP address loaded is 172 16 16 0 change the 0 to another value such as 49 Click on Save and close the...

Page 14: ...will not be changed inside the device The next time the device is powered up it will use the new setting and not the original setting This behavior is the same whether connected via Ethernet or USB Th...

Page 15: ...d via Ethernet or via USB VCP Setting the User Device Name The user can choose to give the device a special User Device Name for example Welding Laser Research Lab A which will make it easier for the...

Page 16: ...ion and then update the configuration as required In order to do this the PCB needs to be removed from the mechanical box The simplest way to do this is first to remove all connectors from the device...

Page 17: ...device with IP address 172 16 16 49 Open the web browser for example Internet Explorer and type http 172 16 16 49 in the link window at the top of the page The following Start Page will open Using th...

Page 18: ...nd click on the Power Monitor button The following page will be displayed The latest power measurement will be displayed in red as in the example above The value is updated once per second Note Thermo...

Page 19: ...am make sure of the following The EA 1 device is connected to the Ethernet network The device is powered up either via PoE if available or via the 12 24v DC connector The sensor is attached to the ada...

Page 20: ...en the different networks Use the Search Sensors button to search for all EA 1 devices on chosen network The main sensor window Click on one of the sensors shown in the list to highlight it and click...

Page 21: ...es shown in descending order Note that in Energy Mode AUTO ranging is not available Choosing Wavelength Option Discrete Laser Points For many thermopile sensors discrete laser points are offered In th...

Page 22: ...efined the user can simply choose add and then define a new measurement wavelength directly Use the scroll bar to increase of decrease the chosen wavelength or simply type the value in the window for...

Page 23: ...ength as the default startup settings click on the Save Startup button Sending User Commands In order to send a user command clock in the Send Command window type the command and click on Send The res...

Page 24: ...displays OVER try changing to a less sensitive measurement range or try reducing the energy In order to choose the trigger threshold use the drop down menu to select LOW MEDIUM or HIGH The default th...

Page 25: ...value manually in the edit box The value entered can contain several digits after the decimal point if required such as 33 123Hz Some care needs to be taken when choosing the correct frequency value I...

Page 26: ...s displayed The Local IP Subnet Mask and Default Gateway can be adjusted as described in the Configuration section any changes will be saved in the local EEPROM of the device and will take effect afte...

Page 27: ...nless a new version is actually available If a firmware upgrade is not actually required the following message will be displayed answer no to abort the firmware upgrade In the event that a new firmwar...

Page 28: ...ebsite Zeroing Choose the Zero option in the menu The following window will appear Zeroing should be performed with no laser light on the sensor and with the sensor covered and protected from any sour...

Page 29: ...with names _1 csv _2 _3 and _4 The log file contains the following information Line 1 EA 1 device user name sensor name sensor S N IP address Line 2 Date and start time of the log Line 3 Column header...

Page 30: ...or debugging and finding out what the application is doing This file records general information about the latest instance of the application the UDP searches for Ophir devices and which devices were...

Page 31: ...s can also incorporate a similar search using the UDP protocol into their own software in order to detect any Ophir devices connected to their network This is especially useful if there are multiple E...

Page 32: ...EA 1 User Manual 32 Summary of TCP Port Numbers By convention TCP uses the following port numbers Connection Port Number Telnet 23 HTTP 80 UDP 11000...

Page 33: ...F Replies begin with a symbol ASCII code 0x2A if there are no errors Replies begin with a symbol ASCII code 0x3F if there is any kind of error for example the command is unknown UC or contains an inco...

Page 34: ...cter In order to receive data back from the device through UDP Listen to UDP from device IP address port 11000 and check format see examples Receive String Format OPHRSPXXXX 1 23 CR LF where OPHRSP a...

Page 35: ...echo 1 enables echo Network Static Settings NS Sets or queries static IP address settings stored in the local EEPROM Values are entered and returned in format 172 16 16 49 When setting a new value re...

Page 36: ...e device is allowed to use the IP address allocated 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 co...

Page 37: ...ividual S N of the device itself as opposed to the S N of the sensor that is attached to it Example ii ETHA 350002 ETHERNET ADAPTER CR LF Note The command will work with upper or lower case letters Us...

Page 38: ...n performed since power up or since last RE reset ZEROING IN PROGRESS CR if zeroing is still in progress ZEROING FAILED CR if zeroing failed either a bad zero value was measured or failed to write val...

Page 39: ...essary a Set desired setting e g power range 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 For...

Page 40: ...asuring Power Use the WN command to select a power scale Use the SP command to query power or use the Continuous Send mode as described below Note that when using MM 16 mode the power measurement is d...

Page 41: ...ll 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...

Page 42: ...mopile sensors use the discrete method whereas photodiode sensors and some thermopiles use the continuous method If any of the commands supporting the continuous calibration curve are used when the se...

Page 43: ...ory for next startup send command HC S Example Assume AW command returned CONTINUOUS 200 3000 2 2490 971 532 NONE NONE NONE CR WL 111111 WAVELENGTH OUT OF RANGE CR LF WL 1111 CR LF successfully change...

Page 44: ...d to the PC automatically The exact data depends on the measurement mode and the status of the device at any given moment See notes above Stop Continuous Send Mode CS 1 or any command CS 1 CR Sending...

Page 45: ...0000 X 2 00 Y 0 37 S 34 05 BT COMMAND ERROR CODES The BT error code is a bit map where each bit represents some specific error as below Position Codes bits 0 2 warning 12 15 error 0 Warning 0x0000 000...

Page 46: ...0 CR This command queries or sets the user threshold for the chosen energy scale in units of 1 in 10 000 of the chosen full scale energy For example setting the value to 300 will set the User Threshol...

Page 47: ...second resolution The values of timestamp and pulse index will each increase up to a maximum of 4 29 billion to be exact 4 294 967 295 2 32 1 and then cycle back around to zero Frequency is not provid...

Page 48: ...is case 4 as a binary value Counter is the block number incremented for each block delivered 0 to 255 and cycling back to zero The data package looks like this N such packages in each block Byte 0 1 2...

Page 49: ...ate One 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 10...

Page 50: ...rk Connections 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 De...

Page 51: ...t 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 Address set as follows IP address 10 0 0 3 S...

Page 52: ...dress 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 chapter The most convenient way to change...

Page 53: ...2 g Change 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 Sav...

Page 54: ...d be detected 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...

Page 55: ...e are whether 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 gro...

Page 56: ...ix 3 on choosing cables and ground isolation v11 18 Jun 18 PC app rev 1 15 firmware v1 15 Updated folder for firmware under PC app folder added section about separate firmware BIN files v12 29 Jan 19...

Reviews: