Home

User Manual preliminary - Schulz Electronic GmbH

image

Contents

1. rating Figure 4 Schematic pulse diagram Pulse Jitter The following table shows the typical jitter values for the pulse to pulse and the pulse length jitter These are identical for all trigger modes as the pulses are generated the same way typ jitter pulse to pulse 250 5 pulse length 250pS External Trigger Delay The following table shows the typical delay times between a trigger event on the external trigger input and the response on the pulse output trigger mode typical delay pulse negative 17515 pulse positive 86ns edge negative 17505 edge positive 86ns dac 40 4515 10 Pic LAS FOCUSSING POWER TO THE POINT 12 bit ADC The PLCS 40 is equipped with four 12 bit ADC channels These can be read out by the user using the PLB 21 or the appropriate serial commands The ADC input pins are protected by clamping diodes in order to provide ESD protection The PLCS 40 uses its internal 3 3 V supply and the system ground as analogue reference points The 3 3 voltage is available on an external pin but must not stressed with more than a few milliamperes 16 bit DAC The PLCS 40 is equipped with a additional four channel 16 bit digital to analogue converter which is accessible by the user The 3 3 V supply and the system ground as analogue reference points The 3 3 voltage is available on an external pin but must not stressed with more than
2. 35 Pic LAS FOCUSSING POWER TO THE POINT IamBusy True For i As UInteger 0 To 4 Timeout 10000 Serial DiscardInBuffer Send command param Do Timeout 1 Application DoEvents Loop Until Serial BytesToRead gt 12 Or Timeout 0 Timeout gt 0 Then Serial BytesToRead gt 12 Then Receive buffer Then RecAnswer buffer 0 RecAnswer Convert ToUInt16 buffer 1 lt lt 8 RecParameter buffer 2 RecParameter Convert ToUlnt64 buffer 3 lt lt 8 RecParameter Convert ToUInt64 buffer 4 lt lt 16 RecParameter Convert ToUInt64 buffer 5 lt lt 24 RecParameter Convert ToUInt64 buffer 6 lt lt 32 RecParameter Convert ToUInt64 buffer 7 lt lt 40 RecParameter Convert ToUlnt64 buffer 8 lt lt 48 RecParameter Convert ToUInt64 buffer 9 lt lt 56 IamBusy False Return RecAnswer expectet answer End End If End 1 Next IamBusy False Return False End Function Private Function Send 1 command As UShort ByVal param As UInt64 As Boolean Dim buffer 12 As Byte buffer 0 command And amp HFF buffer 1 command gt gt 8 And amp HFF buffer 2 param And amp HFF buffer 3 param gt gt 8 And amp HFF buffer 4 param gt gt 16 And amp HFF buffer 5 param gt gt 24 And amp HFF buffer
3. PICGLAS POWER TO User Manual preliminary Rev 13 02 PLCS 40 PicoLAS GmbH Company for Innovative Power Electronics und Laser Technology Kaiserstra e 100 Distributor 52134 Herzogenrath Schulz V Electronic Professional Power Supplies Schulz Electronic GmbH Dr Rudolf Eberle Stra e 2 D 76534 Baden Baden Fon 49 7223 9636 0 Fax 49 7223 9636 90 vertrieb schulz electronic de www schulz electronic de Tel 49 0 2407 563 58 0 Fax 49 0 2407 563 58 29 E Mail info picolas de Web www picolas de Pic LAS FOCUSSING POWER TO THE POINT Table of Contents Table of Pa ced 2 Description of Connections Bee el 4 Howto get Started 6 Operating M ES 1 12 dc diee ret ee debts s 7 Pulse s tp t Stage 8 POSS m 10 External Trigger Delay nalen k nd ettet l ln A t es 10 TAI ADE ee ee 11 ddr id 11 Mechanical Dimensions 12 Controlling the PLCS 40 Using a PLB 21 iieieitteneeneenerenseaneneeneenanaaseneneeaeaneaneaeaneneaa 13 Conitrolling PLCS 40 Via PC ee aa 16 Electrical Characteristics 37 Absolute Maximum 5 37
4. Dac DACCho o DAC Ch1 o DAC Ch2 DAC Ch3 Temperature o Dev Off Dev Max Dev Act o PLCS Act 13 Pic LAS FOCUSSING POWER TO THE POINT Pulseparameter In this menu point you can modify the pulse length and repetition rate Please note that these values are not used in every trigger mode Width This value defines the pulse width in nano seconds ns The minimum and maximum values are defined by the actual repetition rate Reprate This value defines the repetition rate in Hertz Hz The actual minimum and maximum values depend on the given pulse width Trigger The PLCS 40 supports a number of trigger modes For a detailed description of each mode see chapter Trigger modes Mode This selects the used trigger mode Logic This option is only used when the trigger mode is either edge or pulse In edge mode you can select if pulses should be generated on the rising or falling edge of the supplied trigger In pulse mode it selects weather pulses should be generated on positive high or the negative low part of the trigger signal Shots When using the edge mode the number of generated pulses can be determined by the user The given number of pulses will always be generated even if another trigger is received during generation Analogue The PLCS 40 supports the generation or analogue pulse forms This is configured in this submenu Form This selects the u
5. Pic LAS FOCUSSING POWER TO THE POINT How to get started Step What to do Note Unpack your Device 2 Optional Connect your Scope to the signal output SMC jacket 2 H E Connect the serial lines to a PC PLB 21 The See connector 6 page 5 PLCS 40 cannot be used without this Connect the power supply See connector 1 page 5 Optional Connect an external trigger source Power on your device When the initializing is done adjust the pulse parameters to your needs Oo See Controlling the PLCS 40 using the PLB 21 PC 8 Activate the output 5 FOCUSSING POWER TO THE POINT Operating Modes The PLCS 40 can be operated in two different ways As a digital pulse generator with various trigger functions and as an analogue pulse generator Both modes are described below Please note that the PLCS 40 only support rectangular pulse output in digital mode Using the PLCS 40 as a Digital Function Generator The PLCS 40 will automatically put into the digital mode by selecting the appropriate trigger mode in the LSTAT register The pulse width repetition rate number of pulses to be generated and the trigger modes can be controlled via several registers Please see chapter Trigger Modes for more information about the usage of the trigger functions Using the PLCS 40 as a Analogue Function Generator The PLCS 40 will automatically put into the analogue mode by selecting the appropriate tri
6. 42 GND signal ground 43 signal output analogue digital into 50R 44 signal output analogue digital into 50R 45 GND signal ground 46 GND signal ground Pin Name description 1 5V output max LOMA 2 5 V output max 10mA 3 GND ground 4 GND ground 5 reserved do not connect 6 3 3V output max 10mA 7 DA digital analogue output 3 8 DA CH4 digital analogue output 4 9 DA CH1 digital analogue output 1 10 DA 2 digital analogue output 2 11 103 digital IO 3 12 4 digital IO 4 13 digital IO 1 14 10 2 digital lO 2 15 RS232 TX serial connection TxD 16 RS232_RX serial connection RxD 17 12V output max 5omA 18 12V output max 5omA 19 GND ground 20 GND ground 21 AD analogue digital input 3 22 AD CH4 analogue digital input 4 23 AD CH1 analogue digital input 1 24 AD CH2 analogue digital input 2 25 GND ground 26 GND ground 27 reserved do not connect 28 reserved do not connect 29 reserved do not connect 30 reserved do not connect 41 reserved do not connect 42 reserved do not connect 43 reserved do not connect 44 reserved do not connect 45 reserved do not connect 46 reserved do not connect 47 reserved do not connect 48 reserved do not connect 49 reserved do not connect 40 reserved do not connect 41 GND ground 42 GND ground 43 not connect 44 n c do not connect 45 LED 1 open collector red LED 46 LED_2 open collector green LED
7. PLCS 40 Fully digital controlled analog arbitrary pulse generator N 400p 50M3 2000 z mw 2 A Ch3 392m Figure Analog waveform Product Description The PLCS 40 is freely programmable arbitrary pulse generator pulsed AWG The internal storage allows to generate up to 32 different freely programmable curve shapes The maximum repetition rate is 200 kHz A very fast 16 bit DAC generates pulse lengths from 10 ns to 320 ns The PLCS 40 is the perfect choice in combination with our laser diode drivers LDP VRM 005 or BFS VRM 03 The pulse generator is offered for those who require specific pulse shapes in order to modulate currents Pulses with variable rise and fall times or modified pulse shapes are possible Typical applications are driving seed laser diodes or other laserdiodes for materials processing LIDAR systems laser communication and rangefinding The driver operates from a single 15 V supply voltage Pic LAS FOCUSSING POWER TO THE POINT FOCUSSING POWER TO THE POINT Revision 1301 e Independent analogue arbitrary function generator e Freely programmable 400 MHz DAC spectrum e 2 ns cw pulse width Technical Data Data arbitrary part Analog bandwidth DAC Resolution Storage capacity Data pulse generator Min pulse width Max pulse width Min repetition rate Max repetition rate Supply voltage Coaxial 50 Ohm output Trigger Inputs Interfac
8. pulse width width gwidthmax maximal possible Returns the maximal possible pulse pulse width width swidth pulse width pulse width Sets the pulse width to the given value The new pulse width is returned greprate current repetition Returnsthe current repetition rate rate grepratemin minimal possible repetition rate Returns the minimal possible repetition rate grepratemax maximal possible Returns the maximal possible repetition rate repetition rate sreprate repetition rate repetition rate Sets the repetition rate to the given value The new pulse width is returned gcount number of pulses Returns the configured number of pulses that should be generated on every trigger gcountmin minimal number of Returns the minimal number of pulses pulses that can be generated on every trigger gcountmax maximal number of Returns the maximum number of pulses pulses that can be generated on every trigger scount number of pulses number of pulses Sets the number of pulses that should be generated on every trigger to the given value The new number is returned gtemp PCB temperature Returns the actual PCB temperature gtempmax maximum PCB Returns the maximum PCB temperature temperature before shutdown gform puls form number Returns the actual puls form number gformcnt number of possible Returns the number of different puls puls forms forms sform puls form number puls for
9. 6 param gt gt 32 And amp HFF buffer 7 param gt gt 40 And amp HFF buffer 8 param gt gt 48 And amp HFF buffer 9 param gt gt 56 And amp HFF buffer 10 0 36 Pic LAS FOCUSSING POWER TO THE POINT buffer 11 CheckByte buffer WriteByte buffer End Function Private Function Receive ByVal buffer As Byte As Boolean For i As UInteger 0 To 11 Step 1 buffer i ReadByte Next T buffer 11 CheckByte buffer Then Return True End If Return False End Function Private Function CheckByte ByVal buffer As Byte As Byte Dim returnvalue As Byte 0 For i As UInteger 0 To 10 Step 1 returnvalue returnvalue Xor buffer 1 Next Return returnvalue End Function Private Sub WriteByte ByVal zeichen As Byte Serial Write zeichen 0 12 End Sub Private Function ReadByte As Byte Return Serial ReadByte End Function End Class Using this example code a connection can be set up using the following lines of code Dim MyProto As Protocol New Protocol MyProto Enable Com3 MyProto SendReceive Protocol PING 0 Protocol ACK 37 Pic LAS FOCUSSING POWER TO THE POINT Electrical Characteristics Parameter Symbol Condition Min Typ Max Unit Supply current Us 15V no cable device 270 connected to PLCS
10. a few milliamperes 11 Pic LAS FOCUSSING POWER TO THE POINT Mechanical Dimensions The following dimensions are in millimetres mm OOOI w A 10 a B i TE n ru n Edit L 00000000000000 00000000000000 ABCD E 59 2 54 3 2 4 48 3 ovo 2 4 44 3 9 33 8 60 4 23 3 2 54 oO wo gt 49 0 aj a 2 54 12 Pic LAS FOCUSSING POWER TO THE POINT Controlling the PLCS 40 Using a PLB 21 To control the PLCS 21 with a PLB 21 it must be connected via the enclosed cable The PLB 21 will not work if both the USB and the PLB 21 are connected the same time When the PLB 21 is connected the first time to a PLCS 21 you are asked to download a new driver This must be confirmed with yes for the PLB 21 to work properly Menu Structure The following diagram shows the structure of the PLB 21 menu which affects the PLCS 21 All entrys are described in detail All other menu entries are described in the PLB 21 manual For detailed instructions see the PLB 21 manual Menu root Pulseparameter o Width o Trigger o Mode o Logic o Shots Analogue o Form o Length o Delay Data o Form o Pos o Value Adc o Vcc o Cho o Chi o Ch2 o Ch3
11. pin header Pin Name description 1 15V supply voltage input 2 Vcc 15V supply voltage input 3 Vcc 15V supply voltage input 4 Vcc 15V supply voltage input 5 GND power ground 6 GND power ground 7 reserved do not connect 8 reserved do not connect 9 reserved do not connect 10 reserved do not connect 11 reserved do not connect 12 reserved do not connect 13 reserved do not connect 14 GND signal ground 15 reserved do not connect 16 reserved do not connect 17 do not connect 18 do not connect 19 do not connect 20 do not connect 21 do not connect 22 do not connect 23 do not connect 24 do not connect 25 do not connect 26 do not connect 27 TRG TTL trigger input ground 28 TRG TTL trigger input ground 29 TRG TIL trigger input into sooR 30 TRG TIL trigger input into sooR 41 TRG trigger input ground 42 TRG trigger input ground 43 TRG trigger input into 50R 44 TRG trigger input into 5oR 45 TRG trigger input ground 46 TRG trigger input ground 47 GND signal ground 48 GND signal ground 49 n c do not connect 40 do not connect 41 GND signal ground
12. the Individual Commands GETLSTAT This command returns the value of the LSTAT register For a complete description of this register see below SETLSTAT This command sets the LSTAT register to the given value The return value contains the new register value GETERROR This command returns the value of the ERROR register For a complete description of this register see below CLEARERROR This command clears a part of the internal ERROR register For a detailed description of the ERROR register see below GETWIDTH Returns the current pulse width of the internal pulse generator in ns GETWIDTHMIN Returns the minimum possible pulse width of the internal pulse generator The value is measured in ns GETWIDTHMAX Returns the maximum possible pulse width of the internal pulse generator This value depends ofthe current repetition rate Hence any change in the repetition rate changes this value too It is measured in ns 27 Pic LAS FOCUSSING POWER TO THE POINT SETWIDTH Sets the pulse width of the internal pulse generator to the given value It must be within the borders defined by GETWIDTHMIN and GETWIDTHMAX The value is measured in ns GETREPRATE Returns the actual repetition rate ofthe internal pulse generator The value is measured in Hz GETREPRATEMIN Returns the minimum possible repetition rate of the internal pulse generator The value is measured in Hz GETREPRATEMAX Returns the maximum possible rep
13. 40 Load resistance con 2 4 Ri 10 50 Ohm Output voltage con 2 4 UL R 50 Ohm 2 8 3 3 3 V Input resistance con 5 RT 48 50 52 Ohm Input resistance RT 485 515 Ohm accessible trough con 1 Low Level input Voltage Us 15V 0 5 V con 5 High Level input Voltage Urso Us 15V 0 6 2 3 3 4 V con 5 Low Level input Voltage UT Us 15V 0 5 V accessible trough con 1 High Level input Voltage UT Us 15V 0 9 3 5 4 7 V accessible trough con 1 Digital I O 3 4 V ADC input 3 4 V ADC resolution 12 bit DAC output o 3 3 V DAC resolution 16 bit Absolute Maximum Ratings Parameter see figures Symbol Ambient operating temperature o C to 55 C Supply voltage Us 0 3V to 19 0V Trigger voltage on connector 5 Ur 50 6V to 6V Trigger voltage on connector 1 6V to 6V Load current on connector 2 4 IL 170mA 38
14. As an input for the trigger signal the connector 5 or the upper pin header can be used Figure 3 shows the schematic of both inputs Note that they are galvanically isolated from the supply voltage For trigger levels see the electrical characteristics on chapter Electrical Characteristics Important Never use both trigger inputs at the same time Correct operation is not ensured if both inputs are connected to a source Furthermore a signal fed into one input may resultina current flowing out ofthe other input This might damage your trigger source In the following the different trigger modes are described separately Edge In this mode an external trigger source is reguired to generate pulses The pulses can either be generated on the rising or the falling edge of the supplied trigger On each edge which equates the given setting a given number of pulses Shots will be generated Pulse In this mode an external trigger source is required to generate pulses The PLCS will generate pulses during the positive or negative part of the trigger source Internal In this mode the external trigger source is ignored The PLCS will generate an infinite number of pulses by itself upper pin header Connector 5 upper pin header m Riso Figure 3 Trigger input circuit Pic LAS FOCUSSING POWER TO THE POINT External Trigger Pulse Positive UL LLL tse nerve IL tage rising
15. channel 3 The value is within 0 4095 GETADCo Returns the actual measured value of all four ADC channels in one answer parameter The lower 16 bit of the answer parameter contains the ADC channel 0 the next 16 bit the ADC channel 1 and so on GETADCUIN Returns the actual measured supply voltage The answer is measured in 0 1 V 31 Pic LAS FOCUSSING POWER TO THE POINT Description of the LSTAT Register The following list contains a description of the individual LSTAT bits These can be read with GETLSTAT and written with SETLSTAT With SETLSTAT a complete 32 bit word must always be written Thus to change individual bits first the register must be read out with GETLSTAT then the desired bits changed and then with SETLSTAT passed again to the PLCS Bit Name Read Write Meaning L ON Read write Switch on off the pulse output 1 4 MODE Read write Refer to trigger modes positive edge trigger 1 negative edge trigger 2 internal trigger 3 not valid gt automatically set to 2 4 positive pulse trigger 5 negative pulse trigger 6 analogue pulse genetation 5 DEF PWRON Read write Indicates weather the defaults are loaded on power up 6 PULSER_OK Read When o the device in an error condition 7 31 Reserved Read Reserved 32 5 FOCUSSING POWER TO THE POINT Description of the ERROR Register The following list contains a description of
16. ean False Public Function GetAnswer As UShort Return RecAnswer End Function Public Function GetParameter As UInt64 Return RecParameter End Function Property Status As Integer Get Return PortOpen End Get Set ByVal Value As Integer End Set End Property Property Busy As Integer Get Return IamBusy End Get Set ByVal Value As Integer End Set End Property Public Function Enable ByVal port As String As Boolean If PortOpen Then Return True End If 34 Pic LAS FOCUSSING POWER TO THE POINT Try If Not port Then Comport port End If Serial New IO Ports SerialPort Comport 115200 IO Ports Parity Even 8 IO Ports StopBits One Serial Open PortOpen True SendReceive Me PING 0 Me ACK SendReceive Me PING 0 Me ACK Catch ex As Exception PortOpen False Return False End Try Return True End Function Public Function Disable As Boolean If PortOpen Then Try Serial Close Catch ex As Exception End Try PortOpen False Serial Nothing Return True End If Return False End Function Public Function SendReceive ByVal command As UShort ByVal param As UInt64 ByVal expectet answer As UShort As Boolean Dim Timeout As UInt32 10000 Dim buffer 12 As Byte If Not PortOpen Then Return False End If If IamBusy Then Do Application DoEvents Loop While IamBusy True
17. ed recipient and to initialize the interface of the recipient for this protocol Has no effect on the condition ofthe recipient The command parameter is always the answer parameter too IDENT It is used to determine the device ID of an attached recipient Has no effect on the condition of the recipient The parameter is always o The answer contains the ID GETHARDVER Instructs the recipient to send back the version number of the hardware being used The parameter is always o The answer contains the hardware version of the recipient The format of the answer is 0X000000 lt major gt lt minor gt lt revision gt In other words one byte for each of the three elements of the version number As example version 1 2 3 has the parameter 0x000000010203 GETSOFTVER Instructs the recipient to send back the version number of the software being used The parameter is always o The answer contains the software version of the recipient The format of the answer is 0X000000 lt major gt lt minor gt lt revision gt In other words one byte for each of the three elements of the version number As example version 2 3 4 has the parameter 0x000000020304 GETSERIAL Instructs the recipient to send back its serial number If o is sent as parameter the answer contains the number of ASCII digits ofthe serial number otherwise the respective position ofthe serial number is sent in ASCII format GETIDSTRING Instructs the recipient to send back t
18. es Dimensions Weight Operating temperature 2 ns CW ns 320 ns arbitrary programmable curve shapes 400 Mhz 2 5 ns sample rate gt 100 MHz 16 bit 515 points of each 16 bit 32 freely programmable curve shapes with max 128 values at a pulse width of max 320 ns 2ns cw 1 Hz 200 kHz 15V Generator voltage 6 V Maximum load 50 500 5 V SMC connector 500 A 5 V 2 Pin connector PLB 21 61x 60 x 22 mm 50g to 55 C Technical data is subject to change without further notice See manuals for details Optional Accessories PLB 21 Compatible Products LDP VRM 005 BFS VRM 03 Pic LAS FOCUSSING POWER TO THE POINT Description of Connections The following drawing shows all connections which are available to the user Pin 1 Con 9 TN OS T CARY Pin 2 Con 3 Con 4 5 red LED green LED Pin 1 Con 6 2 Figure 1 Connectors ofthe PLCS 40 Connector 1 upper pin header Connector 2 signal output not working in current version Connector 3 signal output MMCX connector not working in current version Connector 4 signal output SMC connector Connector 5 trigger input 5V into soOhms Connector 6 lower pin header Green LED PLCS 40 not operational Red LED On Error Off OK Connector 1 upper pin header 5 FOCUSSING POWER TO THE POINT Connector 6 lower
19. etition rate of the internal pulse generator This value depends of the current pulse width Hence any change in the pulse width changes this value too It is measured in Hz SETREPRATE Sets the repetition rate ofthe internal pulse generator to the given value It must be within the borders defined by GETREPRATEMIN and GETREPRATEMAX The value is measured in Hz GETCOUNT Returns the number of pulses the internal pulse generator will generate as soon as it becomes enabled This is only used if the counting mode is enabled See chapter trigger modes for more information GETCOUNTMIN Returns the minimal number of pulses the pulse generator can produce if counting mode is enabled GETCOUNTMAX Returns the maximal number of pulses the pulse generator can produce if counting mode is enabled SETCOUNT Sets the number of pulses the pulse generator will generate to the given value It must be within the borders defined by GETCOUNTMIN and GETCOUNTMAX GETPULSFORM Returns the actual selected pulse form of the analogue pulse generator GETPULSFORMCOUNT Returns the available number of different pulse forms SETPULSFORM Sets the set point pulse form of the analogue pulse generator to the given value This value must not be greater than the return value of the GETPULSFORMCOUNT command GETPULSDELAY Returns the actual configured delay of the analogue pulse generator 28 5 FOCUSSING POWER TO THE POINT GETPULSDELAYMIN Retu
20. f data fields LOADEFAULTS 0X0050 0X0150 load default values SAVEDEFAULTS 0X0051 0X0150 save default values GETTEMP 0x0160 PCB temperature GETTEMPWARN 1 160 temp warning border GETTEMPMAX 0X0062 0x0160 temp shutdown border GETDACo 1 DAC channel value SETDACo oxooB1 DAC value 1 DAC channel value GETDAC1 oxooB2 1 DAC channel 1 value SETDAC1 DAC value 1 DAC channel 1 value GETDAC2 0x00B4 1 DAC channel 2 value SETDAC2 5 DAC value 1 DAC channel 2 value GETDAC3 oxooB6 1 DAC channel 3 value SETDAC3 7 DAC value 1 DAC channel 3 value GETDAC 8 1 All four DAC values GETDACMIN oxooB9 1 minimal DAC value GETDACMAX oxooBA 1 maximal DAC value SETDAC oxooBB Allfour DAC oxo1Bo All four DAC values values 26 5 FOCUSSING POWER TO THE POINT Command Sent Frame Received Frame Command Parameter Command Parameter GETADCCHo 1 ADC value channel GETADCCH1 oxooCa 1 ADC value channel 1 GETADCCH2 oxooC2 1 ADC value channel 2 GETADCCH3 1 ADC value channel 3 GETADC oxooC4 1 All four ADC values GETADCUIN 5 1 Supply voltage Description of
21. following is a possible implementation of the protocol for uni directional communications in MS Visual Basic No guarantee of functionality is assumed Public Class Protocol Public Const PING As UShort amp HFEO1 Public Const IDENT As UShort amp HFEO2 Public Const GETHARDVER As UShort amp HFEO6 Public Const GETSOFTVER As UShort amp HFEO7 Public Const GETSERIAL As UShort HFE08 Public Const GETIDSTRING As UShort amp HFEO9 Public Const GETDEVICECHECKSUM As UShort amp HFEOB Public Const RESET As UShort amp HFEOE Public Const ACK As UShort amp HFFO1 Public Const IDACK As UShort amp HFFO2 Public Const VERSIONACK As UShort amp HFFO3 Public Const HARDVERACK As UShort amp HFF06 Public Const SOFTVERACK As UShort amp HFFO7 Public Const SERIALACK As UShort amp HFFO8 Public Const IDSTRINGACK UShort amp HFF09 Public Const CHECKSUMACK As UShort amp HFFOA Public Const RESETACK As UShort amp HFFOB Public Const RXERROR As UShort amp HFF10 Public Const REPEAT As UShort amp HFF11 Public Const ILGLPARAM As UShort amp HFF12 Public Const UNCOM As UShort amp HFF13 Private RecParameter As UInt64 0 Private RecAnswer As UInt64 0 Private Comport As String Private PortOpen As Boolean False Private Serial As IO Ports SerialPort Nothing Private IamBusy As Bool
22. ger the position in the bits 32 47 and the pulse form in the bits 48 63 LOADDEFAULTS This command replaces all internal parameters with their default values If the output is enabled during the execution of this command the L_ON bit of the LSTAT register will be cleared and the output disabled This command will fail if the CRC DEFAULT FAIL bit in the ERROR register set indicating an error within the data If the DEF PWRON bit in the LSTAT register is set the device automatically loads these values during power up SAVEDEFAULTS This command saves all internal parameters into an EEPROM for later usage Use command LOADDEFAULTS to restore them 29 Pic LAS FOCUSSING POWER TO THE POINT GETTEMP Returns the actual measured PCB temperature The value is represented in a 16bit signed integer and measured in 0 1 C GETTEMPWARN Returns the temperature at which the device indicates a temperature warning in the ERROR register The value is represented in 16bit signed integer and measured in 0 1 C GETTEMPMAX Returns the temperature at which the device indicates a temperature error in the ERROR register The value is represented in a 16bit signed integer and measured in 0 1 C GETDACo Returns the actual configured output value ofthe 16 bit DAC channel SETDACo Sets the output value of the 16 bit DAC channel to the given value The value must be within the borders defined by the GETDACMIN and GETDACMAX command
23. gger mode in the LSTAT register The pulse width can be controlled in steps of sns to a maximum of 320ns Each step needs two 16 Bit data words as the DAC is updated every 2 5ns Hence to generate a complete pulse of 320ns width 128 data words need to be programmed The following diagram shows a pulse example t tho t to hs t 15 tet m 1 piht Output voltage Pic LAS FOCUSSING POWER TO THE POINT Pulse output stage The schematic of output circuit is shown in Figure 2 The output amplifier will generate a square wave signal with an amplitude of 6 6V If a so Ohm load is attached to connectors 2 3 or 4 this will result in a signal level of 3 3V at the load Unlike the trigger inputs the output circuit is not galvanically isolated from the power supply To obtain a well formed signal a load of 50 Ohm is recommended Refer to the electrical characteristics on chapter Electrical Characteristics for further details Connector 2 3 4 50 Ohm Pulse Unit External Load To connector on bottom side Figure 2 Pulse output circuit 5 FOCUSSING POWER TO THE POINT Trigger Modes The PLCS 40 supports a number of trigger modes which are described below These does only affect the digital function generator The width and repetition rate of the pulses generated are user defined Pulses will always be generated as long as the trigger condition matches and the laser is enabled
24. he name of the device If o is sent as parameter the answer contains the number of digits of the string otherwise the respective position of the serial number is sent in ASCII format 24 GETDEVICECHECKSUM 5 FOCUSSING POWER TO THE POINT Instructs the recipient to transmit a CRC16 checksum of its memory This can be used to check the integrity of the programme memory after switching on RESET Instructs the recipient to carry out a software reset This resets the device the switch on state The parameter is always 0 Commands for the PLCS 40 The following table contains a list of the commands which the PLCS 21 supports in addition to the generally applicable commands An explanation of the individual commands follows afterwards Command Sent Frame Received Frame Command Parameter Command Parameter GETLSTAT 0X0010 110 LSTAT register SETLSTAT 0X0011 LSTAT register 0X0110 LSTAT register GETERROR 0X0020 0X0120 ERROR register CLEARERROR 0X0021 0X0120 GETWIDTH 0X0030 0X0130 pulse width in ns GETWIDTHMIN 0X0031 0X0130 pulse width in ns GETWIDTHMAX 0X0032 0X0130 pulse width in ns GETWIDTHSTEPSIZE 0C0033 0X0130 size of one pulse width step SETWIDTH 0X0034 pulse width in ns 130 pulse width in ns GETREPRATE 0X0035 0X0130 reprate in Hz GETREPRATEMIN 0X0036 o 0X0130 reprate in Hz GETREPRATEMAX 0X0037 0X0130 re
25. ich is also a frame If the acknowledgement does not occur then the command has not been processed and the sending procedure should be repeated If the recipient recognizes the command as valid but not the parameters then it will answer with a ILGLPARAM oxFF12 as command In the case that the recipient receives an invalid command it will answer with UNCOM oxFF13 If a faulty checksum is recognized then the answer is RXERROR oxFFao If this error occurs often then the connection should be checked Using the REPEAT 0xFF11 command the recipient can instruct the sender to send the most recent frame again 22 Pic LAS FOCUSSING POWER TO THE POINT 23 Pic LAS FOCUSSING POWER TO THE POINT General Commands The following list contains an overview of the general commands which are supported by every product from PicoLAS which makes use of this protocol The explanation of the individual commands is given further below Command Name Sent Frame Answer Frame Command Parameter Parameter PING oxFEo1 oxFFo IDENT oxFEo2 oxFFo2 ID GETHARDVER oxFEo6 oxFFo6 Version GETSOFTVER oxFEo7 oxFFo7 Version GETSERIAL oxFEo8 255 oxFFo8 Refer to description GETIDSTRING oxFEog 255 oxFFog Refer to description GETDEVICECHECKSUM oxFEoA oxFFoA CRC16 checksum RESET oxFEoE oxFFoB PING Is used to determine the presence of a connect
26. in ASCII code and is case sensitive Every terminal can be used that supports this standard Commands for the PLCS 40 The following table contains a command reference forthe PLCS 40 Command Parameter Answer Description help Help text Returns of a help text ghwver Hardware version Returns a hardware version string gswver Software version Returns a software version string gserial serial number Returns the device serial number gname device name Returns the device name ps current settings Prints out the current device settings loaddef Load previously saved default values savedef Save current settings as default values gerrtxt Error text Returns the content of the ERROR register in readable form gerr ERROR register Returns the content ofthe ERROR register clrerr Clears any pending error condition glstat LSTAT register Returns the content ofthe ERROR register sistat number LSTAT register Sets the LSTAT register to the given value 17 Pic LAS FOCUSSING POWER TO THE POINT Command Parameter Answer Description lon Enables the pulse output loff Disables the pulse output enautodef Enables the automatic loading ofthe defaults values every start up disautodef Disables the automatic loading ofthe defaults values every start up strg
27. m number Sets the puls form set point to the given number The new selected puls form is returned 19 Pic LAS FOCUSSING POWER TO THE POINT Command Parameter Answer Description gdelay delay Returns the configured DAC output delay gdelaymin minimum delay Returns the minimum possible delay value gdelaymax maximum delay Returns the maximum possible delay value sdelay delay delay Sets the DAC output delay to the given value The new delay value is returned glength DAC puls length Returns the actual configured DAC puls length glengthmin minimum DAC puls Returns minimum possible DAC puls length length glengthmax maximum DAC puls Returns maximum possible DAC puls length length gdata lt form gt lt pos gt data value Returns the data value ofthe given form and position gdatamin minimal valid data Returns the minimal valid data value value gdatamax maximal valid data Returns the maximal valid data value value sdata form pos data data value Sets the data of the given form and position to the given value The new data value is returned 20 Pic LAS FOCUSSING POWER TO THE POINT If an Error Occurs If an error occurs during operation the pulse output is switched off and a message is sent to the terminal Errors have to be acknowledged with clrerror otherwise switching on again of pulse output is not pos
28. mode trigger mode trigger mode Sets the trigger mode to the given value See chapter trigger modes gtrgmode trigger mode Returns the current trigger mode gado ADC value Returns the ADC value of channel gad1 ADC value Returns the ADC value of channel 1 gad2 ADC value Returns the ADC value of channel 2 gad3 ADC value Returns the ADC value of channel 3 gaduin Supply voltage Returns the current supply voltage gdao DAC value Returns the current DAC value of channel gda1 DAC value Returns the current DAC value of channel 1 gda2 DAC value Returns the current DAC value of channel 2 gda3 DAC value Returns the current DAC value of channel 3 sdao DAC value DAC value Sets the DAC channel o to the given value Returns the new DAC value sda1 DAC value DAC value Sets the DAC channel 1 to the given value Returns the new DAC value sda2 DAC value DAC value Sets the DAC channel 2 to the given value Returns the new DAC value sda3 DAC value DAC value Sets the DAC channel 3 to the given value Returns the new DAC value gdamin minimal DAC value Returns the minimal possible DAC value gdamax maximal DAC value Returns the maximal possible DAC value 18 5 FOCUSSING POWER TO THE POINT Command Parameter Answer Description gwidth current pulse width Returns the current pulse width gwidthmin minimal possible Returns the minimal possible pulse
29. prate in Hz GETREPRATESTEPSIZE 0x0038 0X0130 size of one reprate step SETREPRATE 0X0039 reprate in Hz 0X0130 reprate in Hz GETCOUNT 0x003A 0X0130 number of pulses GETCOUNTMIN 0X0130 number of pulses GETCOUNTMAX 0X0130 number of pulses GETCOUNTSTEPSIZE 0X0130 size of one number step SETCOUNT 0x003E number of pulses 0x0130 number of pulses GETPULSFORM o 0X0140 current selected puls form 25 Pic LAS FOCUSSING POWER TO THE POINT Command Sent Frame Received Frame Command Parameter Command Parameter GETPULSFORMCOUNT 0X0041 0X0140 number of pulse forms SETPULSFOM 0X0042 pulse form 0X0140 pulse form GETPULSDELAY 0X0043 0X0140 delay GETPULSDELAYMIN 0X0044 0X0140 minimal delay GETPULSFORMMAX 0X004 5 0X0140 maximal delay SETPULSDELAY 0X0046 delay 0X0140 delay GETPULSLENGTH 0X0047 0X0140 pulse length GETPULSLENGTHMIN 0X0048 0X0140 minimal pulse length GETPULSLENGTHMAX 0X0049 0X0140 maximal pulse length SETPULSLENGTH 0X004A pulse length 0X0140 pulse length GETPULSFORMDATA oxoo4B see text 0X0140 pulse form data SETPULSFORMDATA oxoo4C see text 0X0140 pulse form data GETPULSFORMDATAMIN oxoo4D 0X0140 minimal valid data value GETPULSFORMDATAMAX oxoo4E 0X0140 maximal valid data value GETPULSFORMDATACOUNT 0x004F 0X0140 number o
30. rns the minimal available pulse delay value for the analogue pulse generator GETPULSDELAYMAX Returns the maximal available pulse delay value for the analogue pulse generator SETPULSDELAY Sets the pulse delay of the analogue pulse generator to the given value This value must within the border defined by the GETPULSDELAYMIN and GETPULSDELAYMAX command GETPULSLENGTH Returns the actual configured length of the analogue pulse generator This value is measured in steps of 5 ns GETPULSLENGTHMIN Returns the minimal available pulse length for the analogue pulse generator GETPULSLENGTHMAX Returns the maximal available pulse length for the analogue pulse generator GETPULSFORMDATA Returns the data value of the given pulse form and position within the pulse form The lower 16bit of the parameter must contain the position while the next 16bit must contain the pulse form number The answer contains a 32 bit signed integer which represents the data value GETPULSFORMDATAMIN Returns the minimal valid data value for any pulse form The value is a 32 bit signed integer GETPULSFORMDATAMAX Returns the maximal valid data value for any pulse form The value is a 32 bit signed integer SETPULSFORMDATA Sets the data field of the given pulse form and position to the given value This value must within the border defined by the GETPULSFORMDATAMIN and GETPULSFORMDATAMAX command The parameter must contain the data value in the lower 32 bit signed inte
31. s GETDAC1 Returns the actual configured output value ofthe 16 bit DAC channel 1 SETDAC1 Sets the output value of the 16 bit DAC channel 1 to the given value The value must be within the borders defined by the GETDACMIN and GETDACMAX commands GETDAC2 Returns the actual configured output value ofthe 16 bit DAC channel 2 SETDAC2 Sets the output value of the 16 bit DAC channel 2 to the given value The value must be within the borders defined by the GETDACMIN and GETDACMAX commands GETDAC3 Returns the actual configured output value of the 16 bit DAC channel 3 SETDAC3 Sets the output value of the 16 bit DAC channel 3 to the given value The value must be within the borders defined by the GETDACMIN and GETDACMAX commands GETDAC Returns the actual configured output values of all four DAC channels in one parameter The lower 16 bit of the answer parameter contains the DAC channel 0 the next 16 bit the DAC channel 1 and so on GETDACMIN Returns the minimum valid value for any DAC channel 30 Pic LAS FOCUSSING POWER TO THE POINT GETDACMAX Returns the maximum valid value for any DAC channel GETADCo Returns the actual measured value of ADC channel o The value is within 0 4095 GETADC1 Returns the actual measured value of ADC channel 1 The value is within 0 4095 GETADC2 Returns the actual measured value of ADC channel 2 The value is within o 4095 GETADC3 Returns the actual measured value of ADC
32. sed analogue pulse form data storage See chapter Analogue pulse generation for more information Length This selects the length of the generated analogue pulse See chapter Analogue pulse generation for more information Delay This selects the delay of the generated analogue pulse See chapter Analogue pulse generation for more information 14 Pic LAS FOCUSSING POWER TO THE POINT Data The PLCS 40 supports the generation or analogue pulse forms The required data can be altered within this submenu Form This selects the analogue pulse form which should be altered Pos This selects the data field which should be altered Value This shows and alters the selected data field Adc The PLCS 40 is equipped with several ADC channels These can be monitored here Vcc This value shows the current supply voltage Cho 3 This value shows the current ADC value of the desired channel Please see chapter ADC for more information Dac The PLCS 40 is equipped with four 16 bit DAC channels These can be set here DAC Cho 3 This value selects the DAC output value Please see chapter DAC for more information Temperature The PLCS 40 is equipped with an onboard NTC sensor to monitor the PCB temperature This can be done here 15 Pic LAS FOCUSSING POWER TO THE POINT Controlling the PLCS 40 via PC Introduction In addition to being able to connect up a PLB 21 the PLCS 40 can al
33. sible Note that warnings are also displayed this way but these do not switch off pulse output Hence it is not necessary to aknowledge warnings with clrerror This message has this format err Error Register The parameter Error Register represents the content of the ERROR register in binary form 21 Pic LAS FOCUSSING POWER TO THE POINT The PicoLAS Protocol The following section describes the structure and possible commands of the PicoLAS protocol Structure Each transmission consists of 12 bytes called a frame as follows which must be sent consecutively Otherwise the system times out and the transmission must start again from the beginning A frame has a fixed structure The first two bytes describe the command the following eight bytes the parameters followed by one reserved byte and one checksum byte The checksum is calculated out of the first 11 bytes which are linked by a bitwise XOR Thus a frame has the following structure Byte Meaning 1 Bit 8 15 of the command 2 Bit 0 7 of the command 3 Bit 56 63 of the parameter 4 Bit 48 55 of the parameter 5 Bit 40 47 of the parameter 6 Bit 32 39 of the parameter 7 Bit 24 31 of the parameter 8 Bit 16 23 of the parameter 9 Bit 8 15 of the parameter 10 Bit 0 7 of the parameter 11 Reserved always 12 Checksum A properly received frame must be acknowledged by the recipient with an answer wh
34. so communicate with a computer laptop This interface allows communications over both a serial text interface as well as using the PicoLAS protocol While the text interface is designed for communication with a terminal program the PicoLAS protocol is designed as a system interact protocol The switching between the two protocols occurs automatically as soon as the PLCS 40 receives a certain sequence The corresponding commands are e PING for the PicoLAS protocol e init followed by Enter for the text interface Description of the Serial Interface The PLCS 40 implements a standard RS232 serial interface A simple 3 wire connection is required for the communication The connection settings are Baudrate 115200 Data bits 8 Stop bits 1 Parity even 16 5 FOCUSSING POWER TO THE POINT The Serial Text Interface The following section describes the structure and commands ofthe text interface Structure Every command that is sent to the PLCS 40 must be completed with a CR Enter It consists of a command word followed by a parameter If the command was successfully executed then o is sent otherwise a 1 If the command requires an answer parameter this parameter is sent before the confirmation is given Example The user would like to read out the voltage currently being used by the pulser User input ghwver lt Enter gt Output ofthe PLCS 21 1 0 0 Input is done
35. the individual bits of the ERROR register Bit Name Read Write Meaning CRC DEVDRV FAIL read only A CRC error was detected in the PLB driver The driver cannot be used This does not affect the device but the PLB 1 CRC DEFAULT FAIL read only CRC error was detected in the default values A re save ofthe values should correct this 2 CRC CONFIG FAIL read only A CRC error was detected in the internal configuration values Please contact your distributor 3 reserved read only reserved 4 reserved read only reserved 5 VCC_FAIL read only The supply voltage is too low or too high 6 2 FAIL read only Internal error If error persists please contact your distributor 7 FAILED LOAD DEFAULTS read only The loading of the default failed Normally this is because of an pending CRC error 8 TEMP OVERSTEPPED read only The internal temperature was beyond safe operating limits 9 TEMP WARNING read only The internal temperature is 5 C before shutdown 10 FPGA FAIL read only Internal initialisation failure If error persists please contact your distributor 11 31 Reserved Read Reserved Ifa critical error occurs pulser emissions stop automatically All error situations must be acknowledged or reset with CLRERROR Otherwise the PLCS cannot restart pulse output 33 Pic LAS FOCUSSING POWER TO THE POINT Example Implementation in MS Visual Basic The

Download Pdf Manuals

image

Related Search

Related Contents

FICHA DE DATOS DE SEGURIDAD ECOREX GEL  eccsel  Infocus Large Venue Projector IN5316HD - Full HD - 4000 lumens - 2000:1  Sartorius CC30002, CC50002  

Copyright © All rights reserved.
Failed to retrieve file