background image

CL190/CL191 Lens Controller - User Manual

9.8

Command summary

Command

Example

Effect

AW

AW

Save changes.

CL

CL

Clear configuration.

VR

VR

Read the firmware version.

RS

RS1,6.5

Set the lens to 6.5 diopters.

RA

RA1,0

RA1,1,4

Set the lens to analog control mode.

Set 4 points in the non-linear
translation profile.

RN

RN1,1,100

Set a continuous square wave at 10Hz.

RX

RX1,0,5

Set the sequence to 5 steps.

RU

RU1,4.3,-1.8

Set the lens to switch between 4.3
diopters when Trigger input is High and
-1.8 diopters when Trigger input is Low

ST

ST

Show the unit's configuration details.

31

Summary of Contents for CL190

Page 1: ...CL190 CL191 Lens Controller Issue 002 User manual www gardasoft com...

Page 2: ...application The users must ensure that incorrect functioning of this equipment cannot cause any dangerous situation or significant financial loss to occur Deliberate acts of endangerment and vandalism...

Page 3: ...1 10 7 General description 12 7 1 Triggering 12 7 1 1 Trigger input options 13 7 2 Flags 13 7 3 Factory settings 14 8 I2C communication 15 8 1 I2C command structure 15 9 Configuration commands 18 9 1...

Page 4: ...CL190 CL191 Lens Controller User Manual 4...

Page 5: ...n commands We recommend that you visit www gardasoft com for application notes on this product For any trouble shooting problems contact Gardasoft for support 1 1 C190 CL191 features a summary The CL1...

Page 6: ...be taken 2 1 Electrical The user must ensure that the potential difference between any combination of applied signals does not exceed the supply voltage The CL191 does not have complete tracking isol...

Page 7: ...ergreifenden Vorsichtsma nahmen 3 1 Elektrik Der Benutzer muss sicherstellen dass der Potenzialunterschied zwischen jeder beliebigen Kombination an angelegten Signalen die Versorgungsspannung nicht b...

Page 8: ...mboles 4 1 lectricit L utilisateur doit s assurer que la diff rence de potentiel entre toute combinaison des signaux appliqu s ne d passe pas la tension de fourniture LeCL191 ne dispose pas de syst me...

Page 9: ...anual 5 Mounting the CL191 The CL191 is mounted using a single M2 screw as shown in the illustration below 5 1 Environmental considerations The CL191 is a bare PCB and has no ingress rating It should...

Page 10: ...d ratings for the ratings of the connections The CL191 s connections are shown below The CL191 s UART and manufacturing test connections are on the underside of the PCB as shown below The I2C connecti...

Page 11: ...made through the lens connector although A1 Out and A2 Out are available from the PCB The lens connector terminations are as follows Connector pin Description 1 GND 2 A1 Out 3 A2 Out 4 SDA 5 SCL 6 3 3...

Page 12: ...to reach stable focus depends on various conditions including how much the focus is changing by and the acceptable tolerance Depending on conditions the focus time is around 6ms to 10ms The set up is...

Page 13: ...flag to 0 see Section 7 1 Triggering Analog signal A 0V to 10V analog signal is input to control the lens optical power when the controller is in Analog mode This can be linear or non linear see Secti...

Page 14: ...Lens Controller User Manual 7 3 Factory settings You can clear the CL191 configuration to return it to its factory settings Clear the configuration by using the CL command see Section 9 Configuration...

Page 15: ...o This should be followed by each individual byte of the command string and a terminating CR 0x0D The slave acknowledges A each byte sent On completion the master sends a stop condition P The followin...

Page 16: ...CL190 CL191 Lens Controller User Manual 16...

Page 17: ...User Manual After sending an I2C message it is necessary to wait before reading the reply I2C messages typically take 100ms for the reply to be ready Some commands including the RL commands take 150ms...

Page 18: ...d to the network The command is returned by the CL191 together with any reply generated by that command in UDP or TCP IP packets followed by LF CR The last character sent is the prompt Once this has b...

Page 19: ...half is written as 0 5 and not 0 5 9 4 General commands Any changes you make using Ethernet commands are not saved permanently until you send the AW command Report the CL190 firmware version This com...

Page 20: ...d turns the output off The results of any RS RU RA RE and AW commands are cleared This command shows the configuration of the CL190 Type in ST A typical reply to this command might be CH1 MD0 AF 3 95...

Page 21: ...which are not available such as temperature compensation When the command has been used to set a lens with no EEPROM the TR CL180 will ignore the lens s EEPROM and will continue to ignore it until th...

Page 22: ...e associated with each The commands are described below Set analog mode This command sets the output to analog mode so that the optical power is set by an analog input voltage The translation from inp...

Page 23: ...put voltage f equivalent focal power for the input voltage The translation points are assumed to be valid Voltages below the first voltage are set to the focal power of the first point Voltages above...

Page 24: ...t waveforms run for one cycle when a trigger input signal is received At the end of the cycle the focus is left as the last value of the waveform Continuous waveforms run independently of the trigger...

Page 25: ...CL190 CL191 Lens Controller User Manual Mode 4 Step sequence run continuously trigger ignored Mode 5 Square wave run once per trigger pulse Mode 6 Square wave run continuously trigger ignored 25...

Page 26: ...CL190 CL191 Lens Controller User Manual Mode 7 Triangle wave run once per trigger pulse Mode 8 Triangle wave run continuously trigger ignored Mode 9 Sawtooth wave run once per trigger pulse 26...

Page 27: ...CL190 CL191 Lens Controller User Manual Mode 10 Sawtooth wave run continuously trigger ignored Mode 11 Sine wave run once per trigger pulse Mode 12 Sine wave run continuously trigger ignored 27...

Page 28: ...red Waveform commands RN1 m p s Where m mode 3 to 14 refer to the illustrations shown previously p period in milliseconds 50ms to 3s s number of steps for staircase mode only 3 to 50 The following com...

Page 29: ...from 0 to 2 diopters with a slow rise and fast fall 9 7 Programmable step commands Use this command to set up a sequence of steps where different optical powers can be set up for a programmed period o...

Page 30: ...w CH1 MD2 AF 0 00 IF 0 00 IP1 FL14 Analog profile 1 00 4 00 1 90 3 50 2 80 3 20 3 70 2 00 4 6 0 1 50 5 40 1 50 6 30 2 00 7 20 3 20 8 10 3 50 9 00 4 00 Waveform period 0 050s No EEPROM range IF 0 00 XF...

Page 31: ...to 6 5 diopters RA RA1 0 RA1 1 4 Set the lens to analog control mode Set 4 points in the non linear translation profile RN RN1 1 100 Set a continuous square wave at 10Hz RX RX1 0 5 Set the sequence to...

Page 32: ...compatibility Compatible with Optotune EL 3 10 EL 10 30 and EL 16 40 lens ranges Full current calibration with lens temperature compensation Operating modes Single configurable optical power single sh...

Page 33: ...CL190 CL191 Lens Controller User Manual CL191 Weight 10g Standards CE RoHS 10 2 Restrictions The maximum continuous output current is 250mA to 250mA 33...

Page 34: ...f range and the value of that parameter has been adjusted Err 8 12 EEPROM corrupt The configuration has been cleared Err 9 20 Settings could not be saved to EEPROM Err 27 Serial number cannot be read...

Page 35: ...CL190 CL191 Lens Controller User Manual This page is left blank for your notes 35...

Page 36: ...018 Copyright 2018 Gardasoft Vision Ltd Gardasoft Vision Ltd Trinity Court Buckingway Business Park Cambridge CB24 4UQ UK tel 44 1954 234970 fax 44 1954 231567 Gardasoft LLC Oak Ridge Road Weare New H...

Reviews: