background image

EA-1 User Manual 

 

 

12 

 

 

$NS 1 172.16.16.49 <enter> 

writes the new IP address into the local EEPROM, response should be “SAVED  

 

 

 

 

(need reset)” 

$NS 2 <enter>   

 

queries the present setting of Subnet Mask 

$NS 2 255.255.255.0 <enter> 

writes the new Subnet Mask value into the local EEPROM, if the value was changed 

 

 

 

 

the response should be  *SAVED (need reset) 

$NS 3 <enter>   

 

queries the present Default Gateway 

$NS 3 172.16.16.1 <enter> 

writes the new Default Gateway value into the local EEPROM 

exit <enter> 

 

 

closes the telnet connection 

 

Example of commands and responses: 

 

 
Once the new settings are saved in the local EEPROM as described above, the device can be powered down and 
powered back up, as described in the section on HTTP, and the Telnet connection can be reestablished using the new 
IP address. The settings can be checked as above using the commands $NS 1, $NS 2 and $NS 3 to check they are now 
correct. 
 

Note: 

See details of these commands below in “User Commands” chapter. 

Setting up a static IP address using the USB Virtual COM Port: 

Sometimes it might be necessary to establish a connection to the device without relying on the Ethernet connection. 
This may happen, for example, when the IP address setting in the device is currently not 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 drivers necessary to establish this connection 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 to install the VCP device driver for the EA-1 Adapter (required the first time the VCP is used), the files 
“Ophir_cdc.inf” and “Ophir_cdc.cat” need to located on the computer. When Windows prompts for a driver, the 
user should provide the folder where these files can be located on the local PC. The driver installation needs to be 
performed using Administrator privileges. 
 
Once the connection is established and the drivers for the EA-1 Adapter are installed on the PC, a COM port needs to 
be opened using Hyperterminal or similar. Standard settings to use for the connection are 115200 baud, no parity, 1 
stop bit, no hardware control. Then, the same commands as described above for Telnet can be sent manually in 
order to query or change the IP Address settings and other IP settings as shown above. Alternatively, once this 
connection is made the 

“OphirEthernetApp”

 application can be used to change the configurations, see below. 

Setting up a static IP address using the “

OphirEthernetApp

” software: 

The IP configuration can be changed most conveniently using the “

OphirEthernetApp”

 PC Application, using the “Set 

IP Address” button on the main window (available from app v1.17 or above), or under the “Setup - Device” menu in 
the lower screen after connecting to the device. The 

“OphirEthernetApp”

 is available on the Ophir website. The EA-1 

device can be accessed either using an Ethernet connection, or using a USB Virtual COM Port (see above).  
 

Using the “Set IP Address” button: 

 

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: